Public Member Functions | |
def | __init__ |
def | connectToDevice |
def | disconnectFromDevice |
def | getStatus |
def | sendCommand |
Public Attributes | |
client | |
lock |
Definition at line 50 of file comModbusTcp.py.
Definition at line 52 of file comModbusTcp.py.
def robotiq_modbus_tcp.comModbusTcp.communication.connectToDevice | ( | self, | |
address | |||
) |
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 56 of file comModbusTcp.py.
Close connection
Definition at line 60 of file comModbusTcp.py.
def robotiq_modbus_tcp.comModbusTcp.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 81 of file comModbusTcp.py.
def robotiq_modbus_tcp.comModbusTcp.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 64 of file comModbusTcp.py.
Definition at line 52 of file comModbusTcp.py.
Definition at line 52 of file comModbusTcp.py.