Download GX Developer Version 8 Operating Manual

Transcript
3 CREATING NEW SEQUENCE PROGRAM USING FB
MELSOFT
<ST Program>
The input variable turns ON/OFF using the
external ON/OFF information as a condition.
Inputs the external numerical information
to the input variable (word).
Controls an external output using the
ON/OFF information of the output
variable (bit) as a condition.
Outputs the numerical information from the
output variable (word) to the outside.
(3) The other FB cannot be used in the FB definition program.
(4) For the FB definition, do not create the program that jumps to outside the FB
definition. (Example: CALL instruction that jumps to a subroutine program)
(5) Create a program on the FB definition window, starting with step 0.
The FB definition program does not have an END instruction.
Entry of an END instruction will display an error.
(6) After program creation is complete, convert the program.
Make program conversion in any of the following three operations.
(a) F4 key
(b) [Convert] [Convert/Compile]
(c) Right-click on the FB definition window and then choose [Convert/Compile]
(for ladder only) .
(7) On the FB definition window, the window title is provided with "*" to indicate that the
program is not compiled.
: Not yet compiled
No marking: Already compiled
3 - 11
3 - 11