Technical Manual: TM50567
Optica 30/40/50 series
Revision: 4.0
Date of release: 2019-01-23
45/56
www.vareximaging.com
CAN protocol configuration
For using the Varex Imaging Nederland B.V. CAN protocol, the protocol ID must be set to ‘0’ (which is
also the default value). The protocol ID can be set in
Service screen 2
or sending a service CAN
message.
Warning:
Setting a wrong CAN protocol will lead to unexpected performance of the
collimator.
After selection, the protocol is active within 1 second. Additional to the supported protocols a service
protocol is available, which is always active. With the service protocol, the collimator CAN speed and
CAN message ID can be selected for the Varex Imaging Nederland B.V. protocol and Service protocol.
The calibration functions can be accessed through the Service protocol. The next paragraphs describe
the Varex Imaging Nederland B.V. protocol and Service protocol.
Varex Imaging Nederland B.V. protocol and Service protocol
General definitions
The Varex Imaging Nederland B.V. protocol can be selected with protocol ID ‘0’.
All Varex Imaging Nederland B.V. CAN messages containing the following information:
CAN ID
DLC
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
CAN
Identifier
Data
Length
Code
Varex
Imaging
Nederland
B.V.
Message
Identifier
Data
Byte 0
Data
Byte 1
Data
Byte 2
Data
Byte 3
Data
Byte 4
Data
Byte 5
Data
Byte 6
0x000 -
0xFFF
8
0x00 -
0xFF
0x00 -
0xFF
0x00 -
0xFF
0x00 -
0xFF
0x00 -
0xFF
0x00 -
0xFF
0x00 -
0xFF
0x00 -
0xFF
The Varex Imaging Nederland B.V. protocol and the service protocol always use the same CAN ID.
The CAN ID and speed can be configured via a CAN configuration message. After a new
configuration, the settings will be saved in EEPROM. After a firmware update the EEPROM can be re-
initialized, the CAN settings will then be set to default. Default settings are:
CAN ID
=
0x76C
CAN speed
=
500 kbit/s
Message Data
In the protocol the following is assumed:
•
Bit 7 is MSB and bit 0 is LSB.
•
When a status is given bitwise, 1 = TRUE / ON and 0 = FALSE / OFF.
•
When a shutter setting is defined in byte, 0 = closed and 255 = max position.
•
When bitwise more than one status can be set; the first bit which is set (counting from bit 0), is
master.
For example, when bit 0 is toggle and bit 1 is off and both bits are 1, the software will only
toggle because bit 0 is set and the rest will not be checked.
Message Identifiers
Overview of message identifiers:
1
-
99
Functional messages received by the collimator
100
-
199
Functional messages transmitted by the collimator
200
-
254
Configuration messages received by the collimator
Service protocol
Protocol ID is not available, because this protocol is not selectable and always active.