12 dvc5/7/10 to dvc5/7/10, Dvc5/7/10 to dvc5/7/10 – High Country Tek DVC80 User Manual

Page 105

Advertising
background image

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

Page | 105

The Poll Update Rate specifies the rate at
which the DVC5/7/10 will send messages to
the Device Net module. The I/O Poll Consume
and Produce Bytes fields are counts of the
number of data bytes to be received or sent by
the DVC7/10 respectively. Each byte will have
a name with the defaults (Consume1,
Produce1 etc.) being as shown. You reference
a given byte using the name
DNET1.Consume1 or DNET1.Produce1.

Consume names refer to data received from
the device by the DVC7/10 and Produce
names refer to data sent to the device by the
DVC7/10.

Your application can change and/or interrogate consume and produce variables in the application code. When
you change a variable be sure to change all of the variables in the message within the Always or Bubble code to
avoid a partially changed message from being sent when the Poll Update Rate timer expires and the message
is sent.

6.12

DVC5/7/10 to DVC5/7/10


Multiple DVC5, DVC7 and DVC10s can talk to one another over
the CAN Bus. The DVC5/7/10 to DVC5/7/10 configuration
screen has a MAC ID, four Send Uint Names, and four Receive
Uint Names. Uint refers to the unsigned integer designation.

The MAC ID field is the MAC ID of the DVC5/7/10 to whom this
DVC5/7/10 wishes to communicate with and must be specified.
Send Uint Names 1 - 4 are the names used to access the
values to be made available to (sent to) the other DVC5/7/10.
Receive Uint Names 1 - 4 are the names used to access the
values to be received from the other DVC5/7/10. The send
messages are sent periodically by the DVC5/7/10s to each
other. The receive Uint names can be used in the program
logic.

When you wish to communicate more than four integer values between DVCs you will need to implement a
simple protocol. One way to do this is to use the first Send Uint Name as a message identifier with the actual
data being the other three Send variables. In the receiving DVC you would interrogate the first variable and set
the appropriate variables in you code.

Large projects that incorporate many DVC modules should consider being implemented by using more than one
DVC5/7/10 in the system and splitting the module control between the multiple DVC5/7/10s.

Configuration Set-up
Name:
The prefix name for the send and receive variables for this DVC5/7/10 to use.
Range: 16 characters
MAC ID:

The MAC ID of the DVC5/7/10 to be communicated with.
Range: 0 to 63.

Advertising
This manual is related to the following products: