Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
43
■
Output Values from I/O: dataOut, dataOutBCD
Any numeric values 1 – 999,999,999 or tag codes can be output to the I/O or the Boolean free
variables #mv (1 – 99) and #mkv (1 – 99).
Command Category
Command
Parameter
Job
dataOut
Output
Data
Output
Destination
Output Bit
Number
Output values from the
I/O.
ON/OFF Output Control
dataOutBCD
Output
Data
Output
Destination
Output Bit
Number
Output values in BCD
from the I/O.
z
Using tag code output, you can output different values using the same point job data if you set
different values as tag codes to multiple points.
z
The output values and widths can be set using variables or expressions.
You need to set the three parameters: the output value (value to be output), the output width (the
number of I/O pins to be used for output; also referred to as [Output Bit No.]), and the output
destination (the smallest number between I/Os to be used for output: for example, if you use
#genOut8 – #genOut10, the output destination is [8]), for the
dataOut
and
dataOutBCD
commands.
z
The
dataOut
and
dataOutBCD
commands require
serial
I/O pins for output.
Example:
(Settings)
Output Value: 6
Output Width: 3
Output Destination: #genOut8
(Command)
dataOut 6, #genOut8, 3
(Output) 6=110 (binary)
#genOut8: 0 (OFF)
#genOut9: 1 (ON)
#genOut10: 1 (ON)
z
If the output value does not fall within the set output width, the upper digit will be truncated.
Example:
(Settings)
Output Value: 14
Output Width: 3
Output Destination: #genOut8
(Command)
dataOut 14, #genOut8, 3
(Output) 14=1110 (binary)
#genOut8: 0 (OFF)
#genOut9: 1 (ON)
#genOut10: 1 (ON)
: 1 (truncation)
z
The output width ([Output Bit No.]) can be set up to [31]. However, different types of I/O pins cannot
be combined.