Slc channel 0 to dl40 plus slave – Rockwell Automation 2706-LV2S_LV4S DL40 PLUS SLAVE USER MANUAL User Manual
Page 55

Publication 2706-6.3
D-2
SLC/PLC Program Examples
SLC Channel 0 to DL40 Plus Slave
TON
Timer On Delay
Timer
T4:0
Time Base
1.0
Preset
4<
Accum
0<
EN
DN
This timer is used to continuously send ASCII data to the
0000
This concatenate instruction allows the message text to be
0001
ACN
String Concatenate
Source A
ST9:0
Source B
ST9:1
Dest
ST9:2
0002
AWT
ASCII Write
Channel
0
Source
ST9:2
Control
R6:0
String Length
0<
EN
DN
Characters Sent
0<
ER
T4:0
DN
DL40 slave display.
entered separately from the control instructions. The string
text is entered in ST9:0 and the control instructions such as:
slave address, line number and carriage return is placed in ST9:1.
The two strings are then combined (in ST9:2) and sent out
channel 0 to the slave display.
0003
ACN
String Concatenate
Source A
ST9:3
Source B
ST9:4
Dest
ST9:5
Same as above, this instruction will send out two separate
messages one on each line if needed.
0002
AWT
ASCII Write
Channel
0
Source
ST9:5
Control
R6:1
String Length
0<
EN
DN
Characters Sent
0<
ER
T4:0
DN
0003
END
Channel 0 of SLC connected to DL40 Slave operating in DL Slave mode.