PLC Operation
A PLC works by continually scanning a program. We can think of this scan cycle as consisting of 3 important steps. There are typically more than 3 but we can focus on the important parts and not worry about the others. Typically the others are checking the system and updating the current internal counter and timer values.

Step 1-CHECK INPUT STATUS-First the PLC takes a look at each input to determine if it is on or off. In other words, is the sensor connected to the first input on? How about the second input? How about the third... It records this data into its memory to be used during the next step.
Step 2-EXECUTE PROGRAM-Next the PLC executes your program one instruction at a time. Maybe your program said that if the first input was on then it should turn on the first output. Since it already knows which inputs are on/off from the previous step it will be able to decide whether the first output should be turned on based on the state of the first input. It will store the execution results for use later during the next step.
Step 3-UPDATE OUTPUT STATUS-Finally the PLC updates the status of the outputs. It updates the outputs based on which inputs were on during the first step and the results of executing your program during the second step. Based on the example in step 2 it would now turn on the first output because the first input was on and your program said to turn on the first output when this condition is true.
After the third step the PLC goes back to step one and repeats the steps continuously. One scan time is defined as the time it takes to execute the 3 steps listed above.
ويعمل المجلس التشريعي الفلسطيني عن طريق المسح الضوئي باستمرار البرنامج. يمكننا أن نفكر في هذه الدورة على أنها تتكون من مسح 3 خطوات هامة. هناك عادة أكثر من 3 ولكننا لا نستطيع التركيز على أجزاء مهمة وليس تقلق الآخرين. عادة البعض الآخر فحص وتحديث نظام العداد الحالية الداخلية وقيم جهاز ضبط الوقت.
والمجلس التشريعي الفلسطيني مسح
خطوة 1 فحص المدخلات مركز الأول في المجلس التشريعي يأخذ نظرة على كل مدخلات لتحديد ما إذا كان أو إيقاف تشغيله. وبعبارة أخرى ، هو استشعار متصلة على الإدخال الأول؟ ماذا عن مساهمة الثانية؟ ماذا عن الثالث... فإنه يسجل لكي تستخدم هذه البيانات في الذاكرة خلال الخطوة التالية.
الخطوة 2 - تنفيذ البرنامج المقبل من المجلس التشريعي الفلسطيني ينفذ البرنامج من تعليمة في وقت واحد. وقال ربما البرنامج انه اذا كان على الإدخال الأول ثم فإنه يجب تشغيل الإخراج الأولى. لأنه يعرف مسبقا التي المدخلات / إيقاف من الخطوة السابقة وسيكون قادرا على أن يقرر ما إذا كان ينبغي أن يتحول الإخراج الأولى على أساس حالة الإدخال الأول. وسوف تخزين نتائج التنفيذ لاستخدامها لاحقا خلال الخطوة التالية.
الخطوة 3 - حالة التحديث المخرجات أخيرا التحديثات المجلس التشريعي الفلسطيني في حالة من النواتج. فإنه يقوم بتحديث النواتج على أساس المدخلات التي كانت عليها خلال الخطوة الأولى ونتائج تنفيذ البرنامج خلال الخطوة الثانية. بناء على سبيل المثال في الخطوة 2 أنها ستتحول الآن على إخراج أول لأن الإدخال الأول وكان على البرنامج قال لتشغيل الإخراج الأولى عند هذا الشرط صحيحا.
بعد الخطوة الثالثة في المجلس التشريعي الفلسطيني يعود الى خطوة واحدة ويكرر الخطوات باستمرار. مسح واحد يعرف الوقت والوقت المستغرق لتنفيذ الخطوات المذكورة أعلاه 3.
الترجمه تحتاج الى تعديل
ردحذف