Sampling Counter Value Read - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Sampling counter value read

ICSMPRD1, ICSMPRD2
Structured ladder/FBD
ICSMPRD1
EN
ENO
The following instruction can go in the dotted squares.
ICSMPRD1, ICSMPRD1P, ICSMPRD2, ICSMPRD2P
■Executing condition
Instruction
ICSMPRD1
ICSMPRD2
ICSMPRD1P
ICSMPRD2P
■Argument
Input/output
argument
Input argument
Output argument
Setting
Internal device
data
Bit
(d)
Processing details
This instruction stores a sampling count value of the specified CH (refer to the following) to (d).
• 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/FBD]
[ST]
ICSMPRD1( M0, D100 );
8 BUILT-IN I/O FUNCTION INSTRUCTION
292
8.2 Counter Function Dedicated Instruction
LCPU
ENO:=
ICSMPRD1
d
Executing condition
Name
Description
EN
Executing condition
ENO
Execution result
d
Start number of the device in which the sampling
count value is stored
R, ZR
Word
ST
(EN, d);
J\
Bit
Word
Data type
Bit
Bit
ANY32
U\G
Zn
Constant
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents