Special Functions of the CM574-RS

Function Blocks for Data Storage in Flash Memory

The library “SysInt_AC500_V10.lib” located in the directory “Data storage/Flash” contains the following blocks which are used to store data in the Flash memory:

Block Function
FLASH_DEL: FLASH_DEL Deletes a data segment in the Flash memory
FLASH_READ: FLASH_READ Reads a data segment from the Flash memory
FLASH_WRITE: FLASH_WRITE Writes a data segment to the Flash memory

The blocks and their functionality are the same as for the AC500 CPU. These blocks are described in the library documentation of the Internal System Library FLASH_WRITE: FLASH_WRITE

LEDs Control of the CM574-RS

The library “SysIntExt_AC500_V10.lib” contains the function block LED_SET for controlling the LEDs of the CM574-RS. See description of the function block LED_SET: LED_SET

Note

If the Error LED is to be activated from the user program, the parameter “Error LED” has to be set to “Off” CM574-RS_Configuration: Configuration of the Serial Communication Module CM574-RS

Reading the Address Switch of the CM574-RS

The library “SysIntExt_AC500_V10.lib” contains the function block CPU_OWN_ADR for reading the address switch of the CM574-RS. See description of the function block CPU_OWN_ADR: CPU_OWN_ADR

The address set with the rotary switches is output at the ADDR output.