Omron SYSMAC C200H-ASC02 Operation Manual page 135

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

Advertisement

Formatting and Data Conversion
S Format
Contents of PC word
0
1
2
3
4
5
6
7
8
9
0
1
2
3
4
5
Examples of PC Write Format Conversion
I Format
Contents of PC word
0
0
0
0
0
3
0
2
3
1
2
3
0
0
0
0
0
1
0
1
2
1
2
3
130
Integer variable
(in format I)
4
PC WRITE " I 1 " ; J
4
PC WRITE " I 2 " ; J
4
PC WRITE " I 3 " ; J
4
PC WRITE " I 4 " ; J
1
PC WRITE " I 1 " ; A $
2
PC WRITE " I 2 " ; A $
3
PC WRITE " I 3 " ; A $
4
PC WRITE " I 4 " ; A $
PC READ " S 4 I 4 " ; A ( 1 )
Integer variable
Character variable
Appendix D
A ( 1 ) = 9 8 7 6
A ( 2 ) = 5 4 3 2
A ( 3 ) = 1 0 9 8
A ( 4 ) = 7 6 5 4
J = 1 2 3 4
A $ = " 1 2 3 4 "

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents