
Features II JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot
30
FUNCTIONS
Robot System Functions
You can use the built-in variables (which are built into the robot system) and the user-defined variables
(which can be freely defined by the user).
The user-defined variables other than local variables (variables effective only in defined point job data
which are defined by the
declare
command) are defined in the Customizing mode. (See the operation
manual
Features IV
for details of the Customizing mode.)
The functions built into the robot system are as follows:
Type Identifier
Description
num
currentMainProgNumber ()
Currently performed main program number
num
currentSubProgNumber ()
Currently performed sub program number
num
currentPointNumber ()
Currently performed point number
num
currentArmX ()
Current X-coordinate [mm]
num
currentArmY ()
Current Y-coordinate [mm]
num
currentArmZ ()
Current Z-coordinate [mm]
num
currentArmR ()
Current R-coordinate [deg]
num
currentCmdArmX ()
Current command X-coordinate [mm]
num
currentCmdArmY ()
Current command Y-coordinate [mm]
num
currentCmdArmZ ()
Current command Z-coordinate [mm]
num
currentCmdArmR ()
Current command R-coordinate [deg]
num
numCOM (COM port number)
Data byte count of COM receiving port
num isConditionData
(n)
Display whether the specified condition data number
is available (1) or not (0).
str strCenterLCD
(a)
Adjust the strings on the teaching pendant LCD
(centering).
str strRightLCD
(a)
Adjust the strings on the teaching pendant LCD (right
justification).
str strPlusRLCD
(a,b)
Teaching pendant LCD: Right priority; Items on the
right are displayed in full if there is an overlap.
str strPlusLLCD
(a,b)
Teaching pendant LCD: Left priority; Items on the left
are displayed in full if there is an overlap.
num getSystemPTPmoveTime
()
Valid only for [Job while Moving].
Time required for the current PTP drive [sec]
num getSystemPTPrestTime
()
Valid only for [Job while Moving].
Time left before the current PTP drive ends (reaching
the destination) [sec]