IFM Electronic CR0403 Programming Manual page 146

Hide thumbs Also See for CR0403:
Table of Contents

Advertisement

ifm
Programming Manual
ecomatmobile
ifm function elements
>
J1939_SPEC_REQ
= J1939 Specific Request
Unit type = function block (FB)
Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
J1939_SPECIFIC_REQUEST requests and receives a specific message from another controller.
If a multiframe message is requested:
• the FB provides the first 8 bytes of the data
• RESULT indicates an error
>
Parameters of the inputs
Parameter
EXECUTE
CHANNEL
PGN
DA
>
Parameters of the outputs
Parameter
PRIO
LEN
DATA
RESULT
Possible results for RESULT:
Value
Description
dec | hex
0
00
FB is inactive
1
01
FB execution completed without error – data is valid
5
05
FB is active – no data received yet
64
40
Error: receive multiframe
242
F2
Error: setting is not possible
BasicController (CR0403) Runtime System V03.02
Data type
BOOL := FALSE
BYTE
DWORD
BYTE
Data type
BYTE
WORD
ARRAY [0..7] OF BYTE
BYTE
146
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
PGN = Parameter Group Number
allowed = 1...??? = 0x00000001...0x???
J1939 address of the requested device
Description
message priority (0...7)
number of the bytes received (0...8)
received data, (1...8 bytes)
feedback of the function block
(possible messages → following table)
2015-04-01
15023
15026
15028
15029

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents