01-08-2024 10:18 AM
Hello dear colleagues,
I have encountered an issue with the PNOZmulti 2 object, and now I need your help!
To obtain the project checksum, I need to send "80 (HEX)" to the "Table Number" and "0" to the "Segment Number" (as shown in Picture 1 in the attachment).
The Table Number is automatically linked to the variable "Peripherals._A101S._output.TableNo" (refer to Picture 2 in the attachment).
However, when I attempt to set a value to this variable using "Peripherals._A101S._output.TableNo := 80;", an error occurs: '_output' is not an input of 'EcPzPnozMulti2' (see Picture 3 in the attachment).
Are there any solutions to set a value to this variable in the program?
Alternatively, is there a method to obtain a correct project checksum?
Thank you in advance!
01-10-2024 09:33 AM - edited 01-10-2024 09:34 AM
You must add the PNOZmulti 2 add-on (NexeedPzPnozMulti2Addon) to your project. The add-on includes an HMI that shows the checksum, date, etc.
All information are also available in the PLC via the add-on's OutImm structure.
01-11-2024 04:42 AM
Thank you for your reply, but it seems that there might be some confusion in understanding my issue.
Initially, I could retrieve the checksum value through the PNOZmulti 2 peripheral, but the value was 0, which is incorrect (please refer to the provided picture point1).
I consulted Pilz's supplier, and they mentioned that, in order for PNOZmulti 2 to return the correct checksum value, I need to set TableNo to 80 and SegmentNo to 0 (as it is originally 0, there is no need to set it). Otherwise, regardless of my attempts to read, the checksum value is incorrect. I tried using "Peripherals._A101S._output.TableNo:=80;" to set the TableNo of PNOZmulti 2 to 80, but encountered an error: "'_output' is not an input of 'EcPzPnozMulti2'" (please refer to picture3 in your original message). Therefore, I'm unable to set TableNo to 80 within the program, and this is my problem.
Currently, I am using an addon to read the checksum and still find it to be 0, which is incorrect (please refer to the picture point2).
Additionally, within the addon, I haven't discovered any METHOD or INPUT that allows me to set TableNo to 80.
Therefore, I would like to know if there is any method to set TableNo to 80 so that PNOZmulti can return the correct checksum value.
01-11-2024 10:58 AM
The peripheral automatically reads out all tables cyclically and the add-on shows you the data. You can't read the tables manually.
The peripheral starts with table 70, afterwards table 80. That means if you can't see table 80, either reading table 70 or 80 fails.