User’s
Manual
49
5. Operation Procedure
5.6 Setting the trailing code
The default setting of the trailing code is CR (carriage return code = H0D). The trailing
code can be changed by T3 program.
To do this, write desired trailing code into the AS311’s buffer memory address 24 (CH1
trailing code) and/or address 88 (CH2 trailing code), and execute the hot reset (refer to
section
5.5).
A sample program is shown below. This sample program is for the AS311 that is
allocated to XW000 - YW003.
In this sample program, the trailing code changing routine will be executed once when
the AS311 status is changed to ready (R0100 comes ON - refer to section 5.4), and the
channel 1 trailing code will be changed to H03.
If the channel 2 trailing code and/or the time-out check time are also changed, write
these data on the Main program Rung 2 before calling Subroutine No. 3 in the same
manner.
(Main
program)
(H0003)
(Subroutine No. 3)
(H80FE)
Summary of Contents for AS311
Page 8: ...6 ASCII Interface Module AS311 ...
Page 16: ...14 ASCII Interface Module AS311 ...
Page 20: ...18 ASCII Interface Module AS311 ...
Page 21: ...User s Manual 19 Section 3 Cable Connections 3 1 RS 232C connection 3 2 RS 422 connection ...
Page 24: ...22 ASCII Interface Module AS311 ...