IDEC MicroSmart User Manual

Page 176

Advertising
background image

6: A

LLOCATION

N

UMBERS

6-12

« FC4A M

ICRO

S

MART

U

SER

S

M

ANUAL

»

M8032, M8036, M8042, M8046 High-speed Counter Reset Input

When M8032 or M8046 is turned on while two-phase high-speed counter 1 or 4 is enabled, the current value in D8045 or
D8051 is reset to the value stored in D8046 or D8052 (high-speed counter reset value) and the two-phase high-speed
counter counts subsequent input pulses starting at the reset value.

When M8032, M8036, M8042, or M8046 is turned on while single-phase high-speed counter 1, 2, 3, or 4 is enabled, the
current value in D8045, D8047, D8049, or D8051 is reset to 0, respectively.

M8050-M8077 Special Internal Relays for Modem Mode

See page 27-2.

M8080-M8117 Special Internal Relays for Data Link Communication

See page 25-6.

M8120 Initialize Pulse

When the CPU starts operation, M8120 turns on for a period of one scan.

M8121 1-sec Clock

While M8001 (1-sec clock reset) is off, M8121 generates clock
pulses in 1-sec increments, with a duty ratio of 1:1 (500 ms on and
500 ms off).

M8122 100-ms Clock

M8122 always generates clock pulses in 100-ms increments,
whether M8001 is on or off, with a duty ratio of 1:1 (50 ms on and
50 ms off).

M8123 10-ms Clock

M8123 always generates clock pulses in 10-ms increments,
whether M8001 is on or off, with a duty ratio of 1:1 (5 ms on and 5
ms off).

M8124 Timer/Counter Preset Value Changed

When timer or counter preset values are changed in the CPU module RAM, M8124 turns on. When a user program is
downloaded to the CPU from

WindLDR

or when the changed timer/counter preset value is cleared, M8124 turns off.

Timer or counter preset and current values can be changed using

WindLDR

without transferring the entire program to the

CPU again (see pages 7-8 and 7-10). When a timer or counter is designated as a destination of an advanced instruction, the
timer/counter preset value is also changed.

M8125 In-operation Output

M8125 remains on while the CPU is running.

M8130 High-speed Counter 1 (I0-I2) Reset Status (ON for 1 scan)

When reset input I2 is turned on while high-speed counter 1 is enabled either in two-phase or single-phase high-speed
counter mode, M8130 turns on for one scan to indicate that the high-speed counter 1 current value is reset. When reset
input special internal relay M8032 is turned on, M8130 does not turn on.

M8131 High-speed Counter 1 (I0-I2) Current Value Overflow (two-phase high-speed counter) (ON for 1 scan)

High-speed Counter 1 (I0-I2) Comparison ON Status (single-phase high-speed counter) (ON for 1 scan)

When the current value of high-speed counter 1 exceeds 65535 while two-phase high-speed counter is enabled, M8131
turns on for one scan.

When the current value of high-speed counter 1 reaches the preset value while single-phase high-speed counter is enabled,
M8131 turns on for one scan.

1 scan time

Star t

M8120

M8121

500 ms

1 sec

500 ms

M8122

50 ms

100 ms

50 ms

M8123

5 ms

10 ms

5 ms

Advertising