Доброго времени суток.
Подскажите пож-та, не могу нигде найти, как сделать в плк Сименс скан контроллера определенное время, например 10 мсек?
заранее благодарен.
[?]: Как задать время скана 10 мсек Simatic real time plc ?
-
- Posts: 115
- Joined: Wed Jul 28, 2010 9:06 am
-
- Posts: 186
- Joined: Sun Feb 12, 2006 5:47 pm
- Location: Europe
Re: [?]: Как задать время скана 10 мсек Simatic real time pl
Hi,
You should use cyclic interrupts. Firs You should go to Hardware Configuration. Click on PLC (right mouse click -> Object properties...). Go on Cyclic Interrupts tab. Under execution specify time interval for cyclic interrupt for example OB35 depend on PLC used (10ms in Your case). Compile and save Hardware Configuration -> Close HW. Go on Blocks. Right mouse click Insert New Object -> Organization Block. Put the OB number (usually OB35) and OK. Program code in OB35 will be executed in 10ms interval.
regards
You should use cyclic interrupts. Firs You should go to Hardware Configuration. Click on PLC (right mouse click -> Object properties...). Go on Cyclic Interrupts tab. Under execution specify time interval for cyclic interrupt for example OB35 depend on PLC used (10ms in Your case). Compile and save Hardware Configuration -> Close HW. Go on Blocks. Right mouse click Insert New Object -> Organization Block. Put the OB number (usually OB35) and OK. Program code in OB35 will be executed in 10ms interval.
regards