244
ifm
System Manual
ecomat
mobile
SmartController (CR2500, CR2502) V05
More functions in the ecomatmobile controller
Use of the serial interface
Parameters of the function outputs
Name
Data type Description
RX
BYTE
Byte data received from the receive buffer
AVAILABLE WORD
Number
of data bytes received
0 = no valid data available
OVERFLOW
BOOL
Overflow of the data buffer, loss of data!
Example:
3 bytes are received:
1st call of SERIAL_RX
1 valid value at output RX
→
AVAILABLE = 3
2nd call of SERIAL_RX
1 valid value at output RX
→
AVAILABLE = 2
3rd call of SERIAL_RX
1 valid value at output RX
→
AVAILABLE = 1
4th call of SERIAL_RX
invalid value at the output RX
→
AVAILABLE = 0
If AVAILABLE = 0, the function can be skipped during processing of the program.
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: ......