beautypg.com

Maple Systems 5000HD Series User Manual

Page 199

background image

EZwarePlus Programming Manual

193

1010-1015, Rev. 03

To log in from a keypad:

1. Create an ASCII Input object, addressed to ([Control Address] + 4), length 8 words, for the User Name.

2. Create an ASCII Input object, addressed to ([Control Address] + 12), length 8 words, for the Password.

3. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 1.

4. When the project is run, enter the User Name and Password, then touch the Set Word object.

To log in from an Option List:

1. Create an Option List with User account selected for the Source of item data. Configure the Monitor

Address as ([Control Address] + 2).

2. Create an ASCII Input object, addressed to ([Control Address] + 12), length 8 words, for the Password.

3. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 2.

4. When the project is run, choose the desired User Name from the Option List, enter the Password, then touch

the Set Word object.

To add a permanent user at runtime:

1. Create an ASCII Input object, addressed to ([Control Address] + 4), length 8 words, for the User Name.

2. Create an ASCII Input object, addressed to ([Control Address] + 12), length 8 words, for the Password.

3. Create 12 Toggle Switch objects, addressed to ([Control Address] + 3), bits 00 to 12.

4. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 5.

5. When the project is run, enter the User Name and Password, set the appropriate bits for the Access Class

privileges, then touch the Set Word object.

To add a temporary user at runtime:

1. Create an ASCII Input object, addressed to ([Control Address] + 4), length 8 words, for the User Name.

2. Create an ASCII Input object, addressed to ([Control Address] + 12), length 8 words, for the Password.

3. Create a Numeric Input object, addressed to ([Control Address] + 2), 1 word, 16-bit Signed, for the Duration.

4. Create 12 Toggle Switch objects, addressed to ([Control Address] + 3), bits 00 to 12.

5. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 6.

6. When the project is run, enter the User Name, Password, and Duration, set the appropriate bits for the

Access Class privileges, then touch the Set Word object.

To delete a user by name:

1. Create an ASCII Input object, addressed to ([Control Address] + 4), length 8 words, for the User Name.

2. Create a Set Word object, addressed to (Control Address), configured to write a constant value of 7.

3. When the project is run, enter the User Name, then touch the Set Word object.

This manual is related to the following products: