112
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
SERIAL_PENDING
314
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0301_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
317
SERIAL_PENDING determines the number of data bytes stored in the serial receive buffer.
In contrast to
SERIAL_RX
(
) the contents of the buffer remain unchanged after calling this
FB.
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 outputs
319
Parameter
Data type
Description
NUMBER
WORD
Number of data bytes received
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......