Skip to main content

Peripheral Inputs and Outputs in Siemens PLC

 In this article, we will learn about peripheral inputs and outputs in the Siemens PLC.

In my previous article, I covered the execution of the PLC program and gives an idea of PII and PIQ, which are small storage section in the CPU.

For digital input and output, logic action is stored to PII and PIQ to fasten cycle time.

But, for analog input and output, it directly takes value from the card itself. To recognize addresses of analog input and output, say PLC that not look at PII and PIQ instead, it will look at analog card directly so we need to use a peripheral address.

Peripheral Inputs and Outputs

Before writing any analog address to the programming you must have to add “P” before any analog address you choose.

For Simatic manager software above mentioned addressing method is used to recognize analog signals. For example, PIW100, PID100, PIQ200, etc.

For TIA PORTAL it accepts “P” after and before the address. For example, PIW100 or you can write IW100:P

Let take an example in both Simatic manager and TIA PORTAL to know more about peripheral addresses.

Step 1:

Open TIA PORTAL. Enter into a programming environment.

Now, let see what happened if we do not use a peripheral address.

I have added MOVE instruction with an address as you can see in the below window.

If I run a program, an error will occur and CPU goes to STOP mode, which you can see in the below window.

Step 2:
To solve this issue we have to use the peripheral address to tell PLC to not look at PII and instead look at the analog cards.

Here, as you can see in the below window that I can use both address PIW and IW:P. Both addresses accept by TIA PORTAL.
If you put PIW as an address, it automatically changes to IW:P as it recognizes that this address belongs to the analog cards.
Step 3:
 For Simatic Manager, in the latest version if you won’t put “P” before address it won’t show you an error.

But it is good practice to use the peripheral address for analog addresses.
The same works for analog outputs too.

I hope you may have a clear idea about the use of peripheral addresses in the PLC programming.

Comments

Popular posts from this blog

Ferrules and Cross Ferruling

 Ferrules are identification labels provided for every wire terminations in an instrument, equipment, or electrical/instrumentation control panels. These tube-shaped sleeves can be inserted easily on each individual wire in a multi-core cable. In earlier days fixed digits/letters are used as ferrules, but now Instrumentation engineers/technicians prints out desired ferrules by using a ferrule printing machine. Typical Ferrule The numbers/ letters on the ferrules will be given as per the approved electrical hook up or loop diagrams. This helps technicians to easily identify a particular loop/wiring from a series of terminal blocks and to troubleshoot the desired terminal connection. Separate numbers on the ferrules distinguish the positive and negative polarities of wires, thus ensure the polarity protection of the instrument. Cross Ferruling  As a wire is connected on its both ends, it is quite useful to use a cross reference method for wire identification. Unlike normal ferru...

What is a Torbar? – Averaging Pitot Tubes

 The Torbar is employed for flow measurement of liquids, gases, or steam in circular, square, or rectangular section ducts for large flow rates. The Torbar is an insertion type multi-port self-averaging primary sensor for flow measurement. Torbar TORBAR is a set of Pitot tubes mounted on a bar across the pipeline with no moving parts. An averaging Pitot tube is a technology, while TORBAR is a manufacturing brand name. There are several brands available in the market with VERABAR, ANNUBAR, etc. Averaging Pitot Tube Principle Purpose Averaging Pitot tube can be employed when the average velocity of the flow profile, rather than the velocity in a specific point in the cross-section is desired. Averaging Pitot Tubes Principle It measures the differential pressure between the static pressure tap and the tap of full pressure of a stream. Thus such magnitude of differential pressure is directly proportional to the square of the flow rate. Working The TORBAR is designed in such a way that ...

Dissolved Oxygen Analyzer Working Principle

 What is dissolved oxygen ? Dissolved oxygen refers to oxygen dissolved in water. Its concentration is expressed as the amount of oxygen per unit volume and the unit is mg/L. Biologically, oxygen is an essential element for respiration of underwater life and also acts as a chemical oxidizer. The solubility of oxygen in water is affected by water temperature, salinity, barometric pressure, etc. and decreases as water temperature rises. Measurement of dissolved oxygen by the membrane electrode method The membrane electrode method measures a diffusion current or reduction current generated by the concentration of dissolved oxygen or partial pressure of oxygen to obtain the concentration of dissolved oxygen. This method is not affected by the pH value of water being measured, oxidation and reduction substances, color, turbidity, etc. and the measurement method offers good reproducibility. When a sensor is inserted into water, an air layer forms on the membrane (Teflon membrane). The ox...