NatC

nb-designer NB-Designer. How to display real numbers

1 post in this topic

I'm working on a program where I manipulate REAL numbers in Sysmac studio using an NX1029020 PLC. My problem is I am new to automation and I don´t know how to display those numbers when connecting to an NB HMI. I´m trying to send the data to a bar picture and a number display. My question is which AT Specification Attribute should I assign to my variables in Sysmac Studio and their corresponding Area in NB-Designer? I tried using the DM area but it didn't show numbers on the displays, only shows *****.

Should I convert my real variables in Sysmac first? Or how can I keep decimal numbers and then display them?

My current configuration in Sysmac:

Name

Data type

AT

Network publish

ST1

REAL

%D5

Publish Only

ST2

REAL

%D3

Publish Only

My current configuration in NB-Designer

Bar Picture

Addr. Type

D

Address

3

Code type

BIN

Number Display

Addr. Type

D

Address

3

Code type

BIN

Data type

Float

Integer

4

Decimal

2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now