D - slc/plc program examples, Plc-5 channel 0 to dl40 plus slave, Slc/plc program examples – Rockwell Automation 2706-LV2S_LV4S DL40 PLUS SLAVE USER MANUAL User Manual
Page 54: Appendix

Publication 2706-6.3
Appendix
D
SLC/PLC Program Examples
PLC-5 Channel 0 to DL40 Plus
Slave
This program assumes that the message text is entered in the string
file ST30:10. This file contains the message text and defines the
slave number and line number the mesage is to be displayed on.
Refer to page 4-3 for an example message.
TON
Timer On Delay
Timer
T4:1
Time Base
0.01
Preset
50<
Accum
50<
EN
DN
PLC-5 Channel 0 to Dataliner DL40 Slave
in DL Slave Mode, PLC-5 in User-Mode
0000
String sent to DL40 Slave at serial address 01, line 01.
0001
AWT
ASCII Write
Channel
0
Source
ST30:10
Control
R6:25
String Length
22<
EN
DN
Characters Sent
22<
ER
String sent to DL40 Slave at serial address 01, Line 2.
0002
AWT
ASCII Write
Channel
0
Source
ST30:15
Control
R6:20
String Length
23<
EN
DN
Characters Sent
23<
ER
0003
END
T4:1
DN