FX2N-2LC Temperature Control Block
Program Example 8
8-6
•
In a practical program, if the setting has been determined by initialization or backup to the
EEPROM, it is not required to write such setting again.
K 0
K 9
K 0
K 1
K 0
K 9
K 1
K 1
K 0
K 18
K 0
K 1
K 0
K 27
K 0
K 1
K 0
K 20
K 0
K 1
K 0
K 29
K 0
K 1
K 0
K 20
K 1
K 1
Initializes all data.
When X000 is set to ON, all data is initialized.
(When initialization is not necessary, this line can
be omitted.)
K 0
K 10
K 0
K 1
Error reset command
When X001 is set to ON, all errors indicated by
the flag (BFM #0) are reset.
TO
P
TO
P
TO
P
TO
P
TO
P
TO
P
TO
P
TO
P
Disables
initialization.
X001
Performs
initialization.
X000
Disables error
reset.
Auto tuning is
being performed (CH1)
Auto tuning is
being performed (CH2)
END
K 0
K 10
K 1
K 1
TO
P
X001
Performs error
reset.
K 0
K 11
K 0
K 1
TO
P
Stops control.
K 0
K 11
K 1
K 1
TO
P
X002
Starts control.
K 0
K 29
K 1
K 1
TO
P
Performs auto
tuning (CH2).
X000
X002
M34
M15
M54
X003
Performs auto
tuning (CH1).
X004
Starts/stops control.
When X002 turns off, control stops.
When X002 turns on, control starts.
In order to turn off the control output, this line is
required and cannot be omitted.
(The control output cannot be set to OFF by
changeover from "RUN" to "STOP" of the PLC
basic unit.)
In this example, only the auto mode is used.
When changeover of the mode is necessary,
write "K1" to BFM #18 and BFM #27 in
accordance with the changeover condition.
Performs auto tuning.
When X003/X004 is set to ON, auto tuning is
performed.
Once auto tuning has started, it continues even
if X003/X004 is set to OFF after that.
When the flag (M24/M44) turns off while auto
tuning is performed, it is judged that auto tuning
is completed. Then, "K0" is written to BFM #20/
29. By this writing, auto tuning can be
performed again.
If auto tuning does not have to be performed
again, upper two lines can be omitted.
(M34 and M54 turn on and off in accordance
with the event status.)
Temperat
ure control
ready flag
Summary of Contents for MELSEC FX2N-2LC
Page 1: ...USER S MANUAL FX2N 2LC Temperature Control Block ...
Page 4: ...FX2N 2LC Tempereture Control Block ii ...
Page 6: ...FX2N 2LC Tempereture Control Block iv ...
Page 12: ...FX2N 2LC Temperature Control Block Introduction 1 ...
Page 16: ...FX2N 2LC Temperature Control Block Product Configuration 2 ...
Page 22: ...FX2N 2LC Temperature Control Block Specifications 3 ...
Page 28: ...FX2N 2LC Temperature Control Block Specifications 3 3 6 ...
Page 30: ...FX2N 2LC Temperature Control Block Wiring 4 ...
Page 34: ...FX2N 2LC Temperature Control Block Introduction of Functions 5 ...
Page 44: ...FX2N 2LC Temperature Control Block Introduction of Functions 5 5 10 ...
Page 46: ...FX2N 2LC Temperature Control Block Alarm 6 ...
Page 52: ...FX2N 2LC Temperature Control Block Alarm 6 6 6 ...
Page 54: ...FX2N 2LC Temperature Control Block Buffer Memory BFM 7 ...
Page 84: ...FX2N 2LC Temperature Control Block Buffer Memory BFM 7 7 30 ...
Page 86: ...FX2N 2LC Temperature Control Block Program Example 8 ...
Page 94: ...FX2N 2LC Temperature Control Block Program Example 8 8 8 ...
Page 96: ...FX2N 2LC Temperature Control Block Troubleshooting 9 ...