Skip to content

Peripheral Data Read and Write Parameter Structure rm_peripheral_read_write_params_t

Parameter description

ParameterTypeDescription
portintCommunication port, 0: controller RS485 port, 1: end interface board RS485 port, 3: controller ModbusTCP device.
addressintData starting address.
deviceintPeripheral device address.
numintVolume of data.

Constructor function

Python
rm_ctypes_wrap.rm_peripheral_read_write_params_t.__init__(self, port = None, address = None, device = None, num = None)

Parameter description:

ParameterTypeDescription
portint, optionalCommunication port, 0: controller RS485 port, 1: end interface board RS485 port, 3: controller ModbusTCP device, default: None.
addressint, optionalData starting address, default: None.
deviceint, optionalPeripheral device address, default: None.
numint, optionalVolume of data, default: None.