getModbusValue v5.2.1
Get the value of a named internal Modbus register.
Parameter
| Key | Type | Description |
|---|---|---|
| name | string | Register name. |
Return value
| Key | Type | Description |
|---|---|---|
| name | string | Register name. |
| value | number|string|array | Current value, see Modbus. |
| generation | number | Number of writes since the printer started. |
The request fails if there is no register with the given name.
Example
getModbusValue {"name": "batch"}
Returns:
OK {"name":"batch","value":1234,"generation":3}