Omron SYSMAC C200H-ASC02 Operation Manual page 104

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

Advertisement

Execution Sequence
Example 1b
1, 2, 3... 1.
Example 2a
PC Program
10309
04000
04001
04001
10002
10300
7.
ASCII: After transferring the data, clears bit 10308 with PC PUT 0 and
waits for more data.
8.
ASCII: Displays the read data.
Purpose:
To transfer data from the PC to the ASCII Unit with the ASCII
Unit maintaining control
• This example does not require a PC data transfer routine.
ASCII Unit Program:
100
PC READ"@D,100,5,5I4";A1,A2,A3,A4,A5
110
PRINT A1,A2,A3,A4,A5
Execution Sequence:
ASCII: Reads data using the PC READ "@..." statement independently
of the PC program.
2.
ASCII: Displays the data read in step (1).
Purpose:
To transfer data from the ASCII Unit to the PC with the ASCII
Unit maintaining control
DIFU 04000
04002
04001
10300
04002
MOV
#0005
101
MOV
#0000
102
10002
Execution Sequence:
ASCII Unit Program
100
PC PUT 2
1
110
PC WRITE "5I4";A1,A2,A3,A4,A5
3
130
PC PUT 0
4
2
Section 6-2
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents