Omron FQM1-MMP21, FQM1-CM001, FQM1-MMA21 operation manual Counter Area, I/O Memory, Appendix B

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 329
Image 329
Appendix B

I/O Memory

 

 

 

Appendix B

 

The following table shows when timer PVs and Completion Flags will be reset.

 

 

 

 

 

 

 

 

Instruction

Mode change

FQM1 startup

Operation in jumps

Operation in interlocks

 

 

between

 

(JMP-JME) or tasks on

(IL-ILC)

 

 

PROGRAM and

 

standby

 

 

 

RUN/MONITOR

 

 

 

 

TIMER: TIM

PV 0

PV 0

PVs refreshed in operat-

PV SV

 

 

Flag OFF

Flag OFF

ing timers

(Reset to SV.)

 

HIGH-SPEED TIMER:

 

TIMH(015)

 

 

 

Flag OFF

 

 

 

 

 

 

 

ONE-MS TIMER:

 

 

 

 

 

TMHH(540)

 

 

 

 

 

 

 

 

 

 

Note The present value of TIM, TIMH(015), and TMHH(540) timers programmed will be updated even when jumped between JMP and JME instructions.

Counter Area

The 256 counter numbers (C0000 to C0255) are shared by the CNT and CNTR(012) instructions. Counter Completion Flags and present values (PVs) for these instructions are accessed with the counter numbers.

When a counter number is used in an operand that requires bit data, the counter number accesses the Completion Flag of the counter. When a counter number is used in an operand that requires word data, the counter number accesses the PV of the counter.

Note It is not recommended to use the same counter number in two counter instructions because the counters will not operate correctly if they are counting simultaneously. If two or more counter instructions use the same counter number, an error will be generated during the program check, but the counters will operate as long as the instructions are not executed in the same cycle.

The following table shows when counter PVs and Completion Flags will be reset.

Instruction

Reset

Mode change

FQM1

At reset input

Operation in

 

 

between

startup

 

interlocks (IL-

 

 

PROGRAM and

 

 

ILC)

 

 

RUN/MONITOR

 

 

 

 

 

 

 

 

 

COUNTER: CNT

PV 0000

Maintained

Reset

Reset

Maintained

 

Flag OFF

 

 

 

 

REVERSIBLE

 

 

 

 

COUNTER: CNTR(012)

 

 

 

 

 

 

 

 

 

 

 

Counter Completion Flags can be force-set and force-reset.

Counter PVs cannot be force-set or force-reset, although the PVs can be refreshed indirectly by force- setting/resetting the Completion Flag.

There are no restrictions in the order of using counter numbers or in the number of NC or NO conditions that can be programmed. Counter PVs can be read as word data and used in programming.

306

Page 329
Image 329
Omron FQM1-MMP21, FQM1-CM001, FQM1-MMA21 operation manual Counter Area, I/O Memory, Appendix B