12.07.2015 Views

GX Works 2 Operating Manual Structured Project - Automation ...

GX Works 2 Operating Manual Structured Project - Automation ...

GX Works 2 Operating Manual Structured Project - Automation ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.1 ST Editor7.1.4 Using templates1Insert templates correspond to the instructions/functions/control syntaxes on the ST editor.A template of argument is inserted when an instruction or function is entered from the Function BlockSelection window by the drag and drop operation.A template is an argument data type defined for each instruction/function or a format of control syntax.For details of data types and formats displayed in the templates, refer to the following manual.MELSEC-Q/L/F <strong>Structured</strong> Programming <strong>Manual</strong> (Fundamentals)<strong>Operating</strong> procedure1. Move the cursor to the instruction/function/control syntax entered to the ST editor.2. Select [Edit] ⇒ [Display Template] ( ).A template is inserted.3. Enter variables according to the inserted template.Delete the data type name enclosed by "?", and enter a label name or device that is equivalent tothe data type.EDITING STRUCTUREDLADDER PROGRAMS2OVERVIEWEDITING ST 8PROGRAMSPROGRAM 5CONFIGURATIONSSCREEN 3CONFIGURATIONPROGRAMMING 4PROCEDURE● Inserting templatesA template can also be inserted by right-clicking the instruction/function/control syntax entered to the ST editor andselecting [Display Template] ( ) from the shortcut menu.● Editing argumentsSelect [Edit] ⇒ [Mark Template (Left)] ( )/[Mark Template (Right)] ( ), or press + + /keys to set an argument of the template in the selected status one by one.6SETTING LABELSCOMMON OPERATIONS7OF PROGRAM EDITORS7.1.4 Using templates 7 - 5

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

Saved successfully!

Ooh no, something went wrong!