DPRAM_CM5XX_RECΒΆ

../_images/de8afe89e38aa1c10a33139000eba54e

The Function Block DPRAM_CM5XX_REC is used for receiving data from an CM5xx. This data is stored in the configured memory area (DATA), i.e. the memory address for the received data via ADR operator. The Function Block is triggered by a high signal at input EN. It remains active until the input EN is set to FALSE. The slot number and the channel of the CM5xx are put to the inputs SLOT and CH. The output DATA_LEN shows the length of the received data in bytes. The successful data reception is indicated by DONE=TRUE and ERR=FALSE. If during operation an error was detected, this is indicated at the outputs ERR and ERNO.

Caution

The reception using the function Function Block DPRAM_CM5XX_REC is not edge-triggered. The input EN must therefore be at TRUE as long as data has to be received.

Note

DPRAM message-based data exchange allows a maximum of 260 Bytes per message to be sent or received.

Available as of PLC runtime system: V1.3.0
Included in library: SysInt_AC500_V10.lib
Type Function Block with historical values