User guide
Page 137
OUT (Binary Number Output)
[Function] Output the value in variable register 99 as a binary number to the designated output port or flag (range).
Chapter 4. Programming
[Function] Reads the BCD value from the designated input port, then stores this value in variable register 99.
* The maximum output limit for the port is 31 consecutive bits.
[Example] OUT 316 323
Output the value of variable register 99 as a binary number to output ports 316 ~ 323.
INB (BCD Read Input/Output)
Expansion
condition
(A N D · OR)
Input
condition
(I/O · Flag)
Com mand
Post
(Output port · Flag)
Com mand Operand 1 Operand 2
Optional Optional INB Input port
No. of BCD
digits
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional OUT
Start output
port· Flag
Finish output
port· Flag
* The BCD value is read as 4 x n. (Every four input ports are read as one set) (n: no. of digits in Operand 2)
* The maximum number of digits that can be read is 8 but this requires a consecutive 32 point input port.
[Example] INB 16 2
From input port 16, read 4 x 2.
ß Input port No.
ß 85, in decimal notation
85 Variable 99
Upper digits Lower digits
23 22 21 20 19 18 17 16
ON OFF OFF OFF OFF ON OFF ON
85
ò
133 Variable 99
ß Output port No.
Output port
323 322 321 320 319 318 317 316
ON OFF OFF OFF OFF ON OFF ON
Upper Lower
10000101
ò
Binary number
ò