Panasonic FP Series Programming Manual page 988

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Precautions during programming
Executing this instruction does not rewrite the contents of the system ROM in the
control unit. As a result, turning the power supply off and then on again rewrites
the contents of the system registers specified by the tool software.
We recommend using differential execution with this instruction.
When UP or DOWN has been specified, the contents of the system registers
change in accordance with the specification, so a verification error may occur in
some cases, when the program is verified. When BOTH has been specified, the
contents of the system registers do not change.
Separate first and second keywords with a comma "," and do not use spaces.
Error flags
No.
IEC address
R9007
%MX0.900.7
R9008
%MX0.900.8
Example
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When InterruptX1 turns on, the input condition of interrupt input X1 is changed to "Rising Edge".
LD
ST
When programming with structured text, enter the following:
if
(DF(InterruptX1))
SYS1('INT1,
end_if;
The values entered at s* will be right aligned automatically by the compiler.
Set
If
permanently
 any character other than a keyword is
specified
 no comma is between the first and second
for an instant
keywords
 small letters of the alphabet are used to
specify the keyword
then
UP');
System register instructions
987

Advertisement

Table of Contents
loading

Table of Contents