
Chapter 4. FUNCTION BLOCK
4 - 5
4.2.3 Writing the operating information(HSC_WR)
Specifies the run status control information for the corresponding channel of the High Speed Counter
Module.
Function block
Description
■
INPUT
REQ : Function block execution request.( )
BASE : Base location No. for the loaded high speed counting module.
(GM1 : 0~31, GM2 : 0~7, GM3/4 : 0~3, GM6 : 0)
SLOT : Slot location No. for the loaded high speed counting module.
( 0 ~ 7)
CH : Specifies the operating channel No.( 0 ~ 1)
OT_E: Specifies output enable/disable (0:disable, 1:enable)
HOME :Specifies Home-Latch enable/disable (0:disable, 1:enable)
CY_R: Specifies carry/borrow reset enable/disable (0:disable,
1:enable)
EQ_R: Specifies coincidence reset enable/disable (0:disable, 1:enable)
DOWN: Specifies the increment/decrement (0:increment, 1:decrement)
CT_E : Specifies counting enable/disable (0:disable, 1:enable)
PRE_I/E : Specifies external preset input usable
(0 : external preset input disable,
1 : external preset input usable)
■
OUTPUT
DONE : Turns on when the function block has finished without error.
The On state is kept until next request.
However, turns off if error occurs during execution of the
function block.
STAT : Indicates the error that occurs during execution of the function
block.
*1: G3F-HSCA only applicable
*2: G6F-HSCA only applicable
R E Q
B A S
E
S L O
T
C H
H S C _ W R
O T _
E
H O M
E
C Y _
R
E Q _ R
D O W N
C T _
E
S T A
T
E R R
N D R
P R E
_
I / E
B O O
L
B O O
L
U S I N
T
B O O
L
B O O
L
B O O
L
B O O
L
B O O
L
B O O
L
B O O
L
B O O
L
U S I N
T
U S I N
T
U S I N
T
* 1
* 2