What are Peripheral Input/Output

tahir4awan

Member
Join Date
Jun 2011
Location
Karachi
Posts
23
I have used Allen Bradley PLC in which I/O term is very simple.
When I studied about Siemens PLC I have come to know about two types of Input and Output i.e Process Input/Output Image and Peripheral Input/Output. What is the difference between these two types of Inputs and Outputs?
 
I have used Allen Bradley PLC in which I/O term is very simple.
When I studied about Siemens PLC I have come to know about two types of Input and Output i.e Process Input/Output Image and Peripheral Input/Output. What is the difference between these two types of Inputs and Outputs?

From what I remember about the old S5 CPUs' scan , program logic was solved, then Inputs and Outputs were updated.


The program worked on an image of inputs and outputs not updated until next end of CPU scan.If a program was large, and had a long scan time, any output that was turned ON or OFF would not actually change state until the end of the program scan causing a noticeable delay in the output changing state.

Peripheral I/O was the actual CPU address of inputs and outputs
 
Last edited:
The process image is the number of I/O that are automatically transferred from the physical I/O to and from the memory of the PLC.
Process image inputs are normally read from the physical inputs before the code scan, and process image outputs are normally written to the physical outputs after the code scan.
In an S7 the process image inputs are called Ix.x and the Qx.x
Typically the process image are the bytes from 0 to 255. On some CPUs the process image has a different size, and on some CPUs you can specify the number of bytes.
When the PLC code reads an input (i.e. A I3.0), then the status of the input adress used is not the currently real status, but the status when the process image was read before the scan.
When the PLC code writes an output (i.e. = Q2.0) then the actual update of the output happens after the code scan.

Peripherial I/O is the complete I/O table, including the I/O that is inside the process image as well as the I/O that is outside the process image.
To access the peripherial I/O, you add a "P" before the address. But you have to address at least a byte, i.e:
L PIB 24 // reads input byte 24 from the peripherial inputs.
...
T PQW 300 // writes output bytes 300 and 301 to the peripherial outputs.
When the PLC code reads a PI then the physical input address is immediately read.
When the PLC code writes a PQ then the physical output address is immediately written.

edit: added a little bit of info above.
 
Last edited:

Similar Topics

Hi All, In Siemens S7 Classic, if I want to find the location of a physical input corresponding to a peripheral address, (say PIW488), how would...
Replies
6
Views
2,286
Hi, We have project to monitor machine details in Zenon SCADA. For this we need to establish communication between Omron CJ1m-CPU11 and CPU12...
Replies
2
Views
1,341
so im new to the whole VM world, and i just curious as to how everyone sets up their VMs to handle the peripheral ports on their host machines...
Replies
10
Views
4,620
Given this code: L DBD 8 LAR1 L PID(AR1, P#8.0) T DBD 38 I understand that whatever is in DBD 8 is loaded into AR1 and then 8 is added to it and...
Replies
13
Views
6,236
Hi All, I have an M340 PLC in a switchroom and the need for one or two other M340 racks in other locations. I'd like to use M340 I/O for parts...
Replies
4
Views
2,684
Back
Top Bottom