121
Procedures
Section 3-2
The properties for all input variables will initially be displayed as follows:
• Usage: Internal
• Data Type: BOOL for contacts and WORD for channel (word)
• Initial Value: The default for the data type.
• Retain: Not selected.
3.
Make any required changes and click the
OK
Button.
4.
As shown below, the variable that was registered will be displayed in the
variable table above the program.
5.
If the type or properties of a variable that was input are not correct, double-
click the variable in the variable table and make the required corrections.
■
Reference Information
AT Settings (Specified Address)
AT settings can be made in the variable properties to specify allocation
addresses for Basic I/O Units, Special I/O Units, or CPU Bus Units, or Auxil-
iary Area addresses not registered using the CX-Programmer. A variable
name is required to achieve this. Use the following procedure to specify an
address.
1,2,3...
1.
After inputting the variable name in the New Variable Dialog Box, click the
Advanced
Button. The Advanced Settings Dialog Box will be displayed.
2.
Select
AT (Specified Address)
under
AT Settings
and input the desired ad-
dress.
The variable name is used to enter variables into the algorithm in the func-
tion block definition even when they have an address specified for the AT
settings (the same as for variables without a specified address).
For example, if a variable named
Restart
has an address of A50100 spec-
ified for the AT settings,
Restart
is specified for the instruction operand.
Array Settings
An array can be specified to use the same data properties for more than one
variable and manage the variables as a group.
Use the following procedure to set an array.
Instruction input. Function block internal variable registered.
Select
AT
. Input
address.
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...