ǌƖƚƛ¿ද‫ޔ‬SIMATICStandard Software
for S7-300 and S7-400
PID ControlȧÙǷȟȌȦǣȬ

C79000-G7076-C516-01

ƽƦǏƹ

1

ȒȪȢÙȀƼ҉ǘಎƟ

2ȖǢȴǰǸȨȴȗȮȄǰ

3ȫȖǢȭȴǺ

A

ข٧й्¿‫΅ܮ‬L͍ॽƼߝ΅ƛ

!

!

!

ơƼȟȌȦǣȬƹƽ¿ȧÙǷƼ͍ॽǠߜǙƭǏ¿ǌƭ¿नಃǒे৚ƣǚƭԂӲǠ೴٩ƧǙƭǏƹߜǗƸƟǚƾƸǗƸƒੲ͠‫ڹދ‬ƚԎ‫ܓ‬ƣǚƴƒǌƧÀ
ੲ͠‫ڹދ‬ƽ݅Ѷ‫מ‬Ƽ‫ۉ׶‬ȟÙǰƵծગƣǚƴƘǘ¿Ӱ‫ج‬ଚƹǖƱƴ‫ޔ‬ƼǖƔƸ଺Պƹೃ๯ƣǚƴƒǌƧÀ

Ӱ‫ج‬૭ॅƸੲ͠ƚಾǝǚƸƒ࢛‫֊¿ۀ‬Ǐƴ‫ڻ‬ƒЋ஺घƵ¿ࣚƹੜඒࡎƐǙƒƽࠖࡎǠԻǊƥƭǘ¿ԂӲƹࠖ਎ƸৢࡎǠ෰ƖǙձǚƚƐǘǌƧÀ

‫ۉ׶‬૭ॅƸੲ͠ƚಾǝǚƸƒ࢛‫ࣚ¿ۀ‬ƹੜඒࡎƐǙƒƽࠖࡎǠԻǊƥƭǘ¿ԂӲƹࠖ਎ƸৢࡎǠ෰ƖǙձǚƚƐǘǌƧÀ

ੲ͠૭ॅƸੲ͠ƚಾǝǚƸƒ࢛‫ࣚ¿ۀ‬ƹࡎїǠԻǊƥƭǘ¿ӰԂƹৢࡎǠ෰ƖǙձǚƚƐǘǌƧÀ

ੲनಃƶƫƼߛǘ͂ƒഔഖǒ¿ȟȌȦǣȬƼџଷಭೃƹӛƧǙࠖจƸ࢟ഊǠԎ‫ܓ‬ƥƴƒǌƧÀ

‫ކ‬ѯƼƐǙǺȀȄȖ

ԂӲ/ǸǺȇȡƼǼȄȉǣȄȘƶ঩‫ܥ‬ƽ¿౥ƨơƼȟȌȦǣȬƹࠏƱƴ‫ڭ‬ǝƸƝƴƽƒƟǌƩǡÀԂӲƼߛǘಎƟƶ‫ܥ‬ևƽ¿౥ƨ‫ކ‬ѯƼƐǙǺȀȄȖƚ
‫ڭ‬ƱƴƝƮƣƒÀ‫ކ‬ѯƼƐǙǺȀȄȖƶƽ¿͍ॽӳ࠱ƹࠏƱƴԂӲƶǸǺȇȡƼ௘३ƶे੔Ǡ‫ڭ‬Ɣ‫ކ‬ѯƼƐǙǺȀȄȖƵƧÀठƥƒขଔ͕ЃƼଁƹੲ͠ƥƴЃƣƒÀ!

‫ۉ׶‬ơƼनಃƶƫƼǴȴȞÙȎȴȉƽ¿ǬȀȮǱǌƭƽ्ඓࡂƹԎ‫ܓ‬ƣǚƴƒǙ
ขଔƹƼǍ‫ݝ‬ขЋ஺ƵƐǘ¿ǌƭǸÙȢȴǺƚ՗ЋƐǙƒƽࣱ९ƧǙȢÙǬÙƼԂӲǒǴȴȞÙȎȴȉƶƼे৚ƹƘƒƴƼǍ‫ݝ‬ขЋ஺ƵƧÀơƼनಃƽ¿ීী¿೴ӌ¿ǼȄȉǣȄȘ¿ߛǘಎƟƚठƥƝ‫ڭ‬ǝǚ¿૭ॅƸ঩‫ܥ‬ƶȢȴȇȋȴǺƚ‫ڭ‬ǝǚƭ࢛‫ۀ‬ƹƼǍ¿͍ॽƙƲठѳƹԂ஺ƥǌƧÀࡕ౱

SIMATIC ƶ SINEC ƽ¿SIEMENS AGƼ଑ຬࡕ౱ƵƧÀਏ݅߇ƚ¿ơƼȟȌȦǣȬƹԎ‫ܓ‬ƣǚƴƒǙࡕ౱ƹৗƧǙඑࡽǠ՗ЋƸƝ‫ݝ‬ขƥƭ࢛‫ࡕ¿ۀ‬౱‫؝‬ǠࢼїƧǙЋ஺घƚƐǘǌƧÀ

Copyright . Siemens AG 1996 All rights reserved

Disclaimer of Liability

The reproduction, transmission or use of this document or its
contents is not permitted without express written authority.
Offenders will be liable for damages. All rights, including rights
created by patent grant or registration of a utility model or design,
are reserved.

We have checked the contents of this manual for agreement withthe hardware and software described. Since deviations cannot be
precluded entirely, we cannot guarantee full agreement. However,the data in this manual are reviewed regularly and any necessary
corrections included in subsequent editions. Suggestions for improvement are welcomed.

Siemens AG
Automation Group
Industrial Automation Systems
Postfach 4848, D-90327 Nürnberg

Technical data subject to change.
. Siemens AG 1996

6LHPHQV $NWLHQJHVHOOVFKDIW&*&
6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO
6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO& * & 

ǌƖƚƛ

ද૫

ơƼȟȌȦǣȬƽ¿PID ǴȴȉȮÙȬƼǴȴȉȮÙȪȗȮȄǰǠ‫ݝ‬ขƧǙ‫ܔ‬ƹළุƲ࢟ഊǠ૖ՠƥǌƧÀְ৵૫ƹƽ¿ǴȴȉȮÙȪȗȮȄǰƼȖǢȴǰǸȨȴǠࢁзƥ¿ǴȴȉȮÙȪȗȮȄǰƹȒȪȢÙȀǠ҉ǘಎƟǙƭǏƼȧÙǷǥȴȀÙȖǨÙǺ
ƹƲƒƴ्ඓƥǌƧÀơƼȧÙǷǥȴȀÙȖǨÙǺƹƽǫȴȪǥȴșȬȘ
ƚข͠ƣǚ¿ȒȪȢÙȀǠ҉ǘಎƟǙ‫ܔ‬ƹษขƵƛǌƧÀ

৷ࢌ୨߇ơƼȟȌȦǣȬƽ¿‫ޔ‬ƼഔÖǠ৷ࢌƶƥƴƒǌƧÀ
-S7 Ǡ‫ݝ‬ขƧǙȘȮǱȪȟ

-೛ȬÙȘऔ١ǸǺȇȡǠ‫ݝ‬ขƧǙȘȮǱȪȟ

-

ǫțȭÙȀ

-

ǶÙȔǺจ΂

óPID ǴȴȉȮÙ
ȬôƼ‫ږ‬ङ

PID ǴȴȉȮÙȬ
S7 - 300 ÜS7 - 400

ȖǢȴǰǸȨȴ

ȒȪȢÙȀ҉ǘಎƟ

ǫȴȪǥȴ

ȗȮȄǰ

ȧÙǷǥȴȀȖǨÙǺ

ȟȌȦǣȬPIDǴȴȉȮÙȬ

PIDǴȴȉȮÙȬ

PIDǴȴȉȮÙȬ

óPID ǴȴȉȮÙȬôǾȖȉǧǨǣȒȄǲÙǹƹƽ‫ޔ‬ƼǴȴȞÙȎȴȉ
ƚӡǌǚƴƒǌƧÀ
-ȖǢȴǰǸȨȴȗȮȄǰ CONT_C¿CONT_S¿Ƙǖǁ PULSEGEN-

ǴȴȉȮÙȪȗȮȄǰǠǴȴȖǤǱȭÙǸȨȴƧǙƭǏƼȒȪȢÙ
Ȁ҉ǘಎƟȧÙǷǥȴȀÙȖǨÙǺ

-ȖǢȴǰǸȨȴȗȮȄǰǠй्ƥƭȟȌȦǣȬ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

LLL

ǌƖƚƛ

ơƼȟȌȦǣȬƼ
஁෷
Chapter
1

Provides you with an overview of PID Control

Chapter2

Explains how to call the parameter assignment user interface

Chapter
3

Describes the function blocks FB 41 “CONT_C”, FB 42 “CONT_S”
and FB 43 “PULSEGEN”ӛຏ࢟ഊơƼȟȌȦǣȬƽȫȖǢȭȴǺขƶƥƴ‫ܥ‬ǗǚƭǐƼƵ¿PID ǴȴȉȮÙ
ȬƹӛƧǙ౥ࣩ࢟ഊǠԎ‫ܓ‬ƥƴƒǌƧÀȧÙǷƼ‫خ׭‬Ƽ૛ଚƹǖƱƴƽ¿ƣǗƹࢋ‫ܐ‬Ƹ࢟ഊƚ౥จƹƸǙơƶƚƐǘǌƧƚ¿ƫƼ࢛‫ۀ‬ƽ¿/70/¿/71/¿/100/¿/101/¿/231/¿/232/¿/234/ Ǡ݇ࡷƥƴƝƮƣƒÀ

ƫƼ৥ƼǶȞÙȉǶÙȔǺ

PID Ƽ‫ݝ‬ขǌƭƽขଔƹӛƥƴƢ޴භƚƐǙ࢛‫ۀ‬ƽ¿‫۾‬ӶǘƼ Siemens ਹଷಭࡁǌƵƢຏพƝƮƣƒÀ
óS7–400 Programmable Controller, Hardware and InstallationôȟȌȦǣȬƼಎຬóSiemens Ƽщѕέև࠻ôƹƽ¿ਹଷಭࡁƼࠌ࠻ƚȫǺȉƣǚƴƒǌƧÀ
ơƼȟȌȦǣȬƹƲƒƴƢ޴භǌƭƽƢ͠‫ئ‬ƚƐǙ࢛‫ۀ‬ƽ¿ү൫ƼǴȢȴȉข‫ݻ‬ƹƢԎ஝ƹƸǘ¿ข‫ݻ‬ƹԎ‫ܓ‬Ƽࠌ࠻ǌƵƘীǘƝƮƣƒÀƫƼ‫¿ܔ‬ǣȴǲÙȉƹǐƘ଻ƖƒƭƮƟǚƾ‫څ‬ƒƵƧÀ೗߅Ƶƽ¿SIMATIC S7 ǫÙȉȢÙǸȨȴǸǺȇȡƹӛƧǙȉȭÙȌȴǱ
ǴÙǺǠ০ँѐ‫ۼ‬ƥƴƒǌƧÀࢋ‫ܐ‬ƹƲƛǌƥƴƽ¿‫۾‬ӶǘƼȉȭÙȌȴ
ǱǼȴȀÙǌƭƽ੫ϤȉȭÙȌȴǱǼȴȀÙçNuremberg, Germany, Tel.
+49–911–985–3154èǌƵƘභƒ‫ۀ‬ǝƩƝƮƣƒÀLY

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ද‫ޔ‬
1

ƽƦǏƹ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-1

2ȒȪȢÙȀƼ҉ǘಎƟ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2-1

3ȖǢȴǰǸȨȴȗȮȄǰ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-1

3.1

FB41 ”CONT_C” ƹǖǙຏ৚औ١ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-2

3.2

FB42 ”CONT_S” ƹǖǙǺȇȄȘऔ١ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-9

3.3

FB43 ”PULSEGEN” ƹǖǙȒȬǺƼणङ . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-15

3.4

PULSEGENƼ‫ݝ‬ข๲ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-24ȫȖǢȭȴǺ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A-1

A‫ ΅ܮ‬. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index-1

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&Y

YL

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

1

ƽƦǏƹ

PID ǴȴȉȮÙȬƼǴȴǼȘȉ

PID ǴȴȉȮÙȬȒȄǲÙǹƼȖǢȴǰǸȨȴȗȮȄǰçFBèƽ¿ຏ৚औ١ขƼǴȴȉȮÙȪȗȮȄǰçCONT_Cè¿ǺȇȄȘऔ١ขƼǴȴȉȮÙȪȗȮȄǰçCONT_Sè¿ȒȬǺಶ೨ગขƼ FBçPULSEGENèƵ‫ږ‬ङƣǚƴƒǌƧÀ
ǴȴȉȮÙȪॽ৵ƼԂ஺Ǡ૖ՠƧǙȗȮȄǰǠǴȴȉȮÙȪȗȮȄǰƹબЊƧǚƾ¿ҳॽƸǾȖȉǧǨǣǴȴȉȮÙȪǠǥȴȘȫȢȴȉƵƛǌƧÀ
߱ӿϒ‫ݐ‬ƹ౥จƸȈÙȀƽ¿FB ƹ҉ǘಎƟǗǚƴƒǙȈÙȀȗȮȄǰƹ೴য়ƣǚǌƧÀơǚƹǖǘ¿౥จƹϧƦƴ FB Ǡ‫ف‬ǁࠡƧơƶƚƵƛǌƧÀ
FB PULSEGEN ƶ FB CONT_C Ǡ೒ขƧǚƾ¿ు๲ǣǰȂȦǩÙȀƹȒȬ
Ǻࠡ๞Ǡ‫ڭ‬ƔǴȴȉȮÙȪǠǥȴȘȫȢȴȉƵƛǌƧÀӳ൑Ԃ஺

ơƼ FB Ƶ‫ܥ‬ङƥƭǴȴȉȮÙȪƽͷຏƼǶȗȖǢȴǰǸȨȴƵ‫ږ‬ङƣǚǌƧƚ¿ơƼǶȗȖǢȴǰǸȨȴƽෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƧǙơƶƚƵƛǌ
ƧÀ୧‫ޞ‬Ƽ PID ǣȬǵȫǻȡǠǐƲǴȴȉȮÙȪƹ¿ǼȄȉȞǥȴȉǒ
ȘȮǼǺ೨ँǠ࠹ฮƧǙȖǢȴǰǸȨȴǒ¿঩‫ࠡܥ‬๞೨ँƼ‫ݐ״‬੒Ǡ૭‫ۀ‬ƣƩǙȖǢȴǰǸȨȴǠ঑ǍۗǎơƶǐƵƛǌƧÀ

૭ขప͚œƲƼǴȴȉȮÙȪȗȮȄǰƵǴȴȉȮÙȪǠǥȴȘȫȢȴȉƧǙƶ¿෾ÖƸขଔƹ৷ϧƵƛǌƧÀǴȴȉȮÙȪƼȒȖǪÙȟȴǺƶ࠹ฮ৕ଚƹίրǠԻǊƧƼƽ¿CPU ƼȒȖǪÙȟȴǺƮƟƵƧÀ
CPU ƹǖƱƴƽ¿ǴȴȉȮÙȪƼँƚ৆ƖǙƶѫǴȴȉȮÙȪƼ࠹ฮಊଚƚ૆ЃƥǌƧÀऔ١ȬÙȘƼ࠹ฮƹจՂƣǚǙ৕ଚçƲǌǘ¿ਸ਼͗‫ޓ‬әଷƭǘƼ঩‫ࠡܥ‬๞೨ँƼ‫ݐ״‬ಊଚèƹǖƱƴ¿ǥȴǺȉÙȬƵƛǙǴȴȉ
ȮÙȪƼँƚ؅ǌǘǌƧçȬÙȘ࠹ฮǠ‫ڻ‬৕ƹƧǙƹƽ¿ǴȴȉȮÙȪƼ
ँǠ‫ص‬ǗƧèÀ
औ١Ћ஺ƸȘȮǼǺƼȀǥȘƹƲƒƴƽ¿औ‫ؽ‬ƽƐǘǌƩǡÀ૆৕ƸȘȮǼǺçЀଚ¿ȀȴǰȭȚȬ଺èǐ౎࢞ƹ‫ڻ‬৕ƸȘȮǼǺç฽୏৕ଚ¿ȣÙȀÙ৕ଚ଺èǐऔ١ƚЋ஺ƵƧÀȘȮǼǺೃऺ

ੲऔ١ƧǙȘȮǼǺƼǺȀȇǤȄǰƸ୏‫ܥ‬çǳǥȴèƶȁǥȋȠȄǰƸୢघçȀǥȡȪǱ¿৻Ư‫ޓ‬ә¿ȫǼȄȉ‫ޓ‬ә଺èƽ¿ǴȴȉȮÙȪƼ‫ږ‬ङǒॊ‫¿״‬ƣǗƹƽǺȀȇǤȄǰȒȪȢÙȀçŪङೃèƘǖǁȁǥȋȠȄǰȒȪ
ȢÙȀçţङೃƶŞङೃèƼప͚ƼॳਙƹƙƸǘƼίրǠ෰ƖǌƧÀऔ١ƧǙȘȮǼǺƼȀǥȘƘǖǁୢघƹƲƒƴठѳƹ੓ƱƴƘƝơƶƚࠖจƵƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&



ƽƦǏƹ

ǴȴȉȮÙȪƼ
ॳਙੲऔ١ȬÙȘƼୢघƽ¿औ١ƧǙȘȮǼǺǌƭƽȟǸȴƼುฮୢघƹǖƱƴ؅ǌǙƭǏ¿਎ƛƸ೨‫ڒ‬ƽƵƛǌƩǡÀ‫ݝ‬ขࢤնƹ‫۾‬ǐ૭ƥƭǴȴȉ
ȮÙȪǠॳਙƥ¿ȘȮǼǺƼȀǥȡȭǺȞȴǺƹ‫ۀ‬ǝƩƴગछƥƸƟǚƾ¿޴Ƽ‫ڻ‬ƒऔ١ƽ‫ڭ‬ƖǌƩǡÀ

ǴȴȉȮÙȪƼ‫ܥ‬ङǴȴȉȮÙȪƼ‫ܥ‬ङç‫ږ‬ङ¿ȒȪȢÙȀƼ҉ǘಎƟ¿ǸǺȇȡȘȮǱȪȡƵ
Ƽ‫ف‬ǁࠡƥèƹƐƭƱƴƽ¿ȘȮǱȪȠȴǱƽǉƶǡƷ౥จƐǘǌƩǡÀ
ƭƮƥ¿STEP 7ƼȘȮǱȪȠȴǱ੓‫ޤ‬ƽ౥จƵƧÀǫȴȪǥȴșȬȘ

STEP 7 ƼǫȴȪǥȴșȬȘƵƽ¿ѫߢ FB ƹӛƧǙ࢟ഊǠ૖ՠƥƴƒǌƧÀӛຏ࢟ഊ

PID ǴȴȉȮÙȬƽ¿౱࠱ǴȴȉȮÙȬƼǶȗǼȄȉƵƧÀ౱࠱ǴȴȉȮÙȪƼࢋ‫ܐ‬ƹƲƒƴƽ¿/350/ Ǡ݇ࡷƥƴƝƮƣƒÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȒȪȢÙȀƼ҉ǘಎƟȒȪȢÙȀ҉ǘಎƟȧÙǷǥȴȀÙ
ȖǨÙǺƼ‫ف‬ǁࠡƥ

2Windows 95 Ƶ PID ǴȴȉȮÙȬƼȒȪȢÙȀ҉ǘಎƟȧÙǷǥȴȀÙ
ȖǨÙǺǠ‫ف‬ǁࠡƧƹƽ¿‫ޔ‬ƼȢȌȦÙǫȘǸȨȴǠ‫ݝ‬ขƥǌƧÀ: ǺȀÙȉ  SIMATIC  STEP 7 V3  PID ǴȴȉȮÙȬȒȪȢÙȀ҉ǘಎƟ‫࠺۾‬ƼȁǥǣȮǱƵƽ¿FB41 ”CONT_C” ǌƭƽ FB42 ”CONT_S” ƼӾয়ƼǥȴǺȀȴǺȈÙȀȗȮȄǰçDBèǠѐƝƙ¿ࣄƥƒȈÙȀȗȮȄǰ
ǠǥȴǺȀȴǺȈÙȀȗȮȄǰƶƥƴ‫ܥ‬ङƧǙơƶƚƵƛǌƧÀࣄƥƝ‫ܥ‬ङƧǙ࢛‫ۀ‬ƽ¿ǥȴǺȀȴǺ DB Ǡ FB ƹ҉ǘಎƟǙǖƔƹৌƧȘȮȴȘ
ȉƚ౶‫ޛ‬ƣǚǌƧÀ
FB43 ”PULSEGEN” ƹƽ¿ȒȪȢÙȀ҉ǘಎƟȧÙǷǥȴȀÙȖǨÙǺƽ
ƐǘǌƩǡÀơƼƭǏ¿STEP 7 ƼȅÙȬƵॊ્ƧǙ౥จƚƐǘǌƧÀੲ
PID ǴȴȉȮÙȬƼȒȪȢÙȀ҉ǘಎƟȧÙǷǥȴȀÙȖǨÙǺǠ‫ݝ‬ขƧǙƶ¿CPU 314 IFM ƹ঑ǍۗǌǚƴƒǙǴȴȉȮÙȬƹǐȒȪȢÙȀ
Ǡ҉ǘಎƟǙơƶƚƵƛǌƧÀơƼ࢛‫¿ۀ‬SFB41 ǌƭƽ SFB42ƹ҉ǘಎƟǙǥȴǺȀȴǺ DB Ǡ‫ܥ‬ङƥǌƧÀǫȴȪǥȴșȬȘ

ȒȪȢÙȀ҉ǘಎƟȧÙǷǥȴȀÙȖǨÙǺǠ‫ݝ‬Ʊƴ¿ȒȪȢÙȀǠǴȴ
ȉȮÙȪȗȮȄǰƹ҉ǘಎƟǙ࢛‫ۀ‬ƽ¿ǫȴȪǥȴșȬȘǠษขƵƛǌƧÀǫȴȪǥȴșȬȘƽŔયǘƼഔഖƵ‫ف‬ǁࠡƩǌƧÀ: ȢȌȦÙǫȘǸȨȴ [șȬȘ]  [ද‫ޔ‬...] Ǡ‫ݝ‬ขƧǙ: F1 ǮÙǠϨƧ: [ȒȪȢÙȀ҉ǘಎƟ] ȁǥǣȮǱƼ [șȬȘ] ȝȀȴǠǰȫȄǰƧǙ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&



Parameti

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

3ȖǢȴǰǸȨȴȗȮȄǰ
ੲơƼࡾƵ्ඓƧǙȖǢȴǰǸȨȴȗȮȄǰçFB41 Þ FB43èƽ¿߱ӿ҉ǘۗǍȭȚȬƚॊ્ƣǚƴƒǙ S7/C7 CPU ƹƼǍȫȫÙǺƣǚƴƒǌƧÀ

њจ

ौ

஁෷

țÙǹ

3.1

FB41 ”CONT_C” ƹǖǙຏ৚औ١

3-2

3.2

FB42 ”CONT_S” ƹǖǙǺȇȄȘऔ١

3-9

3.3

FB43 ”PULSEGEN” ƹǖǙȒȬǺƼणङ

3-15

3.4

PULSEGEN Ƽ‫ݝ‬ข๲

3-24

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

3.1

FB41 ”CONT_C” ƹǖǙຏ৚औ١ƽƦǏƹ

FB “CONT_C” ƽ¿SIMATIC S7 ȘȮǱȪȟȗȬǴȴȉȮÙȪƵ‫ݝ‬ขƧǙȖǢȴǰǸȨȴȗȮȄǰƵ¿ຏ৚஝๞Üࠡ๞೨ँǠ‫ݝ‬ƱƴԜࠢȘȮǼǺǠ
औ١ƥǌƧÀPID ǴȴȉȮÙȪƼǶȗȖǢȴǰǸȨȴǠȒȪȢÙȀ҉ǘಎƟƵෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƧǚƾ¿ǴȴȉȮÙȪǠȘȮǼǺƹ૭‫ۀ‬ƣƩǙơƶƚƵƛǌƧÀ

૭ขప͚ơƼǴȴȉȮÙȪƽ¿PID ‫્ق‬ǼȄȉȞǥȴȉǴȴȉȮÙȪƶƥƴ‫ݝ‬ขƧǙƙ¿ȟȬȂȬÙȘऔ١ƵǬǺǲÙȊǴȴȉȮÙȪ¿ȗȭȴȈǤȴǱǴȴȉ
ȮÙȪ¿ǌƭƽుืǴȴȉȮÙȪƶƥƴ‫ݝ‬ขƵƛǌƧÀǴȴȉȮÙȪƼȖǢ
ȴǰǸȨȴƽƧǇƴ¿ǣȋȮǱࢻ‫ڿ‬ǠणङƧǙǶȴȘȫȴǱǴȴȉȮÙȪƼ
PID औ١ǣȬǵȫǻȡƹӳƳƒƴƒǌƧƚ¿౥จƹϧƦƴȒȬǺǹǨȎȭÙ
ȀǺȇÙǹǠબЊƧǚƾ¿ు๲ǣǰȂȦǩÙȀǠǐƲ಺ँƼǺȇȄȘǴȴȉ
ȮÙȪƹ¿ȒȬǺಶ೨ગࠡ๞ࢻ‫ڿ‬ǠणङƧǙơƶƚƵƛǌƧÀ

й्ǼȄȉȞǥȴȉȗȪȴȂƘǖǁȘȮǼǺ੒ȗȪȴȂƼȖǢȴǰǸȨȴ͕ѕƹ¿ຏ৚঩‫ܥ‬೨ँࠡ๞ǒ¿঩‫ࠡܥ‬๞೨ँǠߝ୏Ƶ೨‫ڒ‬ƧǙǫȘǸȨȴǠ‫ݝ‬ขƧǚƾ¿ҳॽƸ PID ǴȴȉȮÙȪǠǥȴȘȫȢȴȉƵƛǌƧÀ
‫ޔ‬ƹǶȗȖǢȴǰǸȨȴǠ्ඓƥǌƧÀǼȄȉȞǥȴȉȗȪȴȂ
ǼȄȉȞǥȴȉƽ¿SP_INT ஝๞ƹƘƒƴಛ୏࡝ँଁȖǪÙȟȄȉƵ஝๞ƥǌƧÀȘȮǼǺ೨ँȗȪȴȂȘȮǼǺ೨ँƽ¿țȫȖǨȪȬ I/O ǌƭƽಛ୏࡝ँଁȖǪÙȟȄȉƵ஝๞ƵƛǌƧÀCRP_IN ȖǢȴǰǸȨȴƽ¿‫ޔ‬Ƽ‫ޣ‬ƹࠏƱƴ¿PV_PER țȫȖǨȪȬ੒Ǡ –100 Þ +100 % Ƽಛ୏࡝ँଁȖǪÙȟȄȉƹ೨ҼƥǌƧÀ
CRP_IN Ƽࠡ๞= PV_PER m

100
27648

PV_NORM ȖǢȴǰǸȨȴƵƽ¿‫ޔ‬Ƽ‫ޣ‬ƹࠏƱƴ CRP_IN Ƽࠡ๞Ǡ౱࠱ЄƥǌƧÀ
PV_NORM Ƽࠡ๞ =çCRP_INƼ ࠡ๞è PV_FAC + PV_OFF
PV_FAC ƼȈȖǪȬȉ੒ƽŒ¿PV_OFF ƼȈȖǪȬȉ੒ƽőƵƧÀ

ǩȪÙࢻ‫ڿ‬ǼȄȉȞǥȴȉƶȘȮǼǺ೨ँƹ۰ƚƐǙƶ¿ǩȪÙࢻ‫ڿ‬ƚఊणƥǌƧÀ঩‫ࠡܥ‬๞೨ँƼ๛‫ݧ‬ЄçPULSEGEN ƹǖǙȒȬǺಶ೨ગƸƷèƚ‫΃ر‬ƵఊणƧǙ࡝ƣƸ‫׮‬৚૫ࣃ୏Ǡฏ‫ݴ‬ƧǙƹƽ¿ǩȪÙࢻ‫ڿ‬ƹȈȄȊȑȴȊǠ
૭ขƥǌƧçDEADBANDèÀDEADB_W ƚőƼ࢛‫¿ۀ‬ȈȄȊȑȴȊƽǫ
ȖƹƸǘǌƧÀ
PID ǣȬǵȫǻȡ
PID ǣȬǵȫǻȡƽ¿ȞǹǸȨȴǣȬǵȫǻȡƶƥƴ୏‫ܥ‬ƥǌƧÀు๲¿़ೃçINTè¿౔ೃçDIFèƼѫǣǰǸȨȴƽ೙ຂƹे৚ƣǚ¿ƫǚƬǚೣ‫ؿ‬ƹෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƵƛǌƧÀơǚƹǖǘ¿P¿PI¿PD¿Ƙǖǁ PID ƼѫǴȴȉȮÙȪǠǴȴȖǤǱȭÙǸȨȴƵƛǌƧÀI ǴȴȉȮÙȪƘǖǁ DǴȴȉȮÙȪǠे৚ƧǙơƶǐƵƛǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

ߝ୏੒ߝ୏ȣÙȊƶ‫୏ޞ‬ȣÙȊƼॅǘҼƖƚЋ஺ƵƧÀߝ୏ȣÙȊƵƽ¿঩‫ࠡܥ‬๞೨ँǠॳਙƥƭ੒ƹߝ୏ƵߵठƥǌƧÀ़ೃԂ஺çINTèƽ LMN –LMN_P – DISV ƹ஁ಭॊ્ƣǚ¿౔ೃȧȌȄȉçDIFèƽőƹॊ્ƣǚƴ¿஁ಭ૫ƹͷੜƥǌƧÀƲǌǘ¿‫୏ޞ‬ȣÙȊƹॅǘҼƖƴǐ¿঩‫ࠡܥ‬๞੒ƚƒƛƸǘ೨‫ڒ‬ƣǚǙơƶƽƐǘǌƩǡÀ
঩‫ࠡܥ‬๞੒LMNLIMIT ȖǢȴǰǸȨȴǠ‫ݝ‬ขƧǚƾ¿঩‫ࠡܥ‬๞੒Ǡॳਙƥƭ੒ƹऔ‫ؽ‬ƧǙơƶƚƵƛǌƧÀ஝๞೨ँƹǖƱƴƫƼऔ‫ؽ‬ǠઙƖǙƶ¿ಝ‫ڿ‬ȔȄȉƚƫƼơƶǠ੓ǗƩǌƧÀ
LMN_NORM ȖǢȴǰǸȨȴƽ¿‫ޔ‬Ƽ‫ޣ‬ƹࠏƱƴ LMNLIMIT Ƽࠡ๞Ǡ౱࠱ЄƥǌƧÀ
LMN = çLMNLIMIT Ƽࠡ๞è LMN_FAC + LMN_OFF
LMN_FAC ƼȈȖǪȬȉ੒ƽŒ¿LMN_OFF ƼȈȖǪȬȉ੒ƽőƵƧÀ

঩‫ࠡܥ‬๞੒ƽ¿țȫȖǨȪȬȖǪÙȟȄȉƵǐ‫ݝ‬ขƵƛǌƧÀCRP_OUT
ȖǢȴǰǸȨȴƵƽ¿‫ޔ‬Ƽ‫ޣ‬ƹࠏƱƴ¿ಛ୏࡝ँଁ੒ LMN ǠțȫȖǨȪ
Ȭ੒ƹ೨ҼƥǌƧÀ
LMN_PER = LMN m

27648
100

ȖǤÙȊȖǪȰÙȊऔ١DISV ஝๞Ƶƽ¿ѕม೨ँǠȖǤÙȊȖǪȰÙȊƧǙơƶƚƵƛǌƧÀ

ȣÙȊҳॽ‫۽‬Ԑ୏Ü‫۽‬Ԑ୏FB41 ”CONT_C” ƽ¿஝๞ȒȪȢÙȀ COM_RST ƚ TRUE ƹॊ્ƣǚƴƒǙƶƛƹ޵‫ڭ‬ƧǙҳॽ‫۽‬Ԑ୏ȬÙȂȴǠǐƱƴƒǌƧÀ
ǸǺȇȡƼԐ୏‫ޓ‬ƹ¿़ೃԂ஺ƽ࠺ӿ੒ I_ITVAL ƹ஁ಭॊ્ƣǚǌƧÀ߱ӿ҉ǘۗǍූ॓ଚǰȪǺƵ‫ف‬ǁࠡƣǚǙƶ¿ơƼ੒ƙǗ୏‫ܥ‬Ǡ‫׮‬৚ƥǌƧÀƫƼ৥Ƽࠡ๞ƽƧǇƴ¿ȈȖǪȬȉ੒ƹॊ્ƣǚǌƧÀ

ǩȪÙ࢟ഊơƼȗȮȄǰƵƽ¿ǩȪÙƼ஁ಭȂǨȄǰƽ‫ڭ‬ǝǚǌƩǡÀƥƭƚƱƴ¿ǩȪÙࠡ๞ȒȪȢÙȀ RET_VAL ƽ‫ݝ‬ขƥǌƩǡÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ‫ږ‬ङ࣫

SP_INT
393(5B21
*$,1

39B,1

'($'%$1'


&53B,1

PV_PERyy

39B1250y'($'%B:



y
y

y
0.0 y



7, ,17B+2/'
,B,7/B21
,B,7/9$/

0.0

(5

39

39B)$&
39B2))

,17

X

y
y



3B6(/

/01B3

y
,B6(/

y

',69




/01B,

',)



0.0
7' 70B/$*

y
y



y
/01B'

'B6(/

4/01B+/0
4/01B//0
0$1/01

0$1B21/01/,0,7yy/01B1250y/01B+/0
/01B//0

࣫ 3-1



&53B287

LMN_PER/01B)$&/01B2))

CONT_C Ƽ‫ږ‬ङ࣫

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

஝๞ȒȪȢÙȀ

FB41 ”CONT_C” Ƽ஝๞ȒȪȢÙȀƼ्ඓǠ౶ 3–1 ƹ‫ޛ‬ƥǌƧÀ

౶ 3-1

FB 41 ”CONT_C” Ƽ஝๞ȒȪȢÙȀçINPUTè

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

COM_RSTBOOL

MAN_ONPVPER_ON

P_SEL

੒Ƽప͚

BOOL

BOOL

BOOL

ȈȖǪȬȉ
੒

्ඓ

FALSE

COMPLETE RESTARTơƼȗȮȄǰƽ¿஝๞ ”complete restart” ƚॊ્ƣǚƴƒǙ
ƶƛƹ޵‫ڭ‬ƧǙҳॽ‫۽‬Ԑ୏ȬÙȂȴǠǐƱƴƒǌƧTRUE

MANUAL VALUE ON
஝๞ ”manual value on” Ǡॊ્ƧǙƶ¿औ١ȬÙȘǆƼ҉ǘۗǍƚ޵‫ڭ‬ƣǚǌƧÀߝ୏੒ƽ¿঩‫ࠡܥ‬๞੒ƶƥƴॊ્ƣ
ǚǌƧÀ

FALSE

PROCESS VARIABLE PERIPHERAL ONȘȮǼǺ೨ँǠ I/O ƙǗ୨ǍߛǙ࢛‫¿ۀ‬஝๞ PV_PER ǠI/Oƹे৚ƥ¿஝๞”process variableperipheral on” Ǡॊ્ƧǙ౥จƚƐǘǌƧÀTRUEPROPORTIONAL ACTION ON
PID ǣǰǸȨȴƽ¿PID ǣȬǵȫǻȡƵ‫ؿ‬Öƹෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƵƛǌƧÀ஝๞ ”proportional action on” Ǡॊ્ƧǙƶ¿P ǣǰǸȨȴƽǫȴƹƸǘǌƧÀ

I_SEL

BOOL

TRUE

INTEGRAL ACTION ON
PID ǣǰǸȨȴƽ¿PID ǣȬǵȫǻȡƵ‫ؿ‬Öƹෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƵƛǌƧÀ஝๞ ”integral action on” Ǡॊ્ƧǙƶ¿IǣǰǸȨȴƽǫȴƹƸǘǌƧÀ

INT_HOLD

BOOL

FALSE

INTEGRAL ACTION HOLD़ೃԂ஺Ƽࠡ๞ƽ¿஝๞ ”integral action hold” Ǡॊ્ƧǙơƶƵóȖȫÙǻôƵƛǌƧÀ

I_ITL_ON

BOOL

FALSE

INITIALIZATION OF THE INTEGRAL ACTION़ೃԂ஺Ƽࠡ๞ƽ¿஝๞ ”initialization of the integral action on” Ǡॊ્ƧǙơƶƵ¿஝๞ I_ITL_VAL ƹे৚ƵƛǌƧÀFALSE

DERIVATIVE ACTION ON
PID ǣǰǸȨȴƽ¿PID ǣȬǵȫǻȡƵ‫ؿ‬Öƹෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƵƛǌƧÀ஝๞”derivativeactionon” Ǡॊ્ƧǙƶ¿D ǣǰǸȨȴƽǫȴƹƸǘǌƧÀ

D_SEL

BOOL

CYCLE

TIME

>= 1msT#1s

SAMPLING TIME
ȗȮȄǰ‫ف‬ǁࠡƥƼәѻƽͷ્ƵƸƟǚƾƸǘǌƩǡÀ
”sampling time” ஝๞Ƶ¿ȗȮȄǰ‫ف‬ǁࠡƥƼ‫ޓ‬әәѻǠ‫ݭ‬્ƥǌƧÀ

SP_INT

REAL-100.0...100.
0 (%)
or phys.
value 1)

0.0

INTERNAL SETPOINT”internal setpoint” ஝๞Ƶ¿ǼȄȉȞǥȴȉǠ‫્ݭ‬ƥǌƧÀ

PV_IN

REAL

-100.0...100.
0 (%)
or phys.
value 1)

0.0

PROCESS VARIABLE IN”process variable in” ஝๞Ƶ࠺ӿ੒Ǡॊ્ƥƭǘ¿ಛ୏࡝ँଁȖǪÙȟȄȉƼѕಭȘȮǼǺ೨ँǠे৚ƧǙơƶƚƵƛ
ǌƧÀ

PV_PER

WORD

PROCESS VARIABLE PERIPHERAL
W#16#0000 I/O ȖǪÙȟȄȉƼȘȮǼǺ೨ँƽ¿” process variable
peripheral” ஝๞ƵǴȴȉȮÙȪƹे৚ƣǚǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

౶ 3-1

FB 41 ”CONT_C” Ƽ஝๞ȒȪȢÙȀçINPUTè¿৚ƛ

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

੒Ƽప͚

ȈȖǪȬȉ
੒

्ඓ

MAN

REAL

-100.0...100.
0 (%)ǌƭƽ޵‫ܔ‬Ƽ੒ 2)

0.0

MANUAL VALUE”manual value” ஝๞ƵǫțȭÙȀǥȴȀÙȖǨÙǺȖǢȴ
ǰǸȨȴǠ‫ݝ‬ขƥƴ¿ߝ୏੒Ǡॊ્ƥǌƧÀ

GAIN

REAL

2.0

PROPORTIONAL GAIN
”proportional value” ஝๞Ƶ¿ǴȴȉȮÙȪǳǥȴǠ‫્ݭ‬ƥ
ǌƧÀ

TI

TIME

>= CYCLE

T#20s

RESET TIME
”resettime” ஝๞ƹǖǘ¿़ೃԂ஺ƼȀǥȡȭǺȞȴǺƚ؅
્ƥǌƧÀ

TD

TIME

>= CYCLE

T#10s

DERIVATIVE TIME
”derivativetime”஝๞ƹǖǘ¿౔ೃȧȌȄȉƼȀǥȡȭǺȞ
ȴǺƚ؅્ƥǌƧÀ
TIME LAG OF THE DERIVATIVE ACTION
D ǣǰǸȨȴƼǣȬǵȫǻȡƹƽ¿”time lag of thederivative action” ஝๞Ƶ҉ǘಎƟЋ஺ƸȀǥȡȪǱƚӡǌǚƴƒǌƧÀ

TM_LAGTIME>= CYCLE/2

T#2s

DEADB_W

REAL>= 0.0 (%)
or phys.
value 1)

0.0

DEAD BAND WIDTHǩȪÙƹȈȄȊȑȴȊƚ૭ขƣǚǌƧÀ”dead band width”
஝๞ƹǖǘ¿ȈȄȊȑȴȊƼǶǥǻƚ؅્ƥǌƧÀREAL

LMN_LLM...100.0 (%)ǌƭƽ޵‫ܔ‬
Ƽ੒ 1)

100.0

MANIPULATED VALUE HIGH LIMIT঩‫ࠡܥ‬๞੒ƽ࢞ƹ࢔‫ؽ‬੒ƘǖǁЃ‫ؽ‬੒ƹǖƱƴऔ‫ؽ‬ƣǚǌƧÀ”manipulated value high limit” ஝๞Ƶ¿࢔‫ؽ‬੒Ǡ‫્ݭ‬ƥǌƧÀ

LMN_LLM

REAL-100.0...
LMN_HLM(%)ǌƭƽ޵‫ܔ‬Ƽ੒ 2)

0.0

MANIPULATED VALUE LOW LIMIT঩‫ࠡܥ‬๞೨ँƽ࢞ƹ࢔‫ؽ‬੒ƘǖǁЃ‫ؽ‬੒ƹǖƱƴऔ‫ؽ‬ƣǚǌƧÀ”manipulatedvaluelowlimit” ஝๞Ƶ¿Ѓ‫ؽ‬੒Ǡ‫્ݭ‬ƥǌƧÀ

PV_FAC

REAL

1.0

PROCESS VARIABLE FACTOR”processvariablefactor” ஝๞ƽ¿ȘȮǼǺ೨ँƵ঩‫ܥ‬ƥǌƧÀơƼ஝๞Ǡ‫ݝ‬ขƥƴ¿ȘȮǼǺ೨ँƼప͚ǠગछƥǌƧÀ

LMN_HLM

PV_OFF

REAL

0.0

PROCESS VARIABLE OFFSET”process variable offset” ஝๞ƚ¿ȘȮǼǺ೨ँƹબЊƣǚǌƧÀơƼ஝๞Ǡ‫ݝ‬ขƥƴ¿ȘȮǼǺ೨ँƼప͚ǠગछƥǌƧÀ

LMN_FAC

REAL

1.0

MANIPULATED VALUE FACTOR”manipulated value factor” ஝๞ƽ¿঩‫ࠡܥ‬๞੒Ƶ঩‫ܥ‬ƥǌƧÀơƼ஝๞Ǡ‫ݝ‬ขƥƴ¿঩‫ࠡܥ‬๞੒Ƽప͚ǠગछƥǌƧÀ

LMN_OFF

REAL

0.0

MANIPULATED VALUE OFFSET”manipulated value offset” ƚ¿঩‫ࠡܥ‬๞೨ँƹબЊƣǚǌƧÀ
ơƼ஝๞Ǡ‫ݝ‬ขƥƴ¿঩‫ࠡܥ‬๞੒Ƽప͚ǠગछƥǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

౶ 3-1

FB 41 ”CONT_C” Ƽ஝๞ȒȪȢÙȀçINPUTè¿৚ƛ

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

੒Ƽప͚

I_ITLVAL

DISV

ȈȖǪȬȉ
੒

्ඓ

REAL

-100.0...100.
0 (%)ǌƭƽ޵‫ܔ‬Ƽ੒ 2)

0.0

INITIALIZATION VALUE OF THE INTEGRAL ACTION़ೃԂ஺Ƽࠡ๞ƽ¿஝๞ I_ITL_ON Ƶॊ્ƵƛǌƧÀ஝๞”initialization value of the integral action” ƹƽ¿࠺ӿ੒ƚ‫ݝ‬ข
ƣǚǌƧÀ

REAL

-100.0...100.
0 (%)ǌƭƽ޵‫ܔ‬Ƽ੒ 2)

0.0

DISTURBANCE VARIABLEȖǤÙȊȖǪȰÙȊऔ١Ƶƽ¿஝๞ ”disturbance variable”
ƹѕม೨ँƚे৚ƣǚǌƧÀ

1) ǼȄȉȞǥȴȉȗȪȴȂƘǖǁȘȮǼǺ೨ँȗȪȴȂƼȒȪȢÙȀç୐Ʀਸ਼͗è2) ঩‫ࠡܥ‬๞೨ँȗȪȴȂƼȒȪȢÙȀç୐Ʀਸ਼͗èࠡ๞ȒȪȢÙȀ

౶ 3-2

FB41 ”CONT_C” Ƽࠡ๞ȒȪȢÙȀƼ्ඓǠ౶ 3–2 ƹƥǌƧÀ

FB 41 ”CONT_C” Ƽࠡ๞ȒȪȢÙȀçOUTPUTè

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

੒Ƽప
͚

ȈȖǪȬȉ
੒

LMN

REAL

LMN_PERWORD

QLMN_HLM

BOOL

FALSE

HIGH LIMIT OF MANIPULATED VALUE REACHED঩‫ࠡܥ‬๞೨ँƽ࢞ƹ࢔‫ؽ‬੒ƘǖǁЃ‫ؽ‬੒ƹऔ‫ؽ‬ƣǚǌƧÀ
ࠡ๞ ”high limit of manipulated value reached” ƽ¿࢔‫ؽ‬੒ǠઙƖƭơƶǠ‫ޛ‬ƥǌƧÀ

QLMN_LLM

BOOL

FALSE

LOW LIMIT OF MANIPULATED VALUE REACHED঩‫ࠡܥ‬๞೨ँƽ࢞ƹ࢔‫ؽ‬੒ƘǖǁЃ‫ؽ‬੒ƹऔ‫ؽ‬ƣǚǌƧÀ
ࠡ๞ ”low limit of manipulated value reached” ƽ¿Ѓ‫ؽ‬੒ǠઙƖƭơƶǠ‫ޛ‬ƥǌƧÀ

LMN_P

REAL

0.0

PROPORTIONAL COMPONENT”proportional component” ࠡ๞ƹƽ¿঩‫ࠡܥ‬๞೨ँƼు๲ङೃƚ‫ޛ‬ƣǚǌƧÀ

LMN_I

REAL

0.0

INTEGRAL COMPONENT”integral component” ࠡ๞ƹƽ¿঩‫ࠡܥ‬๞੒Ƽ़ೃङೃƚ‫ޛ‬
ƣǚǌƧÀ

LMN_D

REAL

0.0

DERIVATIVE COMPONENT”derivative component” ࠡ๞ƹƽ¿঩‫ࠡܥ‬๞੒Ƽ౔ೃङೃƚ‫ޛ‬ƣǚǌƧÀ

0.0

्ඓ
MANIPULATED VALUE”manipulated value” ࠡ๞ƹƘƒƴ¿ෞ‫ٵ‬Ƹ঩‫ࠡܥ‬๞੒ƚಛ୏࡝ँଁȖǪÙȟȄȉƵࠡ๞ƣǚǌƧÀ

W#16#0000 MANIPULATED VALUE PERIPHERAL”manipulatedvalueperipheral” ࠡ๞ƹƘƒƴ¿I/OȖǪÙȟȄ
ȉƼ঩‫ࠡܥ‬๞੒ƚǴȴȉȮÙȪƹे৚ƣǚǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

౶ 3-2

FB 41 ”CONT_C” Ƽࠡ๞ȒȪȢÙȀçOUTPUTè¿৚ƛ

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

PV

REAL

0.0

PROCESS VARIABLEෞ‫ٵ‬ƸȘȮǼǺ೨ँƚ¿”process variable” ƹࠡ๞ƣǚǌ
ƧÀ

ER

REAL

0.0

ERROR SIGNALෞ‫ٵ‬ƸǩȪÙƚ ”error signal” ƹࠡ๞ƣǚǌƧÀ



੒Ƽప
͚

ȈȖǪȬȉ
੒

्ඓ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

3.2

FB42 ”CONT_S” ƹǖǙǺȇȄȘऔ١ƽƦǏƹFB42 ”CONT_S” ƽ¿SIMATIC S7 ȘȮǱȪȟȗȬȮǹȄǰǴȴȉȮÙȪƵ
ԜࠢȘȮǼǺǠऔ١ƧǙƭǏƹ‫ݝ‬ขƥ¿़ೃǣǰȂȦǩÙȀƹ৷ƥȈǹȀȬ঩‫ࠡܥ‬๞੒ࠡ๞ࢻ‫ڿ‬ǠणङƥǌƧÀȒȪȢÙȀ҉ǘಎƟƵ PI ǺȇȄȘǴȴȉȮÙȪƼǶȗȖǢȴǰǸȨȴǠෞ‫ٵ‬ǌƭƽඈ‫ٵ‬ƹƧǚƾ¿ǴȴȉȮÙȪǠȘȮǼǺƹ૭‫ۀ‬ƣƩǙơƶƚƵƛǌƧÀ

૭ขప͚ơƼǴȴȉȮÙȪƽ¿PI ‫્ق‬ǼȄȉȞǥȴȉǴȴȉȮÙȪƶƥƴ¿ƐǙƒƽœ‫ޔ‬औ١ȬÙȘƵǬǺǲÙȊǴȴȉȮÙȪ¿ȗȭȴȈǤȴǱǴȴȉ
ȮÙȪ¿ǌƭƽుืǴȴȉȮÙȪƶƥƴ‫ݝ‬ขƵƛǌƧƚ¿Œ‫ޔ‬ǴȴȉȮÙ
Ȫƶƥƴƽ‫ݝ‬ขƵƛǌƩǡÀǴȴȉȮÙȪƼȖǢȴǰǸȨȴƽƧǇƴ¿ǶȴȘȫȴǱǴȴȉȮÙȪƼ PI औ١ǣȬǵȫǻȡƹӳƳƒƴƒǌƧÀơƼ
PI औ١ǣȬǵȫǻȡƽ¿ǣȋȮǱ୏‫ڿࢻܥ‬ƙǗȑǥȋȫࠡ๞ࢻ‫ڿ‬ǠणङƧǙȖǢȴǰǸȨȴƹǖƱƴબЊƣǚǌƧÀ

й्ȘȮǼǺ੒ȗȪȴȂƼȖǢȴǰǸȨȴ͕ѕƹ¿ȈǹȀȬ঩‫ࠡܥ‬๞੒ࠡ๞ǒ¿঩‫ࠡܥ‬๞੒Ǡߝ୏Ƶ೨‫ڒ‬ƧǙǫȘǸȨȴǠ‫ݝ‬ขƧǚƾ¿ҳॽƸ PI ǴȴȉȮÙȪǠǥȴȘȫȢȴȉƵƛǌƧÀǺȇȄȘǴȴȉȮÙȪƽ¿ȞǹǸȨȴȖǤÙȊȑȄǰࢻ‫ڿ‬ǠणङƩƨƹ୏‫ܥ‬ƥǌƧÀ‫ޔ‬ƹǶȗȖǢȴǰǸȨȴǠ्ඓƥǌƧÀǼȄȉȞǥȴȉȗȪȴȂ
ǼȄȉȞǥȴȉƽ¿SP_INT ஝๞ƹƘƒƴಛ୏࡝ँଁȖǪÙȟȄȉƵ஝๞ƥǌƧÀȘȮǼǺ೨ँȗȪȴȂȘȮǼǺ೨ँƽ¿țȫȖǨȪȬçI/Oèǌƭƽಛ୏࡝ँଁȖǪÙȟȄȉƵ஝๞ƵƛǌƧÀCRP_IN ȖǢȴǰǸȨȴƽ¿‫ޔ‬Ƽ‫ޣ‬ƹࠏƱƴ¿PV_PER țȫȖǨȪȬ੒Ǡ –100 Þ +100 % Ƽಛ୏࡝ँଁȖǪÙȟȄȉƹ೨ҼƥǌƧÀ
CRP_INƼࠡ๞ = PV_PER m

100
27648

PV_NORM ȖǢȴǰǸȨȴƽ¿‫ޔ‬Ƽ‫ޣ‬ƹࠏƱƴ CRP_IN Ƽࠡ๞Ǡ౱࠱ЄƥǌƧÀ
PV_NORM Ƽࠡ๞ =çCRP_IN Ƽࠡ๞è PV_FAC + PV_OFF
PV_FAC ƼȈȖǪȬȉ੒ƽŒ¿PV_OFF ƼȈȖǪȬȉ੒ƽőƵƧÀ

ǩȪÙࢻ‫ڿ‬ǼȄȉȞǥȴȉƶȘȮǼǺ೨ँƹ۰ƚƐǙƶ¿ǩȪÙࢻ‫ڿ‬ƚఊणƥǌƧÀ঩‫ࠡܥ‬๞೨ँƼ๛‫ݧ‬ЄçƭƶƖƾ¿঩‫ࠡܥ‬๞೨ँƼೃй஺ƚǣǰȂȦǩÙȀȑ
ȬȗƵऔ‫ؽ‬ƣǚƴƒǙ࢛‫ۀ‬ƸƷèƚ‫΃ر‬ƵఊणƧǙ࡝ƣƸ‫׮‬৚૫ࢻ‫ڿ‬Ǡฏ‫ݴ‬ƧǙƹƽ¿ǩȪÙࢻ‫ڿ‬ƹȈȄȊȑȴȊǠ૭ขƥǌƧçDEADBANDèÀ
DEADB_WƚőƼ࢛‫¿ۀ‬ȈȄȊȑȴȊƽǫȖƹƸǘǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

PI ǺȇȄȘǣȬǵȫǻȡ
ơƼ FB ƽ¿ȞǹǸȨȴȖǤÙȊȑȄǰࢻ‫ڿ‬ǠणङƩƨƹ୏‫ܥ‬ƥǌƧÀPI
ǣȬǵȫǻȡƼţǣǰǸȨȴƶЅ્ƼȞǹǸȨȴȖǤÙȊȑȄǰࢻ‫ڿ‬ƽ¿ŒƲƼ़ೃԂ஺çINTèƵ‫ݐ״‬ƣǚ¿ȖǤÙȊȑȄǰ੒ƶƥƴ‫ݙ‬ǘƼŪǣǰǸȨȴƶుѸƣǚǌƧÀŔǺȇȄȘǩȭȢȴȉçTHREE_STèƶǣǰ
ȂȦǩÙȀƹȒȬǺǠणङƧǙȒȬǺǹǨȎȭÙȀçPULSEOUTèƹƽ۰ƚणƦǌƧÀǴȴȉȮÙȪƼॅǘҼƖಊଚƽ¿ŔǺȇȄȘǩȭȢȴȉƼǺ
ȭȄǸȨȬȊǠગछƧǙơƶƵ‫ص‬ǗƩǌƧÀ
ȖǤÙȊȖǪȰÙȊऔ١DISV ஝๞Ƶƽ¿ѕม೨ँǠȖǤÙȊȖǪȰÙȊƵƛǌƧÀ

ȣÙȊҳॽ‫۽‬Ԑ୏Ü‫۽‬Ԑ୏FB42 ”CONT_S” ƽ¿஝๞ȒȪȢÙȀ COM_RST ƚ TRUE ƹॊ્ƣǚƭƶƛƹ޵‫ڭ‬ƧǙҳॽ‫۽‬Ԑ୏ȬÙȂȴǠǐƱƴƒǌƧÀ
৥Ƽࠡ๞ƽƧǇƴ¿ȈȖǪȬȉ੒ƹॊ્ƣǚǌƧÀ

ǩȪÙ࢟ഊ



ơƼȗȮȄǰƵƽ¿ǩȪÙƼ஁ಭȂǨȄǰƽ‫ڭ‬ǝǚǌƩǡÀƥƭƚƱƴ¿ǩȪÙࠡ๞ȒȪȢÙȀ RET_VAL ƽ‫ݝ‬ขƥǌƩǡÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ‫ږ‬ङ࣫

SP_INT
393(5B21

39B,1

*$,1

'($'%$1'


&53B,1

PV_PERyy

39B1250

y

X





'($'%B:(53939B)$&
39B2)),17/015B+6/01/,0,7/015B6,0/015B/6
 /0156B21
/01569$/

/0183
/01'1
/016B21',69

DGDSWLYy38/6(287



y
y

y
y

7+5((B67

075B70

y

$1
'

y

$1
'

QLMNUP$1'

QLMNDN$1'
38/6(B70
%5($.B70

100.0
0.0

-100.0 y

0.0 y
25

/016B21

y
7,



y
y

0.0

0.0

࣫ 3-2



y
075B70

X


,17

X



y

y y





y
y

y



CONT_S Ƽ‫ږ‬ङ࣫

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

஝๞ȒȪȢÙȀ

FB42 ”CONT_S” Ƽ஝๞ȒȪȢÙȀƼ्ඓǠ౶ 3–3 ƹ‫ޛ‬ƥǌƧÀ

౶ 3-3

FB 42 ”CONT_S” Ƽ஝๞ȒȪȢÙȀçINPUTè

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

COM_RST

BOOL

੒Ƽప͚

ȈȖǪȬȉ
੒
FALSE

्ඓ
COMPLETE RESTARTơƼȗȮȄǰƽ¿஝๞”completerestart”ƚॊ્ƣǚƴƒǙ
ƶƛƹ޵‫ڭ‬ƧǙҳॽ‫۽‬Ԑ୏ȬÙȂȴǠǐƱƴƒǌƧÀ

LMNR_HS

BOOL

FALSE

HIGH LIMIT OF POSITION FEEDBACK SIGNAL”actuator at upper limit stop” ࢻ‫ڿ‬ƚ¿”high limit of position
feedback signal” ஝๞ƹे৚ƣǚǌƧÀLMNR_HS Ǡ TRUE
ƹƧǙƶ¿ǣǰȂȦǩÙȀƽ࢔‫ؽ‬੒Ƶે‫ݴ‬ƥǌƧÀ

LMNR_LS

BOOL

FALSE

LOW LIMIT OF POSITION FEEDBACK SIGNAL”actuator at lower limit stop” ࢻ‫ڿ‬ƚ¿”low limit of position
feedback signal” ஝๞ƹे৚ƣǚǌƧÀLMNR_LS Ǡ TRUE
ƹƧǙƶ¿ǣǰȂȦǩÙȀƽЃ‫ؽ‬੒Ƶે‫ݴ‬ƥǌƧÀ

LMNS_ON

BOOL

FALSE

MANUAL ACTUATING SIGNALS ON”manual actuating signals on” ஝๞Ƶ¿୏‫࠹ڿࢻܥ‬ฮǠߝ୏ƹॅǘҼƖǌƧÀ

LMNUP

BOOL

FALSE

ACTUATING SIGNALS UPߝ୏୏‫ܥ‬੒ࢻ‫ڿ‬Ǡ‫ݝ‬Ʊƴ¿஝๞ ”actuating signals up” Ƶࠡ๞ࢻ‫ ڿ‬QLMNUP Ǡॊ્ƥǌƧÀ

LMNDN

BOOL

FALSE

ACTUATING SIGNALS DOWNߝ୏୏‫ܥ‬੒ࢻ‫ڿ‬Ǡ‫ݝ‬Ʊƴ¿஝๞ ”actuating signals down”
Ƶࠡ๞ࢻ‫ ڿ‬QLMNDN Ǡॊ્ƥǌƧÀ

PVPER_ON

BOOL

FALSE

PROCESS VARIABLE PERIPHERAL ONȘȮǼǺ೨ँǠI/OƙǗ୨ǍߛǙ࢛‫ۀ‬ƽ¿஝๞PV_PERǠI/O ƹे৚ƥ¿஝๞ ”process variable peripheral on” Ǡॊ્ƧǙ౥จƚƐǘǌƧÀ

CYCLE

TIME

>= 1msT#1s

SAMPLING TIME
ȗȮȄǰ‫ف‬ǁࠡƥƼәѻƽͷ્ƵƸƟǚƾƸǘǌƩǡÀ
”sampling time” ஝๞Ƶ¿ȗȮȄǰ‫ف‬ǁࠡƥƼ‫ޓ‬әәѻǠ‫્ݭ‬ƥǌƧÀ

SP_INT

PV_IN

PV_PER

REAL

REAL

WORD

-100.0...100.0(%)ǌƭƽ޵‫ܔ‬Ƽ
੒ 1)

0.0-100.0...100.0(%)ǌƭƽ޵‫ܔ‬Ƽ੒ 1)

0.0

INTERNAL SETPOINT”internalsetpoint” ஝๞ƹǖǘ¿ǼȄȉȞǥȴȉǠ‫્ݭ‬ƥǌƧÀ
PROCESS VARIABLE IN”processvariablein” ஝๞Ƶ࠺ӿ੒Ǡॊ્ƧǙƙ¿ಛ୏࡝ँଁȖǪÙȟȄȉƼѕಭȘȮǼǺ೨ँƹे৚ƧǙơƶƚƵƛ
ǌƧÀ

W#16#0000 PROCESS VARIABLE PERIPHERAL
I/O ȖǪÙȟȄȉƼȘȮǼǺ೨ँƽ¿” process variable
peripheral” ஝๞ƵǴȴȉȮÙȪƹे৚ƣǚǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

౶ 3-3

FB 42 ”CONT_S” Ƽ஝๞ȒȪȢÙȀçINPUTè¿৚ƛ

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

GAIN

REAL

੒Ƽప͚

ȈȖǪȬȉ
੒
2.0

्ඓ
PROPORTIONAL GAIN
”proportional gain” ஝๞Ƶ¿ǴȴȉȮÙȪǳǥȴǠॊ્ƥ
ǌƧÀ

TI

TIME

>= CYCLE

T#20s

RESET TIME
”reset time” ஝๞ƹǖǘ¿़ೃԂ஺ƼȀǥȡȭǺȞȴǺƚ
؅્ƥǌƧÀ

DEADB_W

PV_FAC

REAL

0.0...100.0(%)ǌƭƽ޵‫ܔ‬Ƽ
੒ 1)

REAL

1.0

DEAD BAND WIDTHǩȪÙƹƽȈȄȊȑȴȊƚ૭ขƣǚǌƧÀ”dead band width” ஝๞ƹǖǘ¿ȈȄȊȑȴȊƼǶǥǻƚ؅્ƥǌƧÀ

1.0

PROCESS VARIABLE FACTOR”process variable factor” ஝๞ƹ¿ȘȮǼǺ೨ँǠ҂ƟǌƧÀơƼ஝๞Ǡ‫ݝ‬ขƥƴ¿ȘȮǼǺ೨ँƼప͚Ǡ૭‫ۀ‬ƣƩǌƧÀ

PV_OFF

REAL

0.0

PROCESS VARIABLE OFFSET”process variable offset” ஝๞ƚ¿ȘȮǼǺ೨ँƹબЊƣǚǌƧÀơƼ஝๞Ǡ‫ݝ‬ขƥƴ¿ȘȮǼǺ೨ँƼప͚Ǡ૭‫ۀ‬ƣƩǌƧÀ

PULSE_TM

TIME>= CYCLE

T#3s

MINIMUM PULSE TIME
ȒȪȢÙȀ ”minimum pulse time” Ƶ¿‫࡝۾‬ȒȬǺಶǠ҉ǘಎƟǌƧÀ

BREAK_T
M

TIME

MTR_TM

TIME>= CYCLE

T#3s

MINIMUM BREAK TIME
ȒȪȢÙȀ”minimumbreaktime” Ƶ¿‫࡝۾‬ȗȭÙǰ‫ޓ‬әǠ҉ǘಎƟǌƧÀ

>= CYCLE

T#30s

MOTOR ACTUATING TIME
”motor actuating time” ȒȪȢÙȀƵ¿ǣǰȂȦǩÙȀƚȫ
ȠȄȉǺȉȄȘƙǗ‫ޔ‬ƼȫȠȄȉǺȉȄȘǆͧ‫ڭ‬ƧǙƼƹจƧǙ‫ޓ‬әǠ஝๞ƥǌƧÀ

DISV

REAL

-100.0...100.0(%)ǌƭƽ޵‫ܔ‬Ƽ੒ 2)

0.0

DISTURBANCE VARIABLEȖǤÙȊȖǪȰÙȊऔ١Ƶƽ¿ѕม೨ँƚ஝๞”disturbance variable” ƹे৚ƣǚǌƧÀ

1) ǼȄȉȞǥȴȉȗȪȴȂƶȘȮǼǺ೨ँȗȪȴȂƼȒȪȢÙȀç୐Ʀਸ਼͗è2) ঩‫ࠡܥ‬๞੒ȗȪȴȂƼȒȪȢÙȀç୐Ʀਸ਼͗è

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

ࠡ๞ȒȪȢÙȀ
౶ 3-4

FB42 ”CONT_S” Ƽࠡ๞ȒȪȢÙȀƼ्ඓǠ౶ 3–4 ƹƥǌƧÀ

FB42 ”CONT_S” Ƽࠡ๞ȒȪȢÙȀçOUTPUTè

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

QLMNUP

BOOL

੒Ƽప͚

ȈȖǪȬȉ
੒
FALSE

्ඓ
ACTUATING SIGNAL UP
ࠡ๞ ”actuating signal up” Ǡॊ્ƧǙƶ¿‫୏ܥ‬ȑȬȗƚѐƛǌƧÀ

QLMNDN

BOOL

FALSE

ACTUATING SIGNAL DOWN
ࠡ๞ ”actuating signal down” Ǡॊ્ƧǙƶ¿‫୏ܥ‬ȑȬȗƚ
ѐƛǌƧÀ

PV

REAL

0.0

PROCESS VARIABLEෞ‫ٵ‬ƸȘȮǼǺ೨ँƚ¿”process variable” Ƶࠡ๞ƣǚ
ǌƧÀ

ER

REAL

0.0

ERROR SIGNALෞ‫ٵ‬ƸǩȪÙƚ¿”error signal” Ƶࠡ๞ƣǚǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

3.3

FB43 ”PULSEGEN” ƹǖǙȒȬǺƼणङƽƦǏƹFB43 ”PULSEGEN” ƽ¿ు๲ǣǰȂȦǩÙȀƹȒȬǺࠡ๞Ǡ‫ڭ‬Ɣ PID ǴȴȉȮÙȪǠǴȴȖǤǱȭÙǸȨȴƧǙ࢛‫ۀ‬ƹ‫ݝ‬ขƥǌƧÀ૭ขప͚FB43 ”PULSEGEN” Ǡ‫ݝ‬ขƧǚƾ¿ȒȬǺಶ೨ગǠ‫ڭ‬Ɣ಺ँƼ PID ǺȇȄȘǴȴȉȮÙȪǠǴȴȖǤǱȭÙǸȨȴƵƛǌƧÀơƼȖǢȴǰǸȨȴƽ
ય࢞¿ຏ৚ǴȴȉȮÙȪ ”CONT_C” ƶեƹ‫ݝ‬ขƥǌƧÀ&217B&

38/6(*(1
/01

й्

,19

PULSEGEN ȖǢȴǰǸȨȴƽ¿ȒȬǺಶƙǗȒȬǺຂǆƼ೨ગǠ߱ӿ૫ƹ޵‫ڭ‬ƥ¿஝๞೨ँ‫ࣄڒ‬ƼǶǥǰȬȀǥȡƶ PER_TM Ƶ҉ǘಎƟǙǶǥǰȬȀǥȡƹͷੜƣƩǙơƶƵ¿஝๞೨ँ INVçPID ǴȴȉȮÙȪƼ঩‫ࠡܥ‬๞੒èǠ೨ҼƥǌƧÀŒ߱ӿଷƭǘƼȒȬǺಶƽ¿஝๞೨ँƹు๲ƥǌƧÀPER_TM ƹ҉ǘಎƟǙǶǥǰȬƽ FB ” PULSEGEN” Ƽ࠹ฮǶǥǰȬƶƽͦƸǘǌƧÀ
PER_TM ǶǥǰȬƽ¿಺ँƼ FB ”PULSEGEN” ࠹ฮǶǥǰȬƙǗङǙƭǏ¿PER_TM ǶǥǰȬଷƭǘƼ FB ”PULSEGEN” ‫ف‬ǁࠡƥкँƽ¿ȒȬǺಶ೨ગƼѳଚǠఘੌƧǙӳ࠱ƶƸǘǌƧÀ
,19

/01







W


4326B3࣫ 3-3

38/6(*(1 F\FOH&217B& F\FOH
3(5B70WȒȬǺಶ೨ગ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

஝๞೨ँƚ 30%¿PER_TM ଷƭǘƼ FB ”PULSEGEN” ‫ف‬ǁࠡƥƚ 10 кƶƽ¿‫ޔ‬Ƽ͠൶ƹƸǘǌƧÀ
-FB ”PULSEGEN” Ƽ‫࠺۾‬ƼŔкƼ‫ف‬ǁࠡƥƹ৷ƧǙ QPOS ࠡ๞ƚ”Œ”ç10 кƼ‫ف‬ǁࠡƥƼ 30%è-FB ”PULSEGEN” ƼƐƶƼŘкƼ‫ف‬ǁࠡƥƹ৷ƧǙ QPOS ࠡ๞ƚ”ő”ç10 кƼ‫ف‬ǁࠡƥƼ 70%è‫ږ‬ङ࣫

326B3B211(*B3B21
6<1B21
67(3B21
67%,B21

,19

0$1B21


y
y
y
y

y
y

4326B341(*B3

3(5B70
3B%B70
5$7,2)$&

࣫ 3-4঩‫ࠡܥ‬๞੒Ƽѳଚ

PULSEGENƼ‫ږ‬ङ࣫”sampling ratio” ƚ 1:10çCONT_C ‫ف‬ǁࠡƥ৷ PULSEGEN ‫ف‬ǁࠡƥèƼ࢛‫¿ۀ‬঩‫ࠡܥ‬๞੒Ƽѳଚƽ 10% ƹऔ‫ؽ‬ƣǚǌƧƚ¿ơǚƽ‫ػ‬ƒҼƖǚƾ¿஝๞੒ INV ƽ¿QPOS ࠡ๞ƹƘƒƴ¿10% ƼǺȇȄȘƼȒȬǺಶƵƥƙǸȠȦȭÙǸȨȴƵƛƸƒƶƒƔơƶƵƧÀ
CONT_C ‫ف‬ǁࠡƥଷƭǘƼ ”PULSEGEN” ‫ف‬ǁࠡƥкँƚ৆ƖǙƶ¿ѳଚƽ‫ڻ‬ƝƸǘǌƧÀ
ƭƶƖƾ¿PULSEGEN ƚ CONT_C Ƽ 100 ௙ƼಊଚƵ‫ف‬ǁࠡƣǚǙƶ¿ೃй஺ƽ঩‫ࠡܥ‬๞੒ప͚Ƽ 1% ƹƸǘǌƧÀ
ੲ‫ف‬ǁࠡƥಊଚƽ¿ȧÙǷƚȘȮǱȪȠȴǱƥƴƘƝ౥จƚƐǘǌƧÀ

‫୐୏ޞ‬ӿЄȒȬǺࠡ๞ƽ¿஝๞೨ँ INVçƭƶƖƾ CONT_CèǠ‫ࣄڒ‬ƧǙȗȮȄǰ
ƶ୐ӿЄƧǙơƶƚƵƛǌƧÀ୐ӿЄƧǙơƶƵ¿஝๞೨ँƼ೨‫ڒ‬ƚડƯƹȒȬǺƶƥƴࠡ๞ƣǚǌƧÀ
ȒȬǺǹǨȎȭÙȀƽ¿PER_TM ߱ӿƶ୐ƦәѻƵ஝๞੒ INV Ƽ౷ЈǠ‫ڭ‬ƒ¿ơƼ੒Ǡ৷ϧƧǙજƣƼȒȬǺࢻ‫ڿ‬ƹ೨ҼƥǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

ƭƮƥ¿INV Ƽ‫ݐ״‬ƽ૆৕Ƹ߱ӿ҉ǘۗǍǰȪǺƵ޵‫ڭ‬ƣǚǙƭǏ¿INVƚ‫ࣄڒ‬ƣǚƴƙǗƵƛǙƮƟࣤ৕ƹ¿‫ँ״‬੒ƙǗȒȬǺ੒ǆƼ೨‫ڒ‬Ǡѐ‫ݤ‬ƧǙ౥จƚƐǘǌƧÀ
ơƼƭǏƹ¿‫ޔ‬Ƽߝ࠸ƹǖǘ¿߱ӿƼѐ‫ޓݤ‬ӿǠ୐ӿƣƩǌƧÀ
INV Ǡ೨‫ڒ‬ƧǙ࢛‫¿ۀ‬ƘǖǁȗȮȄǰ‫ف‬ǁࠡƥƚŒ߱ӿ஁Ƽ‫࠺۾‬ƶ‫۾‬٠ƼœƲƼ‫ف‬ǁࠡƥǶǥǰȬƹƸƒ࢛‫ۀ‬ƹ¿୐ӿЄƚ޵‫ڭ‬ƣǚǌƧÀȒȬǺಶƼ‫ݐ״۽‬ƚ‫ڭ‬ǝǚ¿‫ޔ‬ƼǶǥǰȬƽࣄƥƒ߱ӿƵࠡ๞ƣǚǌƧç࣫ 3–5 Ǡ
݇ࡷèÀ

/01

,19



/01

,19



/01

,19

&217B&Ƽ࠹ฮ




W

&217B& ƼǶǥǰȬ
ѐ‫ޓݤ‬ӿ












































W

3(5B7038/6(*(1ƼǶǥǰȬѐ‫ޓݤ‬ӿƼ୐ӿ,19 ƚ೨‫ڒ‬ƣǚ¿ȗȮȄǰ‫ف‬ǁࠡƥƚ1߱ӿ஁Ƽ‫࠺۾‬ƶ‫۾‬٠ƼœƲƼ‫ف‬ǁࠡƥǶǥǰȬƹƸƒ
ơƶǠ 38/6(*(1 ƚ‫؜‬੓À

38/6(*(1 Ƽ࠹ฮ࣫ 3-5

3(5B70୐ӿ಍จ,19 ƚ  ǌƭƽ  ƹ೨‫ڒ‬ƣǚ¿ȗȮȄǰ‫ف‬ǁࠡƥƚ1߱ӿ஁Ƽ‫࠺۾‬ƶ‫۾‬٠ƼœƲƼ‫ف‬ǁࠡƥǶǥǰȬƹƸƒơƶǠ
38/6(*(1 ƚ‫؜‬੓À߱ӿ஁Ƽ‫࠺۾‬ƶ‫۾‬٠ƼœƲƼ‫ف‬ǁࠡƥǶǥǰȬ஁Ƽ38/6(*(1 Ƽ࠹ฮ߱ӿѐ‫ݤ‬Ƽ୐ӿЄ‫୐୏ޞ‬ӿЄƽ ”SYN_ON” ஝๞ç= FALSEèƵඈ‫ٵ‬ƹƵƛǌƧÀ

ੲ୐ӿЄƼ޵‫ڭ‬٠ƹࣄƥƒ߱ӿƚѐ‫ݤ‬ƧǙƶ¿ƫƼ‫ଁޓ‬Ƶ INV(ƲǌǘLMNèƼ‫ـ‬ƒ੒ƚȒȬǺࢻ‫ڿ‬ƵǸȠȦȭÙȉƣǚǌƧƚ¿ƫƼѳଚƽǒǒ૆ƝƸǘǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

ȣÙȊȒȬǺǹǨȎȭÙȀƹ҉ǘಎƟǗǚƴƒǙȒȪȢÙȀƹϧƦƴ¿PID ǴȴȉȮÙȪǠŔǺȇȄȘࠡ๞¿ƐǙƒƽȑǥȞÙȪǌƭƽȣȏȞÙȪƼœ
ǺȇȄȘࠡ๞ƹǴȴȖǤǱȭÙǸȨȴƵƛǌƧÀ‫ޔ‬Ƽ౶ƹ¿ॊ્Ћ஺ƸȣÙȊƶǺǥȄȂƼॊ્Ǡ‫ޛ‬ƥǌƧÀǺǥȄȂ

MAN_ONSTEP3_ON

ST2BI_ONŔǺȇȄȘǴȴȉȮÙȪ

FALSE

TRUE

Any

ȑǥȞÙȪऔ١ప͚ç–100 % Þ+100 %èƼœǺȇȄȘऔ١

FALSE

FALSE

TRUE

ȣȏȞÙȪऔ١ప͚ç0 % ... 100 %è
ƼœǺȇȄȘऔ١

FALSE

FALSE

FALSE

ߝ୏ȣÙȊ

TRUE

஡͠

஡͠

ȣÙȊ

ŔǺȇȄȘऔ١

óŔǺȇȄȘऔ١ôȣÙȊƵƽ¿୏‫ڿࢻܥ‬ƽŔƲƼࢤ৽ƹ৷ϧƥǌƧÀȑ
ǥȋȫࠡ๞ࢻ‫ ڿ‬QPOS_P Ƙǖǁ QNEG_P Ƽ੒ƚǣǰȂȦǩÙȀƼࢤ৽ƹ҉ǘಎƟǗǚǌƧÀ
Ѐଚऔ١Ƽ๲Ǡ‫ޔ‬Ƽ౶ƹ‫ޛ‬ƥǌƧÀǣǰȂȦǩÙȀ

Heat

Off

Cool

QPOS_P

TRUE

FALSE

FALSE

QNEG_P

FALSE

FALSE

TRUE

ࠡ๞ࢻ‫ڿ‬

஝๞೨ँǠӳƹୢघ։३Ǡ‫ݝ‬ขƥƴ¿ȒȬǺಶǠ‫ݐ״‬ƥǌƧÀୢघ։३Ƽ‫מ‬ƽ¿‫࡝۾‬ȒȬǺǌƭƽ‫࡝۾‬ȗȭÙǰ‫ޓ‬ә¿Ƙǖǁు๲‫ँו‬ƹǖƱƴ؅ǌǘǌƧç࣫ 3–6 Ǡ݇ࡷèÀు๲‫ँו‬ƽય࢞ŒƹƸǘǌƧÀ։३ƼǹǱǷǱ
ಭೃƽ¿‫࡝۾‬ȒȬǺǌƭƽ‫࡝۾‬ȗȭÙǰ‫ޓ‬әƚ‫΃ر‬ƵणƦǌƧÀ‫࡝۾‬ȒȬǺǌƭƽ‫࡝۾‬ȗȭÙǰ‫ޓ‬ә‫࡝۾‬ȒȬǺǌƭƽ‫࡝۾‬ȗȭÙǰ‫ޓ‬ә P_B_TM ǠठƥƝ҉ǘಎƟǙƶ¿ੀ‫ޓ‬әƼǫȴÜǫȖǠാ‫ݴ‬ƵƛǙƼƵ¿ǺǥȄȂǒǣǰȂȦǩÙȀƼߪඒƚࢺǁǌƧÀੲ஝๞೨ँ LMN Ƽॏ৷੒ƚ࡝ƣƒƶ¿ȒȬǺಶƚ P_B_TM ǖǘǐ࡝ƣƝƸǙЋ஺घƚƐǙƼƵ¿ơƼǖƔƸ੒ƽ్ƟǌƧÀPER_TM – P_B_TMǖǘǐ਎ƛƸȒȬǺಶǠणङƧǙǖƔƸ਎ƛƸ஝๞੒ƽ¿100 % ǌƭƽ–100 % ƹॊ્ƥǌƧÀุƯ࢔ƚǘǌƭƽุƯЃƚǘƼȒȬǺಶƽ¿஝๞೨ँç%èƹ߱ӿ‫ޓ‬әǠ҂Ɵƴ‫ݐ״‬ƥǌƧÀȒȬǺಶ =



INV
100

m PER_TM

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

3(5B70

ุƯ࢔ƚǘ
ȒȬǺƼಶ

21Ƽࢤ৽

3(5B70  3B%B70

3B%B70  2))Ƽࢤ৽
ุƯЃƚǘ
ȒȬǺƼಶ
࣫ 3-6

౎৷ࡽƼŔǺȇȄȘ
औ١ŔǺȇȄȘǴȴȉȮÙȪƼ৷ࡽୢघ։३
çు๲‫ = ँ״‬1èు๲‫ ँו‬RATIOFAC Ǡ‫ݝ‬ขƧǙƶ¿ุƯ࢔ƚǘȒȬǺƶุƯЃƚǘȒȬǺƼಶƼుืǠ೨‫ڒ‬ƵƛǌƧÀЀଚӌฮȘȮǼǺƵơƼഔഖǠ‫ݝ‬ขƧǚƾ¿Њ஫ƶ๳ԲƹͦƸǙǸǺȇȡ‫ޓ‬ә્ँǠ‫ݝ‬ขƵƛǌƧÀ
ơƼు๲‫ँו‬ƽ¿‫࡝۾‬ȒȬǺǌƭƽ‫࡝۾‬ȗȭÙǰ‫ޓ‬әƹǐίրǠ෰ƖǌƧÀు๲‫ ँו‬ƚŒ൷൳Ƽ࢛‫ۀ‬ƽ¿ุƯЃƚǘȒȬǺƼǺȭȄǸȨȬȊ੒ƹơƼు๲‫ँו‬Ǡ҂ƟǙơƶǠ͠൶ƥǌƧÀు๲‫ < ँו‬1஝๞೨ँƹ߱ӿ‫ޓ‬әǠ҂ƟƴՂǏƭุƯЃƚǘȒȬǺࠡ๞Ƽಶƽ¿ు๲‫ו‬ँƼೃƮƟ‫࡞ص‬ƥǌƧç࣫ 3–7 Ǡ݇ࡷèÀุƯ࢔ƚǘȒȬǺƼಶ=

INV
100

m PER_TMุƯЃƚǘȒȬǺƼಶ=

INV
100

m PER_TM m RATIOFAC

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

3(5B70

ุƯ࢔ƚǘ
ȒȬǺƼಶ

3(5B70  3B%B70

3B%B70 

 3B%B70

 

 3(5B70  3B%B70
 3(5B70
ุƯЃƚǘ
ȒȬǺƼಶ
࣫ 3-7

ŔǺȇȄȘǴȴȉȮÙȪƼ౎৷ࡽୢघ։३
çు๲‫ =ँ״‬0.5èు๲‫ > ँו‬1஝๞೨ँƹ߱ӿ‫ޓ‬әǠ҂ƟƴՂǏƭุƯ࢔ƚǘȒȬǺࠡ๞Ƽಶƽ¿ు๲‫ו‬ँƼೃƮƟ‫࡞ص‬ƥǌƧÀœǺȇȄȘऔ١

ุƯЃƚǘȒȬǺƼಶ

=

INV
100

m PER_TMุƯ࢔ƚǘȒȬǺƼಶ

=

INV
100

m

PER_TMRATIOFAC

œǺȇȄȘऔ١Ƶƽ¿PULSEGEN ƼุƯ࢔ƚǘȒȬǺࠡ๞ QPOS_P ƼǍƚǫȴÜǫȖǣǰȂȦǩÙȀƹे৚ƣǚǌƧÀ‫ݝ‬ขƥƴƒǙ঩‫ࠡܥ‬๞੒Ƽప͚ƹϧƦƴ¿œǺȇȄȘǴȴȉȮÙȪƹƽȑǥȞÙȪǌƭƽȣȏȞÙȪ
Ƽప͚ƚ‫ݝ‬ขƣǚǌƧç࣫ 3–8 Ƙǖǁ 3–9 Ǡ݇ࡷèÀ঩‫ࠡܥ‬๞೨ँƼప͚ƚȑǥȞÙȪç–100% Þ 100%èƼœǺȇȄȘ
औ١ุƯ࢔ƚǘȒȬǺƼಶ3(5B703(5B70  3B%B7021Ƽࢤ৽2))Ƽࢤ৽
3B%B70 
࣫ 3-8



 

 ঩‫ࠡܥ‬๞੒Ƽప͚ƚȑǥȞÙȪç-100% Þ +100%èƼୢघ։३

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

঩‫ࠡܥ‬๞೨ँƼప͚ƚȣȏȞÙȪç0% Þ 100%èƼœǺȇȄȘऔ١ุƯ࢔ƚǘȒȬǺƼಶ3(5B703(5B70  3B%B70

3B%B70 

 
࣫ 3-9

঩‫ࠡܥ‬๞੒Ƽప͚ƚȣȏȞÙȪç0% Þ 100%èƼୢघ։३औ١ȬÙȘ஁ƵœǺȇȄȘǴȴȉȮÙȪǠे৚ƧǙƭǏƹ¿୏‫ܥ‬ȒȬǺƼࢻ‫ڿ‬Ǡȑǥȋȫࢻ‫ڿ‬ƹອฮ૫ƹ೨ҼƧǙ౥จƚƐǙ࢛‫ۀ‬ƽ¿QNEG_P Ƶస્ࠡ๞ࢻ‫ڿ‬Ǡ‫ݝ‬ขƵƛǌƧÀ

ǣǰȂȦǩÙȀOn

OffQPOS_P

TRUE

FALSE

QNEG_P

FALSE

TRUE

ȒȬǺ

œǺȇȄȘÜ
ŔǺȇȄȘऔ١ƹƘƟǙߝ୏ȣÙȊ

ߝ୏ȣÙȊçMAN_ON = TRUEèƵࢻ‫ ڿ‬POS_P_ON Ƙǖǁ NEG_P_ON Ǡ‫ݝ‬ขƧǚƾ¿INV ƹӛ‫ו‬ƸƝœǺȇȄȘǴȴȉȮÙȪǌƭƽŔǺȇȄȘ
ǴȴȉȮÙȪƼȑǥȋȫࠡ๞Ǡॊ્ƵƛǌƧÀ

POS_P_ON

NEG_P_ON

QPOS_P

QNEG_P

FALSE

FALSE

FALSE

FALSE

TRUE

FALSE

TRUE

FALSE

FALSE

TRUE

FALSE

TRUE

TRUE

TRUE

FALSE

FALSE

FALSE

Any

FALSE

TRUE

TRUE

Any

TRUE

FALSE

ŔǺȇȄȘऔ١

œǺȇȄȘऔ١

ȣÙȊҳॽ‫۽‬Ԑ୏Ü‫۽‬Ԑ୏ҳॽ‫۽‬Ԑ୏Ƽ޵‫ڭ‬੫¿ƧǇƴƼࢻ‫ࠡڿ‬๞ƽőƹॊ્ƣǚǌƧÀ

ǩȪÙ࢟ഊơƼȗȮȄǰƵƽ஁ಭǩȪÙȂǨȄǰƽ‫ڭ‬ǝǚǌƩǡÀƥƭƚƱƴ¿ǩȪÙࠡ๞ȒȪȢÙȀ RET_VAL ƽ‫ݝ‬ขƥǌƩǡÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

஝๞ȒȪȢÙȀ

౶ 3-5

FB 43 ”PULSEGEN” Ƽ஝๞ȒȪȢÙȀçINPUTè

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

੒Ƽప͚

ȈȖǪ
Ȭȉ੒

INV

REAL

-100.0...100.0 (%)

0.0

INPUT VARIABLEǣȋȮǱ঩‫ࠡܥ‬๞੒ƽ¿஝๞ȒȪȢÙȀ ”input variable”
ƹे৚ƣǚǌƧÀ

PER_TM

TIME>=20*CYCLE

T#1s

PERIOD TIME
ͷ્߱ӿƼȒȬǺಶ೨ગƽ¿”period time” ஝๞ȒȪȢÙȀƵ஝๞ƥǌƧÀơǚƽ¿ǴȴȉȮÙȪƼǶȴȘȫȴǱ
‫ޓ‬әƹ৷ϧƥǌƧÀȒȬǺǹǨȎȭÙȀƼǶȴȘȫȴǱ
‫ޓ‬әƶǴȴȉȮÙȪƼǶȴȘȫȴǱ‫ޓ‬әƼుืƹǖƱƴ¿ȒȬǺಶ೨ગƼѳଚƚ؅ǌǘǌƧÀ

P_B_TM

TIME>=

T#50ms MINIMUM PULSE/BREAK TIME
‫࡝۾‬ȒȬǺǌƭƽ‫࡝۾‬ȗȭÙǰ‫ޓ‬әƽ¿஝๞ȒȪȢÙȀ
”minimum pulse or minimum break time” Ƶ҉ǘಎƟǙơƶƚƵƛǌƧÀRATIOFAC

REAL

0.1 ...10.0

STEP3_ON

CYCLE

्ඓ

1.0

RATIO FACTOR
஝๞ȒȪȢÙȀ ”ratio factor” Ǡ‫ݝ‬ขƧǚƾ¿ุƯЃƚǘȒȬǺƶุƯ࢔ƚǘȒȬǺƼಶƼుืǠ೨‫ڒ‬ƵƛǌƧÀ
ЀଚӌฮȘȮǼǺçƭƶƖƾ¿ଆԅ૫Њ஫ƶࣲ๳ԲǠ‫ݝ‬ขƧǙȘȮǼǺèƵƽ¿Њ஫ƶ๳ԲǠ೻ठƧǙƭǏƹͦƸǙ‫ޓ‬ә્ँǠ‫ݝ‬ขƵƛǌƧÀ

BOOL

TRUE

THREE STEP CONTROL ON
ơƼȣÙȊƽ¿”three–stepcontrolon”஝๞ȒȪȢÙȀƵෞ‫ٵ‬ƹƥǌƧÀŔǺȇȄȘऔ١Ƶƽ¿ํഔƼࠡ๞ࢻ‫ڿ‬ƚෞ‫ٵ‬ƹƸǘǌƧÀ

ST2BI_ON

BOOL

FALSE

TWO STEP CONTROL FOR BIPOLAR MANIPULATEDVALUE RANGE ON஝๞ȒȪȢÙȀ ”two–step control for bipolar manipulated
value range on” Ǡ‫ݝ‬ขƧǚƾ¿”two–step control for bipolar
manipulated value” ƶ ” two–step control for monopolar
manipulatedvaluerange” ƼœƲƼȣÙȊǠॳਙƵƛǌƧÀ
ȒȪȢÙȀ STEP3_ON ƽ FALSE ƹॊ્ƧǙ౥จƚƐǘǌƧÀ

MAN_ON

BOOL

FALSE

MANUAL MODE ON
஝๞ȒȪȢÙȀ ”manual mode on” Ǡॊ્Ƨǚƾ¿ࠡ๞ࢻ‫ڿ‬Ǡߝ୏Ƶॊ્ƵƛǌƧÀ

POS_P_ON

BOOL

FALSE

POSITIVE PULSE ONŔǺȇȄȘऔ١Ƽߝ୏ȣÙȊƵƽ¿஝๞ȒȪȢÙȀ
”positive pulse on” Ƶࠡ๞ࢻ‫ ڿ‬QPOS_P Ǡॊ્ƵƛǌƧÀ
œǺȇȄȘऔ١Ƽߝ୏ȣÙȊƵƽ¿QNEG_P Ǡ QPOS_PƶƽԶƹॊ્ƥǌƧÀ

NEG_P_ON BOOLFALSE

NEGATIVE PULSE ONŔǺȇȄȘǴȴȉȮÙȬƼߝ୏ȣÙȊƵƽ¿஝๞ȒȪȢÙȀ ”negative pulse on” Ƶࠡ๞ࢻ‫ ڿ‬QNEG_P Ǡॊ્ƵƛǌƧÀœǺȇȄȘऔ١Ƽߝ୏ȣÙȊƵƽ¿QNEG_P Ǡ
QPOS_P ƶƽԶƹॊ્ƥǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

౶ 3-5

FB 43 ”PULSEGEN” Ƽ஝๞ȒȪȢÙȀçINPUTè¿৚ƛ

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

SYN_ONBOOLTRUESYNCHRONIZATION ON஝๞ȒȪȢÙȀ ”synchronization on” Ǡॊ્ƧǙƶ¿஝๞೨ँ INV Ǡ‫ࣄڒ‬ƧǙȗȮȄǰƶ‫୏ޞ‬૫ƹ୐ӿЄƧǙơƶƚƵƛǌƧÀơǚƹǖǘ¿஝๞೨ँǠ೨‫ڒ‬ƧǙƶ¿ƫƼ೨ँƽડƯƹȒȬǺƶƥƴࠡ๞ƣǚǌƧÀ

COM_RST

BOOL

FALSE

COMPLETE RESTARTơƼȗȮȄǰƽ¿”completerestart”஝๞ƚॊ્ƣǚƴǙƶ
ƛƹ޵‫ڭ‬ƧǙҳॽ‫۽‬Ԑ୏ȬÙȂȴǠǐƱƴƒǌƧÀ

CYCLE

TIME

੒Ƽప͚

>= 1ms

ȈȖǪ
Ȭȉ੒

्ඓ

T#10ms SAMPLING TIME
ȗȮȄǰ‫ف‬ǁࠡƥƼәѻƽ¿ͷ્ƵƸƟǚƾƸǘǌƩ
ǡÀ”sampling time” ஝๞Ƶ¿ȗȮȄǰ‫ف‬ǁࠡƥƼ‫ޓ‬әәѻǠ‫્ݭ‬ƥǌƧÀੲȗȮȄǰ஁Ƶƽ¿஝๞ȒȪȢÙȀƼ੒ƹऔ‫ؽ‬ƽƐǘǌƩǡÀȒȪȢÙȀ
ȂǨȄǰƽ‫ڭ‬ǝǚǌƩǡÀ

ࠡ๞ȒȪȢÙȀ
౶ 3-6

FB43 ”PULSEGEN” Ƽࠡ๞ȒȪȢÙȀçOUTPUTè

ȒȪȢÙȀ

ȈÙȀ
ȀǥȘ

QPOS_P

BOOL

FALSE

OUTPUT POSITIVE PULSEࠡ๞ȒȪȢÙȀ ”output positive pulse” ƽ¿ȒȬǺࠡ๞Ƽ‫ޓ‬ӿƹ৷ƥƴॊ્ƣǚǌƧÀŔǺȇȄȘऔ١Ƶƽ¿࢞ƹุƯ࢔ƚǘȒȬǺƹƸǘǌƧÀœǺȇȄȘऔ١Ƶƽ¿QNEG_P Ǡ QPOS_PƶƽԶƹॊ્ƥǌƧÀ

QNEG_P

BOOL

FALSE

OUTPUT NEGATIVE PULSEࠡ๞ȒȪȢÙȀ ”output negative pulse” ƽ¿ȒȬǺࠡ๞Ƽ‫ޓ‬ӿƹ৷ƥƴॊ્ƣǚǌƧÀŔǺȇȄȘऔ١Ƶƽ¿࢞ƹุƯЃƚǘȒȬǺƹƸǘǌƧÀœǺȇȄȘऔ١Ƶƽ¿QNEG_P Ǡ QPOS_PƶƽԶƹॊ્ƥǌƧÀ

੒Ƽప͚

ȈȖǪȬȉ
੒

्ඓ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

3.4

PULSEGEN Ƽ‫ݝ‬ข๲ຏ৚ǴȴȉȮÙȪ CONT_C ƶȒȬǺǹǨȎȭÙȀ PULSEGEN Ǡ‫ݝ‬ขƧǙƶ¿ు๲ǣǰȂȦǩÙȀƹॅǘ৿Ɩࠡ๞Ǡ‫ڭ‬Ɣ‫્ق‬ǼȄȉȞǥȴȉǴȴȉ
ȮÙȪǠǥȴȘȫȢȴȉƵƛǌƧÀ࣫ 3 - 10 ƹ¿औ١ȬÙȘƼӳ൑ࢻ‫ڿ‬ǸÙǲȴǺǠ्ඓƥǌƧÀऔ١ȬÙȘ

CONT_CPULSEGENLMNINVQPOS_P
QNEG_P

PV_PERॅǘ৿Ɩࠡ๞
ಎƛȬÙȘ࣫ 3-10औ١ȬÙȘຏ৚ǴȴȉȮÙȪ CONT_C ƽ঩‫ࠡܥ‬๞੒ LMN ǠणङƥǌƧƚ¿ơƼ
LMN ƽ¿ȒȬǺǹǨȎȭÙȀ PULSEGEN ƹǖǘȒȬǺȗȭÙǰࢻ‫ڿ‬
QPOS_P ǌƭƽ QNEG_P ƹ೨ҼƣǚǌƧÀ

ȗȮȄǰ‫ف‬ǁࠡƥƹे৚ు๲ǣǰȂȦǩÙȀǆƼॅǘ৿Ɩࠡ๞Ǡ‫ڭ‬Ɣ‫્ق‬ǼȄȉȞǥȴȉǴȴȉ
ȮÙȪ PULS_CTR ƽ¿ȗȮȄǰ CONT_C ƶ PULSEGEN Ƶ‫ږ‬ङƣǚǌƧÀCONT_C ƚœ౼Ƙƛƹç=CYCLE*RED_FACè¿PULSEGEN ƚ 10 Ƞȫ౼Ƙƛƹ‫ف‬ǁࠡƣǚǙǖƔƹç=CYCLEè¿ȗȮȄǰ‫ف‬ǁࠡƥǠǥȴȘ
ȫȢȴȉƥǌƧÀOB35 ƼǶǥǰȬȀǥȡƽ 10 Ƞȫ౼ƹॊ્ƥǌƧÀơ
Ƽे৚Ǡ࣫ 3–11 ƹ‫ޛ‬ƥǌƧÀҳॽ‫۽‬Ԑ୏Ƽ޵‫ڭ‬੫¿PULS_CTR ƚ OB100 ƵȗȮȄǰ‫ف‬ǁࠡƣǚ¿஝๞
COM_RST ƽ TRUE ƹॊ્ƣǚǌƧÀ

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

OB 100 (Complete restart)
OB 35 (10ms)
TRUE (OB 100)
FALSE (OB35)
T#10ms200

PULS_CTR, DPULS_CTR
FB 50, DB 50
COM_RST
CYCLE
RED_FAC

PULS_CTR, DPULS_CTR
FB 50, DB 50
COM_RST
CYCLE
RED_FAC

COM_RSTCYCLE
SP_INT
PV_PER

SP_INT
PV_PER

COM_RSTCYCLE
PER_TMQPOS_PQPOS_P

LMN
INV

CONT_C call reduced
by RED_FAC

࣫ 3-11ȗȮȄǰ‫ف‬ǁࠡƥƘǖǁ঳ٚे৚

FB PULS_CTR ขƼ STL ȘȮǱȪȡ౶ 3-7

FB PULS_CTR
ॖ‫ػ‬

ǣȊȭǺ

එࡽ

ȀǥȘ

ǴȢȴȉ

0.0

in

SP_INT

REALǼȄȉȞǥȴȉ

4.0

in

PV_PER

WORD

țȫȖǨȪȬȖǪÙȟȄȉƼ
ȘȮǼǺ೨ँ

6.0

in

RED_FAC

INT‫ف‬ǁࠡƥкँǠ‫ص‬ǗƧ‫ँו‬

8.0

in

COM_RST

BOOLҳॽ‫۽‬Ԑ୏

10.0

in

CYCLE

TIME

ǶȴȘȫȴǱ‫ޓ‬ә

14.0

out

QPOS_P

BOOL୏‫ڿࢻܥ‬

16.0

stat

DI_CONT_C

FB-CONT_C

ǬǧȴȀ

142.0

stat

DI_PULSEGEN

FB-PULSEGEN

ǬǧȴȀ

176.0

stat

sCount

INT

ǬǧȴȀ

0.0

temp

tCycCtr

TIMEǴȴȉȮÙȪƼǶȴȘȬ‫ޓ‬ә

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

ȖǢȴǰǸȨȴȗȮȄǰ

౶ 3-8ȎȄȉȰÙǰ 1

67/'HVFULSWLRQ

$
-&1
/
7

&20B567
0V&RXQW

&RPSOHWH UHVWDUW URXWLQH0 //'
7

&<&/(
5('B)$&

&DOFXODWH FRQWUROOHU VDPSOLQJ WLPH

/
/
,
7
/
 ,

V&RXQWW&\F&WU

V&RXQW


-&1
0
&$//
',B&217B&&20B567  &20B567&<&/(
 W&\F&WU
63B,17
 63B,17
39B3(5 39B3(5/5('B)$&
7
V&RXQW
0 / ',B&217B&/01
7
',B38/6(*(1,19&$//
',B38/6(*(13(5B70 W&\F&WU&20B567  &20B567&<&/(
 &<&/(
4326B3 4326B3%(



'HFUHPHQW FRXQWHU DQG FRPSDUH ZLWK ]HUR

&RQGLWLRQDO EORFN FDOO DQG VHW FRXQWHU

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

AȫȖǢȭȴǺ

/70/ȟȌȦǣȬÄS7–300 Programmable Controller,
Hardware and Installation/71/ȫȖǢȭȴǺȟȌȦǣȬÄS7–300, M7–300 Programmable Controllers
Module Specifications/100/ ȟȌȦǣȬÄS7–400/M7–400 Programmable Controllers,
Hardware and Installation/101/ ȫȖǢȭȴǺȟȌȦǣȬÄS7–400/M7–400 Programmable Controllers
Module Specifications/231/ ȧÙǷȟȌȦǣȬÄStandard Software for S7 and M7,
STEP 7/232/ ȟȌȦǣȬÄStatement List (STL) for S7–300 and S7–400,
Programming/234/ ȘȮǱȪȠȴǱȟȌȦǣȬÄSystem Software for S7–300 and S7–400
Program Design/350/ ȧÙǷȟȌȦǣȬÄSIMATIC S7,
Standard Control

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

$

$

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

‫΅ܮ‬
C

ơ

CONT_C, 3-2
CONT_S, 3-9
CPU 314 IFM, 2-1

ǴȴȉȮÙȪ, ॳਙ, 1-2ǴȴȉȮÙȬ
ǺȇȄȘǴȴȉȮÙȪ FB42, 3-9ຏ৚ǴȴȉȮÙȪ SFB41, 3-2

F
FB41 “CONT_C”, ‫ږ‬ङ࣫, 3-4
FB41 CONT_C, 3-2‫ږ‬ङ࣫, 3-4
FB42 “CONT_S”, ‫ږ‬ङ࣫, 3-11
FB42 CONT_S, 3-9
FB43 “PULSEGEN”, ‫ږ‬ङ࣫, 3-16
FB43 PULSEGEN, 3-15
œǺȇȄȘऔ١, 3-20
ŔǺȇȄȘǴȴȉȮÙȪ, 3-18
‫୐୏ޞ‬ӿЄ, 3-16౎৷ࡽƼŔǺȇȄȘऔ١, 3-19

P
PID ǴȴȉȮÙȬƼǴȴǼȘȉ, 1-1
PULSEGEN, 3-15ƧǺȇȄȘऔ١ข, 1-1

ƴ૭ขప͚, 1-1ƽȒȪȢÙȀ҉ǘಎƟȧÙǷǥȴȀÙȖǨÙǺ
ǫȴȪǥȴșȬȘ, 2-1‫ف‬ǁࠡƥ, 2-1
ȒȬǺಶ೨ગข, 1-1, 3-15ǃȘȮǼǺೃऺ, 1-1ƘǫȴȪǥȴșȬȘ, 1-2, 2-1

ǚຏ৚औ١ข, 1-1Ɲ঑ǍۗǌǚƴƒǙǴȴȉȮÙȬ, 2-1

6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

,QGH[

,QGH[6WDQGDUG 6RIWZDUH IRU 6 DQG 6  3,' &RQWURO&*&

Siemens AG
AUT E 146
Östliche Rheinbrückenstr. 50
D-76181 Karlsruhe
Federal Republic of Germany

From:Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Your Title: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Company Name:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Street:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _City, Zip Code_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Country:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _Phone:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _✄Please check any industry that applies to you:❒

Automotive❒

Pharmaceutical❒

Chemical❒Plastic❒

Electrical Machinery❒

Pulp and Paper

❒

Food

❒

Textiles❒Instrument and Control❒

Transportation❒

Nonelectrical Machinery❒

Other _ _ _ _ _ _ _ _ _ _ _❒Petrochemical

6WDQGDUG6RIWZDUHIRU 6 DQG 6  3,' &RQWURO&*&

Remarks FormYour comments and recommendations will help us to improve the quality and usefulnessof our publications. Please take the first available opportunity to fill out this questionnaire
and return it to Siemens.

Please give each of the following questions your own personal mark within the range
from 1 (very good) to 5 (poor).
1.

Do the contents meet your requirements?

2.

Is the information you need easy to find?

3.

Is the text easy to understand?

4.

Does the level of technical detail meet your requirements?

5.

Please rate the quality of the graphics/tables:

Additional comments:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

6WDQGDUG6RIWZDUHIRU 6 DQG 6  3,' &RQWURO&*&

Seitenübersicht für/203/

User Manual: Standard Software for S7-300 and S7-400, PID Control

Seitenübersicht
Umschlag Vorderseite
Rückseite
Umschlag Rückenbeschriftung
Innentitel Vorderseite
Innentitel Rückseite mit CopyrightPreface
Contents
Vakatseite
Introduction
Parameter Assignment
Vakatseite
Function Blocks
References
Vakatseite
Index
Vakatseite
Benutzervorschläge

6WDQGDUG6RIWZDUHIRU 6 DQG 6  3,' &RQWURO&*&




L
LL
LLL
LY
Y





$
,QGH[


6WDQGDUG6RIWZDUHIRU 6 DQG 6  3,' &RQWURO&*&