Logix5k UDT's and Aliasing

arkansascontrols

Lifetime Supporting Member
Join Date
Jan 2008
Location
Arkansas
Posts
112
I really wish RA would allow elements of User Defined Data Types to alias other Tags.

Does anyone know of a better work around than assigning them one by one? I normally use a Structured Text sub for the assignments but that actually defeats one of the main advantages of 5k by putting IO updates back into the scan and dependent (temporally anyway) on the size and complexity of the program.

Since I/O updates are independent of program scan it seem counterproductive to use program based assignments, but I don't know any other way of assigning vfd[9].enable to Local:O:12.Data.0 or vfd[3].speed to InfeedConveyor:O.FreqCommand

I love the ability to create UDT's to organize data, but I hate that I have to use program based assignments. Anyone know a better way?
 
I usually "feed" all my I/O through AOI handing functions.


Digital Inputs can be de-bounced in the AOI, alarms generated, forcing can be applied etc.


Analog Inputs and outputs can be scaled to/from Eng Units.


An added benefit is it synchronises the I/O to the PLC scan.


The picture shows an example of one I developed recently, but you can mix/match your own easily. The AOI's don't tie up your I/O points to aliased tags, so can be changed at runtime by editing the parameters. The output tag can be an element of a UDT.

2018-12-16_155236.jpg
 

Similar Topics

Hi all, I'm starting work on a system and the processor for said project is a Control Logix 1756-L82. When I open Logix, however, that CPU is...
Replies
9
Views
2,938
Hello, I have been working on an alarm tracking routine. I take several bits to get a status of a device and load then into an INT Dev_Stat. When...
Replies
0
Views
1,007
Hi all, I'm working on some Control and Compact Logix A&B PLCs, running Logix5K version 24. I've been doing online edits just fine, but I've...
Replies
6
Views
2,410
From what I can tell, AB's Connected Component Workbench (CCW) does not support CompactLogix L43 with RsLogix v20.xx Software. What are my...
Replies
6
Views
2,677
Hello PLCs.Net! I am trying to use RSLogix5k via windows command line. I would like there to be a script which automatically opens a project...
Replies
1
Views
1,241
Back
Top Bottom