Omron SYSMAC C200H-ASC02 Operation Manual page 137

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

Advertisement

Formatting and Data Conversion
B Format
Contents of PC word
0
0
0
1
0
0
0
2
0
0
1
0
8
0
0
0
A Format
Contents of PC word
0
0
5
0
0
5
5
1
0
5
2
0
5
1
5
5
3
5
S Format
Contents of PC word
9
8
7
5
4
3
1
0
9
7
6
5
132
1
PC WRITE " B 0 " ; J
PC WRITE " B 1 " ; J
PC WRITE " B 4 " ; J
PC WRITE " B 15 " ; J
Note
Integer variables in B format will cause an error.
1
PC WRITE " 2 A 1 " ; A $
2
0
PC WRITE " 2 A 2 " ; A $
0
2
PC WRITE " 2 A 3 " ; A $
4
6
PC WRITE " S 4 I 4 " ; A ( 1 )
2
8
4
Integer variable
J = - 3 2 7 4 9 = & H 8 0 1 3
A $ = " Q R S T "
Character variable
A ( 1 ) = 1 2 3
Integer variable
(in format I)
A ( 2 ) = 4 5 6 7
A ( 3 ) = 8 9 0 1
A ( 4 ) = 2 3 4 5
Appendix D
Q : & H 5 1
R : & H 5 2
S : & H 5 3
T : & H 5 4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents