Omron SYSMAC C200H-ASC02 Operation Manual page 105

Ascii unit
Hide thumbs Also See for SYSMAC C200H-ASC02:
Table of Contents

Advertisement

Execution Sequence
1, 2, 3... 1.
Example 2b
96
ASCII: Sets bit 10309 with the PC PUT 2 statement. Executes the PC
WRITE statement and waits until the program is started from the PC.
2.
ASCII: Executes the PC WRITE statement after bit 10309 has been set.
3.
ASCII: Sets bit 10390 with the PC PUT 0 statement after the PC WRITE
statement has been executed.
4.
PC : Sets the self-holding circuit (04001) after the PC WRITE statement
has been executed (i.e., after the ASCII busy flag (10300) has been
cleared).
Remarks:
If this program is executed repeatedly, and if the time required to set bit
10309 with PC PUT 2 after it has been cleared with PC PUT 0 is longer than
the scan time of the PC, the PC cannot detect the state of bit 10309.
Purpose:
To transfer data from the ASCII Unit to the PC with the ASCII
Unit maintaining control.
• This example does not require a PC data transfer routine.
ASCII Unit Program:
100
PC WRITE "@D,0,5,5I4";A1,A2,A3,A4,A5
110
END
Section 6-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents