2/23/2016 1:26 PM | |
Posts: 7 Rating: (0) |
Hello, I have one doubt...I am doing my first project in PLC and facing an issue.I'm using Siemens TIA portal V13.I have to Map the Tags to the Actual physical IOs using ladder logic.How I can achieve it?I think I need to Map both digital and analog IOs?Please help me....
------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 2/23/2016 4:20:22 PMNew subject after splitting |
|
2/24/2016 6:44 AM | |
Posts: 129 Rating: (17) |
Hi, Use FC105, FC106 to map Physical Analog Signals (IW, QW) to PLC Variable (Memory registers, DB) |
2/24/2016 7:17 AM | |
Posts: 5225 Rating: (1192)
|
Using the S7-1200 - right? As Arasan explained.. the configuration of the inputs and outputs is done in the hardware configuration. Different than the previous generations, the configuration there already map the analog for you to an address. As example the hardware configuration of the built-in x2 analog inputs .. .. have the sub heading "I/O addresses" that looks like this: With this configuration you can define two tags (example names).. In code you use the tags "myAI1" and "myAI2" as integer numbers that represent the analog readings. These readings are however in "machine" limits. Have a look at the specifications of the analog input as documented in the System Manual for details. For more information on how to scale the analog values to engineering units... do a search within this forum for the instructions NORM_X and SCALE_X. I hope this is of help to you. |
Last edited by: William_B at: 2/24/2016 7:20:31 AM |
|
This contribution was helpful to1 thankful Users |
2/24/2016 8:41 PM | |
Posts: 5225 Rating: (1192)
|
See if this example helps you.. |
Follow us on