Chapter 16. Built-in high speed counter of GM6-CPUC
16-8
C H S C _ P R E
C H S C _ P R E
GM1
GM2
GM3
GM4
GM5
GM6
λ
FUNCTION BLOCK
Description
REQ
STAT
DONE
BOOL
CHSC_PRE
BOOL
USINT
PSET
UDINT
I n p u t
REQ : Request signal for F/B execution
PSET : Set the preset value (0 ~ 16,777,215)
O u t p u t
DONE : Turns on after the F/B is executed with no
error.
STAT : Indicates the operation status of F/B
- When the PRE_I/E is set as 0 (Preset input by sequence program), the current
value of HSC is changed as the assigned preset value with the rising edge of REQ
input.
- When the PRE_I/E is set as 1 (Preset input by external preset input), the current
value of HSC is changed as the assigned preset value with the rising edge of
external preset input. At this time, the REQ input of CHSC_PRE is ignored.
- The CY output is set off while the CHSC_PRE F/B is executing.
- The CHSC_PRE F/B is disabled while the CT_E input of CHSC_WR F/B is 0 (Counter
disabled).
Set the preset value of HSC