GetTMLData Ask one axis to return a TML data TakeTMLData Answer to GetTMLData request |
Syntax
Operands – Remark: The online instructions are intended only for host/master usage and cannot reside in a TML program. Therefore their syntax is fictive, the only goal being to identify these commands. Binary code Description Through GetTMLData command an external device can request a TML data from one drive/motor. The dimension of the requested data is specified in the binary code through the VT bit: 0 – 16-bit, 1 – 32-bit. The TML data is identified by its address. GetTMLData instruction uses a 9-bit short address for the TML data. Bit value X specifies the address range: In the expeditor address, bit H – the host bit – must be set to 1 only if the host sends the GetTMLData request via serial RS-232 link. For details, see serial communication protocol description. The answer to a GetTMLData command is a TakeTMLData message including the expeditor Axis ID, the address of the TML data returned and its value. The GetTMLData and TakeTMLData commands are optimized for requests of TML data (registers, parameters, variables). For this type of data exchanges, GetTMLData and TakeTMLData provide shorter messages and occupy less communication bandwidth compared with GiveMeData and TakeData. Remark: The GetTMLData and TakeTMLData commands must be used only for data exchanges between 2 devices. In a multi-axis CAN bus network, the GetTMLData command must be sent to a single axis. If this command is sent to a group of drives, the TakeTMLData answers from different drives will have all the same identifier and therefore can’t be correctly identified. |