Programming

 

Unipro3.5

H (TEMPS)

A limit statement

here will cause the program to wait for the measured temperature to come to within +10 F (or +10 C) of the specified Setpoint. If this does not occur within the specified limit time, a limit time-out alarm will occur. If no limit statement is used, the Programmer simply sets the specified Setpoint and goes on to the next step. The maximum time that a limit statement will accept is 40 hours. Use the Programmer Status Display during a wait operation to reveal the time left before a limit time-out alarm will occur.

Branch Statements

Branch statements are best utilized when placed after inquiry statements. If neither a branch nor a limit statement is placed after an inquiry the Programmer will sit at the inquiry line indefinitely. A branch statement can immediately follow an inquiry or it can placed after the limit statement, for example:

INQUIRY or INQUIRY

BRANCHLIMIT

BRANCH

The effect of a branch after an inquiry is to jump to a specific line in the program based upon the outcome of the inquiry. The format of the branch OPCODE is b TT.FF; therefore if the outcome is true the program jumps to the step number listed first. Whereas , if the outcome is false, the program jumps to the second step.

Rev. 11.00

December 30, 1995

Page 154
Image 154
Marathon Computer V3.5 user manual Branch Statements, Branchlimit