plcnewbe Posted September 28, 2013 Report Posted September 28, 2013 I'm designign a filling machine. BUT, each fill is unique as ordered by different customers. our website will generate a code that represents the formula (ingrediants) chosen. There are over 200 possible ingrediants but the customer will be limited to 20. This "serial number" will consist of a long string of numbers. 20X6 The first 3 digets are the hopper number on the machine, the second 3 numbers in the sequence is the Qty. this 3 by3 string repeats over and over in sucession 20 times. I will be getting a spread sheet download every night with all the orders. I have to send this table, or one line at a time to the PLC where it will use the number to drive the loops in the programing and send the bottle to the various hoppers in the formula untill full. What is the best practice for this type of senerio?? john h newbeplc guy
MVP 2023 Joe Tauser Posted September 28, 2013 MVP 2023 Report Posted September 28, 2013 How are you going to get the data into the PLC? Ethernet or serially? Start looking at the Help on the Protocol block and the String functions. Joe T.
plcnewbe Posted September 30, 2013 Author Report Posted September 30, 2013 Thanks. What i can gather from the manual, is that a serial communication over the onboard com port of the vision is easyest ( no add on eithernet card needed) Make sense? It looks like I get a max of 255 characters whether text or variable per message?, haven't figured out which is best to use, or how to parse that serial number up into different registars for the program to referance and consume. Found the strings webinar, I'll bone up as much as I can bfore coming back. thanks for the heads up
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now