![Mitsubishi Electric MELSEC System Q Скачать руководство пользователя страница 294](http://html.mh-extra.com/html/mitsubishi-electric/melsec-system-q/melsec-system-q_special-instructions-manual_239154294.webp)
292
8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
Sampling counter value read
ICSMPRD1, ICSMPRD2
The following instruction can go in the dotted squares.
ICSMPRD1, ICSMPRD1P, ICSMPRD2, ICSMPRD2P
■
Executing condition
■
Argument
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.
Instruction
Executing condition
ICSMPRD1
ICSMPRD2
ICSMPRD1P
ICSMPRD2P
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
Output argument
ENO
Execution result
Bit
d
Start number of the device in which the sampling
count value is stored
ANY32
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
(d)
[Structured ladder/FBD]
[ST]
ICSMPRD1( M0, D100 );
LCPU
ST
ICSMPRD1
EN
ENO
ICSMPRD1
(EN, d);
ENO:=
d
Structured ladder/FBD
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......