Setting The Trailing Code - Toshiba AS311 User Manual

Programmable controller ascii interface module
Hide thumbs Also See for AS311:
Table of Contents

Advertisement

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)
49
User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t3

Table of Contents