Definition at line 49 of file comModbusRtu.py.
def robotiq_modbus_rtu.comModbusRtu.communication.__init__ |
( |
|
self | ) |
|
def robotiq_modbus_rtu.comModbusRtu.communication.connectToDevice |
( |
|
self, |
|
|
|
device |
|
) |
| |
Connection to the client - the method takes the IP address (as a string, e.g. '192.168.1.11') as an argument.
Definition at line 54 of file comModbusRtu.py.
def robotiq_modbus_rtu.comModbusRtu.communication.disconnectFromDevice |
( |
|
self | ) |
|
def robotiq_modbus_rtu.comModbusRtu.communication.getStatus |
( |
|
self, |
|
|
|
numBytes |
|
) |
| |
Sends a request to read, wait for the response and returns the Gripper status. The method gets the number of bytes to read as an argument
Definition at line 82 of file comModbusRtu.py.
def robotiq_modbus_rtu.comModbusRtu.communication.sendCommand |
( |
|
self, |
|
|
|
data |
|
) |
| |
Send a command to the Gripper - the method takes a list of uint8 as an argument. The meaning of each variable depends on the Gripper model (see support.robotiq.com for more details)
Definition at line 66 of file comModbusRtu.py.
robotiq_modbus_rtu.comModbusRtu.communication.client |
The documentation for this class was generated from the following file: