User Manual
PoKeys user manual
69
www.poscope.com
Registers
Supported operations:
0x03: Read holding register
0x04: Read input register
0x06: Write single register
0x10: Write multiple registers
Address (0-based)
Access (R – Read, W – Write)
Description
0-1
R
Serial number of the device
(PoKeys57 only)
10-16
R
Analog inputs
20-45
RW
Encoder counter values (lower 16-
bit)
100-154
RW
Digital counter values
200-213
RW
PWM
200,201
PWM period (MSB first)
202,203
PWM duty1 (MSB first) – pin 22
...
212,213
PWM duty6 (MSB first) – pin 17
300-304
RW
PoExtBus
400-453 (400-499 on
PoKeys57 series)
R
Sensors (32-bit values, LSB first)
500-579
RW
LCD buffer
590
W
LCD configuration (0=disabled,
1=primary or 2=secondary) - writing
to this register will re-init and clear
the LCD
591
W
Number of rows (lower byte) and
number of columns (upper byte) of
the LCD module
592
W
Not used
593
W
Clear LCD (both bytes = 0xAA)
600
R
Tick counter (lower 16-bit)
700-751
R[W]
Digital encoder values (32-bit values,
LSB first) - any write to these
registers causes the reset of the
encoder value to 0
800-909
RW
Digital counter values (32-bit values,
LSB first)
1000-1127
RW
PoIL shared data (32-bit, LSB first)
PoExtBus channel mapping:
Address (0-based)
Register description
300
A
B
C
D
E
F
G
H
A
B
C
D
E
F
G
H
Device 10
Device 9
301
A
B
C
D
E
F
G
H
A
B
C
D
E
F
G
H
Device 8
Device 7
302
A
B
C
D
E
F
G
H
A
B
C
D
E
F
G
H
Device 6
Device 5










