![Jäger ADwin-Gold II Manual Download Page 156](http://html1.mh-extra.com/html/jager-0/adwin-gold-ii/adwin-gold-ii_manual_3209266156.webp)
CAN interface
En_Transmit
ADwin
150
ADwin-Gold II
, Manual February 2013
En_Transmit
En_Transmit
enables a specified message object to send messages.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
En_Transmit
(
can_no
,
msg_no
,
id
,
id_extend
)
Parameters
Notes
A message object can only send messages to the CAN bus when you
have it previously enabled to send with
En_Transmit.
See also
,
Valid for
Gold II-CAN
Example
Rem Please select the appropriate include for ADbasic /
TiCoBasic
#Include
ADwinGoldII.inc / GoldIITiCo.inc
Init:
Init_CAN
(
1
)
'Initialize CAN-Controller 1
Rem Initialize message objects of interface 1:
Rem Object 2 for receive with identifier 200,
Rem Object 6 for sending with identifier 40
En_Receive
(
1
,
1
,
200
,
0
)
En_Transmit
(
1
,
6
,
40
,
0
)
T11 TiCo
can_no
Number (1, 2) of CAN interface.
LONG
msg_no
Number (1…14) of the message object.
LONG
id
Identifier which is sent with the messages of this
message object.
LONG
id_extend
Length of the identifier:
0: 11 bits.
1: 29 bits.
LONG