Robotics User Manual

Outputting values from I/O: dataOut,dataOutBCD
The optional numeric values “0 to 999,999,999” or tag codes can be output to the I/O or the Boolean
free variables (#mv(1~99), #mkv(1~99).)
Command Category
Command
Parameter
Job
Output
Value
Output
Destination
Output
Width
Outputs values from the
I/O.
dataOut
ON/OFF Output
Control
dataOutBCD
Output
Value
Output
Destination
Output
Width
Outputs values in BCD
from the I/O.
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.
Output Values and Output Width can be set using variables or expressions.
You need to set the following 2 parameters in addition to Output Value for the commands “dataOut”
and “dataOutBCD”.
- Output Width: The number of I/Os to be used for output
- Output Destination: The smallest number between I/Os to be used for output
e.g) If you use #genOut8 to 10, the Output Destination is “8.”
The serial I/Os are used for the commands “dataOut” and “dataOutBCD”. You cannot use I/Os
that are not serial I/Os.
Example:
<Setting>
<Command>
Output Value: 6
dataOut 6,3,#genOut8
<Output> 6=110 (binary)
Output Width: 3
Output Destination: #genOut8
#genOut8: 0 (OFF)
#genOut9: 1 (ON)
#genOut10: 1 (ON)
If an Output Value does not match a specific Output Width, the upper digit will be truncated.
Example:
<Setting>
Output Value: 14
Output Width: 3
Output Destination: #genOut8
<Command>
dataOut 14,3,#genOut8
<Output> 14=1110 (binary)
#genOut8: 0 (OFF)
#genOut9: 1 (ON)
#genOut10: 1 (ON)
: 1 (truncation)
Output Width can be set up to “31.” However, the two I/O’s cannot be combined.
Features II CARTESIAN Benchtop Robot
35