class documentation

class CoilDataBlock(DataBlock):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method digital_write Set pin_id state to pin_state
Method process_command Undocumented
Method set_pin_mode Set pin number pin_id to mode pin_mode
Method setValues Undocumented
Constant CO_IO_MODE Undocumented
Constant CO_IO_STATE Undocumented
Class Variable DIO_ADDRESS Undocumented

Inherited from DataBlock:

Static Method call_ros_service Undocumented
Method getValuesOffset Undocumented
Method setValuesOffset Undocumented
def digital_write(self, pin_id, digital_state):

Set pin_id state to pin_state

Parameters
pin_id:Union[ PinID, str]The name of the pin
digital_state:Union[ PinState, bool]
Returns
NoneUndocumented
def process_command(self, address, values):

Undocumented

def set_pin_mode(self, pin_id, pin_mode):

Set pin number pin_id to mode pin_mode

Parameters
pin_id:PinID
pin_mode:PinMode
Returns
Nonestatus, message
def setValues(self, address, values):

Undocumented

CO_IO_MODE: int =

Undocumented

Value
0
CO_IO_STATE: int =

Undocumented

Value
100
DIO_ADDRESS =

Undocumented