smartDEN
IP-16R-MT
User Manual
7 July 2020
-
39
-
Table 4.
Modbus commands
Function
Code
Resources
Access
Read Coil Status
01 (0x01) Relays 1..16
bit
Write Single Coil
05 (0x05) Relays 1..16
bit
Write Multiple Coils
15 (0x0F) Relays 1..16
bit
Read Holding Registers
03 (0x03) Configuration parameters
16-bit
Write Single Register
06 (0x06)
Generate pulses,
Configuration parameters,
16-bit
Write Multiple Registers
16 (0x10)
Generate pulses,
Configuration parameters
16-bit
smartDEN IP-16R-MT
uses
the following registers to represent the resources
accessed by a Modbus command:
Table 5.
Modbus registers
Resources
Start
Address
End
Address
Value
Range
Generate Pulses on Relays 1..16 (write only)
0x0000
0x000F
1..65535
Set Pulse Width for Relays 1..16
0x6000
0x600F
0..65535
Week Schedule Start Date (Day)
0x6100
0x6100
1..31
Week Schedule Start Date (Month)
0x6101
0x6101
1..12
Week Schedule Start Date (Year)
0x6102
0x6102
2000..2099
Week Schedule Row Enable Flag
0x6200
0x621D
0..1
Week Schedule Row Outputs Code
0x6300
0x631D
0..65535
Week Schedule Row Outputs State
0x6400
0x641D
0..1
Week Schedule Row Hour
0x6500
0x651D
0..23
Week Schedule Row Minute
0x6600
0x661D
0..59
Week Schedule Row WeekDays Code
0x6700
0x671D
0..127
Save Outputs Option
0x6800
0x6800
0..1
System Date (Day)
0x6900
0x6900
1..31
System Date (Month)
0x6901
0x6901
1..12
System Date (Year)
0x6902
0x6902
2000..2099
System Time (Hour)
0x6903
0x6903
0..23
System Time (Minutes)
0x6904
0x6904
0..59
Firmware Version (read only)
0x6A00
0x6A00
Pulse width is specified in milliseconds x 100. For example, a value of 30
will generate a pulse with 3 seconds duration.
Week schedule table has 30 rows. The row number (starting from zero) is
defined by the low significant byte of the address.
The least significant bit (LSB) of the Outputs Code corresponds to Relay 1,
the most significant bit (MSB)
– to Relay 16.
The least significant bit (LSB) of the WeekDays Code corresponds to
Sunday, the most significant bit (MSB)
– to Saturday.