14:
PID
I
NSTRUCTION
FC5A
M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y
‐
B1273
14
‐
23
Ladder
Program
The
ladder
diagram
shown
below
describes
an
example
of
using
the
PID
instruction.
The
user
program
must
be
modified
according
to
the
application
and
simulation
must
be
performed
before
actual
operation.
Programming
in
the
dialog
boxes
of
the
ANST
(Set
Analog
Module
Parameters),
PIDST
(Set
PID
Parameters),
and
PID
(PID
Control)
instructions
are
the
same
as
the
preceding
example.
Notes
for
Using
Ladder
Refresh
Type
Analog
Input
Modules:
When
using
analog
input
module
FC4A
‐
J4CN1
with
Pt100
or
Ni100
inputs,
use
the
XYFS
and
CVXTY
instructions
to
convert
the
0
‐
6,000
input
to
0
‐
50,000
input
and
store
the
result
to
the
process
variable
(S4)
of
the
PID
instruction.
When
using
analog
input
module
FC4A
‐
J4CN1
with
Pt1000
or
Ni1000
inputs,
use
the
XYFS
and
CVXTY
instructions
to
convert
the
0
‐
60,000
input
to
0
‐
50,000
input
and
store
the
result
to
the
process
variable
(S4)
of
the
PID
instruction.
When
using
analog
input
module
FC4A
‐
J8AT1,
keep
the
operation
within
the
temperature
range
where
the
thermistor
shows
linear
characteristics.
When
using
analog
input
module
FC4A
‐
J8AT1,
use
the
XYFS
and
CVXTY
instructions
to
convert
the
0
‐
4,000
input
to
0
‐
50,000
input
and
store
the
result
to
the
process
variable
(S4)
of
the
PID
instruction.
When
using
analog
output
module
FC4A
‐
K2C1
with
voltage
outputs,
use
the
XYFS
and
CVXTY
instructions
to
convert
the
output
manipulated
variable
for
analog
output
module
(S1+24)
and
store
the
result
to
the
data
register
designated
as
analog
output
data
of
the
analog
output
module.
The
following
example
demonstrates
a
program
for
analog
input
module
FC4A
‐
J4CN1
to
convert
Pt1000
or
Ni1000
analog
input
data
in
D410
to
a
value
within
the
range
between
0
and
50,000,
and
store
the
result
to
D510.
M8120
M8120
is
the
initialize
pulse
special
internal
relay.
When
the
CPU
starts,
the
ANST
(analog
macro)
instruction
stores
parameters
for
the
analog
I/O
module
function.
The
PIDST
(PID
macro)
instruction
also
stores
parameters
for
the
PID
function.
D760
is
the
analog
input
data
of
analog
I/O
module
1,
analog
input
channel
0;
stores
0
through
4095
When
internal
relay
M4
(high
alarm
output)
is
turned
on
or
M11
is
turned
on
(analog
input
operating
status
is
3
or
more),
0
is
set
to
D772
(analog
output
data),
turning
off
the
heater
power.
When
M4
and
M11
are
off,
D24
(output
manipulated
variable
for
analog
output
module
S1+24)
of
the
PID
instruction
is
moved
to
D772
(analog
output
data).
When
D761
(analog
input
operating
status)
stores
3
or
more,
internal
relay
M11
is
turned
on.
S1
D0
S2
M0
PIDST
S3
D100
NO.1
L03AP1
ANST
I0
D1
D50
S1
D0
S2
M0
S3
D100
PID(I)
0
‐
4095
S4
D760
M4
M11
REP
S1
–
D761
D1
–
M11
CMP>=(W)
S2
–
3
M4
M11
I0
S1
–
0
D1
–
D772
MOV(W)
REP
S1
–
D24
D1
–
D772
MOV(W)
REP
M8120
M8120
is
the
initialize
pulse
special
internal
relay.
At
startup,
XYFS
specifies
two
points.
When
input
I0
is
on,
CVXTY
converts
the
value
in
D410
and
stores
the
result
to
D510.
M8120
XYFS(W)
Y1
50000
END
I0
CVXTY(W)
D1
D510
S1
1
X0
0
Y0
0
X1
60000
S1
1
S2
D410
Summary of Contents for MICROSmart FC5A Series
Page 1: ...FC5A SERIES FC9Y B1273 1 User s Manual Advanced Volume ...
Page 2: ......
Page 8: ...Preface 6 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 14: ...TABLE OF CONTENTS vi FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 52: ...4 DATA COMPARISON INSTRUCTIONS 4 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 72: ...5 Binary Arithmetic Instructions 5 20 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 88: ...7 SHIFT ROTATE INSTRUCTIONS 7 12 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 112: ...8 DATA CONVERSION INSTRUCTIONS 8 24 FC5A MicroSmart User s Manual FC9Y B1273 ...
Page 138: ...11 PROGRAM BRANCHING INSTRUCTIONS 11 14 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 178: ...13 PULSE INSTRUCTIONS 13 32 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 202: ...14 PID INSTRUCTION 14 24 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 206: ...15 DUAL TEACHING TIMER INSTRUCTIONS 15 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 214: ...16 INTELLIGENT MODULE ACCESS INSTRUCTIONS 16 8 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 248: ...21 COMPUTER LINK COMMUNICATION 21 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 272: ...23 MODBUS TCP COMMUNICATION 23 10 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 332: ...25 EXPANSION RS232C RS485 COMMUNICATION 25 16 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Page 341: ...NOTE FC5A MICROSMART USER S MANUAL FC9Y B1273 1 ...
Page 342: ...NOTE 2 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...