Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

0
Posted

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

0

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). Fig. 02 When the manual mode is activated, the “PIDx_INIT” block must be reinserted

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123