background image

 

GW-7228 Quick Start v1.2 2011/05 

7

7

7

7/

/

/

/8

8

8

8

 

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)  
01 04 00 00 00 01 

31 CA(CRC)

 

 
GW-7228 responds a value of one word in the address 30001. 
[Response](Byte0, Byte1... Byten) (Hex)  
01 04 02 

12 34

 

B4 47(CRC)

 

 

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) 
01 06 07 D8 00 

00

 

08 85(CRC)

 

 
Example:  Stop sending J1939 output message 
In the address 

42009

, write the value in 0x01. 

[Request Command] (Byte0, Byte1... Byten) (Hex) 
01 06 07 D8 00 

01

 

C9 45(CRC) 

 
Or  
 

2

Enable / Disable the Auto Transmission function as below, and upload to 

GW-7228: 

 

Figure 11: J1939 Auto Transmission function screen

Summary of Contents for GW-7228

Page 1: ...local distributors for more information Save the shipping materials and cartons in case you want to ship in the future Appearance and pin assignments CAN DB9 Male Connector Pin Description 1 Not Conne...

Page 2: ...r 100 ms No Error Always turned on CAN Bus Transmission Fail Blink per 100 ms CAN Bus Off Blink per 500 ms Can t Claim Address in J1939 Network Blink per 1000 ms PWR LED Power Failure Off Transmission...

Page 3: ...orts with the GW 7228 modules and ECU e g engine in J1939 network using the following structure as Figure 3 Figure 3 CAN bus Wire Connection Step3 Modbus network Serial port connection It is recommend...

Page 4: ...the controller must be set the same serial communication parameters of the Modbus network configuration The Modbus network configuration screen from GW 7228 is shown as Figure 6 Figure 6 Modbus confi...

Page 5: ...g table shows the current planning Figure 8 Example of a parameter group definition of SAE J1939 71 Table 1 Configuration data of J1939 and Modbus Parameters PGN Data Length bytes Byte Order In J1939...

Page 6: ...rameter upload screen Modbus Communication Set J1939 output data Using the Modbus command as below FC16 Write multiple registers 4xxxx for AO Example In the address 40001 write the value in 0x1234 Req...

Page 7: ...B4 47 CRC 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 th...

Page 8: ...t message table is not zero 5 How to restore factory default 1 Power on the GW 7228 2 Change the Dip Switch position of the GW 7228 and to complete the following steps in 5 seconds Step1 From Normal t...

Reviews: