6/24/2009 5:38 PM | |
Joined: 9/23/2005 Last visit: 10/4/2024 Posts: 4349 Rating: (1446)
|
Hi, The theme “scale analogical signals” is always recurrent in any PLC families. The S7-1200 has two instructions to do it: SCALE_X and NORM. I wrote a FAQ suggestion about the theme, which was approved but not yet published. In this mean time, I let here a draft of it. I attached also a project with a version for S7-1200 of the S7-300/400 FC105 / 106. It was not tested, so if some one tests it please let know if it works. - V11 version was posted in the follow post of this TIP (page2). - V12 version was posted in the follow post of this TIP (page3). news on V12: New Blocks (that could be used also in S7-1500): SCALE_LREAL / UNSCALE_LREAL (for the case where is necessary an extra - accuracy in the scaling) RESCALE / RESCALE_LREAL (to scaling REAL to REAL or LREAL to LREAL) SCALE_TC_RTD (to convert analogical inputs for Termo coupler or standard RTD) SCALE_ RTD_climatic (to convert analogical inputs for climatic RTD) AttachmentScale.zip (14765 Downloads) |
Last edited by: Pegaia at: 3/3/2013 5:09 PMLast edited by: Pegaia at: 3/3/2013 5:07 PMLast edited by: Pegaia at: 8/29/2011 3:56 PMNote for V11 Last edited by: Pegaia at: 2/18/2010 10:21 AMThe new version has news blocks for SCALE / UNSCALE of 4..20mA done by analog modules that has just 0..20mA. Last edited by: Pegaia at: 7/27/2009 2:00 PMI have tested the blocks. Here is the revised version. Denilson Pegaia |
|
This contribution was helpful to53 thankful Users
|
6/29/2009 5:05 PM | |
Joined: 9/23/2005 Last visit: 10/4/2024 Posts: 4349 Rating: (1446)
|
Thanks |
Denilson Pegaia |
|
6/25/2010 1:11 PM | |
Joined: 2/1/2010 Last visit: 8/1/2022 Posts: 2 Rating: (0) |
Hi, thank you for these useful FC. I've modified the 4-20scale (FC108) for scaling a 4-20 mA input signal between two process value limits (HI_LIM e LO_LIM). Maybe it isn't an elegant solution but it works fine. What do you think about it? Attachmentscale_4-20 (tested).zip (5279 Downloads) |
This contribution was helpful to3 thankful Users |
7/7/2010 11:54 AM | |
Joined: 2/1/2010 Last visit: 8/1/2022 Posts: 2 Rating: (0) |
This is a new version of 4-20mA SCALE FC (FC105): if I<4 mA OUT=LO_LIM if I>20 mA OUT=HI_LIM if I<3,9 mA or I>21 mA ---> RET_VAL=W#16#8 (anomaly) AttachmentSCALE4_20new (tested).zip (5297 Downloads) |
This contribution was helpful to3 thankful Users |
Follow us on