Daniel_LeRoy
Lifetime Supporting Member
So I'm over my head and I'm struggling to keep a float. I posted earlier trying to figure out these tags but I think I was asking the wrong questions. I'm back with new thoughts but the same problem. Currently I have a Banner iVu Plus hooked into my Ethernet I/P network. its scanning and I'm receiving information. The format that the information is being received in is what is throwing me through a loop.
The problem is that with these numbers being ASCII type I can't manipulate them at all. A couple things I need to do with the information. The values are reverse so I need to SWPB the values, then I need to merge them all into two DINTs. But I don't know how to deal with this style of a INT. Also on a side note every time I change the "Style" when I save the program it reverts back to decimal. I can get around this by copying the vales to a different tag, but its still in ASCII style.
Anyone have any experience setting one of these Banner Sensors up? Or anyone have any advice at all? I'm stuck.
Here is pictures on how I set up the module
https://lh5.googleusercontent.com/-...AAALK0/zFsqZER_dn0/s556/Ethernet%20Module.jpg
https://lh6.googleusercontent.com/-.../0r9uIvrkz4A/s556/Module%20Properties%202.jpg
https://lh4.googleusercontent.com/-...ALLQ/VEuMNJyEqOA/s556/Module%20Properties.jpg
Here is a picture of the tags it generated
https://picasaweb.google.com/lh/photo/lml1XrCggRdaj_IOTUFR6NMTjNZETYmyPJy0liipFm0?feat=directlink
When I change the Tag style to ASCII is shows me the values which are the right numbers.
https://picasaweb.google.com/lh/photo/bR0vRYuSnfkSNVWGAEe1D9MTjNZETYmyPJy0liipFm0?feat=directlink
The problem is that with these numbers being ASCII type I can't manipulate them at all. A couple things I need to do with the information. The values are reverse so I need to SWPB the values, then I need to merge them all into two DINTs. But I don't know how to deal with this style of a INT. Also on a side note every time I change the "Style" when I save the program it reverts back to decimal. I can get around this by copying the vales to a different tag, but its still in ASCII style.
Anyone have any experience setting one of these Banner Sensors up? Or anyone have any advice at all? I'm stuck.
Here is pictures on how I set up the module
https://lh5.googleusercontent.com/-...AAALK0/zFsqZER_dn0/s556/Ethernet%20Module.jpg
https://lh6.googleusercontent.com/-.../0r9uIvrkz4A/s556/Module%20Properties%202.jpg
https://lh4.googleusercontent.com/-...ALLQ/VEuMNJyEqOA/s556/Module%20Properties.jpg
Here is a picture of the tags it generated
https://picasaweb.google.com/lh/photo/lml1XrCggRdaj_IOTUFR6NMTjNZETYmyPJy0liipFm0?feat=directlink
When I change the Tag style to ASCII is shows me the values which are the right numbers.
https://picasaweb.google.com/lh/photo/bR0vRYuSnfkSNVWGAEe1D9MTjNZETYmyPJy0liipFm0?feat=directlink