IFM Electronic CR0403 Programming Manual page 89

Hide thumbs Also See for CR0403:
Table of Contents

Advertisement

ifm
Programming Manual
ecomatmobile
ifm function elements
>
CAN_REMOTE_REQUEST
Unit type = function block (FB)
Unit is contained in the library ifm_RawCAN_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
In order to request a remote message, an according requirement is dispatched via
CAN_REMOTE_REQUEST and the response of the other device is sent back as result.
>
Parameters of the inputs
Parameter
EXECUTE
CHANNEL
ID
Extended
(optional use of the parameter)
>
Parameters of the outputs
Parameter
DATALENGTHCOUNT
DATA
RESULT
Possible results for RESULT:
Value
Description
dec | hex
0
00
FB is inactive
1
01
function block execution completed without error
5
05
FB is being processed – still receiving
9
09
CAN is not active
242
F2
Error: setting is not possible
BasicController (CR0403) Runtime System V03.02
Data type
BOOL := FALSE
BYTE
DWORD
BOOL := FALSE
Data type
BYTE
ARRAY [0..7] OF BYTE
BYTE
89
ifm function elements for the device CR0403
Description
FALSE  TRUE (edge):
execute function element once
otherwise: function element is not active
A function element already started is processed.
CAN interface (1...n) depending on the device
Number of the data object identifier:
normal frame (2
IDs):
11
0...2 047 = 0x0000 0000...0x0000 07FF
Extended Frame (2
IDs):
29
0...536 870 911 = 0x0000 0000...0x1FFF FFFF
TRUE:
Extended Frame (ID = 0...2
FALSE:
Normal Frame (ID = 0...2
Description
= Data Length Count
number of the data bytes received
received data, (1...8 bytes)
feedback of the function block
(possible messages → following table)
2015-04-01
7625
7627
7628
-1)
29
-1)
11
7629

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents