rQx
Lifetime Supporting Member
hi!
Background on me:
Self learned programmer mostly on LOGO, s7-1200, regular HMIs and WinCC Flexible 2008 Runtime. Only smaller projects.
The "Problem":
I have a customer that is going to buy containers and equipt with a small control unit. Very small and easy program to do and only need a LOGO. The real issue here is that he will have 700 of these, not at once but he will buy some every year. These are mobile containers he will move around his grounds.
His initial thought was that he would just build one cabinet for each and have a LOGO to control it. But I think this is a bad idea. Try changing the settings on 700 LOGOs. It will take forever.
So I thought of having a master PLC like s7-1200 ( if it can handle it) and 700 slaves (LOGOs) on the containers. And one more option is to have some master containers and some slave containers (hard wired). Maybe 1 master control 2 slave container, so that I get 233 slave to control from my s7-1200.
No matter how I arrange the structure here it all comes down to how to program 700 identical units in the s7-1200 the best way.
One vision I have (don't know if it's possible) is to make one program and then somehow make a loop and control which tags are used. Example:
1. Loop slave = 1
2. Connect to slave = 1
3. GET values from slave = 1
4. Run Logic on slave = 1
5. PUT values to slave = 1
6. Done slave =1
Start Loop again but set the slave to 2 until all slaves have been gone through and the start over.
One more thought is to make it with Funtion blocks, but the downfall here is that I have to copy it 700 times and then write all the diffrent tags one by one. And when I update the function block I have to update the block on each one, = time consuming.
As a bonus question: How do you connect two subnets? 192.168.1.x and 192.168.2.x ? Is this made automaticly with a router?
Oh, and one more thing. He wan't logging from each container so that makes like 2000 logs. problem: Can a runtime system handle 2000logs? And is there a way of logging from an array in WinCC Flexible 2008 Runtime? If you can't , can you log from an array in WinCC TIA Runtime? If you can't is there a way of doing it? Maybe with script that copy the whole array to internal tags?
/Tim
Background on me:
Self learned programmer mostly on LOGO, s7-1200, regular HMIs and WinCC Flexible 2008 Runtime. Only smaller projects.
The "Problem":
I have a customer that is going to buy containers and equipt with a small control unit. Very small and easy program to do and only need a LOGO. The real issue here is that he will have 700 of these, not at once but he will buy some every year. These are mobile containers he will move around his grounds.
His initial thought was that he would just build one cabinet for each and have a LOGO to control it. But I think this is a bad idea. Try changing the settings on 700 LOGOs. It will take forever.
So I thought of having a master PLC like s7-1200 ( if it can handle it) and 700 slaves (LOGOs) on the containers. And one more option is to have some master containers and some slave containers (hard wired). Maybe 1 master control 2 slave container, so that I get 233 slave to control from my s7-1200.
No matter how I arrange the structure here it all comes down to how to program 700 identical units in the s7-1200 the best way.
One vision I have (don't know if it's possible) is to make one program and then somehow make a loop and control which tags are used. Example:
1. Loop slave = 1
2. Connect to slave = 1
3. GET values from slave = 1
4. Run Logic on slave = 1
5. PUT values to slave = 1
6. Done slave =1
Start Loop again but set the slave to 2 until all slaves have been gone through and the start over.
One more thought is to make it with Funtion blocks, but the downfall here is that I have to copy it 700 times and then write all the diffrent tags one by one. And when I update the function block I have to update the block on each one, = time consuming.
As a bonus question: How do you connect two subnets? 192.168.1.x and 192.168.2.x ? Is this made automaticly with a router?
Oh, and one more thing. He wan't logging from each container so that makes like 2000 logs. problem: Can a runtime system handle 2000logs? And is there a way of logging from an array in WinCC Flexible 2008 Runtime? If you can't , can you log from an array in WinCC TIA Runtime? If you can't is there a way of doing it? Maybe with script that copy the whole array to internal tags?
/Tim
Last edited: