(Okay, so I know to a lot of you I'm going to sound really stupid for asking this but here goes...)
I want to write a structured text program that uses the jump and lbl functions, but every time i try i get this error almost immediatley when i download the program:
"Error in communication
An error occurred while online:
Time-out error for receive data
Do you want to go offline?
Yes/No"
the functions look like this
JP(?Num_ANY16?);
LBL(?Num_ANY16?);
and i've tried changing up my syntax in case i was doing that wrong, but apparently i just don't have any idea how to use these two in text (or at all). what i want to do is something like this...
if A=B then
<jump to X>
else if A > B then
do something
else if A < B then
<receive jump>
do something else
end if
...(let's assume for the moment that it makes sense for me to have a seperate place for A=B and A<B) is this completely impossible? is there another function i should be using? please help.
I want to write a structured text program that uses the jump and lbl functions, but every time i try i get this error almost immediatley when i download the program:
"Error in communication
An error occurred while online:
Time-out error for receive data
Do you want to go offline?
Yes/No"
the functions look like this
JP(?Num_ANY16?);
LBL(?Num_ANY16?);
and i've tried changing up my syntax in case i was doing that wrong, but apparently i just don't have any idea how to use these two in text (or at all). what i want to do is something like this...
if A=B then
<jump to X>
else if A > B then
do something
else if A < B then
<receive jump>
do something else
end if
...(let's assume for the moment that it makes sense for me to have a seperate place for A=B and A<B) is this completely impossible? is there another function i should be using? please help.