Appendix 3 GM Function Block Conversion Program
App3-5
3. Auxiliary function setting function block
(1) GM auxiliary function setting function block (HSCC_AUX)
- Auxiliary function setting function block sets auxiliary function of HSC module. To execute auxiliary function, execute
Enable auxiliary function after auxiliary function block acts.
Function Block
type
Classific
ation
Variable
name
Type
Contents
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
CH BOOL
Channel
Ch1
1
0
Not use
1
Count Clear
2
Count Latch
3
Sampling frequency
4
Measure input Freq.
5
Revolution/unit time
AUX USINT
Auxiliary
function
type
setting
6
Disable count
Sampling count
setting value
1 ~ 65,535(ms)
SET_
TIME
UINT
Revolution/unit time
1 ~ 65,535(ms)
SET_
PULS
UINT
No. of pulse /unit
revolution
1 ~ 65,535(pulse)
0
0 Hz
1
10 Hz
2
100 Hz
Input
FREQ
UNIT
UINT
Input
frequency
setting
3
1000 Hz
DONE BOOL
Execution status
If it completes, it outputs 1 and holds. If error occurs, it outputs 0
Output
STAT USINT
Error status
In case of error, outputs error code
Содержание 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 ...