You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old May 20th, 2022, 06:19 PM   #1
Ajility
Member
United States

Ajility is offline
 
Join Date: May 2022
Location: Tampa, FL
Posts: 3
Smile Need a program created in CCW Developer Edition with UDTs

Hi everyone,

I'm looking for a sample program that has some UDTs defined in it for the MicroLogix platform.

To create them, you need to have the developer edition of Connected Components Workbench (I think v20.1).

Its pretty expensive - if you have a copy on hand, I'd appreciate the help.

I'm hoping to use this program to do some testing & help support an open-source Python library. You can find out more about that library here:
https://github.com/ottowayi/pycomm3

Thanks
Sam
  Reply With Quote
Old May 21st, 2022, 09:32 AM   #2
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 5,152
Welcome to the forum!

Do you mean Micro800, not MicroLogix? I am pretty sure the MicroLogix platform does not have UDTs.
_
__________________
_
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good

Last edited by drbitboy; May 21st, 2022 at 10:25 AM.
  Reply With Quote
Old May 21st, 2022, 12:15 PM   #3
Ajility
Member
United States

Ajility is offline
 
Join Date: May 2022
Location: Tampa, FL
Posts: 3
@drbitboy I do mean Micro800 series. I'm mainly interfacing with ControlLogix and don't know much about the other RA platforms.

Thank you
Sam
  Reply With Quote
Old May 21st, 2022, 12:22 PM   #4
dmroeder
Lifetime Supporting Member
United States

dmroeder is online now
 
dmroeder's Avatar
 
Join Date: Apr 2006
Location: Vancouver, WA
Posts: 3,168
Quote:
Originally Posted by Ajility View Post
@drbitboy I do mean Micro800 series. I'm mainly interfacing with ControlLogix and don't know much about the other RA platforms.

Thank you
Sam
The problem is, having a copy of the software isn't enough. You need the license. It's the license that unlocks the features.
  Reply With Quote
Old May 21st, 2022, 12:32 PM   #5
Ajility
Member
United States

Ajility is offline
 
Join Date: May 2022
Location: Tampa, FL
Posts: 3
Quote:
Originally Posted by dmroeder View Post
The problem is, having a copy of the software isn't enough. You need the license. It's the license that unlocks the features.
I was hoping the program could be run with the Micro800 simulator, but I wouldn't be able to make changes to the UDTs

I'll guess you've already been through this?
https://www.youtube.com/watch?v=gOtodm8QKL0


BTW, your pylogix library is kick ***, thank you for creating it
  Reply With Quote
Old May 21st, 2022, 01:02 PM   #6
dmroeder
Lifetime Supporting Member
United States

dmroeder is online now
 
dmroeder's Avatar
 
Join Date: Apr 2006
Location: Vancouver, WA
Posts: 3,168
Quote:
Originally Posted by Ajility View Post
BTW, your pylogix library is kick ***, thank you for creating it
Oh nice, glad you find it useful. Thanks.
  Reply With Quote
Old May 24th, 2022, 01:24 AM   #7
5618
Lifetime Supporting Member
United States

5618 is offline
 
5618's Avatar
 
Join Date: Oct 2017
Location: York, PA
Posts: 232
You could probably test with some pre-defined data types like LCD_REM or MODULE_INFO. However, here's a project with a few custom data types defined. There are no programs created, just a few data types. This was created in CCW12 for a Micro820, 2080-LC20-20QWB V10. I could do a different controller or some particular structures if needed. My Developer Edition is only 12 at this time.

The types I created end with "UDT". Make a variable and scroll through the available types to find them. Capitalization of BOOL vs Bool is different in TopLevelMix and AnotherMixed. I experimented a bit and didn't clean up completely. I found that "CAPS" and "caps" cannot coexist as different elements of a UDT for a duplicate name.

Names of created types:
MotorUDT
TopLevelMixUDT includes SubLevelMixUDT
AnotherMixedUDT
DoubleDintUDT
StringSizesUDT
Attached Files
File Type: zip PLCTalkUDTs.zip (528.4 KB, 1 views)

Last edited by 5618; May 24th, 2022 at 01:29 AM. Reason: added "or some particular structures"
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
CCW Developer Activation PLC Pie Guy LIVE PLC Questions And Answers 1 January 3rd, 2019 01:28 PM
AB CCW Dev Edition Jyonny LIVE PLC Questions And Answers 8 October 10th, 2016 05:47 PM
Connected Components Greg Dake LIVE PLC Questions And Answers 2 May 8th, 2015 11:44 AM
Subroutine philosophy Doug-P LIVE PLC Questions And Answers 31 February 11th, 2013 07:40 AM
Rockwell Software Developer Toolkit Program Mark Buskell LIVE PLC Questions And Answers 9 June 12th, 2005 11:37 PM


All times are GMT -4. The time now is 10:54 PM.


.