User guide

Page 138
Chapter 4. Programming
OUTB (BCD 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 OUTB
Start output
port·Flag
No. of BCD
digits
[Function] Outputs the value in variable register 99 as a BCD value to the designated output port or 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 output port.
[Example] OUTB 316 2
From output port 316, output 4 x 2.
85 Variable 99
ß Output port No.
Output port
323 322 321 320 319 318 317 316
ON OFF OFF OFF OFF ON OFF ON
ò