9. Appendix
9.3. GM Function Block Conversion Program
Function Block Type
(c) Ring count lower limit setting
Classific
Function Block type
218
2MLF-HO2A, 2MLF-HD2A High Speed Counter Module User's Guide
Classifica
Variabl
tion
e name
DONE
Output
STAT
Variable
ation
name
REQ
BOOL
BASE
USINT
SLOT
USINT
Input
MADDR
UINT
DATA
DWORD
Honeywell
Type
input
1
mode
settin
2
g
3
4
5
6
7
Execution
BOOL
status
USINT
Error status
Type
FB execution
Base Number
Slot Number
Ch0
Channe
l
Ch1
Ring Count
lower limit
Contents
2phase 2multiplication
2phase 4multiplication
CW/CCW
1phase 1input
1multiplication(Program up/down
input)
1phase 1input
2multiplication(Program up/down
input)
1phase 2input 1multiplication(B
phase up/down input)
1phase 2input 2multiplication (B
phase up/down input)
If it completes, it outputs 1 and
holds. If error occurs, it outputs 0
In case of error, outputs error
code
Contents
Executed when changing "0->1" (
: Rising edge)
Base number where HSC
module is equipped
Slot number where HSC module
is equipped
_Fxy_CH0_RING_MIN
_Fxy_CH1_RING_MIN
-2,147,483,648 ~ 2,147,483,647
R200
May 2010
04
29