Analog in SIEMENS FC107

Fonzie66

Member
Join Date
Apr 2008
Location
Doetinchem
Posts
27
Does anybody out there has a manual/description about the SIEMENS FC107 standard analog in function? I have the function itself but can't get the variables right.
 
im having nearlin the same problem with FC105
it says that the out should be a real variable,although i assign a MD to it it doesnt get it,,dunnu why
 
benji said:
im having nearlin the same problem with FC105
it says that the out should be a real variable,although i assign a MD to it it doesnt get it,,dunnu why

Hello benji;
MDxxx only tells the compiler to reserve 32 bits for your operation (at a correct boundary address). It does not imply the format these 32 bits should use; they could be integer format (DINT), floating point(REAL), TOD....
Either use the Symbol editor from the program folder (or access it from the ladder editor by right-clicking the address MDxxx and set this address as a REAL value 9with a symbolic name).
This does not happen when you create a datablock register, because you automatically create a symbolic name for the variable, and you set its datatype.

Hope this helps,
Daniel Chartier
 
Fonzie66
Does anybody out there has a manual/description about the SIEMENS FC107 standard analog in function? I have the function itself
Well, if you've got the function, you've got the online Help and that describes how the FC operates. Can we be absolutely clear what you're trying to do with FC107? This is an FC designed to mimic old S5 functionality in an S7 environment. If you are using S5-style analog I/O with an S7 CPU then you're on the right track, but when it comes to using S7 I/O with an S7 CPU even Siemens aren't so perverse. Just use the IWxxx address of the input channel you want to read. No need to use FC107 simply to retrieve the value.

Ken
 
I don't mean this function. It is another function also called FC107 (coincidence?) which reads the raw value scales it to engineering units and also has the ability to work with simulated values by setting a single bit.

It should be a standard SIEMENS function but I am not sure about this anymore.

Anyway I don't need the simulation part yet and I've already found another function on this forum that can do exactlty what I need at this moment.

I think the simulation part is easy for start up purposes and I will continue with it later.
 

Similar Topics

So, we have one servovalve that is very critical to machine operation and idea is (or was) to detect if valve gets disconnected from analog output...
Replies
11
Views
3,001
Hello, We monitor the temperature of a pipe via a 4-20mA temperature transducer. This goes into DB135(Read Analog Inputs). The issue I have is the...
Replies
0
Views
643
I am setting up a new system and have an s7 1214 plc with an sm1231 4x AI (6ES71231-4HD32-0XB0). It is configured for 0-10v and has no faults in...
Replies
5
Views
1,184
Hey guys! I have come across an unique issue. Hoping that I can find some solution here. I want to replace an existing S7-1214 DC/DC/DC plc with...
Replies
15
Views
4,769
When using Turck BL20 analog and Siemens S7 can someone tell me if the scaling in S7 is still 0-27648 (for 0-10vdc/4-20ma) or is it something...
Replies
3
Views
1,858
Back
Top Bottom