Receive

This function block reads the characters, received at the configured port. It supports a maximum of 25 interfaces (see table). If SOT and EOT sequences (e.g. CR, LF be taken into account by vector elements 13, 10) are connected, they are filtered out and thus NOT output at "Data". At the output "NumData" the received characters are output. If an EOT sequence is connected, the number of characters received will only be issued when the EOT sequence was received. The received data is written to the output "Data" according to a HIGH signal at input "bRead". This will reset the number of characters received at the same time. The output "State" shows the current state.

Example of SOT/EOT:

CR, LF are defined as SOT [0] = 13 and SOT [1] = 10

Signals

Name I/O Type(s) Function
Port I WORD

Port (see table)

SOT I UCHAR Start Of Transmission Sequence
EOT I UCHAR End Of Transmission Sequence
bRead I BIT Force read
State O UCHAR

State

Data O DYNTEXT Data stream (ASCII)
NumData O WORD Number of received data bytes