Analog Numeric String

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
drdeason
Posts: 21
Joined: Wed Jun 26, 2013 6:06 am

Analog Numeric String

Post by drdeason »

I am reading a string from a CompactLogix PLC via an Analog Numeric object, and only the first character shows up. The "Limit Characters to" checkbox is unchecked, but tried it checked with a length of 10 and got the same results. However, I am able to see the entire value of an internal string.

Also, Is there any way to get wrap the string text?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Analog Numeric String

Post by mark.monroe »

You need to increase the length of your string. by default it is set to size 1.
Snap 2013-07-30 at 10.05.24.jpg
Snap 2013-07-30 at 10.05.24.jpg (74.03 KiB) Viewed 10000 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

drdeason
Posts: 21
Joined: Wed Jun 26, 2013 6:06 am

Re: Analog Numeric String

Post by drdeason »

Ah. No way to wrap the text?

drdeason
Posts: 21
Joined: Wed Jun 26, 2013 6:06 am

Re: Analog Numeric String

Post by drdeason »

I changed the data type size but it didn't affect the runtime.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Analog Numeric String

Post by mark.monroe »

No, there is no way to wrap the text in an Analog Numeric Box.

If you change the String length to 6, and type in the Analog Numeric Box, does your text change in the PLC for that memory register? What register are you trying to access in the PLC? For example, "A.B"?
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

drdeason
Posts: 21
Joined: Wed Jun 26, 2013 6:06 am

Re: Analog Numeric String

Post by drdeason »

I unchecked "disable operator input", typed some text, and it worked. Even after I checked the box again. I had to do that for every instance. ?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Analog Numeric String

Post by mark.monroe »

I am not sure why that fixed the issue. Have you tried pressing the "Rebuild" Button? That will recompile your entire project. Maybe something got out of sync between your project source code and the compiled project.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply