REPEAT loops in SCL for TIA Portal | S7-1500 | CPU Cycle time | data consistency

  Рет қаралды 6,634

Hamid Hosseini

Hamid Hosseini

Күн бұрын

Пікірлер: 14
@loganathana7176
@loganathana7176 4 жыл бұрын
Thanks for your lot of effort . Can you please let us know, in which condition, we have to go with while loop , also repeat loop. Also can you please explain the continue statement operation
@hdhosseini
@hdhosseini 4 жыл бұрын
Thanks for your message, Please watch videos for Do While and Repeat carefully. In Do While version , loop counters are temp variables and the whole loops is done in one cycle.On the other hand ,Repeat instruction can be extended over several cycles.It takes less CPU time, it is suitable for less time critical tasks but data consistency is a big issue to think of.
@loganathana7176
@loganathana7176 4 жыл бұрын
Thank you so much for your valuable explanation..
@hdhosseini
@hdhosseini 4 жыл бұрын
It is great , I am happy it helps
@RajeshSingh-cm7ff
@RajeshSingh-cm7ff 4 жыл бұрын
Hi sir I want to store my timer value . This value should be stored untill I reset . Kindly make on video in HD quality. Hope you will make video soon on this .
@hdhosseini
@hdhosseini 4 жыл бұрын
What type of time are you using? Do you want to have a timer with pause capability? About the quality , all videos are uploaded with HD quality 1080 P. KZbin adjusts the quality based on your internet connection.Please click on the settings gear and select the video in a higher quality.
@Sh_Firouz
@Sh_Firouz 11 ай бұрын
Thanks alot
@hdhosseini
@hdhosseini 11 ай бұрын
Happy to help
@touchdesign4582
@touchdesign4582 4 жыл бұрын
CAN I RECOGNIZE G-CODE WITH IF AND ELSE AND ACCORDING TO THEM CAN I DRIVE MY SERVO
@hdhosseini
@hdhosseini 4 жыл бұрын
As far as I know , S7 controllers are not capable of executing G Codes internally. Possibly there are some interface devices that can get the commands from S7 controller which they are created by using tech. blocks. Calling Blocks in S7 controller is possible in any language but Implementation of G codes in S7 is not possible. This is all I know.
@touchdesign4582
@touchdesign4582 4 жыл бұрын
@@hdhosseini if i implementing g-codes by c# or another language how can i deal with them in tia_portal
@hdhosseini
@hdhosseini 4 жыл бұрын
As far as I know , G codes are recognized by CNC machines and the have the tool to operate (actuate) the commands. I have not heard of such an implementation , but if you are interested in motion control , there are standard tools for that in TIA Portal.
@vorapobautomation9760
@vorapobautomation9760 4 жыл бұрын
How to use For Loop ?
@hdhosseini
@hdhosseini 4 жыл бұрын
kzbin.info/aero/PLdzCLZp5wcF5lFydlaZn5rKzXHkKRf--2
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 247 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 1,8 М.
#B&R X20CP1685 CPU and Siemens 1512 CPU Communication.
20:10
Process Automation (PLC,HMI, SCADA, Programming)
Рет қаралды 66
CPU entered  into STOP  by SFC46
6:17
Hamid Hosseini
Рет қаралды 196
Video 3:  Realization of Multiplier   using structural modelling
25:52
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН