Analog Inputs & Outputs

BoSChoW

Member
Join Date
Apr 2006
Location
Nova Gorica
Posts
107
Hi, all i have a noob question. I have PLC CPU 313C and i was wandering what can i connect to the analog inputs and outputs?
Thanks and regards.
 
I think you are asking the question inside out...

Control projects are usually done by knowing what you need to control then specifying the PLC or other control methodology to achieve your target.

For example:
If you need to just know if flow exists through a water pipe, you just need a flow switch. If you need to know how much flow through the water pipe, you would need a flow sensor with an analog output to quantify your measurement.

The PLC comes in if you need to manipulate the signals form these types of devices.
 
Sorry, but i forgot to write the most important thing. With my application i wish to test the machines that are still in production. So if the machine have some analog I/O used i wish to test them. But i dont have any idea how to do this and what can be connected on the analog I/O... That depends on the machine that is under constructin ... Any ideas how do i do this ?
Thanks and regards.
 
Hi BoSChoW

I'm not sure how basic we need to start in order to answer this question. I know from previous threads that you've been working with digital or discrete data points - on or off. Analogues are quantities which vary in accordance with some physical quantity. Flow rate, temperature, pressure etc are all physical quantities. Specialised devices referred to in general as sensors detect these quantities and convert them to an electrical signal which is analogous to the physical property - hence analogue. The higher the flow rate, temperature, pressure etc the larger the electrical signal.

There are common industry conventions for these electrical signals. Some sensors produce signals in the range 0-10V DC, some produce 0-20mA or 4-20mA. So a 4-20mA temperature sensor which covers the range -20 deg to 200 deg will produce 4mA at -20 deg and 20mA at 200 deg. Exactly half-way, 90 deg, will produce 12mA and so on. There's a whole industry dedicated to the design and manufacture of more types of sensors than you can imagine.

The PLC analogue input then receives this electrical signal and converts it to a numerical value within the CPU's register. Different models of PLC will use slightly different ranges, but for example Siemens S7 uses a fixed range of 0 - 27648 to represent the incoming 4-20mA (or other) signal. Our half-way value of 90 deg would be represented as 13824. Of course you can perform arithmetic to scale this integer as a floating point value so you are actually using a value in the PLC of 90.0 If all you want to do is monitor or detect certain ranges then you can just compare your incoming value against known setpoints.

With analogue outputs, the reverse happens. You calculate a value in the PLC which represents perhaps a valve position, say 75% open. Well, 75% of a scale of 0-27648 is 20736 so you write that value to the output address. The output module then converts that value to another standard electrical signal and delivers it to the actuator attached to the valve. It is designed to move the valve according to the voltage or current it sees and so you can control the valve position. If your valve is controlling the flow of steam or hot water this may be tied to your temperature sensor and so you will find a change may happen in the analogue input.

And now you have a control loop. But that's a whole other story and many other threads...!

Regards

Ken
 
Hi Ken and thanks a lot for your explanation.

If i had understand the idea correctly I use analog outputs to supply the speacial devices and analog inputs to check the current value on the special device for example on the temperature sensor or on pressure sensor exc. In SCL i write the program with the speciafyed values, and when the sensor detects the value a reaction occurs, for example outpu3 output5 and output 8 sets on logical 1.
 

Similar Topics

Hi, I'm curious if anyone has made a master sheet or cheat sheet for all allen bradley card's analog inputs/outputs? As much fun as it is to...
Replies
2
Views
1,564
Hello, I am wondering what the best practices are for testing analog 4-20 mA inputs and outputs. I would like to buy or make a 4-20 mA source...
Replies
12
Views
13,998
The PLC having a analog inputs/outputs to control the machine.... Analog inputs/outputs means a sinusoidal signals take to the PLC. but PLC don't...
Replies
2
Views
4,608
Gday, I'm having trouble with the analog input of my PLC (S7-314IFM). I am currently trying to run a DC VSD using voltage following...
Replies
2
Views
4,730
Hello, Could any one help me how to start with analog inputs/outputs and RSLogix 5000?
Replies
4
Views
1,663
Back
Top Bottom