
Example "PID control"
4.1 Introduction
STEP 7 Basic V10.5
Getting Started, 12/2009, A5E02651459-01
137
Steps
The following figure shows an overview of all objects you are going to create:
2UJDQL]DWLRQEORFN>2%@
7KH)%RIWKH3,'FRQWUROOHUDQGWKH)%RIWKH
VLPXODWLRQSURJUDPDUHVWDUWHGLQWKHF\FOLFLQWHUUXSW
2%
)%352&B&
7KHEORFN352&B&VLPXODWHVWKHLQSXW
YDOXHVRIWKHFRQWUROOHU
&RPPLVVLRQLQJ
8VHWKHFRPPLVVLRQLQJZLQGRZWR
RSWLPL]HWKHFRQWUROOHUSDUDPHWHUVDQG
PRQLWRUWKHRQJRLQJFRQWURO
&RQILJXUDWLRQ
7KHFRQILJXUDWLRQLQFOXGHVWKHYDOXHV
DQGSDUDPHWHUVIRUXVLQJWKHWHFKQRORJ\
REMHFW
)%3,'B&RPSDFW
7KHWHFKQRORJ\REMHFWZLOOEHLQWHJUDWHG
LQWRWKHXVHUSURJUDPXVLQJWKH)%
3,'B&RPSDFW
7HFKQRORJLFDOREMHFW
7KHWHFKQRORJ\REMHFW3,'VXSSOLHVD3,'FRQWUROOHU
ZLWKRSWLPL]HGVHOIWXQLQJ
Proceed as follows to create the objects:
● You create a second organization block [OB200] in which you will call up the blocks of the
PID controller.
● You create the technological object "PID_Compact".
● You load the simulation block "PROC_C" to the organization block [OB200]. By using the
simulation block, you require no hardware other than the PLC.
● You configure the technological object "PID_Compact".
– Select the controller type.
– Enter a setpoint for the controller.
– Interconnect the actual value and the controlled variable of the technological object
"PID_Compact" with the simulation block "PROC_C".
● You load the user program and carry out a controller optimization in the commissioning
window of the technological window.
Comentarios a estos manuales