Remote Control

The TML includes powerful instructions through which you can program a drive to issue TML commands to another drive or group of drives. You can include these instructions in the TML program of a drive, which can act like a host and can effectively control the operation of the other drives from the network. These TML instructions are:

[axis]{TML command1; TML command2;…};

[group]{TML command1; TML command2;…};

[broadcast]{TML command1; TML command2;…};

where TML command1, TML command2, etc. can be any single axis TML instructions. A single axis TML instruction is defined as an instruction that does not transfer data or sends TML commands to other axes. If you include multiple TML commands separated by semicolon (;), these will be sent one by one in order from left to right i.e. first TML command1, then TML command2, etc.

Remark: Most of the TML instructions enter in the category of those that can be sent by a drive/motor to another one using the above TML commands.

Programming Examples

[G1]{CPOS=2000;};        // send a new CPOS command to all axes from group 1

[G1]{UPD};                // send an update command to all the axes from group 1

// all axes from group 1 will start to move simultaneously

[B]{STOP;};                // broadcast a STOP command to all axes from the network

 

 

See also:

TML Description