PV 1400e to PV 1500 plus upgrade problem

Mohamed Sheba

Member
Join Date
Mar 2011
Location
Egypt
Posts
7
Hi all,
I have just upgraded PV 1400e to PV 1500 plus. I have a problem with the numeric display (it display 5020 instead of 50.20)
I know it is easy to divide the value by 100, but I have upgraded the old expression to be suitable for the new PV with no change with the numbers.
Sample:
Old ex.: DIM Var0000 AS INTEGER
Var0000 = (({MASTER\FLIP-FLOP\TSH4031_R} * 6000) \ 10000)

New ex.: ({MASTER\FLIP-FLOP\TSH4031_R} * 6000) /10000

The decimal point settings are the same. 5 digits & 2 digits after decimal & fixed position & fill left with spaces.
It should be OK but I don't know what is the problem.
anyone can help?
 
Hi all,
I have just upgraded PV 1400e to PV 1500 plus. I have a problem with the numeric display (it display 5020 instead of 50.20)
I know it is easy to divide the value by 100, but I have upgraded the old expression to be suitable for the new PV with no change with the numbers.
Sample:
Old ex.: DIM Var0000 AS INTEGER
Var0000 = (({MASTER\FLIP-FLOP\TSH4031_R} * 6000) \ 10000)

New ex.: (({MASTER\FLIP-FLOP\TSH4031_R} * 6000) /10000))

The decimal point settings are the same. 5 digits & 2 digits after decimal & fixed position & fill left with spaces.
It should be OK but I don't know what is the problem.
anyone can help?
Missing?
See above.
 
Sample:
Old ex.: DIM Var0000 AS INTEGER
Var0000 = (({MASTER\FLIP-FLOP\TSH4031_R} * 6000) \ 10000)

New ex.: ({MASTER\FLIP-FLOP\TSH4031_R} * 6000) /10000

I found the problem...
the sign \ means: integer division and not equal to the normal division / as I did
this sign was used in PV 1400e expression but not used now.
where:
x \ y = (x - (x MOD y))/y

and I'm now trying to find the easiest way to write the new expression for the PV 1500
 

Similar Topics

Multistate object used to use a tag that looked at bit 13,14 and 15 and set that to an analog max value of 1+2+4 = 7 Can no longer so that in...
Replies
0
Views
1,218
Hello all I am trying to replace a PV 1400E using RIO with a new PV+ 1500 with a 2711P-RN6 card. The panel is being replaced as the brightness...
Replies
3
Views
2,120
Hi all, I'm in the process of upgrading a PanelView1200 HMI program to be developed in FactroyTalk View Studio. The filetype for PanelView 1200...
Replies
7
Views
276
Hi. I'm doing an upgrade of an old 1400e to a new panel view plus 7 standard using ftv studio v 12,which will be communicating to a slc 5/04 via...
Replies
15
Views
2,685
I am attempting to mix old with new. I have a 1400e HMI that is communicating to a plc5 via DH+. I need to set the HMI up to read some of its...
Replies
5
Views
2,400
Back
Top Bottom