questions about UDT

yfcarer

Member
Join Date
Apr 2006
Location
Tianjin
Posts
82
Hi, buddies.

I am now using AB CompactLogix and RSLogix5000.
I define a data type "Tank" with the follow parameters:
......
TankNumber: INT
Level: DINT
Temperature: DINT
......
Then I declare a variable "Tank01", which type is "Tank", in either Controller Tags or Program Tags. But I find that I cannot link the parameter (for example,the Level) to a IO card address from the Tag editor!!?? It shows gray.

Would somebody give me some guide? Do I really need to use "Move" to link the IO to the Level parameter?

Thanks in advance and have a nice weekend~~
 
Declare a INPUT_SECTION of your UDT. Make it have different real values, and the length of your input card.

Copy the Input card to the INPUT_SECTION of your UDT. It'll fit right up.

Aliasing inside of UDT is not supported through version 15.
 
Hi, CroCop.
Thanks for your answer.

But can you give me an example, since I am not a smart guy :)

An AI card: 1769-IF8, from which I will receive the level signal.
 

Similar Topics

Hello, first of all let me state for the record that I'm not a tech of any kind, I have limited experience with industrial automation devices, so...
Replies
3
Views
110
Hello, My background is IT, and I have very little (effectively zero) understanding of PLCs. I have been tasked with acquiring version 2 of...
Replies
4
Views
94
Hi- I am configuring an alarm and event server to display 1 current alarm at a time on a big display. Having a few issues The alarm doesn't...
Replies
0
Views
74
Hello everyone, I'm new here. First of all I just want to say that you guys are very knowledgeable and reading your posts on here has saved my...
Replies
4
Views
180
Hello All, Was hoping I could get a little help with Modicon ladder logic. This is the first time I have seen Modicon logic and currently trying...
Replies
6
Views
281
Back
Top Bottom