Jump to content

Sysmac studio - NX1P datatypes display


Go to solution Solved by IO_Rack,

Recommended Posts

Posted

 Hi team !

 I have trouble with my Sysmac studio ,  can you help me  to change the display data type when online monitor from Hex to Dec . 

Thanks and have a nice day.

image.thumb.png.5736d65b64c45f188a7d434b58439853.png

  • Solution
Posted

This depends on what you wish to do with the value. If you want to "Only View" as a Decimal, open the watch window and change the Display Format.

VeiwHexDec.thumb.PNG.9947860e2dfc7ca53b084a2457c24af1.PNG

 

If you wish to use this value as a Decimal in your program, then perform a conversion using WORD_TO_INT or WORD_TO_DINT instruction.

ConvHexDec.thumb.PNG.f2628b5a9767acb44e8779a566811649.PNG

  • Like 1
Posted

WORD data type will show as hex by default.  As IO_Rack said, watch windows can select a display format.  INT data type displays decimal.  Are you sure you have to use the WORD data type?

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...