ICP DAS USA GW-7238D Скачать руководство пользователя страница 1

 

GW-7238D J1939 to MBTCP Server / MBRTU Slave Gateway User’s Manual (Ver.1.1, May. 2013) --- 1

 

 

User’s Manual 

 
 
 
 

 

 
 
 
 
 
 
 
 
 

www.icpdas.com 

 GW-7238D 

J1939 to Modbus TCP Server / RTU 

Slave Gateway

 

Содержание GW-7238D

Страница 1: ...GW 7238D J1939 to MBTCP Server MBRTU Slave Gateway User s Manual Ver 1 1 May 2013 1 User s Manual www icpdas com GW 7238D J1939 to Modbus TCP Server RTU Slave Gateway...

Страница 2: ...any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or...

Страница 3: ...5 Init Normal Dip switch 14 2 5 1 Firmware Update Mode 14 2 5 2 Firmware Operation Mode 16 2 6 LED Indication 16 2 7 5 digits 7 segment LED Displays 18 3 Software 21 3 1 Configuration Tool GW 7238D U...

Страница 4: ...2 GW 7238D Utility Configuration 40 5 2 1 Modbus Network Configuration 40 5 2 2 J1939 Network Configuration 40 5 2 3 J1939 I O Configuration 41 5 2 4 Upload Parameter to the GW 7238D 43 5 3 Modbus Co...

Страница 5: ...us TCP client RTU master Utility software is provided for users to configure J1939 and Modbus TCP RTU setting in the GW 7238D The application fields can be diesel power train applications In Vehicle n...

Страница 6: ...lave protocol Communication support both Modbus TCP RTU to J1939 at the same time Configurable UART baud rates of 9600 19200 38400 57600 115200 bps Allow Max 5 Modbus TCP clients to access GW 7238D si...

Страница 7: ...EDs PWR LED for power ERR LED for error status J1939 LED for J1939 communication MODBUS LED for Modbus communication Power specs Power supply Unregulated 10 30 VDC Protection Power reverse polarity pr...

Страница 8: ...1 May 2013 8 2 Hardware Figure 2 1 Hardware externals of the GW 7238D 2 1 Block Diagram Figure 2 2 is a block diagram illustrating the functions on the GW 7238D module It provides the 1000Vrms Isolat...

Страница 9: ...ame Description 1 CTS1 CTS pin of COM1 RS 232 2 RTS1 RTS pin of COM1 RS 232 3 RXD1 RXD pin of COM1 RS 232 4 TXD1 TXD pin of COM1 RS 232 5 INIT Initial pin for enable disable AUTOEXEC BAT 6 D2 Data pin...

Страница 10: ...r on the GW 7238D Note that the bypass CAN bus connector is not another CAN channel It is designed for connecting to another CAN device conveniently The structure of the inside electronic circuit is d...

Страница 11: ...ive Data 4 N C Not Connected 5 N C Not Connected 6 RX Receive Data 7 N C Not Connected 8 N C Not Connected 2 3 Hardware Connection The GW 7238D supports J1939 Serial Ethernet port communication it off...

Страница 12: ...he gateway at the same time The following figures describe the COM port Ethernet and Power connections Figure 2 8 COM Ethernet Power wire connection of GW 7238D 2 4 Terminator Resistor Settings In ord...

Страница 13: ...Resistance 0 40 70 0 25 23AWG 0 34mm2 22AWG 124 0 1 40 300 60 0 34 22AWG 0 6mm2 20AWG 127 0 1 300 600 40 0 5 0 6mm2 20AWG 150 300 600 1K 20 0 75 0 8mm2 18AWG 150 300 Therefore the GW 7238D module supp...

Страница 14: ...ere is a dip switch used for firmware operation or firmware updating in the back of the module The following steps show how to use this dip switch 2 5 1 Firmware Update Mode Please set the dip switch...

Страница 15: ...et the dip switch to the Init Initial position 3 Install the download cable between COM1 of the GW 7238D COM1 of PC 4 Power on the GW 7238D Run 7188xw EXE 5 Then press F4 button to load firmware autom...

Страница 16: ...the operation mode In this mode users can use the Modbus Master command to set get J1939 messages via COM or Ethernet interface Figure 2 14 Normal Position of Dip Switch 2 6 LED Indication The GW 7238...

Страница 17: ...l blink whenever a CAN message is sending or receiving 4 MODBUS LED It is used to show whether the GW 7238D is transmitting receiving Modbus messages The MODBUS LED will blink whenever a Modbus messag...

Страница 18: ...All of the information is divided into 4 groups These groups are displayed by turns The information is shown as the figure 2 16 Figure 2 16 The meaning of the 7 segment LED The information groups of...

Страница 19: ...COM2 Baud rate this value needs to multiply by 1000 The range is from 9 6 115 2 means 9 6 kbps 115 2 kbps LED 2 Parity bit 0 no parity 1 odd parity 2 even parity LED 3 Data bit fixed at 8 LED 4 Stop b...

Страница 20: ...ents can link to the GW 7238D The error status of the GW 7238D is given as follows LED 1 3 fix string Er LED 4 5 Error code normal is 00 The details of the error codes are shown below Table 2 8 GW 723...

Страница 21: ...figure the parameters associated with the Modbus and J1939 network interfaces as well as to layout of the I O table and set up the contents GW 7238D Utility is a Microsoft Windows application that com...

Страница 22: ...gure 3 1 The following is the illustration for connection parameters RS 232 RS 485 1 COM The serial com port number COM1 COM32 2 Baud Rate Serial com port baud rate setting 9600 115200 bps default 115...

Страница 23: ...re 3 1 Connection Screen of GW 7238D Utility After finish the connection setting please click Connect button to connect to the GW 7238D module 3 2 2 Main Screen Figure 3 2 GW 7238D Utility Main Screen...

Страница 24: ...ration shown on the Utility s interface to the GW 7238D module Configuration 1 Connect to GW 7238D Establish a connection with the GW 7238D 2 Device Name The J1939 NAME to be used by the module in add...

Страница 25: ...cribed as Table 3 1 All modules on the network must use the same baud parity data stop bits configuration Table 3 1 Modbus Configuration Parameters Item Description Range Net ID The ID of the module o...

Страница 26: ...Reset When Can Bus off the module will auto reset the CAN controller Enable Disable PDU1 Check Destination Address Enable Disable to check the destination address in PDU1 mode Enable Disable Swap IO B...

Страница 27: ...y Address Capable Industry Group Vehicle System Instance Vehicle System Reserved Function Function Instance ECU Instance Manufacturer Code Identity Number 1 bit 3 bit 4 bit 7 bit 1 bit 8 bit 5 bit 3 b...

Страница 28: ...e Modbus master Input data points are associated with data from messages that are received on the J1939 network Output Table The Output table holds data that is written by the Modbus master and will b...

Страница 29: ...egister Offset Byte Modbus Output Register Word 0 1 40001 LSB MSB 2 3 40002 LSB MSB 3070 3071 41536 LSB MSB 0 1535 byte Data Length The amount of the data to be transferred between the Modbus I O tabl...

Страница 30: ...dress is 255 any message with a matching PGN will be accepted 0 253 255 Update Rate In the input table the data will be updated within the configured Update Rate If no update is received within the co...

Страница 31: ...le 4 1 Supported Modbus Function Codes Function Code Function Name Description 3 03 Hex Reading Holding Register Read multiple registers 4xxxx for AO 4 04 Hex Reading Input Register Read multiple inpu...

Страница 32: ...ion of output J1939 messages in the GW 7238D It can use the Modbus functions code 6 06 Hex and 16 10 Hex to change the register Table 4 4 Start Stop the transmission register of J1939 output message R...

Страница 33: ...ion specific communications use PDU1 but also the global destination address 255 There are cases where this method will require the utilization of destination specific Parameter Group Numbers for inst...

Страница 34: ...39 71 Figure 4 1 Example of a parameter group definition of SAE J1939 71 4 2 3 Suspect Parameter Number SPN A Suspect Parameter Number SPN is a number assigned by the SAE to a specific parameter withi...

Страница 35: ...ameter Groups and Parameter Group Numbers Figure 4 3 SPN PG and PGN structure 4 2 4 J1939 Message Transmission In the GW 7238D messages are transmitted on the J1939 network according to the J1939 outp...

Страница 36: ...4 2 6 Transport Protocol for Large Messages Transmission and Reception of Large Messages Messages with buffer sizes of 8 bytes or less can be directly sent and received on J1939 However messages with...

Страница 37: ...through the Modbus network for the ECU to the J1939 network Figure 5 1 Network application structure 5 1 Hardware Installation Users may need to make some hardware settings before the application The...

Страница 38: ...1 1 May 2013 38 Figure 5 2 Operation mode Position of Dip Switch Step2 J1939 network CAN bus connection Connect the CAN ports with the GW 7238D modules and ECU e g engine in J1939 network using the f...

Страница 39: ...hernet and Power port connections Figure 5 4 COM Ethernet and Power port connections of GW 7238D Step3 Power port connection Connect the power supply to the GW 7238D module s power terminal connecter...

Страница 40: ...parameters or be on the same subnet via Ethernet communication of the Modbus network configuration The Modbus network configuration screen from the GW 7238D is shown as Figure 5 6 Figure 5 6 Modbus c...

Страница 41: ...been enabled the data will be in the right byte orientation when accessing it via Modbus The Network Address list is set to 1 5 2 3 J1939 I O Configuration The following figure is a PGN definition abo...

Страница 42: ...ODBUS MODBUS Address Dec Send Input Shaft Speed 61442 Dec F002 Hex 2 5 0 40001 Receive Output Shaft Speed 61442 Dec F002 Hex 2 1 0 30001 Note PGN Data Length Byte Oder in J1939 Data Field Transmission...

Страница 43: ...ameter to the GW 7238D After the previous parameter settings users need to upload the parameters to the GW 7238D Please refer to the following figure to finish the operation Figure 5 10 Parameter uplo...

Страница 44: ...Reference number Byte 4 5 Word count Byte 6 Byte count B 2 x word count Byte 7 B 6 Register values Byte B 7 B 8 Value for the CRC calculation Response Response from the GW 7238D Byte 0 Net ID Station...

Страница 45: ...nce number Byte 4 5 Word count Byte 6 7 Value for the CRC calculation Response Response from the GW 7238D Byte 0 Net ID Station number Byte 1 FC 04 Byte 2 Byte count of response B 2 x word count Byte...

Страница 46: ...e 0 Net ID Station number Byte 1 FC 06 Hex Byte 2 3 Reference number Byte 4 5 Register value Byte 6 7 Value for the CRC calculation Example Start sending J1939 output message In the address 42009 writ...

Страница 47: ...xxxx for AO Request Request by Modbus master device Byte 0 1 Transaction Identifier Usually zero when making a request Byte 2 3 Protocol Identifier Protocol number Must be zero Byte 4 5 Length Number...

Страница 48: ...ut data Using the Modbus command as below FC4 Read multiple input registers 3xxxx for AI Request Request by Modbus master device Byte 0 1 Transaction Identifier Usually zero when making a request Byte...

Страница 49: ...r Stop sending J1939 output message Using the Modbus command as below FC6 Write single register 4xxxx for AO Request Request by Modbus master device Byte 0 1 Transaction Identifier Usually zero when m...

Страница 50: ...s the register value Response Byte0 Byte1 Byten Hex 00 00 00 00 00 06 01 06 07 D8 00 00 Example Stop sending J1939 output message In the address 42009 write the value in 0x01 Request Command Byte0 Byt...

Страница 51: ...ess in GW 7238D Utility 4 Can not transmit the output J1939 message 1 Make sure the Start Stop sending J1939 output message register 42009 is 0x00 2 Make sure the Update Rate of J1939 output message t...

Страница 52: ...ter 4 Reset the power of the GW 7238D and the GW 7238D would back to factory defaults 6 Reconnect the GW 7238D by using the serial network setting as 115200 baud with none parity 8 data bit 1 stop bit...

Отзывы: