adccommunitymod (AutomationDirect) asked a question.

Gate Access Control

Created Date: February 11,2020

Created By: mickyfranks

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Has anyone had any experience using an AD PLC for access control? Basically a user enters a 4 digit code and the PLC verifies access or not and then enables an output. Was thinking of using 2 EA3 HMIs one for entry and one for exit to enter in an access code and the PLC would operate in my case a turnstile. Looking to see which PLC would be best suited for this.


  • adccommunitymod (AutomationDirect)

    Created Date: February 11,2020

    Created by: mickyfranks

    Has anyone had any experience using an AD PLC for access control? Basically a user enters a 4 digit code and the PLC verifies access or not and then enables an output. Was thinking of using 2 EA3 HMIs one for entry and one for exit to enter in an access code and the PLC would operate in my case a turnstile. Looking to see which PLC would be best suited for this.

  • adccommunitymod (AutomationDirect)

    Created Date: February 11,2020

    Created by: Tinker

    it seems to me just about any PLC could handle that, a CLICK or maybe P1000 might be least expensive, but personally I'd use a BRX because I like the Do-more designer a lot more than the CLICK software, and I have no experience with the productivity line.

  • adccommunitymod (AutomationDirect)

    Created Date: February 11,2020

    Created by: daakers

    We use the Click PLC for vehicle gates. These are either Hyd. operated or motor operated open and close. I think for 1 turnstile 2 stand alone access keypads and a relay would be cheaper and simpler to install JMHO

  • adccommunitymod (AutomationDirect)

    Created Date: February 11,2020

    Created by: mickyfranks

    I guess the part I failed to mention is that there is a code for each user. What would be the best way in logic to accomplish this, besides a rung comparing each code or a range of codes?

    My main reason for trying to use a PLC is that I have other AB PLCs being controlled with Ignition. I was hoping to use an AD PLC to control the turnstile and have Ignition log entries for in/out to be used in the main monitoring application to see real-time who is onsite.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 11,2020

    Created by: Bolt

    Sounds like you would like to enter the code of the keypad/HMI, then compare it to the database in Ignition. I'm sure this could be done with almost anything via Modbus TCP or RTU, but I bet you'd be much happier with a BRX. Heck, it would be easy to do with just a BRX, HMI, and SD card or a web server. So many options...

  • adccommunitymod (AutomationDirect)

    Created Date: February 11,2020

    Created by: mickyfranks

    Sounds like you would like to enter the code of the keypad/HMI, then compare it to the database in Ignition. I'm sure this could be done with almost anything via Modbus TCP or RTU, but I bet you'd be much happier with a BRX. Heck, it would be easy to do with just a BRX, HMI, and SD card or a web server. So many options...

    Will have to look more into the BRX modules, not real familiar with them.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 12,2020

    Created by: Todd Dice

    Will have to look more into the BRX modules, not real familiar with them.

    Not gate access, but I compare 200 part numbers in a FOR/Next loop using a P1K based on what's keyed in a C-more. I'm a Productivity user as I came from the A-B Contrologix/RSLogix environment, and P-Suite was most familiar.

  • adccommunitymod (AutomationDirect)

    Created Date: February 12,2020

    Created by: NateS

    I'm actually currently doing something very similar to what you are looking for. We use Do-More processors in most of our production equipment. When an employee number or job number is entered, I have Ignition run a query to the database and make sure those numbers are valid. It then sends a true condition via boolean to the PLC that it is ok to run. You could basically do the same thing with the passwords and use the true boolean condition to start the operation of the turnstile. Connecting a Do-More (BRX) to Ignition through modbus is actually very simple.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 12,2020

    Created by: mickyfranks

    I'm actually currently doing something very similar to what you are looking for. We use Do-More processors in most of our production equipment. When an employee number or job number is entered, I have Ignition run a query to the database and make sure those numbers are valid. It then sends a true condition via boolean to the PLC that it is ok to run. You could basically do the same thing with the passwords and use the true boolean condition to start the operation of the turnstile. Connecting a Do-More (BRX) to Ignition through modbus is actually very simple.

    Are you using a tag change script or transaction group to do this?

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: February 12,2020

    Created by: NateS

    I created a boolean query tag and had it write that value to an OPC tag back to the PLC (in Igntion 8.0 they got rid of the "write to an OPC tag " check box, so I had to actually script that with a tag change script...ugh).

    This is what the script in the query tag looks like:

    select cast (count(employee.employee) as bit)

    from dbo.Employee

    where employee.Employee = '{ ../PLC_STRINGS/EMPLOYEE_ID} '

    I only use transaction groups for making database entries. This was just the easier way to do a query.

    Expand Post