Download GX Developer Version8 Operating Manual
Transcript
3 CREATING NEW SEQUENCE PROGRAM USING FB
MELSOFT
3.2 Adding New FB Definition to the Created Project
[Setting Purpose]
Add a new FB definition for the new FB to the created project.
The FB definition consists of an FB Body and Header used to set the labels
(variables) used in the program.
[Operation Procedure]
• Choose [Project] [Edit Data] [New].
• Click the right button of the mouse on the project data list and choose [New].
[Dialog Box]
1)
4)
2)
3)
[Description]
1) Data type
Choose Function block.
2) Program type
When creating the FB, select Ladder program or ST program.
3) Data name
Set the data name (FB definition name) to be added newly.
Set the data name within eight characters.
• Usable characters
Alphanumeric characters, _, ^, $, , ~ (tilde), !, #, %, &, ( ), -, { }, @,
* (apostrophe), ' (single quotation)
• Unusable characters
Any of " = | : ; , \ [ ] + * ? <> . / will result in an error.
If the other FB definition has already been created in the project, displaying the
New dialog box sets that FB definition name in the Data name field.
3-5
3-5