Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
33 Applied Instructions (Extension File Register Control)
33.4 LOGR / Logging R and ER
761
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Appl
ied
 In
stru
cti
ons 
(Da
ta
 T
rans
fer 
3)
32
Ap
plied
 Instru
ctio
ns 
(High S
peed 
Process
ing 2)
33
App
lied Instr
ucti
ons 
(Exte
nsion File 
Regis
ter C
ontrol
)
34
Ap
pl
ied In
struct
ions 
(FX
3U
-C
F-
AD
P)
35
Int
errupt
 Fun
cti
on 
and Puls
e Cat
ch 
Functi
on
A
Re
lation
sh
ip
be
tw
ee
n de
vic
es
 
an
d ad
dre
ss
es
B
Ap
plie
In
structio
n List
33.4
LOGR / Logging R and ER
Outline
This instruction logs specified devices, and stores the logged data to extension registers (R) and extension
file registers (ER) in a memory cassette.
1. Format and operation, execution form
2. Set data
3. Applicable devices
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
Instruction 
name
Operation
Execution 
form
Expression in each language
Structured ladder/FBD
ST
LOGR
16 bits
Continuous
LOGR(EN,s,m,n,d1,d2);
LOGRP
16 bits
Pulse
LOGRP(EN,s,m,n,d1,d2);
Variable
Description
Data type
Input
variable
EN
Execution condition
Bit
Head device to be logged
ANY16
Number of devices to be logged (1
≤ m ≤ 8000)
ANY16
Number of sectors of devices used in logging (1 
≤ n ≤ 16)
ANY16
Output
variable
ENO
Execution state
Bit
Head device used in logging
ANY16
Number of pieces of logged data
ANY16
Operand 
type
Bit Devices
Word Devices
Others
System user
Digit specification
System 
user
Special 
unit
Index
Cons
tant
Real 
Number
Character 
String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z z z
z
z
z z
z z
z
z
z
LOGR
EN
ENO
s
m
n
d1
d2
LOGRP
EN
ENO
s
m
n
d1
d2