I don't normally ask for help but this one has me stumped.
We are designing a machine with 4 stations each have a 24 pin connector with 6 inputs and 6 outputs at each station. We will have an HMI to configure which station has what module on it. There will be 12 possible modules. All the modules will be able to plug into any of the stations. Once configured on the HMI that the module is in the new station all the physical I/O for that station will need to point to the right tags in the code for the module.
I am using a 5069 series CompactLogix controller. I only have two input and two output cards. So the swapping I/O will be inputs 0-5 to 6-11 or 0-5 on the next card etc. I can't seem to just use a copy instruction to write to the I/O for some reason. I can't seem to treat the I/O like an array at all. Has anyone done something similar? Any advice on a simple way to do this dynamic internal rewiring within the PLC code?
We are designing a machine with 4 stations each have a 24 pin connector with 6 inputs and 6 outputs at each station. We will have an HMI to configure which station has what module on it. There will be 12 possible modules. All the modules will be able to plug into any of the stations. Once configured on the HMI that the module is in the new station all the physical I/O for that station will need to point to the right tags in the code for the module.
I am using a 5069 series CompactLogix controller. I only have two input and two output cards. So the swapping I/O will be inputs 0-5 to 6-11 or 0-5 on the next card etc. I can't seem to just use a copy instruction to write to the I/O for some reason. I can't seem to treat the I/O like an array at all. Has anyone done something similar? Any advice on a simple way to do this dynamic internal rewiring within the PLC code?