Public Member Functions | |
def | __init__ |
def | connectToDevice |
def | disconnectFromDevice |
def | getStatus |
def | sendCommand |
Public Attributes | |
client |
Definition at line 49 of file comModbusRtu.py.
Definition at line 51 of file comModbusRtu.py.
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.
Close connection
Definition at line 62 of file comModbusRtu.py.
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.
Definition at line 51 of file comModbusRtu.py.