Using memories

Try to rephrase your question differently. I am not certain I understand what you are asking.

If you are asking why a programmer might use internal bits to control the physical output bits there are a few reasons.

1) Helps with splitting up various modes (Auto/Manual) etc.
2) Allows logic and programs to be written prior to finalizing the IO.
3) Creates a single point of for which to locate the origin logic for that output.
4) Allows more control over when physical IO is actually written to. Can be help with controllers that support an asynchronous scan.
 
I will answer this from another perspective.

The communication channel from the CPU which is interpreting the program to the actual physical I/O is often many times slower than the access to a memory map which will represent the outputs.

Thus, during the program scan the intended outputs are written to the memory mapped section. At the end of the program scan the memory mapped area is sent to the actual physical outputs in one move, saving a lot of time.

Some instructions (if they exist in your system) like 'interrupt I/O read/writes' can override this sequence but at the expense of using precious program scan time.

So, from my point of view, the use of intermediate memory mapped locations which are then, at the end of the scan, applied to real outputs is to save time. The use of memory mapped inputs is another issue in itself.
 

Similar Topics

I am almost finished with this project but now Im kind of having a hard time trying to figure out how to find the maximum and minimum values from...
Replies
4
Views
1,593
Hello, I'm working on a project where I have two encoders (which I'm reading through counters). What happens at the line is that an inspector is...
Replies
7
Views
2,813
Hello, We are now working on a software to collet the configuration of different PLC brands ,using a third software to backup all the simens...
Replies
1
Views
65
Hi, I wrote a sequence loop using EQU and MOV instructions and would like to validate that i'm doing this properly. i attached a picture of the...
Replies
5
Views
128
Hi I'm very new to PLC programming and I'm trying to find out if this library (Tc2_NcFifoAxes) is necessary for our task In our case we need to...
Replies
0
Views
50
Back
Top Bottom