Download Print this page

Switch The Led On And Off (Firmware V10 Onwards) - Land Instruments International SPOT User Manual

Modbus controls

Advertisement

User Guide

2.5 Switch the LED on and off (firmware v10 onwards)

To switch the LED on remotely, you need to set bit 2 of register 134. If you
are not using sample and hold or the peak picker, use command:
ModbusWrite
If you are also using another function of register 134, check the current
value of the register first:
Array =
ModbusRead
currentvalue = Array [0]
LEDonvalue = currentvalue OR 0x04
ModbusWrite
The LED will switch off automatically after 30s or 15 minutes if demo mode is
set to switch the LED on remotely, write 0x04 to register 134.
To switch it off sooner, clear bit2 of register 134:
Array =
ModbusRead
currentvalue = Array [0]
LEDoffvalue = currentvalue OR 0x04
ModbusWrite
(134, 4)
(134, 1)
(134, LEDonvalue)
(134, 1)
(134, LEDoffvalue)
Spot Modbus Controls
Page 11

Advertisement

loading