02.09.2014 Views

ISPSoft User Manual

ISPSoft User Manual

ISPSoft User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 12 Sequential Function Chart<br />

If the programming language used to create a transition program is a structured text, there is no limit<br />

on the number of lines of program code. However, a Boolean state in a transition program must be<br />

assigned to a symbol name which is the same as the transition program name.<br />

If the programming language used to create a transition program is a function block diagram, the<br />

program code of the transition program must be composed of one network, and the output contact<br />

must be assigned a symbol name which is the same as the transition program name. Besides,<br />

multiple outputs are not allowed in a transition program created by means of a function block<br />

diagram.<br />

If the programming language used to create a transition program is an instruction list, there is no<br />

limit on the number of lines of program code. OUT, SET, RST, and applied instructions can not be<br />

used in a transition program created by means of an instruction list. Besides, the output instruction<br />

in a transition program created by means of an instruction list must be TRANS, and the operand for<br />

TRANS must be assigned a symbol name which is the same as the transition program name.<br />

When users create a transition program, a symbol name which is the same as the transition<br />

program name is added to the program code of the transition program. The users only have to<br />

create a conditional operation. Owing to the fact that the actions and the transitions in a sequential<br />

function chart share the same local symbol table, there are not local symbol tables in the program<br />

editing windows for the transitions.<br />

<strong>User</strong>s can not create a complex transition program. If a transition condition must undergo a complex<br />

operation, users can create the complex operation in an action associated with a step, create a<br />

condition flag in the action, and assign the flag to the transition following the step.<br />

Although users do not need to declare the symbols in the transition programs, the system assigns<br />

memories which function as flags to the symbols. As a result, users have to make sure that the<br />

symbols in the transition programs can be assigned a specific logic state. Otherwise, an error will<br />

12-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!