![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429102.webp)
93
Example 18
Purpose:
In this example, the PC initiates the transfer of ASCII data from
the PC to the ASCII Unit on the Remote I/O Unit.
PC Program Using the READ Instruction
ASCII Unit Program
DIFU(13)
04000
04001
MOV(21)
#0000
140
04002
01000
04000
04001
04002
MOV(21)
#0010
140
04005
04004
04002
04003
04003
MOV(21)
#0005
141
04006
04004
14001
04006
04001
14001
14308
04002
04003
14001
14308
14308
MOV(21)
#0200
142
04005
Start
(1)
(3)
(1) (3)
10 PC PUT 0
20 ON PC 1 GOSUB 100
30 PC 1 ON
40 GOTO 40
100 PC PUT 1
110 FOR I = 1 TO 50: NEXT 1
120 PC READ “514”; A1, A2, A3, A4, A5
130 PRINT A1, A2, A3, A4, A5
140 PC PUT 0
150 RETURN
Note:
The time required to complete the
110 PC PUT transfer and to turn
OFF the WRITE flag must be ad-
justed according to the PC scan
time and remote scan time.
14308
Example Programs
Section 6-1
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 ...