Host Engineering Forum
General Category => General Discussion => Topic started by: josephngai on August 13, 2008, 04:33:16 PM
-
Hi all,
This is probably a very simple problem for those who do PLC programming on a regular basis. I have a 205 PLC with a DL260CPU. I'm trying to set up a numeric password access on my PLC that the user enters through a C-more micro touch screen. Setting up the touch screen interface is easy, but how do I:
1. Set up/store a numeric integer to be internally used as a password in my program?
2. Compare the V# (word type variable) that the user inputs via the microtouch screen to the internal numeric integer mentioned above?
Any help would be appreciated.
thanks
-
Are you sure you need a password to exist in the PLC? The CMore can provide password protection for the operation of most of the controls. The password can be a constant or it can be a V memory location in the PLC (check out the CMore password setup screen). If it is a location in the PLC then it can be modified under conditions you choose. If it is resident in the CMore then it would require a modification of the CMore program. When a PLC V memory location is used the CMore does all the comparison operations. The PLC just holds the number.