User Manual
PoKeys user manual
68
www.poscope.com
- devData.xml: information on the PoKeys device (network configuration and some other
device data)
- sensorList.xml*: contains information on dashboard items configuration and value
- sensorList.json*: same as above, but in json format
- setS.html*: is used to change the sensor value
- setDO.html: is used to change digital output value
The setS.html and setDO.html have the following syntax
http://<IP address>/setDO.html?Pin=<Pin ID>&State=<0/1/T>&u=<Username>&p=<Password>
http://<IP address> /setS.html?Sensor=<Item ID>&State=<Value>&u=<Username>&p=<Password>
The <Pin ID> is 1-based PoKeys pin index (same as indicated on the device), while <Item ID> is 0-
based dashboard item index of the current user.
Modbus
PoKeys57CNC device supports slave (server) operation of Modbus TCP communication protocol.
Modbus TCP compatible devices on the network can read the values from the device and set the
outputs. To elevate the security, user can define which peripherals are accessible via Modbus TCP.
Modbus TCP uses TCP protocol on port 502 (default), which can be changed in Modbus settings
(accessible from the menu Device – Modbus configuration...). The Modbus TCP connection is
disconnected after 3 seconds of inactivity (this default value can be changed in the Modbus settings).
Discrete inputs/outputs
Supported operations:
0x01: Read coils
0x02: Read discrete input
0x05: Write single coil
0x0F: Write multiple coils
Address (0-based)
Access (R – Read, W – Write)
Description
0-54
R/W
55 pin inputs/outputs
100-126 (100-149 on
PoKeys57 series)
R
Sensor OK statuses
200-263
R/W
PoIL shared data (binary data) -
overlapped with 32-bit PoIL shared
data at 1000-1127 (16-bit)
1000-1127
R
Matrix keyboard inputs
1400-1527
W
I2C Matrix keyboard LED
1600-1727
R/W
LED matrix
2000-2079
R/W
PoExtBus
2000
Device 10 – Output H
2001
Device 10 – Output G
...
2079
Device 1 – Output A










