Logix df1 half-duplex master standard mode, E-16 – Rockwell Automation DAG6.5.8 APPLICATION GUIDE SCADA SYSTEM User Manual
Page 398
Publication AG-UM008C-EN-P - February 2005
E-16 Sample Ladder Logic
Logix DF1 Half-Duplex Master Standard Mode, Master-Initiated MSG
Each MSG is assigned a "Finished" bit and a "Disable" bit. Up to 12 MSG's are triggered simultaneously, but cannot be retrigge
red until all enabled MSG's have
completed either done or in error. After all enabled MSG's have completed, a time delay is inserted before retriggering. If n
o time delay is desired (retriggering the
MSG's as fast as possible), then set the MSG_Delay_Timer preset to zero. This example has 21 messages. You must delete or add
"MSG_Finished" bits and
"Disable_MSG" bits to match the number of messages in you application.
0
MSG_Finished[1]
Disable_MSG[1]
MSG_Finished[2]
Disable_MSG[2]
MSG_Finished[3]
Disable_MSG[3]
MSG_Finished[4]
Disable_MSG[4]
MSG_Finished[5]
Disable_MSG[5]
MSG_Finished[6]
Disable_MSG[6]
MSG_Finished[7]
Disable_MSG[7]
MSG_Finished[8]
Disable_MSG[8]
MSG_Finished[9]
Disable_MSG[9]
MSG_Finished[10]
Disable_MSG[10]
MSG_Finished[11]
Disable_MSG[11]
MSG_Finished[12]
Disable_MSG[12]
/
MSG_Delay_Timer.DN
/
MSG_Finished[0]
MSG_13_to_24_Trigger
MSG_Finished[0]
Each MSG is assigned a "Finished" bit and a "Disable" bit. Up to 12 MSG's are triggered simultaneously, but cannot be retriggered until all enabled MSG's have
completed either done or in error. After all enabled MSG's have completed, a time delay is inserted before retriggering. If no time delay is desired (retriggering the
MSG's as fast as possible), then set the MSG_Delay_Timer preset to zero. This example has 21 messages. You must delete or add "MSG_Finished" bits and
"Disable_MSG" bits to match the number of messages in you application.
1
MSG_Finished[0]
MSG_Finished[13]
Disable_MSG[13]
MSG_Finished[14]
Disable_MSG[14]
MSG_Finished[15]
Disable_MSG[15]
MSG_Finished[16]
Disable_MSG[16]
MSG_Finished[17]
Disable_MSG[17]
MSG_Finished[18]
Disable_MSG[18]
MSG_Finished[19]
Disable_MSG[19]
MSG_Finished[20]
Disable_MSG[20]
MSG_Finished[21]
Disable_MSG[21]
EN
DN
Timer On Delay
Timer
MSG_Delay_Timer
Preset
10000
Accum
0
TON
The following two rungs are the MSG control rungs - they should be replicated for further messages. For MSG #13-24, replace XI
2
/
Disable_MSG[1]
EN
DN
ER
Type - PLC5 Typed Read
Message Control
Message1 ...
MSG
MSG to Slave #1
The following two rungs are the MSG control rungs - they should be replicated for further messages. For MSG #13-24, replace XIC 'MSG_Delay_Timer.DN' with
XIC 'MSG_13_to_24_Trigger'.
3
MSG to Slave #1
Message1.EN
MSG to Slave #1
Message1.DN
MSG to Slave #1
Message1.ER
/
MSG_Delay_Timer.DN
MSG_Finished[1]
MSG_Delay_Timer.DN
Active Station List
Active_Station[0].1
U
MSG to Slave #1
Message1.EN