13.07.2015 Views

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

102 Using the High-Speed Counter and <strong>Programmable</strong> Limit SwitchHigh-Speed CounterFunction FileSub-Elements SummaryThe HSC is comprised of 36 sub-elements. These sub-elements are eitherbit, word, or long word structures that are used to provide control overthe HSC function, or provide HSC status information for use within thecontrol program. Each of the sub-elements and their respective functionsare described in this chapter. A summary of the sub-elements is providedin the following table. All examples illustrate HSC0.High-Speed Counter Function File (HSC:0, HSC:1, HSC:2, HSC3, HSC4 or HSC5)Sub-Element Description Address Data Format HSCModes (1)FunctionUser ProgramAccessFor MoreInformationPFN - Program File Number HSC:0.PFN word (INT) 0…9 control read only 103ER - Error Code HSC:0.ER word (INT) 0…9 status read only 103UIX - User Interrupt Executing HSC:0/UIX bit 0…9 status read only 106UIE - User Interrupt Enable HSC:0/UIE bit 0…9 control read/write 106UIL - User Interrupt Lost HSC:0/UIL bit 0…9 status read/write 107UIP - User Interrupt Pending HSC:0/UIP bit 0…9 status read only 107FE - Function Enabled HSC:0/FE bit 0…9 control read/write 104AS - Auto Start HSC:0/AS bit 0…9 control read only 104ED - Error Detected HSC:0/ED bit 0…9 status read only 104CE - Counting Enabled HSC:0/CE bit 0…9 control read/write 105SP - Set Parameters HSC:0/SP bit 0…9 control read/write 105LPM - Low Preset Mask HSC:0/LPM bit 2…9 control read/write 108HPM - High Preset Mask HSC:0/HPM bit 0…9 control read/write 110UFM - Underflow Mask HSC:0/UFM bit 2…9 control read/write 111OFM - Overflow Mask HSC:0/OFM bit 0…9 control read/write 114LPI - Low Preset Interrupt HSC:0/LPI bit 2…9 status read/write 108HPI - High Preset Interrupt HSC:0/HPI bit 0…9 status read/write 110UFI - Underflow Interrupt HSC:0/UFI bit 2…9 status read/write 112OFI - Overflow Interrupt HSC:0/OFI bit 0…9 status read/write 114LPR - Low Preset Reached HSC:0/LPR bit 2…9 status read only 109HPR - High Preset Reached HSC:0/HPR bit 2…9 status read only 111DIR - Count Direction HSC:0/DIR bit 0…9 status read only 115UF - Underflow HSC:0/UF bit 0…9 status read/write 111OF - Overflow HSC:0/OF bit 0…9 status read/write 112MD - Mode Done HSC:0/MD bit 0 or 1 status read/write 115CD - Count Down HSC:0/CD bit 2…9 status read only 115CU - Count Up HSC:0/CU bit 0…9 status read only 116MOD - HSC Mode HSC:0.MOD word (INT) 0…9 control read only 116ACC - Accumulator HSC:0.ACC long word (32-bit INT) 0…9 control read/write 125HIP - High Preset HSC:0.HIP long word (32-bit INT) 0…9 control read/write 125LOP - Low Preset HSC:0.LOP long word (32-bit INT) 2…9 control read/write 125OVF - Overflow HSC:0.OVF long word (32-bit INT) 0…9 control read/write 126UNF - Underflow HSC:0.UNF long word (32-bit INT) 2…9 control read/write 126OMB - Output Mask Bits HSC:0.OMB word (16-bit binary) 0…9 control read only 127HPO - High Preset Output HSC:0.HPO word (16-bit binary) 0…9 control read/write 129LPO - Low Preset Output HSC:0.LPO word (16-bit binary) 2…9 control read/write 129(1) For Mode descriptions, see HSC Mode (MOD) on page 116.n/a = not applicablePublication <strong>1766</strong>-<strong>RM001A</strong>-<strong>EN</strong>-P - October 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!