Season Greetings Folks,
I'm starting to learn some stl for siemens plc's. As a bit of learning i'm going to try the following.
Create a DB with the required information for 8 analog inputs. (Start address of analogs, No. of analogs, Hi Limit, Lo Limit etc)
Create a function that will loop through the 8 analogs, calling the parameters from the db and return the scaled value for each one back to the DB.
Has anyone done this before or is it even possible? This is just for learning so any pointers would be appreciated.
Regards,
Barry.
I'm starting to learn some stl for siemens plc's. As a bit of learning i'm going to try the following.
Create a DB with the required information for 8 analog inputs. (Start address of analogs, No. of analogs, Hi Limit, Lo Limit etc)
Create a function that will loop through the 8 analogs, calling the parameters from the db and return the scaled value for each one back to the DB.
Has anyone done this before or is it even possible? This is just for learning so any pointers would be appreciated.
Regards,
Barry.