Appendix 3 GM Function Block Conversion Program
App3-14
5. Count Read Function Block
(1) Count Read Function Block of GM (HSCC_CNT)
- Count Read Function Block indicates the count about current count and auxiliary function.
FB type
Classifi
cation
Variable
name
Type
Content
REQ BOOL
FB execution
Executed when changing “0->1” ( : Rising edge)
BASE USINT
Base Number
Base number where HSC module is equipped
SLOT USINT
Slot Number
Slot number where HSC module is equipped
Ch0
0
Input
CH BOOL
CH
Ch1
1
DONE BOOL
Execution status
If it completes, it outputs 1 and holds. If error occurs, it outputs 0
STAT USINT
Error status
In case of error, outputs error code
CNT DINT
Current Count
-2,147,483,648
2,147,483,647
∼
LTCH_CNT DINT
Count Latch
-2,147,483,648
2,147,483,647
∼
SMPL_CN
T
DINT
Sampling Count
-2,147,483,648
2,147,483,647
∼
IN_FREQ UDINT
Measure input Freq.
0
2,147,483,647
∼
Output
RPU UDINT
Revolution/Unit time
0
2,147,483
∼
,647
(2) Count Read Function Block of XGI/XGR
GM FB
XGI/XGR Function Block
Содержание XGF-HD2A
Страница 56: ...Chapter 4 Operation Procedures and Monitoring 4 12 ...
Страница 59: ...Chapter 4 Operation Procedures and Monitoring 4 15 ...
Страница 90: ...Chapter 7 Program 7 24 b Scan program of XGI XGR series ...
Страница 127: ...Appendix 3 GM Function Block Conversion Program App3 20 e Auxiliary Function Operating ...