# data[].attributes.attachment_link.title
Module 3_4.0 Hardware Independent Program

# data[].attributes.headline
Siemens TIA Portal Tutorial (AND & OR Program)

# data[].attributes.subject
Siemens TIA Portal Tutorial (AND & OR Program)

# data[].attributes.attachment_link.title
Siemens TIA Portal Tutorial (AND & OR Program)

# data[].attributes.headline
Create project for your user program -PDF

# data[].attributes.subject
Create project for your user program -PDF

# data[].attributes.attachment_link.title
Module 02 _3.0 Create project for your user program

# data[].attributes.headline
PLC Basics | Programmable Logic Controller

# data[].attributes.subject
PLC Basics | Programmable Logic Controller

# data[].attributes.attachment_link.title
PLC Basics | Programmable Logic Controller

# data[].attributes.attachment_link.keywords[]
intro plc for plc &scada simulation trai

# data[].attributes.attachment_link.title
intro plc for plc &scada simulation trai-zainretas abdullah Flip PDF | AnyFlip

# data[].attributes.attachment_link.description
Check intro plc for plc &scada simulation trai from zainretas abdullah here. Like intro plc for plc &scada simulation trai? Just add intro plc for plc &scada simulation trai of zainretas abdullah to My Favorites. Embed intro plc for plc &scada simulation trai to websites for free. Check 9 flipbooks from zainretas abdullah.

# data[].attributes.attachment_link.keywords[]
module02. 1.1 basic information about cpu works

# data[].attributes.attachment_link.title
Module02. 1.1 Basic information about CPU works-zainretas abdullah Flip PDF | AnyFlip

# data[].attributes.attachment_link.description
Check Module02. 1.1 Basic information about CPU works from zainretas abdullah here. Like Module02. 1.1 Basic information about CPU works? Just add Module02. 1.1 Basic information about CPU works of zainretas abdullah to My Favorites. Embed Module02. 1.1 Basic information about CPU works to websites for free. Check 7 flipbooks from zainretas abdullah.

# data[].attributes.headline
Siemens TIA Portal Tutorial (TON & TOF Timers)

# data[].attributes.subject
Siemens TIA Portal Tutorial (TON & TOF Timers)

# data[].attributes.attachment_link.title
Siemens TIA Portal Tutorial (TON & TOF Timers)

# data[].attributes.headline
 Latch Circuit; Siemens TIA Portal Tutorial (Configuring your S7-1200 PLC)

# data[].attributes.subject
 Latch Circuit; Siemens TIA Portal Tutorial (Configuring your S7-1200 PLC)

# data[].attributes.attachment_link.title
Siemens TIA Portal Tutorial (Configuring your S7-1200 PLC)

# data[].attributes.headline
PLC Programming Tutorial for Beginners_ Part 2

# data[].attributes.subject
PLC Programming Tutorial for Beginners_ Part 2

# data[].attributes.attachment_link.title
PLC Programming Tutorial for Beginners_ Part 2

# data[].attributes.body
sila sign teams nomatrik@ptsn.edu.my
P@ssword.123

# data[].attributes.headline
PLC Programming Tutorial for Beginners_ Part 1

# data[].attributes.subject
PLC Programming Tutorial for Beginners_ Part 1

# data[].attributes.attachment_link.title
PLC Programming Tutorial for Beginners_ Part 1

# data[].attributes.headline
Siemens TIA Portal Tutorial (CTU Counter)

# data[].attributes.subject
Siemens TIA Portal Tutorial (CTU Counter)

# data[].attributes.attachment_link.title
Siemens TIA Portal Tutorial (CTU Counter)

# data[].attributes.body
Sila tonton YT diatas dan sisi form ini

# data[].attributes.body
Sila tonton YT diatas dan isi form ini.

# data[].attributes.attachment_link.title
How to Wire a Digital Input on the SIMATIC S7-1200 PLC | AWC, Inc.

# data[].attributes.headline
TIA Portal Beginners Lessons! Set Reset (RS) & Counter Up (CTU) Function Block

# data[].attributes.subject
TIA Portal Beginners Lessons! Set Reset (RS) & Counter Up (CTU) Function Block

# data[].attributes.attachment_link.title
TIA Portal Beginners Lessons! Everybody is welcome!

# data[].attributes.attachment_link.authors[].name
PLC Programming Tutorials Tips and Tricks

# data[].attributes.attachment_link.title
Function (FC) vs Function Block (FB) - PLC Programming for beginners || TIA PORTAL

# data[].attributes.body
Sila buat tutorial ini. Hantar di CIDOS.

# data[].attributes.attachment_link.title
Module 3_4.0 Hardware Independent Progra

# data[].attributes.attachment_link.readable_text
Understanding how the PLC will scan and update your program is critical in programming and troubleshooting your system. Typically a PLC will solve your logic from left to right, top to bottom. The status of the memory from the previous rung, are available for the next rung to use. We will look at a few examples to determine how the PLC will solve logic to illustrate the above program scanning.

Here are a couple of previous posts about the PLC scan and how inputs and outputs work in the PLC. This is great as a refresher before we continue our discussion.
WHO ELSE WANTS TO KNOW HOW A PLC SCANS?
HOW PLC INPUTS WORK
HOW PLC OUTPUTS WORK

We will be using the Do-more Designer software which comes with a simulator. This fully functional program is offered free of charge at automation direct.

Understanding the PLC Program Scan - Example 1

The following example looks at the input conditions when scanning your PLC program logic. Let's look at the following rungs of logic.

If normally open contact X0 turns on then output Y0 and Y1 will also turn on.

Now let's put another rung in between the other two. We will have normally open contact X1 now have an output to X0. (Yes, we can control what our input contacts are doing within the PLC.)

When we turn on X0 what will happen?

Notice that only output Y0 will turn on. This is because X1 is not on, so the second line of code changes the state of X0 to off. Note that the X0 is not highlighted because we have turned this memory bit off in the program. It will not look at the physical connection to the PLC until the end of the scan.

Remember that the PLC will solve the logic from left to right, top to bottom. The status of the memory from the previous rung, are available for the next rung to use.

Turning on X1 will then turn on Y1. This is independent of what X0 physically is connected and doing.

Understanding the PLC Program Scan - Example 2

Our next example will look at outputs. Physical outputs on the PLC will not be turned on until the end of the scan. NOTE: PLCs will sometimes have an instruction called I/O refresh which will immediately write and read the physical I/O during the scan.
The following ladder rungs all control output Y2. We control the output in three different ways. Bit instruction, MOVEBIT, and SET/RESET are used on the same output bit.

Turning X2 on/off with X3, X4, X5 off will turn Y2 on and off.

As soon as X3 is turned on with X4, X5 off then the status of Y2 is dependant on C0 bit. This is because of the MOVEBIT instruction.

X2 is now irrelevant since X3 is on.
The PLC will solve the logic from left to right, top to bottom. The status of the memory from the previous rung, are available for the next rung to use.
Now when X4 is turned when X5 is off then Y2 is set.

X2 and X3 become irrelevant to the control of Y2 when X4 is on.
X5 when on will reset Y2. All of the previous rungs will not control because the last condition during the program scan will reset Y2, so it will be off.

The last rung affecting the output will always control the memory bit. When troubleshooting the program logic and conditions are being met with the output not being energized it could mean that you have the above condition. Moving the rung to the end of the program logic is one way to ensure that no other conditions are affecting the operation of the output. This is one of the most common errors when programming a PLC.

Understanding the PLC Program Scan - Start Stop Jog Circuit

Our last example will involve a start, stop and jog circuit. Here is a previous post on the subject.
HOW TO MAKE A START / STOP / JOG CIRCUIT IN A PLC
Here is our code:

When the start input is hit we go through the stop input and the motor will turn on. The motor bit will turn on and the jog work bit is not on so the motor is sealed in and continues to be on.

When the start input is off the motor will continue to operate.

If we hit the stop input then the motor will stop and wait for the start input again.
The jog input will go through the stop and turn on the motor.

The jog input will also turn on the jog work bit output. This will open up the jog work bit in the first rung in series with the motor bit.
When the jog input turns off the motor will also turn off. This is because the jog work bit is still on until the next rung in which is gets turned off.

The PLC will solve the logic from left to right, top to bottom. The status of the memory from the previous rung is available for the next rung to use. Using this understanding will help in the program and troubleshooting your PLC program logic.

Watch on YouTube : Understanding the PLC Program Scan
If you have any questions or need further information please contact me.
Thank you,
Garry

Note:
The above works with a synchronous PLC scan. Controllers like Allen Bradley CompactLogix using the RSLogix 5000 software use asynchronous I/O scan. This means that the updating of I/O will happen whenever it can.

This means that the above circuit in an asynchronous I/O scan can have one output on and the other off if the input state changed with the input scan and the program was reading the second line. This could cause undesirable results.
In an asynchronous I/O scan, you typically will only use the actual I/O reference once in your program. Most programmers of these systems will transfer the I/O to internal memory first. They will then use the internal memory in the program code. This will now act like a synchronous, predictable scan above.

If you're like most of my readers, you're committed to learning about technology. Numbering systems used in PLCs are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII, and Floating Point.

To get this free article, subscribe to my free email newsletter.

Use the information to inform other people how numbering systems work. Sign up now.

The 'Robust Data Logging for Free' eBook is also available as a free download. The link is included when you subscribe to ACC Automation.

# data[].attributes.attachment_link.title
Understanding the PLC Program Scan | Acc Automation

# data[].attributes.attachment_link.description
Understanding how the PLC will scan and update your program is critical in programming and troubleshooting your system. Typically a PLC will solve your logic from left to right, top to bottom. The status of the memory from the previous rung, are available for the next rung to use.

# data[].attributes.attachment_link.title
How to Wire a SIMATIC S7-1200 Analog Input Module | AWC, Inc.

# data[].attributes.attachment_link.title
Module 4 hardware Independent Programming

# data[].attributes.body
1.SHARVIN A/L KANAPATHY (33DEI20F1017)
2. Nurul'Athirah binti Abd Manaf@Abdul Aziz (33DEI20F1018)
3.RAZIN ISYRAF BIN ROSDI (33DEI20F1019)

# data[].attributes.headline
MUHAMMAD AIMAN SYAFI-IE BIN ALI BADRUN (33DEI20F1056)

# data[].attributes.subject
MUHAMMAD AIMAN SYAFI-IE BIN ALI BADRUN (33DEI20F1056)

# data[].attributes.body
Sharvin A/L Kanapathy DEI4B

# data[].attributes.headline
Function (FC) vs Function Block (FB) - PLC Programming for beginners 

# data[].attributes.subject
Function (FC) vs Function Block (FB) - PLC Programming for beginners 

# data[].attributes.body
Sharvin A/L Kanapathy

# data[].attributes.body
MUHAMAD SALAHUDDIN PUTERA BIN MUHAIYAR (DEI 4B)

# data[].attributes.headline
PLC Program to Control the Sequence of Conveyors and Interlocking Them

# data[].attributes.subject
PLC Program to Control the Sequence of Conveyors and Interlocking Them

# data[].attributes.body
FARAH
IMAN
NASRUDDIN

# data[].attributes.body
FARAH
IMAN
NASRUDDIN

# data[].attributes.body
1. MUHAMMAD AIMAN SYAFI-IE BIN ALI BADRUN (33DEI20F1056)
2. MUHAMMAD NABIL BIN HASNAN (33DEI20F1057)
3. MOHAMMAD SAIFUL AMRI BIN ZAKARIA (33DEI20F1058)

# data[].attributes.body
1. MUHAMMAD AIMAN SYAFI-IE BIN ALI BADRUN (33DEI20F1056)
2. MUHAMMAD NABIL BIN HASNAN (33DEI20F1057)
3. MOHAMMAD SAIFUL AMRI BIN ZAKARIA (33DEI20F1058)

# data[].attributes.body
DEI-4D
Muhammad naim
Muhammad hazim
Muhammad afiadil

# data[].attributes.body
DEI-4D
Muhammad naim
Muhammad hazim
Muhammad afiadil

# data[].attributes.body
Sharvin A/L Kanapathy
Nurul 'Athirah binti Abd Manaf @Abdul Aziz
Razin Isyraf bin Rosdi

# data[].attributes.body
Sharvin A/L Kanapathy
Nurul 'Athirah binti Abd Manaf @Abdul Aziz
Razin Isyraf bin Rosdi

# data[].attributes.body
NUR HAZIM AIMAN
MUHAMMAD ZAFRAN
AFDZAL QUZAIMIE

# data[].attributes.body
DEI 4B
NUR HAZIM
MUHAMMAD ZAFRAN
AFDZAL QUZAIMIE

# data[].attributes.body
mohamad hafiz bin mohd najib(33dei20f1051)
muhamad eiman bin abdul razak
(33dei20f1051)

# data[].attributes.attachment_link.title
HMI Design to Improve Operator Response to Alarms

# data[].attributes.headline
How the Operator responds During Critical Situations

# data[].attributes.subject
How the Operator responds During Critical Situations

# data[].attributes.attachment_link.title
Seven Steps to an Effective Alarm Management Program

# data[].attributes.headline
Seven Steps to an Effective Alarm Management Program

# data[].attributes.subject
Seven Steps to an Effective Alarm Management Program

# data[].attributes.body
GROUP 1
1.SHARVIN A/L KANAPATHY (33DEI20F1017)
2. Nurul'Athirah binti Abd Manaf@Abdul Aziz (33DEI20F1018)
3.RAZIN ISYRAF BIN ROSDI (33DEI20F1019)

# data[].attributes.attachment_link.title
note-taking-from-a-video Seven Steps to an Effective Alarm Management Program

# data[].attributes.body
NUR HAZIM AIMAN BIN NOOR AZMI (025)
MUHMMAD ZAFRAN BIN MOHD ZAHIR (024)
AFDZAL QUZIMIE BIN MOHD JAMAL (026)

# data[].attributes.body
1. MUHAMMAD AIMAN SYAFI-IE BIN ALI BADRUN (33DEI20F1056)
2. MUHAMMAD NABIL BIN HASNAN (33DEI20F1057)
3. MOHAMMAD SAIFUL AMRI BIN ZAKARIA (33DEI20F1058)

# data[].attributes.body
1. Siti NurFarah Binti Muslim (33dei20f1030)
2.Muhammad Nasruddin Hafiz (33dei20f1032)
3.Ahmad Nur Iman Bin NurDaim(33dei20f1033)

# data[].attributes.body
1)Ahmad nazran zaharin(F1021)
2)Ahmad iffry syairel(F1020)
3)syain bahrin(F1023)

# data[].attributes.body
1. Hasrul Bin Nurhalis (33DEI20F1027)
2. Muhamad Salahuddin Putera Bin Muhaiyar (33DEI20F1028)
3. Khairul Ikhwan Bin Rizal (33DEI20F1029)

# data[].attributes.body
MUHAMMAD LUQMAN BIN YAACOB (33DEI20F1060)
ADAM ISKANDAR BIN ISMAIL (33DEI20F1061)

# data[].attributes.body
MUHAMMAD LUQMAN BIN YAACOB (33DEI20F1060)
ADAM ISKANDAR BIN ISMAIL (33DEI20F1061)

# data[].attributes.body
MUHAMMAD LUQMAN BIN YAACOB 33DEI20F1060
ADAM ISKANDAR BIN ISMAIL 33DEI20F1061

# data[].attributes.headline
Alarm Controls And Operator Considerations

# data[].attributes.subject
Alarm Controls And Operator Considerations

# data[].attributes.body
Muhammad afiadil bin mohd sabirin (33DEI20F1054)
Ahmad naim bin yunus (33DEI20F1053)
Muhammad hazim bin noor azad (33DEI20F1055)

# data[].attributes.attachment_link.title
Alarm Controls And Operator Considerations

# data[].attributes.body
MUHAMMAD EIMAN BIN ABDUL RAZAK
33DEI20F1052
MOHAMAD HAFIZ BIN MOHD NAJIB
33DEI20F1051

# data[].attributes.headline
Troubleshooting the GE Series 90 30 PLC System

# data[].attributes.subject
Troubleshooting the GE Series 90 30 PLC System

# data[].attributes.attachment_link.title
Troubleshooting the GE Series 90 30 PLC System

# data[].attributes.attachment_link.title
Troubleshooting the GE Series 90 30 PLC System