USER MANUAL Manual
Serial and Parallel Port Examples
This appendix provides the following examples.
Section Page
RS-232 Serial Triggering Example F–1
RS-485 Serial Triggering Example F–2
Parallel Port Message Variables Triggering Example F–3
Parallel Port Message List Mode Triggering Example F–5
RS-232 Serial Triggering Example
This example shows serial triggering of the DL40 Plus through the
RS-232 port using Channel 0 of an SLC. A PLC with Channel 0
could also be used.
<END>
ASCII Write
Channel 0
Source ST9:0
Control R6:0
String Length 0<
Characters Sent 0<
Error 0<
<ER>
Timer On Delay
Timer T4:0
Time Base 1.0
Preset 1<
Accum 0<
This program continuously sends the contents of the string file ST9:0 out
the Channel 0 port of the SLC to the RS-232 port of the DL40 Plus.
TON
0000
AWT
0001
0002
T4:0
DN
T4:0
<EN>
<DN>
<EN>
<DN>
DN
Objectives