IAI America XSEL-KX User Manual
Page 120

104
Part 4 Commands
(4) Operand 1 = 3
Data is read or written after its upper 16 bits and lower 16 bits are reversed every 32
bits and its upper eight bits and lower eight bits are reversed every 16 bits.
(I/O, flag number upper)
(I/O, flag number lower)
01234567h
⇔ 67h 45h 23h 01h ⇔ 0110 0111 0100 0101 0010 0011 0000 0001
Variable 99
I/O port, flag status (0 = OFF, 1 = ON)
Temporary data
OUT(B) command
IN(B) command
(Note) FMIO command is supported in main application version 0.56 or later, PC software
version 2.0.45 or later and teaching pendant version 1.13 or later.
[Example 1]
Variable 99 = 00123456h (Decimal: 1193046, BCD: 123456)
00123456h
Variable 99 1193046 (IN/OUT command)
123456 (INB/OUTB command)
(I/O, flag number upper) (I/O, flag number lower)
FMIO = 0 00h 12h 34h 56h
⇔
0000 0000 0001 0010 0011 0100 0101 0110
FMIO = 1 12h 00h 56h 34h
⇔
0001 0010 0000 0000 0101 0110 0011 0100
FMIO = 2 34h 56h 00h 12h
⇔
0011 0100 0101 0110 0000 0000 0001 0010
FMIO = 3 56h 34h 12h 00h
⇔
0101 0110 0011 0100 0001 0010 0000 0000
Temporary data
I/O port, flag status (0 = OFF, 1 = ON)
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command
OUT(B) command
IN(B) command