148
ifm
System Manual
ecomat
mobile
SmartController (CR2500, CR2502) V05
CAN in the ecomatmobile controller
Use of the CAN interfaces to SAE J1939
8.9.1
Function J1939_x
x = number 1...n of the CAN interface (depending on the device,
→
data sheet)
Contained in the library:
ifm_J1939_x_Vxxyyzz.LIB
Available for:
•
CabinetController:
CR0303
•
ClassicController: CR0020, CR0505
•
ExtendedController:
CR0200
•
SafetyController: CR7020, CR7021, CR7200, CR7201, CR7505, CR7506
•
SmartController: CR2500, CR2502
•
PDM360 smart: CR1070, CR1071
Function symbol:
J1939_x
ENABLE
START
MY_ADRESS
Description
J1939_x serves as protocol handler for the communication profile SAE J1939.
To handle the communication, the protocol handler must be called in each program cycle. To do so,
the input ENABLE is set to TRUE.
The protocol handler is started if the input START is set to TRUE for one cycle.
Using MY_ADDRESS, a device address is assigned to the controller. It must differ from the addresses
of the other J1939 bus participants. It can then be read by other bus participants.
NOTE
J1939 communication via the 1st CAN interface:
►
First initialise the interface via the function
CAN1_EXT (
→
)!
J1939 communication via the 2nd CAN interface:
►
Initialise the interface first with the function
CAN2 (
→
page
Summary of Contents for Ecomat 100 ecomatmobile SmartController CR2500
Page 1: ...System Manual SmartController CR2500 CR2502 CoDeSys V2 3 Target V05 7390667 00 03 2009 ...
Page 6: ......
Page 282: ......