The Modbus protocol for EN54C-LCD v1.
Contents 1. Revision history ............................................................................................................................... 3 2. Modbus protocol ............................................................................................................................. 3 3. Function codes ................................................................................................................................ 3 3.1.
1. Revision history Version 1.1 Date 18.09.2020 Author BTR 1.0 04.04.2019 BTR Description Updated: Read Events, Read Parameter Chart, Read Battery Temperature Chart Initial release 2. Modbus protocol The Modbus protocol is an industrial communication protocol that is currently used in EN54C-LCD. The power supplies use two type of connections: • RS-485 - Modbus RTU – Default settings: Address: 1, Baud Rate: 9600 bps, 8E1 • TCP/IP - Modbus TCP/IP – Default settings: IP: 192.168.1.
3111-3113 3114 Power supply software version Error flags (1) Data 3 Data 4 3109: 15…0 3110: 15…0 uint16_t uint16_t Major Minor Release 3111: 15…0 3112: 15…0 3113: 15…0 uint16_t uint16_t uint16_t F01 – AC power fail 3114: 0 1-bit F02 – AUX1 fuse fail 3114: 1 1-bit F04 – Output overload 3114: 2 1-bit F05 – Battery undercharged 3114: 3 1-bit F06 – High AUX1 voltage 3114: 4 1-bit F08 – Charge circuit fail 3114: 5 1-bit F09 – Low AUX1 voltage 3114: 6 1-bit F10 – Low battery voltage
3116-3123 3124 3125 3126 Measurements F70 – Default settings 3115: 10 1-bit F71 – Low LCD battery voltage 3115: 11 1-bit F73 – Default settings 3115: 12 1-bit F74 – Default settings 3115: 13 1-bit Voltage Uout Voltage Aux1 Voltage Aux2 Battery voltage Ubat Charging current Ild Battery current Ibat Battery circuit resistance Rbat Battery temperature Tbat 3116: 15…0 3117: 15…0 3118: 15…0 3119: 15…0 3120: 15…0 3121: 15…0 uint16_t uint16_t uint16_t uint16_t uint16_t uint16_t mV mV mV mV mA m
Led ALARM – LCD panel 3127 3126: 13…12 2-bit Technical output EPS 3126: 14 1-bit Technical output ALARM 3126: 15 1-bit Lock bit 3127: 3 1-bit Configuration bits Rated charging current 3128 3128: 15…0 uint16_t Year 3129: 15…0 uint16_t Month Day Hour Minute Second 3130: 15…0 3131: 15…0 3132: 15…0 3133: 15…0 3134: 15…0 uint16_t uint16_t uint16_t uint16_t uint16_t 3129-3134 Date and time 3135 Event log – records count 3135: 15…0 uint16_t 3136 Parameter chart – records count 3136:
3.3 User defined function codes - Read Events (0x42) The function is used in order to get the event log. The Event log contains up to 2048 records. The record with index 0 is the youngest in the database. The size of record is 22 bytes. The current number of records should be checked in Input Register at 3135. The maximum records count in the request is 6. The starting record number and the number of records are sent in the request. The size of records in bytes and records are sent in the response.
Exception code 3.4 1 Byte 03 lub 04 User defined function codes - Read Parameter Chart (0x43) The function is used in order to get the parameters chart. The parameters chart contains up to 32768 records. The record with index 0 is the youngest in the database. The size of record is 42 bytes. Records are saved every 5 minutes and they are stored for 113 days. The current number of records should be checked in Input Register at 3136. The maximum records count in the request is 3.
1 Byte Exception code 3.5 03 lub 04 User defined function codes - Read Battery Temperature Chart (0x44) The function is used in order to get the battery temperature chart. The battery temperature chart contains up to 7424 records. The record with index 0 is the youngest in the database. The size of record is 10 bytes. Records are saved every 6 hours and they are stored for 5 years. The current number of records should be checked in Input Register at 3137. The maximum records count in the request is 13.
17 18 21 22 26 29 51 52 60 61 64 65 69 70 71 73 74 F17 F18 F21 F22 F26 F29 F51 F52 F60 F61 F64 F65 F69 F70 F71 F73 F74 Info code I00 I01 I02 I04 I05 I06 I10 I11 I28 Battery fail High battery circuit resistance PSU cover opened AUX2 fuse fail High AUX2 voltage Low AUX2 voltage Internal supply fail Internal supply fail Modbus no communication Control panel fail Control panel fail Access unlocked Default settings Default settings Low LCD battery voltage Default settings Default settings Event code 254 253