Can output – MoTeC PDM30 User Manual

Page 22

Advertising
background image

MoTeC

Configuration

19

16 Bit Unsigned Values

A 16bit unsigned value is specified with a byte offset (the first byte of the
value within the CAN message), an optional byte swap, a 16bit mask, and
a divisor (1 to 255). The resulting channel will be an 8 bit value with a
range of 0 to 255.

The PDM treats the received value as an unsigned 16 bit value (i.e. 0 to
65535). If the value after division is greater than 255 then the result value
will be clamped to 255.

Examples of the different types of CAN channel extraction are included in the
Appendices.

Timeout values

If the CAN message is not received for a period exceeding its timeout period,
the corresponding timeout channel will be set to TRUE. Each CAN input
channel can be configured to hold its previous value or go to a specific value
while the corresponding CAN message is timed out.

Tip: The timeout channel can be used in a condition.

Initial values

If the channel is configured to hold the previous value when the CAN
message times out then the channel will be set to zero on start-up. The
channel stay zero until a matching CAN message is received.

If the channel is configured to use a specific value when the CAN message
times out then the channel will be set to this value on start-up. The channel
stay at the timeout value until a matching CAN message is received.

The PDM CAN bitrate is user configurable. All devices on the CAN bus must
be set to the same speed. Refer to the Operation section for details about
CAN bitrate configuration.

CAN Output

The PDM can transmit a set of fixed standard messages, and up to four user
defined messages on the CAN bus. CAN messages are configured in Can
Outputs
in the Configuration Tree.

The receiving device can use the messages for diagnostic purposes
(particularly useful if the values are logged in a logging device), to show an
alarm on a display, or to activate a feature in another device depending on the
value of a PDM input switch.

Advertising
This manual is related to the following products: