X8 Instruction Set Reference Manual
5-6
Using the High-Speed Counter and Programmable Limit Switch
The FunctionEnabled is a status/control bit that defines when the HSC
interrupt is enabled, and that interrupts generated by the HSC are processed
based on their priority.
This bit can be controlled by the user ladder program or is automatically set by
the AutoStart bit is enabled.
AutoStart
The AutoStart is stored as part of the user program and is used when the HSC
function is automatically started if the X8 Series PLC is in run or test mode.
The CountingEnabled bit must also be set to enable the HSC functions.
CountingEnabled
The Counting Enabled control bit is used to enable or disable the High-Speed
Counter. When this bit is changed from set (1) to clear (0) , counting is . If this
bit is disabled while the counter is running, the accumulated value is held; if
the bit is then set, counting resumes.
This bit can be controlled by the user program and retains its value through a
power cycle.
SetParamters
The SetParamters control bit is used to load new variables to the HSC. This bit
is controlled by the user program and retains its value through a power cycle.
Address
Data Format
HSC Mode
Function
User Program
Access
HSC.0.AutoStart
Bit
0~9
Control
Read Only
Address
Data Format
HSC Mode
Function
User Program
Access
HSC.0.CountingEnabled
Bit
0~9
Control
Read / Write
Description
Data Format
HSC Mode
Function
User Program
Access
HSC.0. SetParameters
Bit
0~9
Control
Read / Write
Summary of Contents for X8 Series
Page 1: ...Catalog Number s X8 M14DDT X8 M16DDR X8 M32DDT X8 Instruction Manual Reference Manual ...
Page 16: ......
Page 64: ...X8 Instruction Set Reference Manual 2 12 X8 Series PLC Memory and Data Table ...
Page 166: ...X8 Instruction Set Reference Manual 7 8 Relay Type Bit Instructions ...
Page 180: ...X8 Instruction Set Reference Manual 8 14 Timer and Counter Instructions ...
Page 205: ...X8 Instruction Set Reference Manual Math Instructions 10 17 ...
Page 206: ...X8 Instruction Set Reference Manual 10 18 Math Instructions ...
Page 212: ...X8 Instruction Set Reference Manual 11 6 Converion Instructions ...
Page 218: ...X8 Instruction Set Reference Manual 12 6 Logical Instructions ...
Page 236: ...X8 Instruction Set Reference Manual 15 8 Shift and FIFO LIFO Instructions ...
Page 242: ...X8 Instruction Set Reference Manual 16 6 Sequencing Instructions ...
Page 252: ...X8 Instruction Set Reference Manual 18 4 Input and Output Instructions ...
Page 280: ...X8 Instruction Set Reference Manual 20 12 PID Control ...
Page 296: ...X8 Instruction Set Reference Manual 21 16 ASCII Instructions ...
Page 308: ...X8 Instruction Set Reference Manual 22 12 Communications Instructions ...
Page 312: ...Appendix A 4 System Error Code ...
Page 313: ...Appendix B MSG Instruction Error Code MSG Instruction Error Code ...
Page 322: ...Appendix B 10 MSG Instruction Error Code ...
Page 325: ...ASCII Character Set Appendix C 3 ...
Page 326: ...Publication number X8 RM001A EN September 2012 ...
Page 327: ...Copyright 2012 RS Automation Co Ltd All rights reserved ...