Tag Editor Scaling in Connected Components Workbench

jrsnydley

Member
Join Date
Dec 2014
Location
Minnesota
Posts
155
I have a 2711R-T4T that I am hooking up to a MicroLogix 1400 to replace a PanelView Micro 300. There is a tag I am trying to configure in Connected Components Workbench for the HMI. In the old PanelView, the tag is configured as follows:
Tag Name: Yield
Data Type: Signed Integer/Int
Address: N17:110
Scale: 0.001
Min: 0
Max: 32

In the tag editor for CCW, the tag is configured as follows:

Tag Name: Yield
Data Type: 16 Bit Integer
Address: N17:110
Data Entry – Min: 0
Data Entry – Max: 32
Scaling: ✓
Raw – Min: 0
Raw – Max: 32
Scaled – Min: 0
Scaled – Max: 32000

It appears that the numeric entry works correctly but I have the same tag (Yield) used as the Indicator Tag and the value that is displayed is not the same as what is displayed on the original PanelView. It appears to be rounding the value up to the nearest whole number. I have the Numeric Entry formatted as follows:

Decimal Point: Fixed Position
Group Separator: Use Language Preference
Keypad Type: Numeric
Maximum Value: 999
Minimum Value: 0
Negative Number Formats: In Front
Number of Decimal Places: 3
Numeric Field Width: 5

Is there a way I can get this indicator to read as it did on the old PanelView? For example, read 1.234 instead of 1?
 
"In the tag editor for CCW, the tag is configured as follows:

Tag Name: Yield
Data Type: 16 Bit Integer
Address: N17:110 "

You have a data type of Integer. Try a Real data type.
This may help you out.

Regards,
 
Thank you for the response! However, that approach did not seem to help. It gives me a warning saying there is an inconsistency with the data type which I ignored, but the indicator tags still do not read any decimal places.
 
What about a DINT or INT signed integer?

The tag must be addressed the same way at each end.

CCW supports the 19 elementary IEC 61131-3 data types below.
• BOOL: Boolean, True or False
• SINT: 8-bit signed integer, range -128 to +127
• USINT: 8-bit unsigned integer, range 0 to 255
• BYTE: 8-bit unsigned integer, range 0 to 255
• INT: 16-bit signed integers, range -32768 to 32767
• UINT: 16-bit unsigned integers, range 0 to 65535
• WORD: 16-bit unsigned integers, range 0 to 65535
• DINT: 32-bit signed integers, range -2147483648 to +2147483647
• UDINT: 32-bit signed integers, range 0 to 4294967295
• DWORD: 32-bit signed integers, range 0 to 4294967295
• LINT: 64-bit signed integers, range -9223372036854775808 to 9223372036854775807
• ULINT: 64-bit unsigned integers, range 0 to 18446744073709551615
• LWORD: 64-bit unsigned integers, range 0 to 18446744073709551615
• REAL: 32-bit floating values, range -3.40282347E+38 to 3.40282347E+38
• LREAL: 64-bit floating values, range -1.7976931348623157E+308 to 1.7976931348623157E+308
• TIME: 32-bit words, range 0 to 1193h2m47s294ms
• DATE: 32-bit words, range 1970-01-01 to 2038-01-18
• STRING: Up to 252 characters, can contain ASCII codes from 0 to 255

Regards,
 
I believe that the 16 bit integer is the same as a signed integer isn't it? The only other option I have for a 16 bit is an unsigned integer. As I said, the data entry appears to give me what I want due to the scaling but the indicator tag for the numeric entry isn't showing any decimal places.
 
try increasing 5 field widthto 6. or try a new numeric display tag like gcl said. try moving to dint?
 
I have a 14 different numeric entries all tied to N7:110 to N7:123 through tags in the project in CCW. These were all pre-exisiting in a PanelBuilder 32 application. If I configure these as DINT tags won't that screw things up? I guess what I'm really wondering is if they can be configured as a Signed Integer in PanelBuilder, why does it act differently in CCW when I configure everything to be the same as it was?
 
Let me try to explain myself a little better. The operator, for example, will put in a value of 3.750 into the numeric entry. With the scaling, this shows up as 3750 in the MicroLogix. However, on the display for the current value of the tag, it shows a 4 because it won't display any decimal places and rounds the 3.750 up to 4. Is there a way I can get it to display the decimals so that the operator's input matches what is displayed on the screen?
 
Hi Jrsnydley

Did you ever solve your issue??

I'm having a similar one with getting a decimal point to show with an INT on CCW with micrologix 1400.
 

Similar Topics

Hi, was wondering is there anyway of writing a value on a faceplate and having the value scaled before the PLC reads the value. I am trying to...
Replies
0
Views
3,241
Anybody know if there is a registry entry that can be changed/added for Logix/Studio 5000 that will change the default data type for an analog...
Replies
14
Views
6,238
Hello PLCs.NET! I'm having some issues where one of my in the 'Monitor' tab of my RSLogix, I can see the same tag in all the rows, and can't...
Replies
0
Views
1,031
In version 16 of RSLogix 5000, is there no way to get the search box in the controller tag screen? I've looked and looked for how to bring it up...
Replies
3
Views
1,619
Hello Friends; I use FX1N-14MR PLC with 6070i 7 inch display HM. I design the screens and create tags by using tag editor. But PLC not response...
Replies
4
Views
2,812
Back
Top Bottom