
7. Programming
7.6. Program
R200
2MLF-HO2A, 2MLF-HD2A High Speed Counter Module User's Guide
145
May 2010
Honeywell
ATTENTION
1. While input contact point is ON, data is transmitted into HSC module,
since instruction PUT (Function Block PUT_DWORD) is used at scan
program example of 2MLK (2MLI/2MLR) series. Therefore, if data is
changed, it is transmitted into HSC module automatically.
2. If you program as follows, its operation become different with program
example.
a) If input contact point of function block is ON and execution of function
block is compete, ‘DONE’ becomes 1. Namely, front function block
and back function block are not executed simultaneously and from
left to right, they are executed sequently.
b) If input variable of function block is set incorrectly and error occurs,
‘DONE’ does not become 1. Namely, if error occurs at front function
block, back function block is not executed.
3. Integer can be inserted into ‘MADDR’ instead of global constant. The
operation of the following program is same with that of the front example.