![turck TBEN-S2-2COM-4DXP Скачать руководство пользователя страница 147](http://html1.mh-extra.com/html/turck/tben-s2-2com-4dxp/tben-s2-2com-4dxp_instructions-for-use-manual_1181726147.webp)
141
2018/03
9.3.2
Receive Data
The following flow diagram describes the receive sequence.
Receive sequence
Initial state "Receive complete" is FALSE (1).
Set the process output value "Receive" to TRUE (starts the receiver) (2.).
Wait until the process input value "Receive complete" = TRUE or until an error is signaled (3.).
Perform an error handling. If no error is signaled continue with (5.).
Read and process the data received from the receive buffer (5.).
Set the process output value "Receive" to FALSE (stops the receiver) (6.).
Wait until the process input value "Receive complete" = FALSE.
Go back to 1 for the next receive sequence.
The following must be observed for receiving data:
The receiver temporarily has to be deactivated between two transmit sequences (refer to steps
5…8). The duration for the deactivation depends on the update time set and the PLC cycle time.
During this time, no data can be received.
The data reception is limited to 192 bytes per telegram.
Fig. 73: Receive sequence
IF Receive complete := FALSE
IF Receive complete := True
WHILE(Receive complete = FALSE
AND Frame error = FALSE
AND parity/format error = FALSE
AND Buffer overflow = FALSE
AND Timeout = FALSE
AND invalid RX length = FALSE
IF(Frame error = TRUE
OR parity/format error = TRUE
OR Buffer overflow = TRUE
OR Timeout = TRUE
OR invalid RX length = TRUE
1. Init
2. Start receiving
Receiver frame length := [expected frame length]1
Receive := TRUE
3. Wait for data
4. Error handling
5. Process received data
6. Reset receiver
Receive := FALSE
Содержание TBEN-S2-2COM-4DXP
Страница 2: ...2 Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com...
Страница 10: ...Notes on the Product Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 4...
Страница 12: ...For Your Safety Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 6...
Страница 26: ...Connecting Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 20...
Страница 93: ...87 2018 03 The device is added to the project tree Fig 44 TBEN S2 2COM 4DXP in the project tree...
Страница 122: ...Commissioning Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 116...
Страница 134: ...Configuring and Parameterizing Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 128...
Страница 152: ...Operating Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 146...
Страница 154: ...Troubleshooting Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 148...
Страница 157: ...151 2018 03 Click Firmware Download to start the firmware update Fig 78 Starting the firmware update...
Страница 160: ...Repair Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 154...
Страница 161: ...155 2018 03 13 Disposal The devices must be disposed of correctly and must not be included in normal house hold garbage...
Страница 162: ...Disposal Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 156...
Страница 166: ...Technical Data Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 160...
Страница 170: ...Appendix Hans Turck GmbH Co KG T 49 208 4952 0 F 49 208 4952 264 more turck com www turck com 164...
Страница 171: ...30 subsidiaries and over 60 representations worldwide www turck com D301439 2018 03 D301439...