11 - 428 11 - 428
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Specify the characters that actually represent the codes in %(4) to %(8) in
case of the shift in codes and in %(9) to %(13) in case of the shift out codes,
in units of bytes.
Example When the number of characters is specified as 3
Shift in code
2nd
character
1st
character
%(4) (Higher byte) (Lower byte)
This byte is ignored.
3rd
character
%(5)
Shift out code
%(9)
This byte is ignored.
%(10)
Thus, in order to specify shift in codes 1B
H
, 24
H
and 40
H
,
the specification should be as shown below:
1st character
2nd character
%(4)=&H241B
%(5)=&H40
3rd character
(Higher byte) (Lower byte)
(Higher byte) (Lower byte)
(Higher byte) (Lower byte)
3rd
character
2nd
character
1st
character