HomeWindO/I-NV3

Programming software for our FT1A Touch PLC+HMI

Changing Tag Data Type Messages in this topic - RSS

Zay
Zay
Posts: 6

6/7/2018
Hi
Is there any way to change data type of tag? Couldn't do it on tag editor. I need to change to float as I need decimal point. It was programmed with word data type.
0 link
Don Pham
Don Pham
Administrator
Posts: 398

6/7/2018
I'm assuming you're referring to the Control (ladder program) portion of the unit. If that's the case, then the data type needs to be changed in the Instruction itself.
+1 link
Zay
Zay
Posts: 6

6/7/2018
Yes. You are right. I am referring to ladder program.Then I have to rewrite the whole program as there are a lot of word instructions. I think Data register addresses also need to be modified as word consumes one byte and float consumes two bytes. Am I right?
0 link
Don Pham
Don Pham
Administrator
Posts: 398

6/8/2018
Yes, you're correct.
0 link
Shane
Shane
Moderator
Posts: 215

6/14/2018
Hi Zay, just a friendly tip from my personal experience. I generally use every other data register unless I know for sure I will be sticking with word type throughout. D0000, D0002, D0004, etc. Then if you decide you need a float, long, or double word in one of your registers in the middle somewhere you don't have to move everything around to make room for it.
0 link




Powered by Jitbit Forum 8.2.0.0 © 2006-2013 Jitbit Software