Previous in Forum: PLC Programming   Next in Forum: 4-20 mA Signal Booster
Close
Close
Close
3 comments
Rate Comments: Nested
Active Contributor

Join Date: Apr 2012
Posts: 22

Analog Ladder Logic Programming

03/26/2013 4:17 AM

i hav just recently aquired a S7 1200 plc, CPU 1214C. Am new to programming and i need to monitor silo levels of a plant.The instrument i am using sends a signal 0-10V to the PLC. I have no trouble with digital ladder logic creation but analogue is giving a hard time.Please i need help or any reference were i can get information.

Wat i no is sensor signal is Real,and i need to convert it to word then i need to scale it.

Register to Reply
Pathfinder Tags: analog
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#1

Re: analog ladder logic programming

03/26/2013 4:21 AM

OK, so look for the scaling function block in the list of available functions.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
2
Guru

Join Date: Dec 2008
Location: Cd. Juarez, Chihuahua, Mexico.
Posts: 1023
Good Answers: 69
#2

Re: Analog Ladder Logic Programming

03/26/2013 9:15 AM

Your analog module converts the signal into a binary word, but you need to know the address of that word.

Upload the hardware configuration from your PLC to your PC and open that file, write down all of the registers (memory locations) used by the analog module, so you know where to find the relevant data.

Open the HELP menu and display the instruction set for analog modules, there should be one called "scale" or something like that, take note of the addresses used by the instruction, so you fill those fields with the relevant data.

The rest is just a matter of data moving, arithmetic operations and/or comparissons.

Regards

__________________
No hay conocimiento ni herramienta que sustituya al sentido comun.
Register to Reply Good Answer (Score 2)
Guru

Join Date: Dec 2010
Posts: 1686
Good Answers: 116
#3

Re: Analog Ladder Logic Programming

04/04/2013 11:33 AM

Looking at Siemen's website found after Google for "Siemens S7 PLC".

https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objID=34612486&subtype=133300

and looking for "manuals" for S7 got me the above web page.

Downloading the "s71200_easy_book..." document and looking through got to 6.3.3 "Conversion Instructions" data type to data type.

There is a "Getting started" manual and probably somewhere a "Programming Guide".

Good Luck

Register to Reply
Register to Reply 3 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

67model (1); PWSlack (1); Yahlasit (1)

Previous in Forum: PLC Programming   Next in Forum: 4-20 mA Signal Booster

Advertisement