This is probably the newbiest question posted this year so far. Here goes..
Using STL how do you implement a load and transfer instruction that can be "condicional", like when you use the MOVE block in LAD? Regard the following code:
Using STL how do you implement a load and transfer instruction that can be "condicional", like when you use the MOVE block in LAD? Regard the following code:
I know this doesnt work since Load/Transfer are uncondicional instructions, so if I wanted to implement something like the following pseudo-code, what would I need to do?A I0.0
L 20
T QB10
How can I implement this just with STL? Is there another way to attribute values to variables besides using Load and Transfer instructions?If I0.0 == 1
then QB10 = 20
else move_along_with_your_life