Port Comm Fail
SP117
CT1
CT1
K9999
CNT
2
This rung counts the number of times an attempted communication to the drive fails.
CT0
K9999
CNT
1
This rung counts the number of times the PLC attempts to communicate to the drive.
Port Busy
SP116
CT0
Port Busy
SP116
CT2
CT2
K2
CNT
3
This rung acts as an alternator, allowing the following logic to alternate between
communicating to slave 1 or slave 2. If there were additional slaves, the ‘K’ number
for the counter would simply be increased to match the number of slaves in the system.
4
Drive #1
Run CMD
Write Enable
C12
Drive #1
Direction, Fault, Reset
Write Enable
C11
Drive #1
Speed Ref
Write Enable
C10
This rung checks to see if it is time to communicate to slave 1, and also if there
are no current write requests to that drive. If not, it reads data from slave 1.
MRX
CPU/DCM Slot:
Port Number:
Slave Address:
Function Code:
Start Slave Memory Address:
Start Master Memory Address:
Number of Elements:
Modbus Data type:
Exception Response Buffer:
CPU
K2
K1
03 - Read Holding Registers
K48449
V2000
K15
584/984 Mode
V5000
Port Busy
SP116
CTA2
=
K0
This program is for illustrational purposes only, and is not intended for a true application.
Chapter 5: DURAPULSE MODBUS Communications
DURAPULSE AC Drive User Manual
1st Ed. Rev. D 05/2013