Icsmprd Instruction - Mitsubishi MELSEC-L series Programming Manual

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

8.2.5

ICSMPRD instruction

ICSMPRD1(P)
ICSMPRD2(P)
Structured ladder
ICSMPRD1
EN
ENO
d
Input argument
EN:
Executing condition
Output argument
ENO:
Execution result
Start number of the device in which the sampling count value
d:
is stored
Setting
data
d
Function
This instruction stores a sampling count value of the specified CH (refer to the following) to
• ICSMPRD1(P): CH1
• ICSMPRD2(P): CH2
Program Example
The following program stores the sampling count value of CH 1 to D100 and D101 when M0
turns ON.
[Structured ladder]
[ST]
ICSMPRD1(M0, D100);
ST
ENO:=
(EN, d);
ICSMPRD1
Internal device
R, ZR
Bit
Word
Bit
8.2 Counter Function Dedicated Instruction
ICSMPRD1, ICSMPRD2
ICSMPRD1, ICSMPRD2
P: Executing condition
indicates any of the following
instructions.
ICSMPRD1
ICSMPRD1P
ICSMPRD2
ICSMPRD2P
:Bit
:Bit
:ANY32
J
\
Zn
U
\G
Word
8.2.5 ICSMPRD instruction
8
L CPU
:
Constant
Others
.
d
8-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents