1/9/2014 1:51 PM | |
Joined: 1/24/2008 Last visit: 9/29/2024 Posts: 30 Rating: (1) |
Thanks Pegaia for your suggestions. The suggestion #1 didn´t work. The suggestion #2 works. Neverthless a collateral effect appears when I compile the sw for one of the PLCs. In fact the problem is due to a two functions that I obtained some years ago from https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=41512046&caller=view The functions makes a conversion between bool and word data (I use both: “Bool to Word” and “Word to Bool“). The TIA V12 doesn’t support the CONV function when the input and output data are the same type, which makes sense. But in the project example of the link that I referred before the “Bool to Word” and “Word to Bool“ functions use the CONV function with the same input and output type. That is the problem. Can you tell me where can I obtain the functions “Bool to Word” and “Word to Bool“ with the same interface and functionality in order to replace the functions that I use?MLima |
1/10/2014 5:47 PM | |
Joined: 1/24/2008 Last visit: 9/29/2024 Posts: 30 Rating: (1) |
It works now. Many thanks. MLima |
1/10/2014 7:40 PM | |
Joined: 9/23/2005 Last visit: 10/9/2024 Posts: 4349 Rating: (1446)
|
you are wellcome |
Denilson Pegaia |
|
11/5/2014 10:30 AM | |
Joined: 9/23/2005 Last visit: 10/9/2024 Posts: 4349 Rating: (1446)
|
Hi, which CPU do you use? |
Denilson Pegaia |
|
12/25/2014 11:39 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4767 Rating: (123) |
|
Follow us on