page 40
Function
CAN_TRANSMIT
Library
CRxxxx.LIB
Function symbol
Purpose
Passes a CAN data object (message) on to the CAN controller
for transmission.
Parameters
Function inputs
Function
outputs
Description
CAN_TRANSMIT is called for each data object in the program
cycle, for long program cycles several times. The programmer
must ensure by evaluating the bit RESULT that his transmission
order has been accepted. It can be said that for 125 kBit/s one
transmission order can be executed every 1 ms.
Via the bit input ENABLE the execution of the function can be
disabled temporarily. This can for example prevent a bus
overload. Also, several data objects can be sent quasi
simultaneously if each data object is assigned a flag used to
control the execution of the function via the ENABLE input.
Name
Data type
Description
ID
WORD
Contains the number of the data object
identifier 0 ... 2048.
RTR
BYTE
Not used, therefore value 0
DLC
BYTE
Number of the bytes to be transmitted from
the array DATA (permitted values 0 ... 8).
DATA
ARRAY
The array contains max. 8 data bytes.
ENABLE
BOOL
TRUE:
The function is processed.
FALSE: The function is not processed.
Name
Data type
Description
RESULT
BOOL
TRUE:
The function has accepted the
transmission
order.
Содержание ecomat 100 R 360 Series
Страница 1: ...System manual ecomat 100 type R 360 ...
Страница 14: ...page 14 ...
Страница 26: ...page 26 ...
Страница 86: ...page 86 ...
Страница 100: ...page 100 ...
Страница 126: ...page 126 ...
Страница 146: ...page 146 ...
Страница 162: ...page 162 ...
Страница 163: ...page 163 Annex 2 Wiring Annex 2 1 Type CR0015 ...
Страница 164: ...page 164 Annex 2 2 Type CR0016 ...
Страница 165: ...page 165 Annex 2 3 Type CR0017 ...
Страница 166: ...page 166 Annex 2 4 Type CR0501 ...