EasyManua.ls Logo

IFM Electronic CR0403 - Page 83

IFM Electronic CR0403
233 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
83
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm function elements for the device CR0403
>
CAN_TX
7522
Unit type = function block (FB)
Unit is contained in the library ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
7523
CAN_TX sends a standard message per cycle.
The FB limits itself to a few functions and the required memory space is low.
> If an instance of this FB is called several times during a cycle, the data is also sent several times.
In case of the simple functions CAN_TX and CAN_RX, it is determined by means of the ID whether a
standard or an extended frame is to be sent. With the enhanced versions this is set via the input
EXTENDED. Therefore, extended frames in the ID area 0...2047 cannot be sent via the easy
functions.
>
Parameters of the inputs
7524
Parameter
Data type
Description
ENABLE
BOOL
TRUE: execute this function element
FALSE: unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
CHANNEL BYTE CAN interface (1...n) depending on the device
ID DWORD Number of the data object identifier:
normal frame (2
11
IDs):
0...2 047 = 0x0000 0000...0x0000 07FF
Extended Frame (2
29
IDs):
2 048...536 870 911 = 0x0000 0800...0x1FFF FFFF
DATA ARRAY [0..7] OF BYTE data to be sent (1...8 bytes)
>
Parameters of the outputs
7527
Parameter
Data type
Description
RESULT BYTE feedback of the function block
(possible messages following table)
Possible results for RESULT:
Value
dec | hex
Description
0 00 FB is inactive
1 01 function block execution completed without error
242 F2 Error: setting is not possible
250 FA Error: FiFo is full data was lost

Table of Contents

Other manuals for IFM Electronic CR0403

Related product manuals