Advantech PCM-3680 Startup Manual Download Page 3

  PCM-3680  Startup Manual

    3

Software Overview

The PCM-3680 comes with a utility disk with the fol-
lowing software capabilities:

• CAN controller configuration
• CAN transmission monitoring
• Terminal emulation

Main Menu

Run DataMonitor at the DOS prompt. DataMonitor's 
main menu screen will appear as shown below

The main screen consists of:
A.   

Menu bar:

 Lists the available functions. From the 

main menu you can select Configuration, Monitoring, 
and Terminal.
B.   

Monitor screen:

 Shows monitored data, including 

message index, CAN device ID, data length, and data.
C.   

Status fields:

 Display the status of the two ports 

and the status register of the CAN controllers.
D.   

Online help/message bar:

 Shows various key 

commands and states the function of the currently high-
lighted item.

Configuration

Before you transmit a CAN object, you must configure 
the CAN  controller by selecting the <Config> menu 
with the cursor keys and pressing <Enter>. The Config-
uration function determines the ports to be used and 
their communication parameters.

The port configuration window is shown below.

The parameters below need to be configured for each 
CAN controller:

Address segment:

  The base address (address segment) 

is normally adjusted during the installation process. The 
selection of the address segment needs to be the same as 
that of the hardware configuration.

Port:

 Select the port you want to configure.

Baud rate:

 The baud rate must be coordinated with the 

CAN network. Choose the appropriate one from the list 
of baud rates.

Acceptance code: 

Specifies the value of the 8 most sig-

nificant bits of the identifier (ID10 ... ID 3)

Acceptance mask:

 Specifies the bit positions which are 

"relevant" for acceptance filtering.

Note: The acceptance code and acceptance mask are 
configured through eight digits (1 digit per bit) using 0 
or 1.

Example:

Acc Code = 11111111
Acc Mask =11111111

The shown acceptance filter will accept every received 
message.

Interrupt:

 Sets the interrupt for each port. Be sure that 

this setting matches the IRQ already selected for the 
PCM-3860, which accepts values between IRQ3 to 
IRQ15, except 8 and 13.

Running mode:

 During the normal configuration and 

communication process, select Normal Mode. When 
the system fails, you can hit <Enter> to reset the CAN 
controller. Hit <Enter> again to further execute your 
configuration.

Monitor: 

Select the port to be monitored from the 

<Monitor> pull- down menu. Press F3 to start and stop 
the monitoring process.

DataMonitor Utility 

Value Definition

0

This bit position will accept only a "relevant" message

1

This bit position will not screen messages.

Reviews: