Chapter 4. FUNCTION BLOCK
4.3.2 The specification of the comparison value (HSCR1CMP)
Specifies the reference value, which will be compared with the current value for the corresponding channel
of the High Speed Counter Module mounted on a remote station.
F u n c t i o n b l o c k
■ I N P U T
REQ : Function block execution request at rising edge.(
NET_NO : Location No.(0 ~ 7) of the slot where the local
communication modules (G3L – FUEA, G4L – FUEA, G3L
– FUOA) is loaded to which the function block will be
sent.
St_ N O : Station No.(0 ~ 63) of the communication modules(G3L –
RBEA, G4L – RBOA, G4L – BBEA) mounted on the
remote I/O station.
BASE: Location No. of the base unit where the High Speed
Counter Module is loaded.
(GM1 : 0~31, GM2 : 0~7, GM3/4 : 0~3, GM6 : 0)
SLOT: Location No. of the slot in the base unit where the High
Speed Counter Module is loaded.(0 ~ 7)
CH
: Specifies operating channel No. (0 ~ 1)
CMPD : Specifies the Setting value (0 ~ 16,777,215,)
CMP1 : Specifies the comparison method for the first Setting
value. (0 ~ 7)
CMP2 : Specifies the comparison method for the second Setting
value. (0 ~ 7)
[ Magnitude comparison method specification]
No.
Symbol
0
1
<
2
=
3
≤
4
>
5
≠
6
≥
7
-
■ OUTPUT
NDR : Turns on when the function block has finished without error.
Turns off at next scan.
ERR : Turns on when an error occurs during execution of the
function block.
STAT : Indicates the error that occurs during execution of the
function
*1: G4F- HSCA : " HSCR0CMP"
G6F-HSCA : " HSCR6ACP"
*2: G3F-HSCA only applicable
4 - 8
Descriptions
C o n t e n t s
Not compare
CNT < CMPD
CNT = CMPD
C N T ≤ CMPD
CNT > CMPD
C N T ≠ CMPD
C N T ≥ CMPD
CNT - CMPD
block.
)
OUT1
OUT2
LED
LED
OFF
OFF
ON
ON
ON
ON
ON
ON
ON
ON
ON
ON
ON
ON
ON
ON