External Control (I/O / Fieldbus) 87 DESKTOP ROBOT JR3000
■
Workpiece Adjustment Data (X/Y/Z/R/ θ ) Settings (Command Code 1003h)
Command Code 1003h sets the values for the 5 parameters: X Adjustment, Y Adjustment, Z
Adjustment, R Adjustment, Rotate Adjustment.
Example:
Set workpiece adjustment number 8 with X Adjustment -2.3 mm, Y Adjustment -20.5 mm,
Z Adjustment +2 mm, R Adjustment 0.5 deg, Rotate Adjustment 0.001 deg.
Register Number Data (hex) Function
fbIn102 Command Instruction
bit0: OFFON: execute command
fbIn103 1003 Command Code
fbIn104 0008 Workpiece Adjustment Number
fbIn105 – fbIn106 fbIn105 : F704
fbIn106 : FFFF
X adjustment, 0.001 mm units
Example: -2.300 mm (-2300) : FFFFF704h*
1
fbIn107 – fbIn108 fbIn107 : AFEC
fbIn108 : FFFF
Y adjustment, 0.001 mm units
Example: -20.50 mm (-20500) : FFFFAFECh
fbIn109 – fbIn10A fbIn109 : 07D0
fbIn10A : 0000
Z adjustment, 0.001 mm units
Positive numbers in the down direction, negative
numbers in the up direction
Example: 2.000 mm (2000) : 7D0h
fbIn10B – fbIn10C fbIn10B : 0032
fbIn10C : 0000
R adjustment, 0.01 deg units
Example: 0.50 deg (50) : 32h*
2
fbIn10D – fbIn10E fbIn10D : 03E8
fbIn10E : 0000
Rotate adjustment 0.000001 deg units
Example: 0.001 deg (1000) : 3E8h
The conversion expressions from the coordinates to the values in parentheses ( ) are as follows:
*1:
-2.300 [mm] (coordinates) / 0.001[ mm] (unit) = -2300 : FFFFF704h (hexadecimal)
*2:
0.50 deg (coordinates) / 0.01 deg (unit) = 50 : 32h (hexadecimal)
Example:
Normal
Register Number Data (hex) Function
fbOut182 Command Response
bit0: OFF: execution possible, ON: executing
fbOut183 0000 Return Code
0: normal, FFEF: parameter error
NOTE:
This error occurs when there is no
specified workpiece adjustment.