9. Appendix
9.3. GM Function Block Conversion Program
Function Block
Classifi
type
cation
Output
2.
Mode setting function block of 2MLI/2MLR
Since 2MLI/2MLR cannot process Mode setting Function Block (HSCC_MOD)
at once like GM, it combines methods such as count type, pulse input type, Ring
upper/lower count to execute function block.
216
2MLF-HO2A, 2MLF-HD2A High Speed Counter Module User's Guide
Variable
Type
name
IN__
USINT
MODE
RING_MIN
DINT
RING_MAX
DINT
DONE
BOOL
STAT
USINT
Honeywell
Contents
0
2 phase 1 multiplication
1
2 phase 2 multiplication
2
2 phase 4 multiplication
3
CW/CCW
4
1phase 1input
Pulse
1multiplication(Program up/down
input
input)
type
5
1phase 1input 2multiplication
(Program up/down input)
6
1phase 2input 1multiplication (B
phase up/down input)
7
1phase 2input 2multiplication(B
phase up/down input)
Ring upper
-2,147,483,648 ~ 2,147,483,647
limit
Ring lower limit
-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
R200
May 2010