115
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
SERIAL_TX
296
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0301_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
299
SERIAL_TX transmits one data byte via the serial RS232 interface.
Using the input ENABLE the transmission can be enabled or blocked.
The SERIAL FBs form the basis for the creation of an application-specific protocol for the serial
interface.
To do so, set the system flag bit SERIAL_MODE=TRUE!
NOTE
In principle, the serial interface is not available for the user, because it is used for program download
and debugging.
The interface can be freely used if the user sets the system flag bit SERIAL_MODE to TRUE. Then
however, program download and debugging are only possible via the CAN interface.
>
Parameters of the inputs
300
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> Function block inputs are not active
> Function block outputs are not specified
DATA
BYTE
value to be transmitted
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......