
9. Appendix
9.3. GM Function Block Conversion Program
214
2MLF-HO2A, 2MLF-HD2A High Speed Counter Module User's Guide
R200
Honeywell
May 2010
R
el
T
Ch1
_F01_CH1PRESE
T
27
PSET
_VAL
DWORD
Preset range
-2,147,483,648 ~ 2,147,483,647
Output
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
ATTENTION
1. Input variable ‘MADDR’ of 2MLI/2MLR FB indicates internal memory.
Constant or Global variable is inputted. If we refer to above example,
“_F01_CH0_PRESET” is Global constant indicating “02”. Namely, if you
input “02” at “MADDR”, result of 2MLI/2MLR FB is same.
2. If you use “PUT_DINT” instead of “PUT_DWORD”, preset action is
same. At this time, data type of input variable “DATA” becomes DINT.
3. Not Preset value setting FB (HSCC_PRE) but also Mode setting function
(HSCC_NOD), Auxiliary function setting function (HSCC_AUX),
Comparison setting function (HSCC_CMP), Count read function
(HSCC_CNT), Operation information setting function (HSCC_WR),
Operation status read function (HSCC_RD), Comparison output setting
function (HSCC_OUT) apply to (1), (2).
4. When writing conversion program, if input enters REQ and next input is
connected with DONE, execution status of previous instruction should
complete to be used as input of next instruction. If it is error status, it
does not operate.
5. In case of 2MLR CPU, HSC module should be equipped at extension
base.
Содержание 2MLF-HD2A
Страница 18: ...Contents Figures xviii 2MLF HO2A 2MLF HD2A High Speed Counter Module User s Guide R200 Honeywell May 2010 ...
Страница 121: ...7 Programming 7 4 Basic Program R200 2MLF HO2A 2MLF HD2A High Speed Counter Module User s Guide 121 May 2010 Honeywell ...
Страница 178: ...7 Programming 7 6 Program 178 2MLF HO2A 2MLF HD2A High Speed Counter Module User s Guide R200 Honeywell May 2010 ...
Страница 222: ...Honeywell Process Solutions 1860 W Rose Garden Lane Phoenix AZ 85027 USA ...