Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-04 06:01 AM . Last Modified: 2022-07-04 06:02 AM
I would like to have a way to enable access to a Status Variable bool parameter controlled by the PLC. Basically I would like to implement a "Reset" button to clear alarms which is intuituive to the user. Something like this:
Ideally I would like this button to be available only when it means something, I know how to do it on a permanent basis.
From what is on the manual for TM171 on page 160 (EIO0000002032 09/2017) , I looks like this feature might be possible to implement but I may be completely misundrestanding what is written there. If it is possible, I do not know how I can access this data.
In case it is not possible, I have found that it is possible to enable a folder vissibility based on the Access Level of each parameter inside the folder. My question here is if it is safe to change UI27 to temporarily trick the PLC to showing this button and go bak to sysPWLevel = 0 afterwards. I know that EEPROM variables have a (long but) finite number of times that can be changed but I do not know abiut hese BIOS variables.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-04 07:30 AM
Hi,
visibility can't be managed on the standard menu, you can force runtime sysPWLevel to 0/1 (no need to change UI27), but I don't like this solution because it is in conflict with the password management.
For these kind of commands: alarm reset, on/off unit...I prefer to use the Long Press in the main view of ESC and SET respectively.
You can manage it with a simple piece of code like:
IF sysKeyFunctions[1] THEN // Long Press of ESC
xAlrmRst := TRUE;
sysKeyFunctions[1] := FALSE;
END_IF;
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-04 07:30 AM
Hi,
visibility can't be managed on the standard menu, you can force runtime sysPWLevel to 0/1 (no need to change UI27), but I don't like this solution because it is in conflict with the password management.
For these kind of commands: alarm reset, on/off unit...I prefer to use the Long Press in the main view of ESC and SET respectively.
You can manage it with a simple piece of code like:
IF sysKeyFunctions[1] THEN // Long Press of ESC
xAlrmRst := TRUE;
sysKeyFunctions[1] := FALSE;
END_IF;
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-04 11:04 AM . Last Modified: 2022-07-04 12:51 PM
Thank you for your answer.
Some of the alarms are worth restricing the way they can be cleared. Particularly we had a very bad experience with an oil return control in a compressor. I would like some of the alarms to be resettable only by someone with a password.
I know this works, but I am wondering if there´s supposed to be any issue on the long term regarding the use of an EEPROM variable instead of a Status variable. Is there a limit on how many times an EEPROM variable can be written ?
IF sysKeyFunctions[1] THEN // Long Press of ESC
IF sysPwLevel = 1 THEN
xAlrmRst := sysWriteParBOOL(?AlrCfg_xResetneeded, TRUE); //AlrCfg_xrResetneede is an EEPOM variable which is cleard somewhere else
sysKeyFunctions[1] := FALSE;
END_IF;
END_IF;
How about the folders that do admit changing it´s default visibility ? Suppose I would like to hide some folders from within the project (or ussing commissioning). How do you do it ?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-07-04 10:21 PM
To your last question. You do not have a possibility to change the visiblity of values in menues in the User Interface. But if you configre values with the attribut invisible you can see them only in commisioning. If a folder has only invisible values (regarding to password level or the attribut invisible). Are the whole folder get invisible.
If you want create configuration values which are only be available via commisioning and/or Modbus but in a got structure, use a menue and the attribut invisible.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.