Part 4 Commands
INB (Read I/O, flag as BCD)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Output
(Output, flag)
Operand 1 Operand 2
Optional Optional INB Output, flag BCD digits CC
Read the I/O ports or flags from the one specified in operand 1 for the number of digits
specified in operand 2, to variable 99 as a BCD.
ON OFF OFF OFF OFF ON OFF ON
85
Variable 99
A maximum of eight digits (32 bits) can be input.
The number of I/O ports and flags that can be used is 4 x n (digits).
The read data format can be changed using a FMIO command. (Refer to the FMIO
command.)
(This function is available in main application version 0.25 or later.)
Read input ports 8 through 15, to variable 99 as a
BCD.
Read the input ports from the content of variable 1
(input port 8) for the content of variable 2 (two digits)
(until input port 15), to variable 99 as a BCD.
Commentaires sur ces manuels