Hi,
I have been given the task of implementing some limited changes to an existing Siemens S7-300 application. The program was created around 2002 and I have no way of getting support from the original programmer.
Whereas I have no problem understanding and making changes in the Ladder code, when it comes to STL I'm at a complete loss. As it doesn't seem possible to convert STL to Ladder in the Step7 environment or via an external translator, I would be eternally grateful for any help converting the following STL code to Ladder:
A #Startorder
A #Enable
O #Hand
= L 0.0
A L 0.0
A #MatarpumpFlodesvakt
S #Startorder_pump
A(
A #Startorder
A #Enable
O #Hand
)
NOT
R #Startorder_pump
NOP 0
A(
A(
O(
A L 0.0
FP #PulsG1Q1B
)
O #Q1B_hand
)
S #Tatnings_vatten
A #Tatningsvattenstopp
R #Tatnings_vatten
A #Tatnings_vatten
)
L #G1G1Q1B_time
SD "G1G1Q1B_time"
NOP 0
NOP 0
NOP 0
A "G1G1Q1B_time"
= #Tatningsvattenstopp
The code regulates the starting conditions for pump operation as well as the supply of seal water to the pump.
Thanks in advance!
I have been given the task of implementing some limited changes to an existing Siemens S7-300 application. The program was created around 2002 and I have no way of getting support from the original programmer.
Whereas I have no problem understanding and making changes in the Ladder code, when it comes to STL I'm at a complete loss. As it doesn't seem possible to convert STL to Ladder in the Step7 environment or via an external translator, I would be eternally grateful for any help converting the following STL code to Ladder:
A #Startorder
A #Enable
O #Hand
= L 0.0
A L 0.0
A #MatarpumpFlodesvakt
S #Startorder_pump
A(
A #Startorder
A #Enable
O #Hand
)
NOT
R #Startorder_pump
NOP 0
A(
A(
O(
A L 0.0
FP #PulsG1Q1B
)
O #Q1B_hand
)
S #Tatnings_vatten
A #Tatningsvattenstopp
R #Tatnings_vatten
A #Tatnings_vatten
)
L #G1G1Q1B_time
SD "G1G1Q1B_time"
NOP 0
NOP 0
NOP 0
A "G1G1Q1B_time"
= #Tatningsvattenstopp
The code regulates the starting conditions for pump operation as well as the supply of seal water to the pump.
Thanks in advance!