EasyManua.ls Logo

IFM Electronic CR0451 - Processing of the Program Pous; Can_Enable

IFM Electronic CR0451
263 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...
85
ifm System Manual ecomatmobile BasicDisplay (CR0451) V01
CAN in the PDM360 CAN-FBs on layer 2 (RAW-CAN)
CAN_ENABLE
7492
Unit type = function block (FB)
Contained in the library: ifm_RawCAN_NT_Vxxyyzz.LIB
Available for the following devices:
- BasicController: CR040n
- BasicDisplay: CR0451
- PDM360NG: CR108n
Symbol in CoDeSys:
CAN_ENABLE
ENABLE
RESULT
CHANNEL
BAUDRATE
Description
7494
With CAN_ENABLE the CAN hardware is initialised. Without this call no other calls are possible in
RAW-CAN or they return an error.
In order to change the baud rate the following procedure is required:
Maintain the function block on ENABLE=FALSE for the duration of one cycle.
> All protocols are reset.
> Re-initialisation of the CAN interface and the CAN protocols running on it. Any information
available for cyclical transmission is lost as well and must be newly created.
> At renewed ENABLE=TRUE, the new baud rate is adopted.
Parameters of the inputs
7495
Parameter Data type Description
ENABLE BOOL
FALSETRUE (edge):
interface is initialised
TRUE: interface is aktive
FALSE: this function is not executed
CHANNEL BYTE CAN interface (1...n) depending on the device
BAUDRATE WORD Baud rate [kBit/s]
Permissible values = 20, 50, 100, 125, 250, 500, 800, 1 000
preset = 250

Table of Contents

Related product manuals