Omron CX-PROGRAMMER 5.0-FUNCTION BLOCK OPERATION Operation Manual page 134

Function blocks
Table of Contents

Advertisement

Procedures
Creating the Algorithm
1,2,3...
Note
Note
Using a Ladder Program
1. Press the C Key and select aaa registered earlier from the pull-down menu
in the New Contact Dialog Box.
2. Click the OK Button. A contact will be entered with the function block inter-
nal variable aaa as the operand (variable type: internal).
The rest of the ladder program is input in exactly the same way as for stan-
dard programs with CX-Programmer.
Addresses cannot be directly input for instruction operands within function
blocks. Only Index Registers (IR) and Data Registers (DR) can be input
directly as follows (not as variables): Addresses DR0 to DR5, direct specifica-
tions IR0 to IR15, and indirect specifications ,IR0 to ,IR15.
Using Structured Text
An ST language program (see note) can either be input directly into the ST
input area or a program input into a general-purpose text editor can be copied
and then pasted into the ST input area using the Paste Command on the Edit
Menu.
The ST language conforms to IEC61131-3. Refer to Appendix B Structured
Text (ST Language) Specifications for details.
Press the C Key and select aaa registered earlier
from the pull-down menu in the New Contact Dialog Box.
Contact entered with function block
internal variable aaa as operand.
Section 3-2
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-programmer 5.0Sysmac ws02-cxpc1-e-v50Cs1-hCj1-hCj1m

Table of Contents