High speed counter (hsc) data structures, Hsc app data structure, Pls enable (hscapp.plsenable) – Rockwell Automation 2080-LC50 Micro830 and Micro850 Programmable Controllers User Manual User Manual

Page 133: Data variable input, see, Hsc app data

Advertising
background image

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

117

Use the High-Speed Counter and Programmable Limit Switch Chapter 8

High Speed Counter (HSC)
Data Structures

The following section describes HSC data structures.

HSC APP Data Structure

Define a HSC App Data (configuration data, data type HSCAPP) when
programming a HSC. During HSC counting, the data should not be changed,
except if the configuration needs to be reloaded.

To reload HSC configuration, change the HSC APP Data, then call HSC
function block with command 0x03 (set/reload). Otherwise, the change to HSC
App Data during HSC counting will be ignored.

PLS Enable (HSCAPP.PLSEnable)

This bit enables and disables the HSC Programmable Limit Switch (PLS)
function.

When the PLS function is enabled, the setting in

• HSCAPP.HpSetting
• HSCAPP.LpSetting
• HSCAPP.HPOutput
• HSCAPP.LPOutput

are superseded by corresponding data values from PLS data. See

Programmable

Limit Switch (PLS) Function on page 137 for more information.

TIP

HSC1, HSC3, and HSC5 support mode 0, 2, 4, 6, and 8 only, and HSC0,
HSC2 and HSC4 support all counting modes.

Description

Data Format

User Program Access

PLSEnable

bit

read/write

Advertising
This manual is related to the following products: