LD220
It is only possible to access one single register of the device by each read or
write operation, therefore the “Quantity (or number) of registers” in the Modbus
request must be always “2”.
8.2.2 Access to parameters
Holding Register 0x0000 / 0x0001 hex and the followings allow to access the
device parameters.
The holding register numbers for a certain parameter can be calculated by
means of the parameter # that can be found in the parameter table in this
manual (see the “9 - Parameters / serial codes” section on page 91):
Holding Register low = (parameter #) x 2
Holding Register high = (parameter #) x 2 + 1
EXAMPLE
0x0050 and 0x0051 hex.
8.2.3 Access to current data
Holding Register 0x1000 / 0x1001 hex and the followings allow to access the
variables of the device (current data registers):
Holding Register 0x1000 / 0x1001 hex
Current data with serial Code “:0”
(Display value)
Holding Register 0x1002 / 0x1003 hex
Current data with serial Code “:1”
Holding Register 0x1004 / 0x1005 hex
Current data with serial Code “:2”
Holding Register 0x1006 / 0x1007 hex
Current data with serial Code “:3”
etc.
8.2.4 Access to status registers
Holding Register 0x2000 / 0x2001 hex and the followings allow to access the
status registers of the device:
Holding Register 0x2000 / 0x2001 hex
Output Status (Ctrl. Out status, read
only)
Holding Register 0x2002 / 0x2003 hex
Serial Commands
Holding Register 0x2004 / 0x2005 hex
External Command (Ctrl. In status,
read only)
Holding Register 0x2006 / 0x2007 hex
All Commands (read only)
8.2.5 Read Coils and Write Single Coil
Using the functions “Read Coils” and “Write Single Coil” it is possible to read and
set/reset single commands:
Coil
number
Serial code of
command
Command
0
54
Reset / Set
Reset/Set Value
1
55
Freeze Display
Freeze current display value
2
56
Touch Disable
Disable touch screen
MAN LD220 E 1.4.odt
8 - Modbus RTU Interface
89 of 100
Содержание Posicontrol LD220 Series
Страница 99: ...This page intentionally left blank...