7/16/2014 10:33 AM | |
Joined: 10/7/2005 Last visit: 6/5/2023 Posts: 2966 Rating:
|
Hello Georgio sorry, the only way ibaPDA can understand S5 KG format is if you use an ibaLink-SM-64 card in your S5 rack. Not all is lost though, and here'sa coupleof options for you: 1.) As suggested by you, convert the S5 KG to IEEE format in your S5 program. You'll find a ready made S5 FBfor this at Sample block for format adaptation of ANSI/IEEE standard formats and floating point formats in SIMATIC S5 notation (useable in S5 928 and 948 CPU's). It's only documented in German so here's a quick parameter explanation: F-NO: Supply avalue of 2 to convert S5 KG to IEEE format X-IN: S5 KG value STAT: supply with a 0 value ALT: supply with a 0 value (used as X-IN if STAT value is ><0) X-OUT: IEEE formatted output value FAIL: Errorbit Note: The FB uses Scratchflag area FY200 up to FY210 2.)Less runtime extensive in the S5: Simply multiply the S5 KG with lets say KG 1000 to create 3 articificial decimal points,use "GFD" to convert it to a DINT, read it as a DINT in ibaPDA and use the linear scaling in the I/O Managertogive it back its 3decimal points. I hope this helps |
Cheers |
|
7/17/2014 7:06 AM | |
Joined: 10/28/2008 Last visit: 4/6/2023 Posts: 245 Rating:
|
Hellofritz. Thank you for you reply. Definitelly it helps me :) 1)ibaLink-SM-64 for S rack was also under our consideration before ordering "classic" type of IBA. But we desided not to order it because it is pretty much more expensive than classic card to PCI slot to computer.. 2) You provide a link with S5 FB for conversions. Before posting my question I also found this link, but I was unable to open it in Win7 64 bit. But after you posted your answer I tried on my old WinXP and it is working... Thank you for this link, I am going to try this solution ! 3) Originally I was also thinking about conversion to Integer or DInt, add some decimal point by multiplying with 1000 or 10000. On IBA side dividing this by 1000 or 10000. Last project I worked with IBA I had to use this approach in communication PLC ABB (the old ABB AC450 PLC) with IBA. But I had no opportunity to use DInt, only Int, so the range was not good enough.. This approach is good when you know ranges of all signals, but in my case I do not really know all ranges of floating point numbers... And now, the best of all: Yestarday we received information from IBA company (we aksed for support) that their developer has provide them a first beta Version of ibaPDA 6.32.3. He has added the support for S5 float on the DPM-S in active slave and sniffer modules. So at first we are going to test this beta version of IBA. But anyway we are going to try also FB for conversion if it is working properly.. Thank for your support. I will provide you with results ! Georgio |
Georgio |
|
This contribution was helpful to
1 thankful Users |
7/17/2014 10:55 AM | |
Joined: 10/28/2008 Last visit: 4/6/2023 Posts: 245 Rating:
|
Hi all. We also wanted to try new beta version of IBA.
But unfortunatelly IBAbeta Version of ibaPDA 6.32.3 supports S5 format only for DPM-S hardware version. Our version is L2B-8-8. Based on phone conversation with IBA sales department they will ask their developers to provide us another beta version of S5 format communication in L2B-8-8. But of course we cannot force them. Hope that it will not take a lot of time. But anyway we have at least one solution working properly. Thanks. Georgio |
Georgio |
|
This contribution was helpful to
1 thankful Users |
Follow us on