4 program debugging and variable tracing, 5 j1939 only mode on the dvc5/7/10, Program debugging and variable tracing – High Country Tek DVC80 User Manual

Page 134: J1939 only mode on the dvc5/7/10

Advertising
background image

P/N: 021-00154, Rev. A.6 - updated for V4.7 Tools

Page | 134

8.4

Program Debugging and Variable tracing

Use the Virtual Display facility of the Program Loader Monitor, D206 Graphical Display or DVC61 display. Refer
to the Binary Counter programming example for an illustration in the use of the Virtual Display. The advantage
of using a DVC61 is that it can be attached directly to the DVC5/7/10 RS232 connector or the CAN Bus and
does not require a PC to be connected.

8.5

J1939 Only Mode on the DVC5/7/10

For small systems that require only one DVC5/7/10 Master Module and no DVC Slave Modules, a feature has
been added to the DVC5/7/10 to allow for communication directly between a DVC5/7/10 and J1939 CAN Bus
systems. The DVC5/7/10 may be used to send and receive messages directly on the J1939 CAN Bus while
conducting normal functions with its Inputs and Outputs.

Some system configuration limitations apply when using this feature. DVC Slave Modules that communicate on
the Device Net CAN Bus may not be used in the project. Note that a DVC61 display module needs to be
connected using the RS232 connection not the CAN Bus. The Virtual Display may be used in a normal manner.

The following information should be used as an outline for setting up a DVC5/7/10 to operate in J1939 Only
Mode.

DVC 5/7/10 Application Code
The application program used to run a DVC5/7/10 in J1939 Only Mode must have a DVC5/7/10 and a
J1939/DVC80 in the application, any RS232 connected display device and may contain a Virtual Display to
monitor desired variables. No other modules can be added.

Use the DVC80 Message screens to set up the send and receive messages to be communicated on the J1939
CAN Bus. The MAC ID on the DVC80 setup screen is not used in this configuration. Write your application in
the normal manner to control the operational parameters and processes for system operation. J1939 messages
shall be addressed in the application as if a DVC80 were present on the system.

DVC5/7/10 Hardware Setup
Connect the incoming J1939 CAN H and CAN L signals to the DVC5/7/10 specific CAN Bus Connector as
outlined on the DVC5/7/10 Connector Pin out sheet.
DVC5/10 P4-4 = J1939 CAN H
DVC5/10 P4-5 = J1939 CAN L

DVC5/7/10 Firmware Setup
With the Program Loader Monitor running and connected to the DVC5/7/10 navigate to the Factory Information
screen and select the following options then select “Send Changes”.
CAN Baud Rate = 250K baud
CAN Bus Type = J1939 Only

J1939 Operation
At this point load the application into the DVC5/7/10 in the normal manner. The DVC will communicate directly
on the J1939 CAN Bus. All of the J1939 messages will be seen by the DVC controller but only those defined as
messages above will be processed. J1939 CAN Bus messages may be viewed by selecting the J1939/DVC80
status icon from the Program Loader Monitor main screen.

Advertising
This manual is related to the following products: