AXISID        Set the axis ID

Syntax                

AXISID value16

Set AXIS ID address

AXISID VAR16

Set AXIS ID with value of VAR16

Operandsvalue16: immediate value between 1 and 255

       VAR16: integer variable

PlaceTMLOnline

Binary code

DescriptionThe command changes the axis ID. In multiple-axis configurations, each axis is identified through a unique number between 1 and 255 – the axis ID. If the destination of a message is an axis ID, the message is received only by the axis with the same axis ID.

After the execution of this command, the axis ID is set with the immediate value specified or the value of the 16-bit variable.

 

Example

AXISID 10;                //from now on, the local axis ID is 10

....

[10] {AXISID 9;}        //change the ID of axis 10 to 9 (this

//instruction is send and executed on

//the actual axis 10)

....

[9] {CSPD = 30;} //Send CPOS = 30 to axis 9 (previous axis 10)