Public Member Functions | Public Attributes | List of all members
robotiq_modbus_rtu.comModbusRtu.communication Class Reference

Public Member Functions

def __init__ (self)
 
def connectToDevice (self, device)
 
def disconnectFromDevice (self)
 
def getStatus (self, numBytes)
 
def sendCommand (self, data)
 

Public Attributes

 client
 

Detailed Description

Definition at line 49 of file comModbusRtu.py.

Constructor & Destructor Documentation

def robotiq_modbus_rtu.comModbusRtu.communication.__init__ (   self)

Definition at line 51 of file comModbusRtu.py.

Member Function Documentation

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)
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.

Member Data Documentation

robotiq_modbus_rtu.comModbusRtu.communication.client

Definition at line 52 of file comModbusRtu.py.


The documentation for this class was generated from the following file:


robotiq_modbus_rtu
Author(s): Nicolas Lauzier (Robotiq inc.), Kelsey Hawkins
autogenerated on Tue Jun 1 2021 02:30:05