Manual

51
[Function] Output the value of variable 99 to ourput ports or flags from operand 1 to operand 2.
Note 1: The maximum number of digits that can be output is 8 (32 bits).
Note 2: The output port • f lag used is 4 x n (number of digits).
.
[Example 1] OUT 300 2 Write the value of variable 99 as a BCD value to output ports from 300
for 2 digits (up to 307).
[Example 2] LET 1 300 Assign 300 to variable 1.
LET 2 2 Assign 2 to variable 2.
OUT *1 *2 Write the value of variable 99 as a BCD value to output ports from 300
(content of variable 1) for 2 digits (content of variable 2) (up to 15).
noisnapxE
noitidnoc
)RO·DNA(
tupnI
noitidnoc
)galF·O/I(
dnammoC
tsoP
)galF·tuptuO(
dnammoC 1dnarepO 2dnarepO
lanoitpOlanoitpOBTUOgalF·O/IstigidDCBfo.oN
85 • • • • • • • • • • • • • • • • Variable 99
reppUrewoL
10000101
• • •Binary number
ò
12. SEL Language
OUTB (BCD Output)
• • •Output port Number
ON
OFF OFF OFF OFF
OFF
ON ON
307 306 305 304 303 302
301 300
ò