Panelview Plus 1000 Decimal to Binary Conversion

mark73165

Lifetime Supporting Member
Join Date
Jul 2008
Location
Texas
Posts
24
Hello, I am currently using the PanelView Plus 1000 to poll a modbus device use Kepware drivers. The problem I have is I am polling a holding register "40020" which returns data in decimal format. To make sense of the data I need to convert this to binary. Can this be done using the PanelView's own expression editors or tag configuration. Thanks Mark
 
You can try to display your register as a text and bit by bit:

Example "register.3""register.2" "register.1" "register.0" etc, where 0,1,2,3 ..... are bit positions of register.
 
Just Tried Your Suggestion

When I do this it returns 0. at the moment the decimal value is 128 and 160. Will keep trying, thanks Mark
 
Never used a PV+, can you do word based logic?
Word AND or XOR functions?
Would be a lot of work, but possible.

IF (register & 1 ) = 1
THEN tagname0=TRUE;
ElseIF (register & 2 ) = 2
THEN tagname1=TRUE;

and so on.....


EndIF;
 
Last edited:
Mark, It works as i told you, send you two pics,

First one is what it is display in my PV700+, second pic is how i alias my register in this case is called COLOR.

uno.JPG


uno1.JPG


The bits are displayed as text and are like this: "three" "two""one" etc.

I am not using kepware but rslinx enterprise, my plc is a compact logix.
 

Similar Topics

Hello, I made a change in alarm setup in factory view studio, where I changed a alarm message text. After that I made a run application and...
Replies
0
Views
131
Hi everyone, I've been tasked with creating a basic HMI for commissioning purposes for two pumps on a AB Panelview Plus 1000, 2711PRDT10C. I have...
Replies
16
Views
2,887
im tring to find out if i have a bad power supply for my panelview 1000 plus. does anyone have the pinout for the 10 pin connector on the...
Replies
1
Views
1,854
I need an X/Y plot to visually represent data o a roundness gage I am designing. ActiveX ME Chart Control UDT seems broke. Any advise one how to...
Replies
0
Views
659
Hello Everyone, I hope we are all good today! I have a project from 2015, and the customer is locked out of the HMI. They do not know what the...
Replies
5
Views
1,962
Back
Top Bottom