Compact Logix database handshaking

csrowland

Member
Join Date
Feb 2009
Location
Indiana
Posts
7
Okay, here is the situation. My PLC is a compact logix 5000, my HMI a Versa-View running Factorytalk. I need to create a database that contains a list of part numbers and those part numbers will give us certain information about the part (i.e. height, weight, ect.). I am using a bar code scanner to obtain the part number in the plc; then I need to look up the part number in the database on the Versa-View, then handshake the information (there again the height, weight, ect.) that back to the PLC. I have all of the code written for the PLC but am ignorant when it comes to the database and even more ignorant handshaking with it. Can anyone point me in the right direction? I don't really even know how to start :sick: Thanks
 
I havent used Factorytalk standard (only ME) but I would assume that it would have SQL commands.
My advice would be to create an ODBC connection to the database on the versaview and then run an appropriately configured SQL command in factorytalk when a new part number arrives. This will return the parameters you need which you can then transfer down to the PLC.
It should be relatively easy to program, though if you havent used databases before, there will be a steep learning curve.
 
Thanks Chris. No I have never programed SQL before so I know that I have alot ahead on me. Do you have any suggestions or references that would give examples? anything would help!
 

Similar Topics

Hello, For my general information and knowledge, how is querying and storing data from a AB PLC (Compact or Control Logix) typically...
Replies
15
Views
7,412
Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
101
gents, I am trying to configure communication with EMERSON PK300 controller through port A1 using generic ethernet communication module . I could...
Replies
0
Views
115
I've blown the Output Transistor on the Output Card of a Compact Logix 1769-L24ER-QBFC1B It says J378. Does anyone know the replacement part...
Replies
3
Views
205
I am having trouble with getting no control of my analog output signal. I am using the SCL function block to control my analog output. The logic...
Replies
11
Views
257
Back
Top Bottom