Sie sind auf Seite 1von 2

Siemens Industry IA/DT/BT Service&Support - Automation Service, A... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

Automation Technology > Automation and control systems > Industrial Automation Systems SIMATIC

> Software for SIMATIC Controller > STEP 7 programming software > STEP 7 - Micro / WIN

STEP 7 Micro/WIN -- Creating S7 programs -- Calling blocks and functions

How do you reset the high-speed counters of the S7-200?

Using an S7-200 without twilight switch, how do you have shutters open at sunrise and close at sunset?

How do you count values over 16 bits with the S7-200?

How can you limit the pitch of jumps with S7-200?

How do you configure the positioning module EM253 so that the connected stepper motor can proceed in

both directions?

How do you position a servo drive axis using the S7-200 pulse interface?

How do you create a bar display in TD 200 or TD 200C?

How can you optimize use of timers in STEP 7 Micro/WIN?

How do you determine the frequency of a pulse sequence and speeds?

How can you scale analog values with S7-200 in conjunction with CPU224XP and expansion modules EM

231, EM 232 and EM 235?

How do you convert a binary number into Gray code (or vice versa) in STEP 7 Micro/WIN?

How do you convert the number format DOUBLE INTEGER into BCD code (or vice versa) in STEP 7

Micro/WIN?

How do you form the absolute and negative values of numbers in STEP 7 Micro/WIN?

Why does the PID controller created by the instruction wizard sometimes not work?
What do you have to do in the SIMATIC S7-200 in order to edit part of the program once after restarting?

The arc functions - Arcsin, Arccosin, Arctan - in STEP 7 Micro/Win

Scaling the setpoint and actual values in the STEP 7 Micro/WIN V4 wizards for PID control loops

Positioning Wizard for PTO/PWM in STEP 7 Micro/WIN V4.0

How to implement a three step control with PID-loop in the S7-200 via STEP 7-Mirco/WIN?

STEP 7 Micro/WIN -- Operation and maintenance -- Diagnosing errors

Why does the PID controller created by the instruction wizard sometimes not work?

Description:
In STEP 7 Micro/WIN, the PID controller created by the instruction wizard does not work sporadically; is this due to

the switching of the enable bit "EN" of the initialization subprogram "PIDx_INIT" (see Fig. 01).

Fig. 01

Solution:
To ensure proper working of the PID controller, the initialization program "PIDx_INIT" must be called from the main

program in each cycle using the special marker 0.0 (SM0.0) (see Fig. 03, Network 2).

The "PIDx_INIT" block configures the PID controller by initializing via the special marker 0.1 (SM0.1) the required

variables that are used by the logic and starting the PID interrupt program "PID_EXE", which is called cyclically

according to the PID sampling time.

Manual operation of the PID controller:


If the PID controller is only to be activated at specific times or events, you can implement this via the manual mode

in the "Instruction Wizard PID" (see Fig. 02).

1 de 2 27-10-10 12:43
Siemens Industry IA/DT/BT Service&Support - Automation Service, A... https://support.automation.siemens.com/WW/llisapi.dll?func=ll&objId...

2 de 2 27-10-10 12:43

Das könnte Ihnen auch gefallen