Please tell me about VIM's CRC.
Is there a CRC storage location in the VIM area?
Please tell me how to respond to this safety function
Also, is this a safety function assuming what kind of breakdown is it?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Please tell me about VIM's CRC.
Is there a CRC storage location in the VIM area?
Please tell me how to respond to this safety function
Also, is this a safety function assuming what kind of breakdown is it?
Usually, VIM RAM is constant in the application once it is initialized. Since it is constant and based on you application, the resulting CRC can be a constant defined in your code to which you can compare the result of a CRC calculation over the VIM RAM space to insure validity of the VIM RAM content. i.e., you should be able to determine what your vectors are and run these through the same CRC algorithm offline and put the result in your code as a CONST or #define.
Hello User,
Please note that the safety mechanism VIM4 is intended to be only implemented on the VIM RAM and not the registers. The registers would be covered by the mechanism Periodic Readback of Static Control registers. The CRC is not intended to be used on dynamically changing content so the issues that Anthony has pointed out should not be a concern. If, however, you desired to do so, it isn't a forbidden practice to use the CRC for the register space just take care of the cautionary note that Anthony mentions..