background image

 

GW-7238D Quick Start v1.0 Nov. 2011 

10

10

10

10/

/

/

/12

12

12

12

 

Get J1939 input data  
 
Using the Modbus command as below: 
FC4  Read multiple input registers (3xxxx)  for AI

 

 
Example: 
Read a value of one word in the address 30001. 
[Request] (Byte0, Byte1... Byten) (Hex)  

00 00 00 00 00 06 

01 04 00 00 00 01 

 
GW-7238D responds a value of one word in the address 30001. 
[Response](Byte0, Byte1... Byten) (Hex)  

00 00 00 00 00 05 

01 04 02 

12 34 

 

Start or Stop sending J1939 output message 
 
1

Using the Modbus command as below: 

FC6  Write single register (4xxxx)  for AO 

 

Example:  Start sending J1939 output message 
In the address 

42009

, write the value in 0x00. 

[Request Command] (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, Byte1... Byten) (Hex) 

00 00 00 00 00 06 

01 06 07 D8 00 

01

 

 
Or  
 

2

Without have to control the Modbus register 42009 (Dec), just enable  

“Auto Transmission” function in J1939 configuration area as below, and  
upload to GW-7238D. 

 

Figure 13: J1939 Auto Transmission function screen

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

Страница 1: ...you want to ship in the future Appearance and pin assignments Table 1 COM Connector Pin Assignment Pin No Name Description 1 CTS1 CTS pin of COM1 RS 232 2 RTS1 RTS pin of COM1 RS 232 3 RXD1 RXD pin of...

Страница 2: ...the GW 7238D LED Indication Table 3 LED indication of the GW 7238D LED Name GW 7238D Status LED Status Firmware is running On PWR LED Power Failure Off No Error Off ERR LED Error Blink Transmission B...

Страница 3: ...ation If users want to start the GW 7238D normally it needs to follow these steps to install the GW 7238D below Step1 Check GW 7238D Firmware Mode Users need to set the dip switch to the Normal positi...

Страница 4: ...t port connection The GW 7238D can communicate both Modbus TCP and Modbus RTU to J1939 at the same time In Modbus RTU communication it is recommended to use only one serial port RS 232 or RS 485 of th...

Страница 5: ...to connect via IP address 192 168 255 1 shown as below figure Figure 6 Connection Interface of GW 7238D Utility GW 7238D Utility Configuration Modbus Network Configuration The GW 7238D and the contro...

Страница 6: ...etwork configuration screen from the GW 7238D is shown as Figure 8 Figure 8 Modbus configuration screen J1939 I O Configuration The following figure is a PGN definition about Electronic Transmission C...

Страница 7: ...N Data Length Byte Oder in J1939 Data Field Transmission manufacturers provide the information required Byte Order in MODBUS User defined Modbus address Figure 10 J1939 configuration screen Upload Par...

Страница 8: ...ess 40001 write the value in 0x1234 Request Command Byte0 Byte1 Byten Hex 01 10 00 00 00 01 02 12 34 AB 27 CRC Get J1939 input data Using the Modbus command as below FC4 Read multiple input registers...

Страница 9: ...dress 42009 write the value in 0x01 Request Command Byte0 Byte1 Byten Hex 01 06 07 D8 00 01 C9 45 CRC Or 2 Without have to control the Modbus register 42009 Dec just enable Auto Transmission function...

Страница 10: ...J1939 output message 1 Using the Modbus command as below FC6 Write single register 4xxxx for AO Example Start sending J1939 output message In the address 42009 write the value in 0x00 Request Command...

Страница 11: ...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 table is not zero 5 How to restore factory default 1 P...

Страница 12: ...by using the serial network setting as 115200 baud with none parity 1 stop bit and 1 Net ID or run the Ethernet network and set on the same subnet to connect via IP address 192 168 255 1 Technical Sup...

Отзывы: