I have these control tags in a control logix PLC that I have connected to a PK controller that is communicating over ethernet/ip.
I was able to bring in the Float (REAL) tag as a floating point
This is how I set up the LDT for the float.
UCMM with Logix Tags
Requested packet interval(ms):1000
Number of values:1
data direction:Input
Data Type: Floating point
Rack Number: 1
Slot Number: 0
Logix Tag Name: Plant_Master (for example)
This works fine for a REAL, and I am able to see the value and it matches the PLC.
The question that I have is how to set up the LDT for a Decimal (BOOL)
I have tried setup for a Boolean.
Number of values:8
Data Type: Boolean
Logix Tag Name: BTLvlLoLoTrip
This doesn't work, in diagnostics it shows a Bad logic Device
I have tried it setup as a 8 Bit signed integer.
Data Type: 8 Bit signed integer
This doesn't work the value in diagnostics shows up as a negative 1 (-1)
Can someone please let me know how I can handle this type of data.
Thank you in advance.
Andre Dicaire
In reply to Andre Dicaire:
In reply to Adam Villhauer:
NK-1900-1116 is a KBA that you probably should read that talks about UCMM tags. The most efficient way is reading array's so they are packed because only one LDT can be requested ever 20 msec which contributes to how many can be responded to within your RPI. There are ways around it using more than one PDT, but that KBA has lots of good information.
In reply to Matt Forbis: