
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
283
Appendix B Quickstarts
After adding the variables, your Local Variables table should look like this:
Assign Values to the HSC Variables
Next, you need to assign values to the variables you have just created. Typically, a routine is
used to assign values to your variables. For illustration purposes, this quickstart assigns
values through the Initial Value column of the Local Variables table.
1. On the Initial Value field for the MyCommand variable, type 1.
HSC Commands (HScCmd) on page 216
for more information on the description for
each value.
2. Assign values to the MyAppData variables. Expand the list of MyAppData subvariables
clicking the + sign. Set the values of the different subvariables as shown in the
following screenshot.
MyAppData.PlsEnable
allows the user to either enable o disable the PLS settings. It should be
set to FALSE (disabled) if the MyAppData variable is to be used.
MyAppData.HscID
allows the user to specify which embedded inputs will be used depending
on the mode and the type of application. See the table
HSC Inputs and Wiring Mapping on
to know the different IDs that can be used as well as the embedded inputs and its
characteristics.
If ID 0 is used, ID 1 cannot be used on the same controller since the inputs are being used by
the Reset and Hold.
In a real program, you should write a routine to assign values to your
variable according to your application.
IMPORTANT
MyAppData variable has subvariables that determine the settings of the
counter. It is
crucial
to know each one in order to determine how the
counter will perform. A quick summary is provided below but you can
also see
HSC APP Data Structure on page 202
for detailed information.
Содержание 2080-L50E-24AWB
Страница 14: ...14 Rockwell Automation Publication 2080 UM002N EN E November 2022 Notes ...
Страница 54: ...54 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 4 Wire Your Controller Notes ...
Страница 128: ...128 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 7 Program Execution in Micro800 Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 8 EtherNet IP Network Notes ...
Страница 198: ...198 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 9 Motion Control Notes ...
Страница 232: ...232 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 11 Controller Security Notes ...
Страница 260: ...260 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 12 Using microSD Cards Notes ...
Страница 266: ...266 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix A Modbus Mapping for Micro800 Notes ...
Страница 275: ...Rockwell Automation Publication 2080 UM002N EN E November 2022 275 Appendix B Quickstarts 10 Click Finish to complete ...
Страница 332: ...332 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix E PID Function Blocks Notes ...
Страница 352: ...352 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix G Connect to Networks using DF1 Notes ...
Страница 388: ...388 Rockwell Automation Publication 2080 UM002N EN E November 2022 Index Notes ...