Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 222

Advertising
background image

206

Rockwell Automation Publication 2080-UM002F-EN-E - December 2013

Appendix C Quickstarts

Now that we are on debug mode we can see the values of the HSC output.
The HSC function block has two outputs, one is the STS (MyStatus) and
the other is the HSCSTS (MyInfo).

2.

Double-click the Direct Contact labeled _IO_EM_DI_05 to bring up the
Variable Monitoring window.

3.

Click the I/O Micro830 tab. Select the _IO_EM_DI_05 row. Check the
boxes Lock and Logical Value so that this input will be forced in the ON
position.

4.

Click the Local Variables tab to see any real time changes being made to the
variables. Expand the MyAppData and MyInfo variable list by clicking the
+ sign.

5.

Turn On the encoder to see the counter count up/down. For example, if
the encoder is attached to a motor shaft then turn on the motor to trigger
the HSC count. The counter value will be displayed on
MyInfo.Accumulator. MyStatus variable should display a Logical Value of
1, which means that the HSC is running.

TIP

See

HSC Function Block Status Codes on page 136

for the complete list

of status codes. For example, if the MyStatus value is 04, a configuration
error exists and the controller will . You need to check your parameters in
this case.

Advertising
This manual is related to the following products: