S7-1200 CPU1212c ANALOG Programming

saintbagwis21

Member
Join Date
Dec 2014
Location
Cebu
Posts
1
Guys, i need your help..
Im using S7-1200 CPU1212c AC/DC/RLY and for my project, i want to learn how to program this in analog inputs..

Im using an ultrasonic sensor for my analog inputs and in 0-10v..

i already have the voltages and also i converted it to integers..

but, i dont know where to start in programming my cpu.. please help me guys...

 
Last edited:
a little more specific explanation of problem (e.g. problem with connecting to plc, download, device config, where did you and did not succeed) would help more than a bigger font 🍺:whistle:

as for programming s7 family use OB1 as main subroutine, make blocks with code that you want to write in functions (add block - that green one in TIA) and then call this function(s) for a start
 
Guys, i need your help..
Im using S7-1200 CPU1212c AC/DC/RLY and for my project, i want to learn how to program this in analog inputs..

Im using an ultrasonic sensor for my analog inputs and in 0-10v..

i already have the voltages and also i converted it to integers..

but, i dont know where to start in programming my cpu.. please help me guys...



Check this link from Siemens. You must register first.
https://www.automation.siemens.com/...=164351&Language=en&onlyInternet=False#150327

Kalle
 

Similar Topics

Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
58
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
34
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
283
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
99
Hi, I have attached herewith one image which our programmer has been used in S7 1500 PLC. Now we need to use the same instructions in S7 1200 PLC...
Replies
4
Views
134
Back
Top Bottom