Function elements: SAE J1939 request. IFM CR0403

Add to My manuals
231 Pages

advertisement

Function elements: SAE J1939 request. IFM CR0403 | Manualzz

BasicController CR0403

Function elements: SAE J1939 request

Content

J1939_SPEC_REQ ..............................................................................................................................143

J1939_SPEC_REQ_MULTI .................................................................................................................144

35704

142

BasicController CR0403

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:

35253

>

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

35321

35083

Parameter

EXECUTE

CHANNEL

PGN

Data type

BOOL := FALSE

BYTE

DWORD

BYTE

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 permissible = 0...262 143 = 0x00000000...0x0003FFFF

J1939 address of the requested device

>

DA

Parameters of the outputs

35206

Parameter

PRIO

LEN

DATA

RESULT

Data type

BYTE

WORD

ARRAY [0..7] OF BYTE

BYTE

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)

Possible results for RESULT:

Value dec | hex

Description

0

1

5

64

242

00

01

05

40

F2

FB is inactive

FB execution completed without error – data is valid

FB is active – no data received yet

Error: receive multiframe

Error: setting is not possible

143

BasicController CR0403

J1939_SPEC_REQ_MULTI

= J1939 Specific Request Multiframe Message

Unit type = function block (FB)

Unit is contained in the library ifm_J1939_NT_Vxxyyzz.LIB

Symbol in CODESYS:

35256

>

Description

>

J1939_SPECIFIC_REQUEST requests and receives a specific multiframe message from another controller.

35315

Parameters of the inputs

35082

Parameter

EXECUTE

CHANNEL

PGN

Data type

BOOL := FALSE

BYTE

DWORD

BYTE

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 permissible = 0...262 143 = 0x00000000...0x0003FFFF

J1939 address of the requested device

>

DA

Parameters of the outputs

35183

Parameter

PRIO

LEN

DATA

RESULT

Data type

BYTE

WORD

ARRAY [0..1784] OF BYTE

BYTE

Description message priority (0…7) number of data bytes to be transmitted allowed = 1...1 785 = 0x0001...0x06F9

Received data (1...1785 bytes) feedback of the function block

(possible messages → following table)

Possible results for RESULT:

Value dec | hex

Description

0

1

5

242

00

01

05

F2

FB is inactive

FB execution completed without error – data is valid

FB is active – no data received yet

Error: setting is not possible

144

advertisement

Related manuals

Download PDF

advertisement

Table of contents