IAI America TT-C3 User Manual
Page 116

106
INTELLIGENT ACTUATOR
Chapter 4 Commands
2.
Explanation
of
Commands
z OUTB (Write output, flag as BCD)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional
Optional
OUTB
Output, flag
BCD digits
CC
[Function]
Write the value in variable 99 to the output ports or flags from the one specified in operand 1
for the number of digits specified in operand 2 as a BCD.
(Note 1)
A maximum of eight digits (32 bits) can be output.
(Note 2)
The number of output ports and flags that can be used is 4 x n (digits).
(Note 3)
The write data format can be changed using a FMIO command (refer to the section on FMIO
command).
[Example 1]
OUTB
316
2
Write the value in variable 99 to the output ports from
316 for two digits (until output port 327) as a BCD.
[Example 2]
LET
1
316
Assign 316 to variable 1.
LET
2
2
Assign 2 to variable 2.
OUTB
*1
*2
Write the value in variable 99 to the output ports from
the content of variable 1 (output port 316) for the
content of variable 2 (two digits) (until output port 323)
as a BCD.
Variable 99
Output port number