Installation manual
Chapter 8 PA Library
8-34
pa_set_idn
Function
Sets teach point ID data attribution.
Syntax
long pa_set_idn(ARM armno, PNTID pa, long dat)
armno Arm number (No.).
pa Alteration attribution designation
dat Attribution value
Explanation
This “pa” designates teach point attribution intended to change. Now, the
attribution supported by this library is only one.
Macro definition
PA_SETID : Sets ID number.
This ID number is set to be designated by “dat”.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_get_idn Teach point ID number acquisition
Description example
:
pa_set_idn(ARM0,PA_SETID,0x1234); .. ID No. setting