Operation procedure – Toshiba AS311 User Manual

Page 48

Advertising
background image

46

ASCII Interface Module (AS311)

5. Operation Procedure



Explanation for this sample program:


(1) The “write sequence for message transmitting” is programmed on Subroutine

No.

1.

(2) To start transmitting, set the message (ASCII characters) into D0200 and after.

Then set R0110 to ON.

The message length is maximum 128 bytes (64 words) in this sample program.

(3) When R0110 is set to ON while the AS311 is ready, the Subroutine No. 1 will be

called and the message transmitting will be started.

(4) When the message is transmitted normally, R0201 will come ON. Then R0110 will

be reset to OFF.

(5) When an error has occurred in transmitting the message, R0301 will come ON and

the error information will be stored in D3010. For details of the error information,

refer to section 6.2.4.

Advertising