SCL FB Example

mnvoyageur

Member
Join Date
May 2007
Location
NC
Posts
13
I am migrating from a SLC to 5K. I am having difficulty getting the SCL FB to work.



With an IF16, you do not have internal alarms on the module.



MN
 
What do you mean by "difficulty"?

It should be relatively straight forward, using the raw analog input (i.e. Local:2:I.Ch0Data) "wired" into the PV/Input of the scale block, then the final resulting tag (i.e. Tank2Temp) "wired" to the output.

You set up the scaling by clicking the setup box and setting your device input range (0-10, 4-20, 0-20, 0-32767, whatever) and your operating Engineering units range (0-300 'degrees'). You can also use tags or constant input references wired to the SCL block if you expose the pins. Make sure the data types you are using are REAL.

Does this help?
 
I could not get the SCL to work. TechConnect would not step me through it. They just suggested that I set-up a compute.

I used "ALM" FB's.

Maybe when I finish this project, I can explore SCL's.

Thanks.
 
Could you expand on the difficulty that you're having?

Try thinking of SCL as the Function Block equivalent of the SCP, the basic parameters are the same.

I'm unclear as to why you could use an ALM in place of an SCL, they have quite distinct functions although they are often used together.
 

Similar Topics

Hi, Can somebody help me to do an example of using SFB 4 many times in a FC in SCL language. / Thanks
Replies
3
Views
4,208
Hi, Does anyone have some code example in SCL to communicate with Micromaster MM420 and S7, 315-DP? I think I need PP0 protocol for extended...
Replies
0
Views
3,389
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
79
Hi, I have an intermediate-advance knowledge of programming with TIA Porta in Ladder, would you recommend me to start learning SCL for it to...
Replies
11
Views
559
Hello nice to meet you, im new in here, I'm currently trying to convert code written in STL for a S7-400 to SCL for an S7-1500, because when i run...
Replies
5
Views
317
Back
Top Bottom