Appendix AInstruction Set
548
Name, mnemonic, variations,
and symbol
PageOperand data
areas
Function
SAVE REGISTER
REGS, jREGS
(176)
REGS D
Copies the data from Data Registers DR0,
DR1, and DR2 to D, D+1, and D+2, and
copies the data from Index Registers IR0, IR1,
and IR2 to D+3, D+4, and D+5. D to D+5 must
be in the same data area.
D:
CIO
G
A
DM
368
FAILURE POINT
DETECTION
FPD
(177)
FPD C W D
(V2 only) Monitors the execution of an instruction block
according to specified conditions, detects
errors, and determines the input conditions
responsible for the errors.
C:
#
Ti
W:
CIO
G
A
DM
D:
CIO
G
A
DM
356
MAXIMUM CYCLE TIME EXTEND
WDT, ↑WDT
(178)
WDT T
(V2 only)
Extends the setting of the watchdog timer by
10 ms times T.
# (0000 to 3999) 361
(179)
DATE C
CLOCK COMPENSATION
DATE, ↑DATE
(V2 only) Changes the internal clock setting according
to the clock data in four consecutive specified
words beginning with C
C:
CIO
G
A
T/C
DM
353
READ DATA FILE
FILR, jFILR
(180)
FILR N D C
Reads N words of data from the Memory Card
data file specified in C+1 to C+4 and outputs
the data to the designated data area beginning
at D. The name of the file from which the data
is read is specified by eight ASCII characters
in C+1 to C+4. Data will be read from the word
indicated in C+5 if bit 04 of C (the Offset
Enable Bit) is ON.
N:
CIO
G
A
T/C
DM
DR
IR
D:
CIO
G
A
T/C
DM
C:
CIO
G
A
T/C
DM
396
WRITE DATA FILE
FILW, jFILW
(181)
FILW N S C
Writes the data in S to S+N–1 to a Memory
Card data file specified in C+1 to C+4. The
data will replace data in the file if bit 07 of C
(the Write-over Bit) is ON, or will be added to
the end of the file if bit 07 of C is OFF. Data
will be written from the word indicated in C+5 if
bit 04 of C (the Offset Enable Bit) is ON.
If the specified file name does not exist, a new
file by that name will be created and the data
will be written from the beginning of the file,
regardless of the status of the Offset Enable
Bit.
N:
CIO
G
A
T/C
DM
DR
IR
S:
CIO
G
A
T/C
DM
C:
CIO
G
A
T/C
DM
398
READ PROGRAM FILE
FILP, jFILP
(182)
FILP C
Reads the ladder program file (extension
.LDP) named in C+1 to C+4 and either
overwrites or replaces the program following
the FILP(182) instruction with it. The program
file must be written to the Memory Card
beforehand with CVSS. The file name is given
in eight ASCII characters starting in the
leftmost half of C+1. The extension is not
required. When the Write Method Bit (C bit 07)
is ON, FILP(182) will overwrite just enough of
the current ladder program to accommodate
the program file. When C bit 07 is OFF,
FILP(182) will erase the current ladder
program from the instruction just after
FILP(182) to END(001), then insert the
program file. The program will be executed
from the beginning when FILP(182) has been
completed.
C:
CIO
G
A
T/C
DM
400