




























































































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!





























































































Deep Sea Electronics plc reserve the right to change the GenComm standard at any time and without notice. Deep Sea Electronics plc own the copyright for the GenComm standard. All rights reserved.
Author: G. Middleton Version: 2.38 WIP Revision date: 06/6/2013 by AEH Filename: GenComm.docx
8.1 Function 3 – Read Multiple Registers 10 8.2 Function 16 – Write Multiple Registers 12
10.1 Index of Register Pages 17 10.2 Page 0 – Communications Status Information 19 10.3 Page 1 – Communications Configuration 22 10.4 Page 2 – Modem Configuration 24 10.5 Page 3 – Generating Set Status Information 25 10.6 Page 4 – Basic Instrumentation 29 10.7 Page 5 - Extended Instrumentation 32 10.8 Page 6 - Derived Instrumentation 36 10.9 Page 7 - Accumulated Instrumentation 40 10.10 Page 8 - Alarm Conditions 43 10.11 Page 9 – Total Harmonic Distortion 47 10.12 Page 11 - Diagnostic - General 48 10.13 Page 12 - Diagnostic - Digital Inputs 48 10.14 Page 13 - Diagnostic - Digital Outputs 50 10.15 Page 14 - Diagnostic - LEDs 51 10.16 Page 16 - Control Registers 53 10.17 Page 17 - J1939 active diagnostic trouble codes in decoded format 56 10.18 Page 18 - J1939 active diagnostic trouble codes in raw format 58 10.19 Page 20 - Various Strings 59 10.20 Page 22- Auxiliary sender strings 59 10.21 Page 24 - Identity Strings 59 10.22 Page 26 - State Machine Name Strings 60 10.23 Page 28 - StateMachineState Strings 60 10.24 Pages 32 to 95 - Alarm Strings (Old alarm system) 61 10.25 Pages 32-36 - 2131 Expansion module name strings 67 10.26 Pages 37-40 - 2133 Expansion module name strings 68
Version 2. In page 190: added register mapping for 335 transfer switch
In pages 3, 16, 153, 154, 160, 170, 190, 200-249: Registers and tables added/amended for 335 transfer switch In page 2: removed redundant ‘Modem dial back string’ and shifted up the remaining strings for consistency with module
In page 153: Registers 51 and 52 renamed to indicate engine maintenance alarms; register 100 added for 7450 Plant battery maintenance alarms to 8xxx/74xx table In page 154: Added registers 26 to 28 for 7450 to 8xxx/74xx table In page 160: Added registers 225 to 227 for 7450 to 8xxx/74xx table In page 171: 8xxx/74xx registers 148 to 153 are marked as unimplemented In page 225: Renamed registers in 8xxx/74xx table to indicate Engine Maintenance strings In page 228: Added registers 32 to 127 for 7450 to 8xxx/74xx table
In page 6: All Var registers now signed to reflect what has always been the case in practice.
Version 2. In page 6: Registers 142-145 are unsigned.
Version 2. In page 4: 32 bit values aligned to an even address (register 204 to 213). In page 6: 7450 table – registers are signed.
Version 2. In page 16: Added system control keys for plant battery maintenance alarms. In page 4: register 200 renamed for clarity. In page154: register 27 fields renamed for clarity. In page 160: Page title renamed and preliminary page comments amended for clarity.
Version 2. In page 4: Added register for Plant Battery Temperature. DC current registers now all 32 bit signed (load, battery, total); added 2 registers for DC shunt currents In page 6: Appended 7450 table to re-titled 86xx/74xx table. Added DC Power percentage (to 0.01%) In page 7: Added new registers for plant battery maintenance cycles and capacity In page 154: Added new alarms for the 73xx Var In page 153: Note added to indicate number of unnamed alarms required in 86xx, 7410, 7420 and 7450 In pages 200-239; Moved Plant Battery Maintenance strings into page 232, and added note to indicate there are 17 pages used/reserved for PLC function strings.
Version 2. In page 154: 86xx/74xx register 25 now contains DC Total Watts Overload (moved from register 28)
Version 2. In page 153: Added notes to indicate that page 153 is used in conjunction with pages 160 to 165 In page 160: Added notes to indicate that this page is used in conjunction with page 153 registers 1 to 64 Added page 161: to be used in conjunction with page 153 registers 65 to 128. Plant Battery Maintenance alarm functions moved into registers 140 to 142 from page 160.
Version 2. In page 6: Removed unused registers 212-215 (Depth of Discharge, Full Charge) In page 6: Add registers 212,213 as 32 bit ‘Time to empty’ (time in seconds until the engine runs out of fuel): 87xx v5. In page 154: Edit register 28 to include named alarms for high fuel level & low kW load (wet stacking): 87xx v5.
Version 2. In page 4: Zero, positive and negative sequence voltages added. In page 6: Mains voltage rolling averages added.
Version 2. In page 5: Auto DPF Regeneration Inhibit status added. In page 16: Control keys for Inhibiting auto regeneration and starting manual regeneration.
Version 2. In page 180: P100 table added. In page 190: P100 output table added.
Version 2. In page 5: Added register 185 as DPTC Active Regen Inhibit switch
Version 2.
In page 3: Add register for charging states In page 4: added new DC Battery cycle state value and table In page 7: Added register for 7450 Battery Charge state percentage Added register allocation matrix for E In page 153: Added register allocation matrix for E In page 154: Added register allocation matrix for E In page 160: Added register allocation matrix for E In page 161: Added register allocation matrix for E In page 170: Added register allocation matrix for E In page 180: Added register allocation matrix for E In page 181: Added register allocation matrix for E In page 190 Added register allocation matrix for E In page 200-239: Added register allocation matrix for E In pages 240-246: Added register allocation matrix for E
Version 2. In page 3: Added new control mode for E800 ’Off Mode’ In page 16: Added system control function code to stop E800 engine, for speed control of E800 Engine and to select E800 Off mode In page 154: P100 alarms defined. Corrections to E800 register allocation. In page 160: P100 defined. In page 170: P100 defined. In page 190: Added E800 MUTE/LAMP TEST LED status register. In page 200: P100 defined.
Version 2. In page 170-171: Added register allocation for 6010, 6020
Version 2. In page 6: Added register Mains voltage asymmetry
Version 2. Added PLC maths registers to Page 192 Added Heater fitted to Page 3
Version 2. In page 153: Noted that the P100 has no unnamed alarms. In page 154: Auxiliary mains failure added. In page 160: Note about P100 not having unnamed inputs added In page 170: Note about P100 not having unnamed inputs added
Version 2. In page 154: Register numbering typo corrected for P100.
Version 2. In page 16: Changes to 87xx display register commands to stop them conflicting with the Synclock command numbers.
Version 2. In page 153: Amended E800 unnamed alarms. In page 154: Added E800 LCD Heater fault ids. In pages 160-163 Amended E800 unnamed alarm function tables In pages 170-171: Amended E800 unnamed input status tables and clarified E800 sender category ranges In pages 180: Amended E800 unnamed output source and polarities table Added page 185: E800 PWM analogue outputs including configuration data (control type, output type, frequency and source) In page 190: Amended E800 Unnamed output status table
Acknowledgements The following trademarks are and copyrights are acknowledged:
Modbus is copyright of Modbus-IDA. Windows is a registered trade mark of Microsoft Corporation. Unicode is a registered trademark of the Unicode Consortium. J1939 is copyright of the Society of Automotive Engineers, Inc.
A hub may be designed to connect to satellite devices of one of 3 types, ones that recognise the GenComm protocol directly, ones that recognise another Modbus based protocol, or ones that use an entirely unrelated protocol. In the second and third cases the hub must provide protocol conversion which is not defined in this standard.
Notes
GenComm is based on Modbus which is a protocol that is only intended for a simple single master network, therefore it does not support multiple masters accessing a slave simultaneously.
If a slave device has more than one interface that can act as a master, it must only serve one master at once. Whenever it changes masters it must completely re-initialise the status of the port, in particular it must clear the password status to 0 (Invalid) and the extended exception information to 0 (No error), thus ensuring that there can be no interaction between masters of any kind. Any master that makes a query while its port is not being served must either be answered by exception 6 (Slave device busy) whatever the query was, or not answered at all.
The mechanism used by a slave device to decide which master to serve is not defined in this standard, it may be a physical switch, a configuration option or an automatic switch using some mechanism to decide which master to serve. An example of an automatic switch would be a slave device that had an RS485 port to a building management system and an RS232 port to a modem, in this case it might be decided that whenever a modem link is established the RS485 port will be disabled and when the modem link was broken the RS485 port was re-enabled. In such a case it would have to be accepted that the RS485 port would be unavailable whenever the modem link was in use.
GenComm does not support multiple communications configurations for multiple master ports.
Any function may return an exception response if it does not complete successfully, as define in the Modbus protocol.
Notes
Exception response message Byte Field name Notes 0 Slave address 1 Function code +128 Top bit is set 2 Exception code 1 – Illegal function code 2 – Illegal data address 6 – Slave device busy 3-4 Error check CRC
This standard only uses Modbus functions 3 and 16 as recommended in the Open Modbus/TCP Specification draft 2.
Notes:
Functions used Function number
Function name Defined by Modicon
Notes
03 Read multiple registers Yes Reads one or more registers. 16 Write multiple registers Yes Writes one or more registers.
8.1 Function 3 – Read Multiple Registers
Reads one or more 16 bit registers from the slave device.
Notes:
Query message Byte Field name Notes 0 Slave address 1 Function code (3) 2 First register address – high byte 16 bit register address 3 First register address – low byte 4 Number of registers to read – high byte 16 bit number of registers, must be in the range 1 to 125 5 Number of registers to read – low byte 6/7 Error check CRC
Normal response message Byte Field name Notes 0 Slave address 1 Function code (3) 2 Byte count (n) 8 bit even number in the range 2 to 250 (number of registers *2) 3 First register – high byte 16 bit register 4 First register – low byte … 1+n Last register – high byte 16 bit register 2+n Last register – low byte 3+n/4+n Error check CRC
Exception response message Byte Field name Notes 0 Slave address 1 Function code +128 (131) Top bit is set 2 Exception code 1 – Illegal function code 2 – Illegal data address 6 – Slave device busy ¾ Error check CRC
Unimplemented register and field values Size of register Value returned Notes 1 bit flag within a register 0 No third state exists for a flag to indicate it is not valid 2 bit named digital input/output code 3 Unimplemented input/output 4 bit alarm condition codes 0xF Unimplemented alarm 4 bit LED colour code 0xF Unimplemented LED 16 bit unsigned, any scale 0xFFFF The largest number 16 bit signed, any scale 0x7FFF The largest positive number 32 bit unsigned, any scale 0xFFFFFFFF The largest number 32 bit signed, any scale 0x7FFFFFFF The largest positive number ASCII strings “ ” A string of spaces (Unicode 0x0020), NULL terminators are not used Unicode strings “ ” A string of spaces (Unicode 0x0020), NULL terminators are not used
Sentinel values for instrumentation Size of register Sentinel values Notes 16 bit unsigned, any scale 0xFFFF Unimplemented 0xFFFE Over measurable range 0xFFFD Under measurable range 0xFFFC Transducer fault 0xFFFB Bad data 0xFFFA High digital input 0xFFF9 Low digital input 0xFFF8 Reserved 16 bit signed, any scale 0x7FFF Unimplemented 0x7FFE Over measurable range 0x7FFD Under measurable range 0x7FFC Transducer fault 0x7FFB Bad data 0x7FFA High digital input 0x7FF9 Low digital input 0x7FF8 Reserved 32 bit unsigned, any scale 0xFFFFFFFF Unimplemented 0xFFFFFFFE Over measurable range 0xFFFFFFFD Under measurable range 0xFFFFFFFC Transducer fault 0xFFFFFFFB Bad data 0xFFFFFFFA High digital input 0xFFFFFFF9 Low digital input 0xFFFFFFF8 Reserved 32 bit signed, any scale 0x7FFFFFFF Unimplemented 0x7FFFFFFE Over measurable range 0x7FFFFFFD Under measurable range 0x7FFFFFFC Transducer fault 0x7FFFFFFB Bad data 0x7FFFFFFA High digital input 0x7FFFFFF9 Low digital input 0x7FFFFFF8 Reserved
Notes:
Language codes Primary language Sub-language Primary language code
Sub-language code Language code
Neutral Neutral 0x00 0x00 0x Arabic Saudi Arabia 0x01 0x01 0x Iraq 0x02 0x Egypt 0x03 0x0C Libya 0x04 0x Algeria 0x05 0x Morocco 0x06 0x Tunisia 0x07 0x1C Oman 0x08 0x Yemen 0x09 0x Syria 0x0A 0x Jordan 0x0B 0x2C Lebanon 0x0C 0x Kuwait 0x0E 0x United Arab Emerates 0x0E 0x Bahrain 0x0F 0x3C Qatar 0x10 0x Bulgarian Standard 0x02 0x01 0x Catalan Standard 0x03 0x01 0x Chinese Taiwan 0x04 0x01 0x PeoplesRepublic 0x02 0x Hong Kong 0x03 0x0C Singapore 0x04 0x Macau 0x05 0x Czech Standard 0x05 0x01 0x Danish Standard 0x06 0x01 0x German Standard 0x07 0x01 0x Swiss 0x02 0x Austrian 0x03 0x0C Luxembourg 0x04 0x Liechtenstein 0x05 0x Greek Standard 0x08 0x01 0x
Language codes continued Primary language Sub-language Primary language code
Sub-language code Language code
English United states 0x09 0x01 0x United kingdom 0x02 0x Australia 0x03 0x0C Canada 0x04 0x New Zealand 0x05 0x Ireland 0x06 0x South Africa 0x07 0x1C Jamaica 0x08 0x Caribbean 0x09 0x Belize 0x0A 0x Trinidad 0x0B 0x2C Zimbabwe 0x0C 0x Philippines 0x0D 0x Spanish Traditional 0x0A 0x01 0x040A Mexican 0x02 0x080A Modern 0x03 0x0C0A Guatemala 0x04 0x100A Costa Rica 0x05 0x140A Panama 0x06 0x180A Dominican Republic 0x07 0x1C0A Venezuela 0x08 0x200A Colombia 0x09 0x240A Peru 0x0A 0x280A Argentina 0x0B 0x2C0A Ecuador 0x0C 0x300A Chile 0x0D 0x340A Uruguay 0x0E 0x380A Paraguay 0x0F 0x3C0A Bolivia 0x10 0x400A El Salvador 0x11 0x440A Honduras 0x12 0x480A Nicaragua 0x13 0x4C0A Puerto Rico 0x14 0x500A Finnish Standard 0x0B 0x01 0x040B French Standard 0x0C 0x01 0x040C Belgian 0x02 0x080C Canadian 0x03 0x0C0C Swiss 0x04 0x100C Luxembourg 0x05 0x140C Monaco 0x06 0x180C Hebrew Standard 0x0D 0x01 0x040D Hungarian Standard 0x0E 0x01 0x040E Icelandic Standard 0x0F 0x01 0x040F Italian Standard 0x10 0x01 0x Swiss 0x02 0x Japanese Standard 0x11 0x01 0x Korean Extended Wansung 0x12 0x01 0x Johab 0x02 0x Dutch Standard 0x13 0x01 0x Belgian 0x02 0x Norwegian Bokmal 0x14 0x01 0x Nynorsk 0x02 0x
Language codes continued Primary language Sub-language Primary language code
Sub-language code Language code
Sami (Lapland) Standard 0x3B 0x01 0x043B Scots Gaelic Standard 0x3C 0x01 0x043C Reserved 0x3D 0x043D Malay Standard 0x3E 0x01 0x043E Brunei Darussalam 0x02 0x083E Reserved 0x3F 0x043F Reserved 0x40 0x Swahili Standard 0x41 0x01 0x Reserved 0x42-0x1FF Custom languages 0x200-0x3FF 0x0200-0x03FF Custom language English for pumps 0x20 0x00 0x
Notes:
10.1 Index of Register Pages
Page number Description Read/write 0 Communications status information Read only 1 Communications configuration Read/write and write only 2 Modem configuration Read/write 3 Generating set status information Read only 4 Basic instrumentation Read only 5 Extended instrumentation Read only 6 Derived Instrumentation Read only 7 Accumulated Instrumentation Read/write 8 Alarm conditions Read only 9 Total Harmonic Distortion information Read only 10 Reserved 11 Diagnostic – general Read only 12 Diagnostic – digital inputs Read only 13 Diagnostic – digital outputs Read only and read write 14 Diagnostic – LEDs Read only and read write 15 Diagnostic – Reserved 16 Control registers Read only and write only 17 J1939 active diagnostic trouble codes in decoded format Read only 18 J1939 active diagnostic trouble codes in raw format Read only 19 Reserved 20 Various strings Read only 24 Identity strings Read/write 26 State machine name strings Read only 28 State machine state strings Read only 29-31 Reserved
10.2 Page 0 – Communications Status Information
Notes:
Registers Register offset
Name Minimum value
Maximum value
Scaling factor
Units Bits/ sign
0 Extended exception code 0 65535 16 1 Extended exception address 0 65535 16 2 Telemetry alarm flag for satellite 1 0 1 16/ Telemetry alarm flag for satellite 2 0 1 15/ Telemetry alarm flag for satellite 3 0 1 14/ Telemetry alarm flag for satellite 4 0 1 13/ Telemetry alarm flag for satellite 5 0 1 12/ Telemetry alarm flag for satellite 6 0 1 11/ Telemetry alarm flag for satellite 7 0 1 10/ Telemetry alarm flag for satellite 8 0 1 9/ Telemetry alarm flag for satellite 9 0 1 8/ Telemetry alarm flag for satellite 10 0 1 7/ Telemetry alarm flag for satellite 11 0 1 6/ Telemetry alarm flag for satellite 12 0 1 5/ Telemetry alarm flag for satellite 13 0 1 4/ Telemetry alarm flag for satellite 14 0 1 3/ Telemetry alarm flag for satellite 15 0 1 2/ Telemetry alarm flag for satellite 16 0 1 1/ 3 Telemetry alarm flag2 for satellites 17-32 0 65535 16 4 Communication error flag for satellite 1 0 1 16/ Communication error flag for satellite 2 0 1 15/ Communication error flag for satellite 3 0 1 14/ Communication error flag for satellite 4 0 1 13/ Communication error flag for satellite 5 0 1 12/ Communication error flag for satellite 6 0 1 11/ Communication error flag for satellite 7 0 1 10/ Communication error flag for satellite 8 0 1 9/ Communication error flag for satellite 9 0 1 8/ Communication error flag for satellite 10 0 1 7/ Communication error flag for satellite 11 0 1 6/ Communication error flag for satellite 12 0 1 5/ Communication error flag for satellite 13 0 1 4/ Communication error flag for satellite 14 0 1 3/ Communication error flag for satellite 15 0 1 2/ Communication error flag for satellite 16 0 1 1/ 5 Communication error flags for satellites 17- 32
6 Password status 0 3 16 7 Number of satellite sockets available 0 32 16 8 Number of languages available for telemetry 0 128 16 9 GenComm version number 1 2 16 10-11 Baud rates available 0 32 12-127 Reserved 128-255 List of language codes available 0 65534 16