CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Dec 17, 2018 10:26 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Aug 30, 2018 10:33 pm 
Offline

Joined: Thu Aug 09, 2018 2:38 am
Posts: 6
Hi guys,
I'm new to CodeSys and I'm trying to display the content of a variable as binary in my text field. So I have an INT with 37 decimal value in it
and I want it to be displayed as 100101 instead of 37.

In the help of Codesys I found the placeholder %b and swiftly tried it out, but to no avail. I have attached a couple of screenshots.
https://help.codesys.com/webapp/_visu_p ... n=3.5.13.0


Maybe someone can quickly point me into the right direction.


Thank you
Attachment:
Capture.PNG

Attachment:
online decimal.PNG


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Sun Sep 02, 2018 3:11 pm 
Offline

Joined: Fri Dec 26, 2014 3:10 am
Posts: 45
Hi Studiologe,

Please advice which version of codesys you are using?

I'm using the version 3.5 sp13 it display correctly the binary value.

Thank you
John Lee


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited