FC105 converts the integer value to a Real number, FC105 scales the Real number to a value between 0.00 (parameter LO_LIM) and 100.00 (parameter HI_LIM). For this example, the state of M 1.1 (parameter BIPOLAR) determines whether the input value is bipolar or unipolar.Because the value of M 1.1 is 0, FC105 processes the analog input as a unipolar number (0 to 27648). FC105 is a function in Simatic that can convert analog data.įC105 reads the integer value for analog input stored in PIW256 (parameter IN). In program object, in the left Panel expand library > Standard Library > TI-S7 Converting Block and select FC105 for scale the analog input. Step 1: Open Simatic Manager to PLC Programming Languageįollow Step 1 to Step 4 of the article about Simulation Analog Input and Output Programming in Simatic S7-PLCSim Example the analog input is voltage with rang 0 – 12V, and we can scale them into variable with rang 0 – 100.įollowing step by step how to use FC105 SCALE CONVERT and FC106 UNSCALE CONVERT: For make user easier read the analog data, in simatic S7 there are function to scale analog data into parameter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |