ARC_7F_REC_SWAP

../_images/d8ee316d665528af0a317f34686de851
Parameter Value
Library_File_Name ARCNETExt_AC500_V12.lib
Firmware V1.2
Type Type_Function_Block_History
Group Data

The operating system reads the received ARCNET data packages from the ARCNET Communication Module and stores them in the receive buffer. The buffer size is determined using the Parameters of PM5x1-ARCNET: Parameters of PM5x1-ARCNET (onboard ARCNET)

Using the ARC_7F_REC_SWAP Function Block, exactly one data package is read. The user data are stored in the configured memory area (DATA). The NODE ID of the sending device and the data package length are supplied at the outputs NODE_ID and LEN. DONE = TRUE and ERR = FALSE indicate that the reading process was successful. If an error was detected during Function Block processing, the error is additionally indicated at the outputs ERR and ERNO. Furthermore, the Function Block provides information about the receive buffer filling level displayed in bytes (LEVR_BY) and data records (LEVR_DS).

Before the ARC_REC Function Block can read data packages from the receive buffer, the setting “ARCNET data exchange” must have been selected in the Parameters of PM5x1-ARCNET: Parameters of PM5x1-ARCNET (onboard ARCNET)