Honeywell 2MLF-HO2A User Manual page 214

High speed counter module
Table of Contents

Advertisement

9. Appendix
9.3. GM Function Block Conversion Program
Output
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.
214
2MLF-HO2A, 2MLF-HD2A High Speed Counter Module User's Guide
R
PSET
DWORD
_VAL
DONE
BOOL
STAT
USINT
Honeywell
el
T
_F01_CH1PRESE
Ch1
T
Preset range
-2,147,483,648 ~ 2,147,483,647
If it completes, it outputs 1 and
Execution status
holds. If error occurs, it outputs 0
Error status
In case of error, outputs error code
27
R200
May 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

2mlf-hd2a

Table of Contents