95
7.
ASCII: After transferring the data, clears bit 10308 with PC PUT 0 and
waits for more data.
8.
ASCII: Displays the read data.
Example 1b
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:
1, 2, 3... 1.
ASCII: Reads data using the PC READ “@...” statement independently
of the PC program.
2.
ASCII: Displays the data read in step (1).
Example 2a
Purpose:
To transfer data from the ASCII Unit to the PC with the ASCII
Unit maintaining control
MOV
#0005
101
10002
MOV
#0000
102
PC Program
ASCII Unit Program
10300
04002
04001
DIFU 04000
10309
04000
04001
04001
10002
10300
04002
100
PC PUT 2
110
PC WRITE “5I4”;A1,A2,A3,A4,A5
130
PC PUT 0
1
3
4
2
Execution Sequence:
Execution Sequence
Section 6-2
Summary of Contents for SYSMAC C200H-ASC02
Page 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Page 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Page 122: ...Appendix B Specifications 115 130 35 100 5 ...
Page 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...