CAN interface
CAN_Msg
ADwin
146
ADwin-Gold II
, Manual February 2013
CAN_Msg
CAN_Msg
[]
is a one-dimensional array, consisting of 9 elements, where the
message objects are stored.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
CAN_Msg
[
n
]
=
value
or
value
=
CAN_Msg
[
n
]
Parameters
Notes
The elements of the array
CAN_Msg
[]
have the following functions:
Enter the data bytes to be transferred and their number into the field
CAN_Msg
[]
,
before
transferring them with
Transmit
.
See also
,
,
,
Valid for
Gold II-CAN
T11 TiCo
n
Element number in the field
CAN_Msg
(1…9).
LONG
value
Value (8 bit), which is to be written into or
read from the message object.
LONG
Element no. in
CAN_
Msg
1…8
9
Contents
Message
object(s) =
databyte(s)
Number (0…8) of
allocated databytes