230
ifm
System Manual
ecomat
mobile
SmartController (CR2500) V05
More functions in the ecomatmobile controller
Data access and data check
10.4.5
Function CHECK_DATA
Contained in the library:
ifm_CRnnnn_Vxxyyzz.LIB
Available for the following devices:
•
CabinetController: CR0301, CR0302, CR0303
•
ClassicController: CR0020, CR0032, CR0505
•
ExtendedController: CR0200, CR0232
•
PCB controller: CS0015
•
SafetyController: CR7020, CR7021, CR7032, CR7200, CR7201, CR7232, CR7505, CR7506
•
SmartController:
CR2500
•
PDM360 smart: CR1070, CR1071
Function symbol:
CHECK_DATA
STARTADR
RESULT
LENGTH
UPDATE
CHECKSUM
Description
CHECK_DATA stores the data in the application data memory via a CRC code.
The function serves for monitoring a range of the data memory (possible WORD addresses as from
%MW0) for unintended changes to data in safety-critical applications. To do so, the function
determines a CRC checksum of the indicated data range.
If the input UPDATE = FALSE and data in the memory are changed inadvertently, RESULT = FALSE.
The result can then be used for further actions (e.g. deactivation of the outputs).
Data changes in the memory (e.g. by the application program or
ecomat
mobile
device) are only
permitted if the output UPDATE is set to TRUE. The value of the checksum is then recalculated. The
output RESULT is permanently TRUE again.
The start address (type WORD e.g. %MW0) must be assigned to the function via the address operator
ADR. In addition, the number of data bytes LENGTH (length as from the STARTDR) must be
indicated.
NOTE
This function is a safety function. However, the controller does not automatically become a safety
controller by using this function. Only a tested and approved controller with a special operating system
can be used as safety controller.