Hello to everyone,
I am building a project that will utilize three ex-rc1 units and on each one I have attached four io-atc8, two io-pt400 and one io-di8-r04.
The atc8's will read temperature readings from J thermocouples and the pt400's from normal Pt100 temp sensors. The project is a temperature and alarm monitor, the di8-r04 will only energize a siren and a lamp.
My (silly propably) question is : should I make one subroutine on each ex-rc1 for each analog io unit? I have successfully made the ex-rc1 to correctly transmit the input values from the first i/o to the HMI unit, but when I try to read from the next set of inputs I get stuck. Is it the best way to have different subroutines for each i/o, or is a simpler way?
Thank you in advance for your time reading this