Public Member Functions | Public Attributes | List of all members
robotiq_modbus_tcp.comModbusTcp.communication Class Reference

Public Member Functions

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

Public Attributes

 client
 
 lock
 

Detailed Description

Definition at line 50 of file comModbusTcp.py.

Constructor & Destructor Documentation

def robotiq_modbus_tcp.comModbusTcp.communication.__init__ (   self)

Definition at line 52 of file comModbusTcp.py.

Member Function Documentation

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.

def robotiq_modbus_tcp.comModbusTcp.communication.disconnectFromDevice (   self)
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.

Member Data Documentation

robotiq_modbus_tcp.comModbusTcp.communication.client

Definition at line 53 of file comModbusTcp.py.

robotiq_modbus_tcp.comModbusTcp.communication.lock

Definition at line 54 of file comModbusTcp.py.


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


robotiq_modbus_tcp
Author(s): Nicolas Lauzier (Robotiq inc.)
autogenerated on Tue Jun 1 2021 02:30:06