Checking The As311 Operation Status - Toshiba AS311 User Manual

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

Advertisement

5.4 Checking the AS311 operation status

AS311 operation status information is stored in the AS311's buffer memory address 4
(Status 1). T3 can read this information by using READ instruction.
A sample program is shown below. This sample program is for the AS311 that is
allocated to XW000 - YW003.
The above sample program works as follows.
- Rung 1: Resets S0051 (Instruction error flag) to OFF, and sets parameters for the
READ instruction.
- Rung 2: Reads the operation status information from the AS311's buffer memory
address 4 (Status 1).
- Rung 3: When S0051 (Instruction error flag) is OFF and R050F (Ready) is ON, turns
R0100 to ON.
It means that the AS311 is operating normally when R0100 is ON.
If R050E (Error) is ON, the AS311 is in error state. In that case, the error code is
stored in the lower 8 bits of RW050. For the error code, refer to section 6.2.1.
If S0051 (Instruction error flag) is ON, it means that an error has occurred during the
READ instruction execution.
5. Operation Procedure
User's Manual
47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t3

Table of Contents