Contents...30014 13 No date_of_last_cal_Lword Transmission block End 2 Registers, 32 bit long, MSB...
Transcript of Contents...30014 13 No date_of_last_cal_Lword Transmission block End 2 Registers, 32 bit long, MSB...
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 1 | P a g e
ContentsContents..................................................................................................................................................1
Documents History .............................................................................................................................2
Introduction: ...........................................................................................................................................3
Modbus Specifics: ...............................................................................................................................4
Slave Devices:..................................................................................................................................4
Supported Commands: ...................................................................................................................4
Cyclic Redundancy Check (CRC16). .................................................................................................4
SpecView Generic Modbus Driver Specifics. ..................................................................................4
Table 1. Holding Register Map....................................................................................................5
Table 2. Input Register Map.......................................................................................................7
Table 4. Detailed Alarm Status..................................................................................................16
Table 5. GPRS Signal Strengh ....................................................................................................17
Notes.................................................................................................................................................18
NaN, “Not a number”........................................................................................................................ 18
Switch Closure, data format. ........................................................................................................18
Phone Number format. .................................................................................................................19
GPRS Firmware Version Formatting .............................................................................................20
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 2 | P a g e
Documents History • Issue 1: Initial documents release.
• Issue 2: Changed Bit‐Map in Table 4. Detailed Alarm Status; bit 0 (Channel Enabled), was Channel Not Enabled.
• Issue 3: Added Command 06 (write single register). Changed TimeZoneOffset from hours to minutes.
• Issue 4: Added note for Switch Closure data format, and minor corrections to text.
• Issue 5: Added Holding Register 40009, “SaveBaseStationConfig”.
• Issue 6: Changed Bit‐Map in Table 4. Detailed Alarm Status;
Bit 0: Renamed to Transmitter Enabled. Was Channel Enable.
Bit 6: Humidity Channel enabled added, was alarms 0.
Bit 7: Universal Channel enabled added, was alarms 0.
• Issue 7: Changed Tx?_AlarmsWarnings position in Modbus map. Originally located at registers 30033 to 30048, now each register is located next to a appropriate transmitter. This means all transmitter data can be read on one block read.
• Issue 8: Added Holding Register 40010, “User LED control”.
• Issue 9: Using Firmware version SIG‐1026‐15 and above. Added alarmWarnings for all transmitters in registers 30033 to 30048. Registers for GPRS modem. Added GPRS Signal Strength. Added Phone numbers 1 and 2. Added GPRS Firmware Version.
• Issue 10: Removed null character from phone number format. Added Enable sms alarms register. Modem Error Code register.
• Issue 11: (Firmware SF‐1026‐16 or later required) (Date: 21st March 2011) Duplicated RTC on input registers 29 and 30, moved Alarm Register by 1 register Moved Basestation Temperature from input register 29 to 235 Register 31 is now a dummy (empty space) Register 32 is now Basestation Reset
• Issue 12: Refined GPRS signal strength description.
• Issue 13: Move Register 40014 (alarm block available) to 40015 Added Register 40014 (modem warning_code). This breaks support with older windows server, upgrade needed. Table 3 Removed, contact Engineering for Block transfer manual.
• Issue 14 Corrected mistake on input register numbers on Page 14 from alarm Phone number 1 and on.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 3 | P a g e
Introduction: This document contains the Modbus RTU data map for the spYdaq system. The spYdaq base station is a Modbus RTU slave with a single RS232 port. The physical layer parameters like baud rate can be changed using the USB configuration software for spYdaq.
The map allows access to the following data.
1. Last received parameters from all 16 transmitters (Int Temp, RH and Universal)
2. Last received radio message time stamp.
3. Alarms and Status data for each of the 16 transmitters
4. Date of last calibration for all 16 transmitters.
5. Internal Temperature of the Base Station.
6. Base Station Real Time Clock (UTC = Universal Time Clock)
7. Base Station Local Time offset
8. Block mode, data logger download. Use for embedded java GPRS modem, not currently supported by SpecView.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 4 | P a g e
Modbus Specifics:
Slave Devices: The spYdaq node address is changeable via the USB configuration software. The allowable range is 1 to 247.
Supported Commands: • Command 0x03 Read Holding Register.
Read holding registers starting at address 40001.
• Command 0x04 Read Input Register.
Read Input registers starting at address 30001.
• Command 0x06 Write Single Holding Register
Write single holding registers starting at address 40001.
(not Input registers, which are read only).
• Command 0x10 Write Multiple Registers.
Write multiple registers allows writing of Holding registers only
(not Input registers, which are read only).
Cyclic Redundancy Check (CRC16). spYdaq conforms to the standard CRC16 specification. Contact Signatrol for more information.
SpecView Generic Modbus Driver Specifics. If using the SpecView generic Modbus driver the following setup is required.
• Read floats as reversed IEEE. • Read Dates as reversed long, when load in to SpecView TimeDate variable.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 5 | P a g e
Table 1. Holding Register Map • Read Holding Registers using Command 3 [0x03]. • Write Single Register using Command 6 (0x06) • Write Multiple Registers using Command 16 [0x10].
Holding Register
Index
Implemented In SpecView
Reference
Size
Description
40001 0 No Reading Block Available 1 Register, 16bit unsigned integer
If (Reading Block Available == 0) No transmission block available else Transmission block ready to read. This register should be cleared by the Master after reading the transmission block. The Slave will reset this register once it has loaded the next transmission block.
40002 1 Yes clear_alarms_pending 1 Register, 16bit unsigned integer
Set to none zero to force all alarms to be cleared. Slave will set this register to 0 when completed.
40003 2 Yes IEEE Floating Point Byte Order
1 Register, Unsigned Integer
Byte A B C D Value 0x41 0x40 0x00 0x00
Register Value Byte Order 0 ABCD 1 DCBA 2 BADC 3 CDAB
40004 3
40005 4
Yes
UTC Real Time Clock 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Universal Time Clock. Elapsed seconds since 01/01/1970, must be UTC not local time. Value is battery backed within base station. After setting the RTC via Modbus, the SaveRTC register to be set to non-Zone to force a save. Otherwise the clock will return to its previous value when the base station is re-powered.
40006 5 Yes TimeZoneOffset 1 Register, 16bit Signed Value
Local Time Zone Offset in minutes Example: Bogota = -300, GMT = 0, Baghdad = +180 After setting the TimeZoneOffset via Modbus, the SaveRTC register to be set to non-Zone to force a save. Otherwise the TimeZoneOffset will return to its previous value when the base station is re-powered.
40007 6 Yes SaveRTC 1 Register, 16bit Unsigned integer
Setting SaveRTC to non-Zero will cause the base station to save the current “UTC Real Time Clock” and TimeZoneOffset Slave will set this register back to 0 when save is completed.
40008 7 Yes ModBusTemperatureUnits 1 Register, 16 bit Enumeration
Temperature Units applied to latest readings only, not block mode. Enumeration as follows °C = 0, °F = 1, °K = 2, °C > 2
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 6 | P a g e
Holding Register
Index
Implemented In SpecView
Reference
Size
Description
40009 8 Yes SaveBaseStationConfig 1 Register, 16 bit Unsigned integer
Setting SaveBaseStationConfig to non-Zero will cause the base station to save the following parameters:
• ModBusTemperatureUnits • IEEE Floating Point Byte Order
Slave will set this register back to 0 when save is completed
40010 9 No User LED control 1 Register, 16 bit Unsigned integer
Sets LED flash rate for User Led on device front panel. 0 = OFF 65535 = ON (NO FLASH) A value between 1 and 15 will result in a number of flashes and then a 5 second break. The number of flashes produced will be the value of the register. Value is volatile, and reset to 0 on power up.
40011 10 No GPRS Signal Strength 1 Register, 16 bit Unsigned integer
Default value is 99. See table 5.
40012 11 No GPRS Modem Firmware Version Information
1 Register, 16 bit Unsigned integer
See Notes, GPRS Version Number formatting. If this value is non-Zero, Modem screen will be available on LCD and via spY-Config. Is modem is reset by Basestation this register will reset to 0.
40013 12 No Modem Error Codes 1 Register,
Default Value = 0 (when Basestation powers up). Value dependant on modem software. The Basestation has an option to reset the modem is the value in this register is non –Zero. Is the Basestation resets the modem, this register will reset to 0. Error code in hex will be displayed on lcd screen, once the firmware version is set to non-zero.
40014 13 No Modem Warning Codes 1 Register Default Value = 0. Basestation will write any warnings codes to this register. Warning code in hex will be displayed on lcd screen, once the firmware version is set to non-zero.
40015 14 No Alarm Block Available If (Alarm Block Available == 0) No Alarm block available else Alarm block ready to read. This register should be cleared by the Master after reading the alarm block. The Slave will reset this register once it has loaded the next alarm block.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 7 | P a g e
Table 2. Input Register Map • Read Input Registers using Command 4 [0x04]
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
30001 0 No Dummy 1 Register Not Currently in use
30002 1 No Transmission block Start reading_timestamp_Hword
30003 2 No reading_timestamp_Lword
2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
30004 3 No unit_type 1 Register, Unsigned integer
30005 4 No device_address 1 Register, Unsigned integer
30006 5 No Flags 1 Register, Unsigned integer
30007 6 No Internal_temp_Hword
30008 7 No Internal_temp_Lword
2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
30009 8 No Humidity_Hword
30010 9 No Humidity_Lword
2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
30011 10 No Universal_Hword
30012 11 No Universal_Lword
2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
30013 12 No date_of_last_cal_Hword
30014 13 No date_of_last_cal_Lword Transmission block End
2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Contact Signatol Engineering Dept f or block transfer manual.
30015 14 No Dummy 1 Register Not Currently in use
30016 15 No Dummy 1 Register Not Currently in use
30017 16 No Dummy 1 Register Not Currently in use
30018 17 No Dummy 1 Register Not Currently in use
30019 18 No Dummy 1 Register Not Currently in use
30020 19 No Alarm Block Start Alarm_Time stamp_Hword
30021 20 No Alarm_Time stamp_Lword
2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
30022 21 No Alarm Source 1 Register, Unsigned integer
30023 22 No Alarm Channel 1 Register, Unsigned integer
30024 23 No Alarm Type Alarm Block End
1 Register, Unsigned integer
Contact Signatol Engineering Dept f or block transfer manual.
30025 24 No Dummy 1 Register Not Currently in use
30026 25 No Dummy 1 Register Not Currently in use
30027 26 No Dummy 1 Register Not Currently in use
30028 27 No Dummy 1 Register Not Currently in use
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 8 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
30029 28 No Basic Alarm Status 1 Register, Bit Map Bit Description Format 15
(msb) Alarm Tx15 0 = No Alarm,
1 = Alarm 14 Alarm Tx14 0 = No Alarm,
1 = Alarm 13 Alarm Tx13 0 = No Alarm,
1 = Alarm 12 Alarm Tx12 0 = No Alarm,
1 = Alarm 11 Alarm Tx11 0 = No Alarm,
1 = Alarm 10 Alarm Tx10 0 = No Alarm,
1 = Alarm 9 Alarm Tx9 0 = No Alarm,
1 = Alarm 8 Alarm Tx8 0 = No Alarm,
1 = Alarm 7 Alarm Tx7 0 = No Alarm,
1 = Alarm 6 Alarm Tx6 0 = No Alarm,
1 = Alarm 5 Alarm Tx5 0 = No Alarm,
1 = Alarm 4 Alarm Tx4 0 = No Alarm,
1 = Alarm 3 Alarm Tx3 0 = No Alarm,
1 = Alarm 2 Alarm Tx2 0 = No Alarm,
1 = Alarm 1 Alarm Tx1 0 = No Alarm,
1 = Alarm 0
(lsb) Alarm Tx0 0 = No Alarm,
1 = Alarm 30030 29
30031 30
Yes
UTC Real Time Clock 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Universal Time Clock. Elapsed seconds since 01/01/1970, must be UTC not local time. Value is battery backed within base station.
30032 31 No Dummy 1 Register Not Currently in use
30033 32 No BaseStation_Reset 1 Register, Bit Map Value = 0 = BaseStation not reset Value = 1 = Basestation has been reset. Reading this register will clear the value back to zero.
30034 33 No Tx0_AlarmsWarning 1 Register, Bit Map 30035 34 No Tx1_AlarmsWarning 1 Register, Bit Map 30036 35 No Tx2_AlarmsWarning 1 Register, Bit Map 30037 36 No Tx3_AlarmsWarning 1 Register, Bit Map 30038 37 No Tx4_AlarmsWarning 1 Register, Bit Map 30039 38 No Tx5_AlarmsWarning 1 Register, Bit Map 30040 39 No Tx6_AlarmsWarning 1 Register, Bit Map 30041 40 No Tx7_AlarmsWarning 1 Register, Bit Map 30042 41 No Tx8_AlarmsWarning 1 Register, Bit Map 30043 42 No Tx9_AlarmsWarning 1 Register, Bit Map 30044 43 No Tx10_AlarmsWarning 1 Register, Bit Map 30045 44 No Tx11_AlarmsWarning 1 Register, Bit Map 30046 45 No Tx12_AlarmsWarning 1 Register, Bit Map 30047 46 No Tx13_AlarmsWarning 1 Register, Bit Map 30048 47 No Tx14_AlarmsWarning 1 Register, Bit Map 30049 48 No Tx15_AlarmsWarning 1 Register, Bit Map
See Table 4
30050 49
30051 50
Yes Tx0_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 9 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
01/01/1970 30052 51
30053 52
Yes
Tx0_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30054 53
30055 54
Yes
Tx0_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30056 55
30057 56
Yes Tx0_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30058 57 Yes Tx0_AlarmsWarning 1 Register, Bit Map See Table 4 30059 58
30060 59
Yes Tx1_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30061 60
30062 61
Yes
Tx1_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30063 62
30064 63
Yes
Tx1_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30065 64
30066 65
Yes Tx1_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30067 66 Yes Tx1_AlarmsWarning 1 Register, Bit Map See Table 4 30068 67
30069 68
Yes Tx2_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30070 69
30071 70
Yes
Tx2_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30072 71
30073 72
Yes
Tx2_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30074 73
30075 74
Yes Tx2_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30076 75 Yes Tx2_AlarmsWarning 1 Register, Bit Map See Table 4 30077 76
30078 77
Yes Tx3_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30079 78
30080 79
Yes
Tx3_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 10 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
point number 30081 80
30082 81
Yes
Tx3_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30083 82
30084 83
Yes Tx3_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30085 84 Yes Tx3_AlarmsWarning 1 Register, Bit Map See Table 4 30086 85
30087 86
Yes Tx4_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30088 87
30089 88
Yes
Tx4_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30090 89
30091 90
Yes
Tx4_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30092 91
30093 92
Yes Tx4_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30094 93 Yes Tx4_AlarmsWarning 1 Register, Bit Map See Table 4 30095 94
30096 95
Yes Tx5_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30097 96
30098 97
Yes
Tx5_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30099 98
30100 99
Yes
Tx5_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30101 100
30102 101
Yes Tx5_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30103 102 Yes Tx5_AlarmsWarning 1 Register, Bit Map See Table 4 30104 103
30105 104
Yes Tx6_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30106 105
30107 106
Yes
Tx6_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30108 107
30109 108
Yes
Tx6_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30110 109 Yes Tx6_UniversalChannel 2 Registers, Single Transmitter Universal Channel
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 11 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
30111 110
Precision 4 byte IEEE Standard 754 floating point number
If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30112 111 Yes Tx6_AlarmsWarning 1 Register, Bit Map See Table 4 30113 112
30114 113
Yes Tx7_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30115 114
30116 115
Yes
Tx7_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30117 116
30118 117
Yes
Tx7_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30119 118
30120 119
Yes Tx7_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30121 120 Yes Tx7_AlarmsWarning 1 Register, Bit Map See Table 4 30122 121
30123 122
Yes Tx8_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30124 123
30125 124
Yes
Tx8_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30126 125
30127 126
Yes
Tx8_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30128 127
30129 128
Yes Tx8_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30130 129 Yes Tx8_AlarmsWarning 1 Register, Bit Map See Table 4 30131 130
30132 131
Yes Tx9_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30133 132
30134 133
Yes
Tx9_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30135 134
30136 135
Yes
Tx9_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30137 136
30138 137
Yes Tx9_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30139 138 Yes Tx9_AlarmsWarning 1 Register, Bit Map See Table 4 30140 139 Yes Tx10_Last_Reading_TimeStamp 2 Registers, 32 bit Time of last received message from Tx.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 12 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
30141 140
long, MSB First Seconds Single 01/01/1970
If 01/01/1970, then no message received since last reset.
30142 141
30143 142
Yes
Tx10_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30144 143 `
30145 144
Yes
Tx10_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30146 145
30147 146
Yes Tx10_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30148 147 Yes Tx10_AlarmsWarning 1 Register, Bit Map See Table 4 30149 148
30150 149
Yes Tx11_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30151 150
30152 151
Yes
Tx11_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30153 152
30154 153
Yes
Tx11_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30155 154
30156 155
Yes Tx11_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30157 156 Yes Tx11_AlarmsWarning 1 Register, Bit Map See Table 4 30158 157
30159 158
Yes Tx12_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30160 159
30161 160
Yes
Tx12_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30162 161
30163 162
Yes
Tx12_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30164 163
30165 164
Yes Tx12_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30166 165 Yes Tx12_AlarmsWarning 1 Register, Bit Map See Table 4 30167 166
30168 167
Yes Tx13_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30169 168
30170 169
Yes
Tx13_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 13 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
30171 170
30172 171
Yes
Tx13_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30173 172
30174 173
Yes Tx13_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30175 174 Yes Tx13_AlarmsWarning 1 Register, Bit Map See Table 4 30176 175
30177 176
Yes Tx14_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30178 177
30179 178
Yes
Tx14_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30180 179
30181 180
Yes
Tx14_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30182 181
30183 182
Yes Tx14_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30184 183 Yes Tx14_AlarmsWarning 1 Register, Bit Map See Table 4 30185 184
30186 185
Yes Tx15_Last_Reading_TimeStamp 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Time of last received message from Tx. If 01/01/1970, then no message received since last reset.
30187 186
30188 187
Yes
Tx15_TemperatureChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter internal temperature channel. For units see ModBusTemperatureUnits Not set = Nan, see notes on Nan.
30189 188
30190 189
Yes
Tx15_HumidityChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Humidity Channel. Units always %RH. Not set = Nan, see notes on Nan
30191 190
30192 191
Yes Tx15_UniversalChannel 2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
Transmitter Universal Channel If Temperature data then see ModbusTemperatureUnits for correct units. Otherwise value is unit-less. Check notes for Switch Contact data format. Not Set = Nan, see notes on Nan
30193 192 Yes Tx15_AlarmsWarning 1 Register, Bit Map See Table 4 30194 193
30195 194
Yes Tx0_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30196 195
30197 196
Yes Tx1_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30198 197
30199 198
Yes Tx2_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30200 199
30201 200
Yes Tx3_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single
Date of last calibration of Tx. If 01/01/1970 then not set.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 14 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
01/01/1970 30202 201
30203 202
Yes Tx4_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30204 203
30205 204
Yes Tx5_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30206 205
30207 206
Yes Tx6_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30208 207
30209 208
Yes Tx7_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30210 209
30211 210
Yes Tx8_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30212 211
30213 212
Yes Tx9_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30214 213
30215 214
Yes Tx10_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30216 215
30217 216
Yes Tx11_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30218 217
30219 218
Yes Tx12_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30220 219
30221 220
Yes Tx13_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30222 221
30223 222
Yes Tx14_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30224 223
30225 224
Yes Tx15_CalibrationDate 2 Registers, 32 bit long, MSB First Seconds Single 01/01/1970
Date of last calibration of Tx. If 01/01/1970 then not set.
30226 225 No Dummy 1 Register Not Currently in use 30227 226
30228 227
30229 228
30230 229
No Alarm Phone number 1 4 Registers, 64 bit Packed digits, 16 chacters
30231 230
30232 231
30233 232
No Alarm Phone number 1 4 Registers, 64 bit Packed digits, 16 chacters
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 15 | P a g e
Input Register
Command Index
Implemented In SpecView
Reference
Size
Description
30234 233
30235 234 No Enable SMS alarms 1 Register. Only when GPRS modem is fitted. Value = 1 = Modem to send SMS alarm, Value 1 = Modem will not send SMS alarms.
30236 235 No 30237 236 No
Basestation Internal Temperature
2 Registers, Single Precision 4 byte IEEE Standard 754 floating point number
BaseStation internal temperature channel.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 16 | P a g e
Table 4. Detailed Alarm Status
Bit Description Format Format 15 (msb) High Alarm on Universal Channel 0 = No Alarm, 1 = Alarm 14 Low Alarm on Universal Channel 0 = No Alarm, 1 = Alarm 13 High Alarm on Humidity 0 = No Alarm, 1 = Alarm 12 Low Alarm on Humidity 0 = No Alarm, 1 = Alarm 11 High Alarm on Internal Temperature 0 = No Alarm, 1 = Alarm 10 Low Alarm on Internal Temperature 0 = No Alarm, 1 = Alarm 9 Not used Always 0 8 Not used Always 0 7 Universal Channel Enabled 0 = False, 1 = True 6 Humidity Channel Enabled 0 = False, 1 = True 5 Calibration Warning 0 = No Due, 1 = Due < 4 weeks 4 Calibration Over Due 0 = Not Over Due, 1 = Over Due 3 Low Battery 0 = No Alarm, 1 = Alarm 2 Calibration Corrupted 0 = No Alarm, 1 = Alarm 1 Reading is late 0 = No Alarm, 1 = Alarm 0 Transmitter Enabled 0 = False, 1 = True
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB
Table 5. GPRS Signal Strengh The value of X (rssi) can be obtained from the modem using the AT+CSQ command. See modem documentation.
X (Rssi Value) Signal dBm Equation Interpretation
0 ‐113 dBm dBm = ‐113 Insufficient
1 to 10 ‐111 to ‐95 dBm dBm = ((x ‐1)* 1.78) – 111 Insufficient
11 to 30 ‐93 to ‐53 dBm dBm = ((x ‐11)* 2.11) – 93 ‐84.6dBm) Fair
=>20 (> ‐74.0dBm) Good
31 (max) ‐51 dBm dBm = ‐51dBm Excellent
99 ? dBm = ? Unknown / not Detectable
GPRS Received Signal Strength
-115.0
-105.0
-95.0
-85.0
-75.0
-65.0
-55.0
0 4 8 12 16 20 24 28 32
X (Rssi Value)
dBm
Title: spYdaq Modbus RTU Manual. 17 | P a g e
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 18 | P a g e
Notes
NaN, “Not a number” When readings floating point numbers, each returned value needs to be checked for Nan before the value is processed and displayed. Nan represents an invalid, out of range, or un‐initialised value. The floating point data for Nan is the hex number 0x7FC00000. When displaying floats, is Nan occurs “XXX” should be displayed.
Nan is possible if a transmitter’s data is late or has never been received. The Modbus master can use the Nan to mask out the reading, and therefore not add it to its historical data. If the Modbus master has the ability, it can process the transmitters detailed status and check if a channel is enabled before polling the appropriate floating point number.
Switch Closure, data format. If the transmitter’s universal input is set to Switch Contact, the following data applies.
• Returned Float = 0.0, Switch is closure (resistance 150 ohms).
• Returned Float = Nan, no data received for this device.
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 19 | P a g e
Phone Number format. Two phone numbers can be programmed into the Basestation via spY‐Config. Each phone number can be up to 16 characters. Only characters listed in the table below are available, each character is made up of a 4bit number.
Value 0 1 2 3 4 5 6 7 8 9 A B C D E F
Binary 0000 0001
0010
0011
0100
0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Character
“0” “1” “2” “3” “4” “5” “6” “7” “8” “9” “+” SPACE
SPACE
SPACE
SPACE
SPACE
Using the format about, a 16digit phone number is implemented as below
Example 1:
Phone number: 00441684299399
Phone Number “ “ “ “ “0” “0” “4” “4” “1” “6” “8” “4” “2” “9” “9” “3” “9” “9”
Character Code
B B 0 0 4 4 1 6 8 4 2 9 9 3 9 9
Binary 1011 1011 0000 0000 0100 0100 0001 0110 1000 0100 0010 1001 1001 0011 1001 1001
Modbus Register
30227 30228 30229 30230
Register Value Binary
1011101100000000 0100010000010110 1000010000101001 1001001110011001
Register Value Decimal
47872 17430 33833 37785
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 20 | P a g e
GPRS Firmware Version Formatting The modem contains JAVA firmware, the version number can be written by the modem to the appropriate register [GPRS Firmware Version]. The format is as follows.
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Description Major Minor Revision
Bit 4 3 2 1 0 4 3 2 1 0 5 4 3 2 1 0
Range 0 to 32 0 to 32 0 to 64
Note: The default value for register is 0. The Basestation will display information from the modem is the register is non‐zero.
When non‐zero, the display will indicate the firmware version and the GPRS signal strength. Also when the firmware version is non‐zero, spY‐Config will allow the setting for the modem timeout and 2 phone numbers.
Example 1:
Firmware is version: 1.0.13
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Description Major = 1 Minor = 0 Revision = 13
Bit 4 3 2 1 0 4 3 2 1 0 5 4 3 2 1 0
Binary 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1
Register Value
2061
-
Drawing Number: SIG-1223-01 Issue 14 Signatrol Ltd.
105 Church Street, Tewkesbury, Gloucestershire, GL20 5AB Title: spYdaq Modbus RTU Manual. 21 | P a g e
Documents HistoryIntroduction:Modbus Specifics:Slave Devices: Supported Commands:Cyclic Redundancy Check (CRC16).SpecView Generic Modbus Driver Specifics.
Table 1. Holding Register MapTable 2. Input Register MapTable 4. Detailed Alarm StatusTable 5. GPRS Signal StrenghNotesNaN, “Not a number”Switch Closure, data format.Phone Number format.GPRS Firmware Version Formatting