About can messages – MTS Series 793 User Manual

Page 171

Advertising
background image

Note:

You can also use the Station Builder application to parse a CANdb file to add the predefined inputs,
outputs, and messages to the station configuration.

3. Use the CAN Bus Editor (Station Manager application > Display > Station Setup > CAN Bus Editor) to

assign CAN inputs and outputs to CAN input and output messages.

a) Create input, output, and action messages as required.

b) Assign each CAN input and output to the appropriate message.

c) If necessary, configure the field settings and scaling for each input/output.

d) For Action and Output messages, add static fields as required.

4. Optional—Use the Station Manager Event Action Editor to assign CAN action messages to Series 793

Controller events. You can now use the CAN resources in the Station Manager application or in your tests.

About CAN Messages

CAN messages can define multiple fields that are used to transmit information to and/or request information
from devices connected to a CAN network. The type of information defined in each message depends on the
type of message and the fields included in the message. Each message must be assigned to a CAN bus port
and must have a unique message ID that other CAN devices can recognize.

You create CAN messages using the Station Manager CAN Bus Editor or by using the Station Builder
application to parse a CANdb file to add the predefined message resources to your configuration.

Message fields

Each message includes 8 bytes that can be divided into various fields that contain data. Each field that is
assigned to a message includes settings, such as field type, size, and bit offset. Message fields include the
following types:

Station Signal CAN Inputs and Outputs— When you assign an input or output to a message, it appears
in the Field list. Inputs and outputs are typically signals.

Static fields— (output and action messages only) These fields define values that do not change.

Input messages

Input messages are used to receive messages from CAN devices. The Message ID setting and field settings
must match the message ID in the message sent by the CAN device. The settings for each field in the input
message define how to extract the information from the CAN device message.

Note:

To add static fields to an input message, create a separate input for each static field and assign those
inputs to an input message.

Output messages

The Series 793 Controller sends output messages to other CAN devices. The Message ID setting and field
settings in a 793 output message must match the message ID and field settings in one of the CAN device’s
input messages. Output messages can include station-signal output fields, static fields, and digital output
fields.

MTS Series 793 Control Software 171

Station Manager Application

Advertising