Hi there
I am trying to write a generic peice of code for some compressor applications. I would like write a code which involves less repetition. For example here are some of my thoughts......
I want to take a basic I/O list probablly in the form of excel sheet
Create the tags from this excel sheet of type lets say generic data type (a user defined datatype which will have all the members i need to execute)
Problem i am facing in my head is as follows: Lets say i create two tags called "Oil Pressure" and "Speed" of type generic datatype. Although they both will have access to all the members of datatype generic but when it comes on shutdown logic then i have to write shutdown for each point or tag indivdually which involves a lot of repitition. I want to avoid this by writing say a generic shutdown logic and somehow mapped this points to that logic......Is there any other way of doing it.....your help will highly be appreciated....thanks in advance
I am trying to write a generic peice of code for some compressor applications. I would like write a code which involves less repetition. For example here are some of my thoughts......
I want to take a basic I/O list probablly in the form of excel sheet
Create the tags from this excel sheet of type lets say generic data type (a user defined datatype which will have all the members i need to execute)
Problem i am facing in my head is as follows: Lets say i create two tags called "Oil Pressure" and "Speed" of type generic datatype. Although they both will have access to all the members of datatype generic but when it comes on shutdown logic then i have to write shutdown for each point or tag indivdually which involves a lot of repitition. I want to avoid this by writing say a generic shutdown logic and somehow mapped this points to that logic......Is there any other way of doing it.....your help will highly be appreciated....thanks in advance