oldNovice
Member
I have, what I believe is, a unique application that I need to develop over the next few weeks.
I need to make an ASCII text interpreter! This involves parsing a text file of limited vocabulary and having the PLC turn on or off indicated outputs, load and wait for timers to expire, and wait for sensors to change state.
For example, the word “PROCESS” is followed by the word “TRIM” and the application does nothing more than move the word “TRIM” to a specific tag name location (so that it can be accessed by OPC). At another time, “PROCESS” may be followed by “LOADING PARTS.”
Other words, such as “WATER” can be followed by either “OPEN” or “CLOSE” which tell the PLC to open or close the water valve. While “WAIT” and “5000” tells the PLC to wait for 5 seconds.
I think that you can from these examples the task is fairly straight forward and, if carried out correctly, the PLC program will never come into question since it is just following the text instructions from the “programmer.”
My main concern is can this be done with ladder logic?
Please provide any comments as soon as possible!
Best Regards,
oldNovice
[font="][/font]
I need to make an ASCII text interpreter! This involves parsing a text file of limited vocabulary and having the PLC turn on or off indicated outputs, load and wait for timers to expire, and wait for sensors to change state.
For example, the word “PROCESS” is followed by the word “TRIM” and the application does nothing more than move the word “TRIM” to a specific tag name location (so that it can be accessed by OPC). At another time, “PROCESS” may be followed by “LOADING PARTS.”
Other words, such as “WATER” can be followed by either “OPEN” or “CLOSE” which tell the PLC to open or close the water valve. While “WAIT” and “5000” tells the PLC to wait for 5 seconds.
I think that you can from these examples the task is fairly straight forward and, if carried out correctly, the PLC program will never come into question since it is just following the text instructions from the “programmer.”
My main concern is can this be done with ladder logic?
Please provide any comments as soon as possible!
Best Regards,
oldNovice
[font="][/font]