Skip to main content

listModbusValues v5.2.1

List all named internal Modbus registers.

Parameter​

None.

Return value​

An array of objects, ordered by address, with the following keys:

KeyTypeDescription
namestringRegister name.
addressnumberModbus address of the first register.
typestringRegister type: INT16, UINT16, INT32, UINT32, STRING, or BLOCK.
valuenumber|string|arrayCurrent value, see Modbus.
generationnumberNumber of writes since the printer started.

Example​

listModbusValues

Returns:

OK [{"name":"batch","address":100,"type":"UINT32","value":1234,"generation":3}]