Chapter 4. FUNCTION BLOCK
4.2.4 Reading the value of the operating status (HSC_RD)
Reads the current value and operating status for the corresponding channel of the High Speed Counter
Module.
F u n c t i o n b l o c k
H S C _ R D
C N T
O U T
O U T 2
U P
H O M E
C Y
BW
■ I N P U T
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 run channel No ( 0 ~ 1)
■ 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.
C N T : Current count value read from the High Speed Counter Module
OUT1: OUT1 status ( 0:Off. 1:On)
OUT2: OUT2 status ( 0:Off, 1:On)
UP
: Increment/decrement status (0:decrement, 1:increment)
HOME: Home signal input status ( 0:Off, 1:On)
CY
:Carry signal status ( 0:Off, 1:On)
BW
:Borrow signal status ( 0:Off, 1:On)
*1: G3F-HSCA only applicable
4 - 6
Descriptions
)
(0~16,777,215)