Simulating a HEARTBEAT with TCP/IP Option Cards
Topic Description

On the SI-EM3 (Single), SI-EM3D (Dual), SI-EM3/V (Single), SI-EM3D/V (Dual) and CM090 option cards, the TCP layer requires a response, otherwise a "loss of message" or "loss of communication" is declared and represented by a BUS Fault on the keypad of the drive. On the PLC side, the fault code can not be read if communication is lost between the PLC and drive. A "Heartbeat", also known as a "Watchdog", is generally a signal used to confirm two devices can communicate. Since the “BUS” fault is internally detected on the drive and therefore not accessible via a register, a psudo heartbeat can be used to check if communication was lost.


Resolution

Confirm the PLC and Drive can communicate by having the PLC logic write a "1" to a bit then read the status of the selected bit to verify the "1" was written. After a selected time has expired, write a "0" to the same bit and read the bit was set to a "0".  If the read bit did not match what was written, communication has been lost.

Below is an example using digital input terminal S8 on a A1000 drive: 

  1. On the drive, set parameter H1-08 = F (through mode)
  2. On the PLC, write a “1” to register 1H bit B as showin in Table C.5 below.
  3. On the PLC, read register 2BH bit 7 (as shown in the table below) to verify that “1” was written.
  4. Repeat steps 2 and 3 but this time write a "0" to register 1H bit B, then read register 2BH bit 7 is set to "0". If the read does not correspond with the write, communication has been lost.

Related Documents
Embedded Communications and Option Cards Compatibility for Yaskawa Drives
Setting a Digital Input to "Through Mode" to Monitor with Communications

Product Types
1000 Series, AC7, A1000, 7 Series, A1000 Configured, E7, A1000 HHP, E7B Bypass, E7BR, E1000, E7BR Bypass Nema 3R, H1000, iQpump VTC, iQpump Micro-4X, iQpump Micro, iQpump1000, E7C Configured, iQpump1000 Bypass, E7CR, E7E Engineered, E7L Bypass, E7N Bypass, iQpump Micro Configured, E7S Slim Configured, F7, iQpump1000 Configured, F7C Configured, iQrise, J1000, FS7, G7, L1000, G7C Configured, P1000, P1000 Bypass, iQpump 7 Series, P1000 Configured, J7, L7, U1000 Industrial, U1000 Industrial Configured, U1000 iQpump, P7, P7BR, U1000 iQpump Configured, U1000L, P7 Bypass, P7C Configured, U1000 Oil and Gas, V1000, P7CR, P7 Slim Configured, V1000-4X, PPBB, Z1000, PPBR, Z1000 Bypass, PPCB, Z1000 Configured, Z1000 Redundant Bypass, PPCR, V7, Z1000U, V74X, Z1000U Bypass, V7C Configured, Z1000U Configured, V7CX Configured, V7N, V7N4X,
All Applications
Advanced Random Rotary Knife with Cam Blend, Air Compressor, Blister pack Thermoformer, Cartoner, Centrifuge, Conveyor, Crane/Hoist, Dynamometer, Elevators and Escalators, Extrusion, Fans/Blowers, Feed To Length, General Machinery, HVAC, Irrigation, Labeler, Laundry, Linear Flying Shear, Machine Tool, Mixer, Other, Packaging, Palletizer, Precision Grinding, Pump, Punch Press, Rotary Knife, Rotary Placer, Rotary Table Indexer, Screw Feeder, Synch-Belt, Textile, Winding,
Option Types
Modbus TCP/IP for VFD,
Last Modified Date: 08-13-2024ID: 12093