Edit on GitHub

Java GroupSyncRead

Methods Description
groupSyncRead Initializes members of packet data pointer struct
groupSyncReadAddParam Adds parameter storage for read
groupSyncReadRemoveParam Removes parameter on the storage
groupSyncReadClearParam Clears parameter storage
groupSyncReadTxPacket Transmits packet to the number of DYNAMIXEL’s
groupSyncReadRxPacket receives packet from the number of DYNAMIXEL’s
groupSyncReadTxRxPacket Transmits and receives packet on the number of DYNAMIXEL’s
groupSyncReadIsAvailable Checks whether there is available data in the data storage
groupSyncReadGetData Gets data from received packet

Method References

groupSyncRead
Parameters Description
port_num Port number
protocol_version Protocol version
start_address Control table address to start reading data
data_length Total data length
groupSyncReadAddParam
Parameters Description
group_num Group number
id DYNAMIXEL ID
groupSyncReadRemoveParam
Parameters Description
group_num Group number
id DYNAMIXEL ID
groupSyncReadClearParam
Parameters Description
group_num Group number
groupSyncReadTxPacket
Parameters Description
group_num Group number
groupSyncReadRxPacket
Parameters Description
group_num Group number
groupSyncReadTxRxPacket
Parameters Description
group_num Group number
groupSyncReadIsAvailable
Parameters Description
id DYNAMIXEL ID
address Address on the control table of DYNAMIXEL
data Packet data

This function checks whether there is available data in the data storage. It returns false when used Protocol is 1.0 version or there is no data from target address, or returns true.

groupSyncReadGetData
Parameters Description
group_num Group number
id DYNAMIXEL ID
address Address on the control table of DYNAMIXEL
data Packet data