![background image](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526134.webp)
119
Procedures
Section 3-2
Creating the Algorithm
Using a Ladder Program
1,2,3...
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.
Note
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.
Note
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.
Summary of Contents for CS1-H Series
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS...
Page 15: ...xvi Application Precautions 4...
Page 151: ...136 Procedures Section 3 2...
Page 153: ...138 Data Types Appendix A...
Page 177: ...162 External Variables Appendix C...
Page 181: ...166 Revision History...