HEC Gateway DEVICE NMEA 2000 J1939 HEC-GW-X-X WI-FI MODBUS TCP CLIENT / SERVER This HEC-Gateway User Manual is intended to provide the basics and information for accessing the HEC-Gateway hardware specific features. As the HEC-Gateway programs using EZ LADDER Toolkit as the programming platform (ladder diagram function block and Structured Text), the HEC-Gateway User Manual should be used in conjunction with the P-Series EZ LADDER Toolkit Manual.
Indicates the text contains information to which the reader should pay particularly close attention. All Specifications and Information Subject to Change without Notice HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 3 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
The HEC-Gateway programs using the P-Series EZ LADDER Toolkit. It is not compatible with M-Series EZ LADDER Toolkit. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 4 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 6
SAVE AS from the File Menu at the top of P-Series EZ LAD- DER Toolkit. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 5 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
11. When the dialog windows close, the installation is complete. The HEC-Gateway Device is ready to use and may be connected to and programs may be downloaded. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 6 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Device Features This sections explains the HEC-Gateway Device features and functions and provides hints and important information for configuring and using the HEC-Gateway.
The HEC-Gateway supports all CAN communications supported by it’s base P-Series PLC on a Chip, including SAE J1939, NMEA 2000 and Divelbiss OptiCAN. Refer to the P-Series EZ LADDER Toolkit manual for details on supported CAN protocols and how to imple- ment them.
Page 17
CAN networks may be required to use the CAN port. Refer to the P-Series EZ LADDER Toolkit Manual for details on imple- menting OptiCAN, J1939 or other supported CAN networks. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 16 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
This input is accessed in the ladder diagram using the USR_IN boolean variable. This variable is automatically created when the HEC-Gateway target (HEC-GW-X-X) is selected in the Project Settings.
Page 19
To install the counter / timer, click the ADD DEVICE select TimerCounter and click OK. Refer to Figure 2.6. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 18 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 20
24MHz clock internally. The operation is dependent on the configuration of the Timer Mode. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 19 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
If the output is ON or true regardless of the ladder diagram program, connect a 470Ω to 1KΩ load from the output to input power common. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 21 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
The battery for the real time clock generally has years of life before replacement is needed. Should the battery need to be replaced, replace the battery with the same type and size as the original. Contact Divelbiss product support for information about changing the battery.
EEPROM memory is a relatively slow writing device (in terms of milliseconds) and has limitations. This EEPROM memory is located on the PLC on a Chip itself (PLCHIP-P10-51220). HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 24 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 26
The PLCHIP_Pxx_eeprom (on chip EEPROM) is now installed in EZ LADDER Toolkit ladder diagram project and is ready to use. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 25 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Before the SD Card features may be used, it must be installed from the EZ LADDER Toolkit / HEC-Gateway device’s bootloader screen. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 26 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
(2.0VDC) to be short. The replacement / warning level should be set at a voltage where there is sufficient time to allow for battery replacement. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 28 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Failure to configure prior to connecting or improper configuration may result in incorrect readings or even damage to the HEC-Gateway device. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 29 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Series EZ LADDER Toolkit Manual for more in-depth information on configuring and using SAE J1939 and NMEA 2000. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 30 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Figure 2-22- CAN / J1939 Properties OptiCAN Networking HEC-Gateway Devices support the Divelbiss proprietary OptiCAN (CAN Network) protocol. OptiCAN is a register based CAN network that provides a communications method between OptiCAN enabled controllers and devices (PLC on a Chip based) for transmitting / receiving variables (integer, boolean, real and timer).
Page 33
Common Broadcast Registers: Used to configure the Broadcast trigger of the Status and Error registers. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 32 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 35
IP information in the Static IP Options section. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 34 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 36
7. In the Access Points Settings, enter the SSID and Passcode in their respective places (item B). It will be necessary to double-click to enter the values. Refer to Figure 2-29. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 35 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 37
Wi-Fi connectivity depends upon the target being in range, with sufficient signal strength and being configured properly for communications over the Wi-Fi network. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 36 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
COM2 and COM4 respectively). Click the ADD DEVICE button. The PLCHIP-PXX Devices window will open. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 38 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 40
The HEC-P5-GPS is designed to connect directly to the serial port cable, providing a GPS option for the HEC-Gateway. Refer to the GPS option section for more details. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 39 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
If the HEC-Gateway is to mounted in a metal enclosure (or any box/enclosure that may block the GPS signal), the receiver will need to be mounted external to the box / enclosure that could block the GPS signal. Externally connecting the receiver in this method will require additional cabling. Contact Divelbiss support for extension cabling options for the HEC-P5-GPS.
Page 44
The GPS option (using the HEC-P5-GPS) utilizes UART2 (COM2). This makes the COM port (UART2) unavailable for any other types of communcations. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 43 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
The HEC-Gateway optionally supports an internal Cellular Data Modem (model dependent). This internal cellular data option is designed to operate with the Divelbiss VersaCloud M2M Portal. The purpose of the cellular data feature is to allow for remote re- porting, control and configuration of equipment in areas that may not have adequate communications avenues such as broadband (Wi-Fi).
Page 46
Toolkit for more detailed information regarding the Cellular data option and Structured Text. Cellular Data functionality Structured text examples are available for download. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 45 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Additional portal, device and data charges may apply. VersaCloud M2M functionality requires additional management steps including VersaCloud M2M Portal account setup, device setup and communications data plans based on specific needs (ie: cellular). Contact Divelbiss Corporation for details on VersaCloud M2M Solutions packages.
Page 48
VersaCloud M2M Connectivity is now installed and ready to used in the ladder diagram program / structured text. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 47 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 49
Contact Divelbiss Corporation for VersaCloud M2M information including available hardware, portals and communications packages including availability and pricing. Figure 2-48 - VCLOUD Function Block Properties HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 48 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
C See Figure 2.49 for maximum output current per output channel based on ambient temperature. HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 49 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Page 51
Max Current 0.50 0.00 Ambient Temperature ( °C) Figure 2-49 - Digital Outpu De-Rating HEC Gateway User’s Manual Document #: 2015010.0.pdf PAGE 50 of 50 Divelbiss Corporation • 9778 Mt. Gilead Road • Fredericktown, Ohio 43019 • 1-800-245-2327 • www.divelbiss.com...
Need help?
Do you have a question about the HEC-GW-X-X and is the answer not in the manual?
Questions and answers