Discuss Analogue function: S7-200 in the Canada area at ElectriciansForums.net

X

xraytek

Hi guys,
I have no experience with analogue outputs on PLC's, so was hoping someone can confirm or correct the following requirement:

I have a 0-10v scaled input going into my PLC and want that input to be duplicated on one of the analogue outputs.

Is it just a simple case of using MOV-W (move word) with AIW0 going in and AQW0 going out, or do I have to move the word to a memory location and then read from that, or something else completely different?

I have had a look in the manual regarding analogue I/O and can see how you can provide set outputs but not variable ones based on an input.

Thanks in advance.
 
Not familiar with the plc you use but if your starting up i find the 'siemens logo' very easy to follow and can all be run virtually on the laptop long before you ever connect anything, so you can fiddle and run your programme till your hearts content and then hard wire it after.
I assume your using a laptop to change and alter the logic functions as using the built in LCD and front panel buttons is tedious and mind numbingly fiddley on some models.
 
hi,
we use allan bradley plc's at work.

you should have a register of all your program and controller tags in your plc program,
find the analog input tag,this may be tagged as "raw in" which is the number of bits aquivelent to your 0-10v in, also note the scaling tags,
create an analog output tag, you can enter your scaling for this analog out put tag in here.
use a move function to move the analog "raw in" to the analog out tag.
if all the output scaling settings are the same as the input settings the analog output will be as the analog input.
 
Thanks for the replies.
Hi pmac10, the PLC is a Siemens S7-200 and is programmed using Step 7 Microwin.

Hi jpmiff, I will have a look for that type of tag on monday but dont recall there being any analogue tags. The S7-200 appears to convert the input to a 16 bit word length which is why I am thinking that I use the move word function to move an input straight to an output.

Hi darkwood, I am new to PLC programming but must use the s7-200 for my project. The programming is via a laptop and RS485 lead, and fortunately seems to be quite user friendly.
 
hi mate. of the top of my head siemens s7 analogue inputs are assigned as variable word memory, like IF AIW11 for analogue input word 11 THEN MOV whatever to ENABLE out VB5 for variable bit word 5, think you need to write these locations as analogue input/output, the HELP button on S7 will be able to point you in the right direction, i,m not a big fan of S7 although it is excellent software, if you have the opportunity, mitubishi gx developer is a good program, you have special instructions which define analogue input/output end of, saying that, plc programming software is as good as the programmer feels familiar with it.
if you need further assistance give me a shout, i have S7 on this laptop
 
Last edited by a moderator:
Just to let you know, I have now been able to try out the analogue output and all is working fine.
I was able to use 'move-word' to move the input straight to outputs without the need for moving to variable memory first.
 

Reply to Analogue function: S7-200 in the Canada area at ElectriciansForums.net

Similar Threads

I have a Zelio PLC installed on a machine with an electronic CT (0-10v) to read the value of current used by the machine motors. When the value...
Replies
2
Views
838
This isn't really an electrical issue as such but I know you guys are pretty tech savvy and familiar with all the latest and greatest...
Replies
13
Views
1K
I was wondering if I could get some help on trying to electrically solve this idea I had. I was wondering what the best way would be to set the...
Replies
25
Views
3K
Hi all, I've been having some issues trying to fix a fluorescent light in the bathroom. Here's the steps I've taken so far after it suddenly...
Replies
8
Views
1K
We're new to this house and the old nest 3 stopped charging so they sent us a new one. Hubby didn't take photos of the old wiring since, as he put...
Replies
0
Views
686

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc
This website was designed, optimised and is hosted by Untold Media. Operating under the name Untold Media since 2001.
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock