Dedicated Instructions - Mitsubishi Electric MELSEC-L02SCPU User Manual

Cpu module, built-in i/o function
Table of Contents

Advertisement

8.10

Dedicated Instructions

The following table lists and describes dedicated instructions for the high-speed counter function.
Ex.
The current value read instruction for CH1 is ICCNTRD1(P) and for CH2 is ICCNTRD2(P).
Instruction
CH1
CH2
ICCNTRD1(P)
ICCNTRD2(P)
ICRNGWR1(P)
ICRNGWR2(P)
ICPREWR1(P)
ICPREWR2(P)
ICLTHRD1(P)
ICLTHRD2(P)
ICSMPRD1(P)
ICSMPRD2(P)
ICCOVWR1(P)
ICCOVWR2(P)
ICFCNT1
ICFCNT2
ICRCNT1
ICRCNT2
ICPLSRD1(P)
ICPLSRD2(P)
ICPWM1
ICPWM2
Description
Stores the current counter value in the special register.
Sets the upper limit value and lower limit value of a ring counter.
Sets a preset value (a value to replace another).
Stores a latch counter value.
Stores a sampling count value.
Sets a coincidence output No.n point.
Measures frequency.
Measures rotation speed.
Stores a measured pulse value.
Outputs PWM waveforms.
CHAPTER 8 HIGH-SPEED COUNTER FUNCTION
Reference
Page 242, Section 8.10.1 (1)
Page 243, Section 8.10.1 (2)
Page 245, Section 8.10.1 (3)
Page 246, Section 8.10.1 (4)
Page 248, Section 8.10.1 (5)
Page 250, Section 8.10.1 (6)
Page 252, Section 8.10.1 (7)
Page 253, Section 8.10.1 (8)
Page 254, Section 8.10.1 (9)
Page 255, Section 8.10.1
(10)
8
241

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents