21: PID I
NSTRUCTION
21-16
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
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.
Set Analog Module Parameters (ANST) Dialog Box
WindLDR
has a macro to program parameters for analog I/O modules. Place the cursor where to insert the ANST instruc-
tion, click the right mouse button, and select
Macro Instructions
>
ANST (Set Analog Module Parameters)
. In the
ANST dialog box, press the
Configure
button under Slot 1, and program as shown below.
M8120
M8120 is the initialize pulse special internal relay.
When the CPU star ts, 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.
While input I0 is on, the PID instruction is executed.
When internal relay M6 (control output) is turned on, output
Q0 (heater power switch) is turned on.
When internal relay M4 (high alarm output) is turned on, out-
put Q1 (high alarm light) is turned on.
While monitor input I1 is on, the temperature is monitored.
When the temperature is higher than or equal to 250°C,
M10 is turned on.
4095
×
250/1300 = 787.5
While the analog input operating status (D761) is 3 or
higher, M11 is turned on.
When M10 or M11 is on while monitor input I1 is on, Q0
(heater power switch) is forced off and Q1 (high alarm light)
is forced on.
S1
D0
S2
M0
PIDST
S3
D100
NO.1
L03AP1
ANST
I0
D1
D102
S1
D0
S2
M0
S3
D100
PID
S4
D760
M6
M4
Q1
S
Q0
R
Q0
Q1
M4
I1
REP
S1 –
D760
D1 –
M10
CMP>=(W)
S2 –
787
REP
S1 –
D761
D1 –
M11
CMP>=(W)
S2 –
3
M10
M11
I1
M8120
Содержание FC4A-C10R2
Страница 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Страница 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Страница 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Страница 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Страница 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Страница 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Страница 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Страница 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Страница 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Страница 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Страница 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Страница 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Страница 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...