Hello all, I am working for a material handling company that specializes in high speed sortation and distribution systems. Our company standard was PC based VLC up until recently. As of late we have been migrating towards RSLogix5000 and the CompactLogix platform in an attempt to appeal to a wider customer base. That being said this is the first time we have done any sort of sorter conveyor tracking in ladder and I am running into a few walls.
First off, the basic overview is that I have a piece of conveyor with 22 divert stations along its length and am tracking the conveyor position with an encoder. At the induction of the belt I receive a string from a host system that tells me the package ID as well as which lane I am to divert it to.
My current problems are twofold, first, I would need to monitor the string tag that comes from the host so that I know to parse out the data when new data is present. My first thought was to use a simple NEQ but the string can be alphanumeric so any sort of DINT or REAL is not available to me.
Second, tracking down the conveyor is giving me fits as well. I currently have the encoder mated with a ONS bit to increment a counter every time the encoder pulses. My first thoughts were to input package data into a FIFO array using the counter value + the lane location as the position of the FFL, but I am not allowed to put a tag in that place. (My thoughts were to unload the FIFO every encoder count and when the unloaded value was not equal to 0 I would know to fire the divert solenoid).
Hopefully someone has some ideas on this subject, or maybe I am going about it totally wrong. Thanks for your help.
First off, the basic overview is that I have a piece of conveyor with 22 divert stations along its length and am tracking the conveyor position with an encoder. At the induction of the belt I receive a string from a host system that tells me the package ID as well as which lane I am to divert it to.
My current problems are twofold, first, I would need to monitor the string tag that comes from the host so that I know to parse out the data when new data is present. My first thought was to use a simple NEQ but the string can be alphanumeric so any sort of DINT or REAL is not available to me.
Second, tracking down the conveyor is giving me fits as well. I currently have the encoder mated with a ONS bit to increment a counter every time the encoder pulses. My first thoughts were to input package data into a FIFO array using the counter value + the lane location as the position of the FFL, but I am not allowed to put a tag in that place. (My thoughts were to unload the FIFO every encoder count and when the unloaded value was not equal to 0 I would know to fire the divert solenoid).
Hopefully someone has some ideas on this subject, or maybe I am going about it totally wrong. Thanks for your help.