Hi,
I'm curious if there is a way to implement parsing a script during runtime that can be used to control 61131 programs running on the 2152. Here's some more detail of our situation. We have a PLCnext project with several 61131 applications each running a piece of our automation setup using the 2152. There is an HMI that allows a user to modify parameters as needed on the system. This is good for manual control, but we wanted more automation for routine tasks. So we've created a separate 61131 (also running on the 2152) that can read and parse a text file that contains a basic command syntax that can be used to automatically control the other 61131 applications during runtime. Each command is a single line (terminated with Linefeed, Carriage return or semicolon) includes a custom command string with several "options" or switches (these use a "-"). It's looks similar to a command used on a CLI. This seems to work very well as we can run our script and produce log files of the results. But as our system grows, we'd like to expand on our scripting capabilities to include FOR, WHILE, and IF statements. I've considered implementing this in the existing application, but all that I've read makes me think there could be a better way to use an existing parser. So that's where I have my question: is there a parser already on the PLCnext that could be used to expand my scripting capabilities or could one be implemented with ability to control 61131 apps? I saw awhile ago there was a JSON Function Block library, but that is now missing from the PLCnext store. I also saw the words "HMI – Scripting" on the PLCnext roadmap, so I was hoping this might also provide a solution. Thank you for any advice you have.