![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: May 2022
Location: Tampa, FL
Posts: 3
|
![]()
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 |
![]() |
![]() |
#2 |
Lifetime Supporting Member
|
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. |
![]() |
![]() |
#3 |
Member
![]() ![]() 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 |
![]() |
![]() |
#4 |
Lifetime Supporting Member
|
The problem is, having a copy of the software isn't enough. You need the license. It's the license that unlocks the features.
|
![]() |
![]() |
#5 | |
Member
![]() ![]() Join Date: May 2022
Location: Tampa, FL
Posts: 3
|
Quote:
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 |
|
![]() |
![]() |
#6 |
Lifetime Supporting Member
|
|
![]() |
![]() |
#7 |
Lifetime Supporting Member
|
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 Last edited by 5618; May 24th, 2022 at 01:29 AM. Reason: added "or some particular structures" |
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |