RS Logix 5000 UDT

cjd1965

Lifetime Supporting Member
Join Date
Apr 2007
Location
UK
Posts
1,659
Hi I am doing a project for 1st time in years and i am very rusty

I am trying to create a udt for process valves

The UDT has content but the size is showing as 0 bytes?

This is where i need help

I have attached a screen shot showing the issue in yellow highlight

Thanks in advance

udt.jpg
 
Mine registers a size once I hit the apply button.

As a suggestion, unless you are following some external data arrangement, is to declare all the BOOLs first then work on up in data size for the elements.

Is 'TIME' an actual type (possibly a previously defined UDT?)
When I attempted to add an element of a type which hasn't been defined the the 'size' went back to question marks (as would be expected). I see that you discovered the problem. You must use types that exist. If you intend to create a type called TIME then do that first. Elapsed time in a standard timer is in milliseconds and is held in a DINT. Try that.
 
Last edited:
Hi Bernie
Thanks

In Siemens it is a datatype so i need to flush some of that. I will change it to DINT for the timer preset values

Cheers
 

Similar Topics

Hello, Wondering if the following setup would work. 1. Local PLC on the network has an array of 25 REALs 2. Supervisory PLC on the network needs...
Replies
14
Views
1,775
Hi there, I am doing work for a customer who has a UDT that uses parameters like this: PLC_REG_TO_SEND.GROUP_15.1234_DINT[1].0 I believe these...
Replies
5
Views
1,738
Hello, I'm writing an interface program to a machine and because the bit data is packed into 16 bit variables, it's nicer to create an UDT to...
Replies
16
Views
4,857
Ok, I am having a tough time with an application and figuring out how the best way would be for me. So here is what I would like to accomplish: I...
Replies
28
Views
9,112
Good Evening , I still have many "Mental Blocks" when it comes down to programming. Could you tell me the difference between a UDT and a AOI ...
Replies
26
Views
16,535
Back
Top Bottom