Hi All!
I'm converting an old IPC 620-30 to ControlLogix and there are a couple of things I would like to understand.
I can't get this to display my ladder logis properly, I hope You can see what I meant to show (the system eats my space caracter)
I THINK i MANAGED TO UPLOAD THIS AS A TXT DOCUMENT
First the timer function - This is how it looks in the program:
1153 2500
--| |----(TON)
4521
PRS
2
4522
ACC
0
This is a normal timer ON delay - right?
If I want the timer to activate a coil is this the way to do it?
2500 1244
--| |--------( )
In the program I have some rungs that consern an analog input (1314)
it looks like this:
5509 5510
--|B2|----(S2)
5508 5509
--|B2|----(S2)
5507 5508
--|B2|----(S2)
It continues until
5500 5502
--|B2|----(S2)
Then comes:
5506 5507 5508 5509 5510 5512
--|B2|----|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--(S2)
5501 5502 5503 5504 5505 5511
--|B2|----|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--(S2)
5511 5512 5513
--|B2|----|+|--|B2|--|x|--|K2|--|/|--|K2|----(S2)
1 10
1314 5500
--(PUL)----(PSH)
5500 5501
--|B2|----|-|--|K2|--|x|--|K2|--|/|--|K2|----(S2)
820 2000 3275
The first set of rungs could be MOVE instructions i.e. value from Tag 5509 is moved into Tag 5510 and so on.
And the last two rungs I think is getting the value from the analog input (PUL) and store it in 5500 (PSH), both instructions are propably bitwise?
But why all the adding? I would take the value in 5500 and multiply it with 9 looking at this code, but is that what happens and why?
Any help will be greatly appreciated.
Regards,
Michal_dk
I'm converting an old IPC 620-30 to ControlLogix and there are a couple of things I would like to understand.
I can't get this to display my ladder logis properly, I hope You can see what I meant to show (the system eats my space caracter)
I THINK i MANAGED TO UPLOAD THIS AS A TXT DOCUMENT
First the timer function - This is how it looks in the program:
1153 2500
--| |----(TON)
4521
PRS
2
4522
ACC
0
This is a normal timer ON delay - right?
If I want the timer to activate a coil is this the way to do it?
2500 1244
--| |--------( )
In the program I have some rungs that consern an analog input (1314)
it looks like this:
5509 5510
--|B2|----(S2)
5508 5509
--|B2|----(S2)
5507 5508
--|B2|----(S2)
It continues until
5500 5502
--|B2|----(S2)
Then comes:
5506 5507 5508 5509 5510 5512
--|B2|----|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--(S2)
5501 5502 5503 5504 5505 5511
--|B2|----|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--|B2|--|+|--(S2)
5511 5512 5513
--|B2|----|+|--|B2|--|x|--|K2|--|/|--|K2|----(S2)
1 10
1314 5500
--(PUL)----(PSH)
5500 5501
--|B2|----|-|--|K2|--|x|--|K2|--|/|--|K2|----(S2)
820 2000 3275
The first set of rungs could be MOVE instructions i.e. value from Tag 5509 is moved into Tag 5510 and so on.
And the last two rungs I think is getting the value from the analog input (PUL) and store it in 5500 (PSH), both instructions are propably bitwise?
But why all the adding? I would take the value in 5500 and multiply it with 9 looking at this code, but is that what happens and why?
Any help will be greatly appreciated.
Regards,
Michal_dk
Last edited: