7 Applied Instructions
7.27 Extension File Register Control
779
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Program example
In the program example shown below, D1 and D2 are logged to the area from R2048 to R6143 every time
X001 turns ON.
LOGRP
EN ENO
s
m
n
d1
d2
X001
D1
K2
K2
R2048
D100
[Structured ladder]
[ST]
LOGR(X001,D1,K2,K2,R2048,D100);
HFFFF
HFFFF
R2048
R2049
HFFFF
HFFFF
R2050
R2051
HFFFF
HFFFF
R2052
R5899
HFFFFR5900
HFFFFR5901
HFFFFR6143
Initial value
H1234
H5678
HFFFF
HFFFF
HFFFF
HFFFC
HFFFF
HFFFF
HFFFF
X001
OFF→ON
1st time
H1234
H5678
D1
D2
H1234
H5678
H9ABC
H1122
HFFFF
HFFF0
HFFFF
HFFFF
HFFFF
X001
OFF→ON
2nd time
H9ABC
H1122
D1
D2
Because two words are
used, low-order two bits
are set to OFF (0).
Because two words
are used, low-order two
bits are set to OFF (0).
Data writing
area
Writing position
control area
H0000D100 H0002 H0004