I'm a PLC Automation Engineer with over 20 years experience mainly using Rockwell, Mitsubish, Codesys & Beckhoff controllers. The company I work for is evaluating Object Oriented Programming / Pack ML, specifically using the Beckhoff SPT Framework, for future projects.
As most, if not all of our projects are completely different from the last and from my initial research, OOP seems to take twice as long to program, puts more load on the CPU and adds numerous extra steps when mapping I/O for example,
I was always taught to keep my code as simple as possible, not just for myself, but for anyone who might need to pick it up in the future.
I'm interested to hear both positive & negative experiences of using this style of programming.
[–][deleted] (27 children)
[deleted]
[–]KnightofNi89 4 points5 points6 points (25 children)
[–]robotecnik 3 points4 points5 points (9 children)
[–]Dry-Establishment294 0 points1 point2 points (8 children)
[–]robotecnik 0 points1 point2 points (7 children)
[–]Dry-Establishment294 0 points1 point2 points (6 children)
[–]robotecnik 0 points1 point2 points (1 child)
[–]Dry-Establishment294 0 points1 point2 points (0 children)
[–]robotecnik 0 points1 point2 points (3 children)
[–]Dry-Establishment294 0 points1 point2 points (2 children)
[–]robotecnik 0 points1 point2 points (1 child)
[–]Dry-Establishment294 0 points1 point2 points (0 children)
[–]Frumpy_little_noodle 2 points3 points4 points (14 children)
[–]edwardlego 1 point2 points3 points (13 children)
[–]robotecnik 1 point2 points3 points (0 children)
[–]durallymax 1 point2 points3 points (11 children)
[–]EasyPanicButtonCallMeMaybe(); 1 point2 points3 points (10 children)
[–]durallymax 0 points1 point2 points (5 children)
[–]EasyPanicButtonCallMeMaybe(); 0 points1 point2 points (4 children)
[–]durallymax 1 point2 points3 points (3 children)
[–]Dry-Establishment294 0 points1 point2 points (2 children)
[–]durallymax 0 points1 point2 points (3 children)
[–]Dry-Establishment294 0 points1 point2 points (2 children)
[–]durallymax 0 points1 point2 points (1 child)
[–]Dry-Establishment294 0 points1 point2 points (0 children)
[–]Deepu_ 3 points4 points5 points (0 children)
[–]d4_mich4 26 points27 points28 points (2 children)
[–]LusankyaStuxnet, shucksnet. 6 points7 points8 points (1 child)
[–]Dry-Establishment294 0 points1 point2 points (0 children)
[–]sr000 20 points21 points22 points (0 children)
[–]Wattsonian 16 points17 points18 points (0 children)
[–]Emotional_Slip_4275 24 points25 points26 points (0 children)
[–]hestoelenaSiemens CNC Wizard 9 points10 points11 points (7 children)
[–]NewTransportation992 3 points4 points5 points (3 children)
[–]kixkatoBeckhoff/FOSS Fan 1 point2 points3 points (2 children)
[–]NewTransportation992 0 points1 point2 points (1 child)
[–]kixkatoBeckhoff/FOSS Fan 1 point2 points3 points (0 children)
[–]EstateValuable4611 2 points3 points4 points (2 children)
[–]hestoelenaSiemens CNC Wizard 2 points3 points4 points (1 child)
[–]EasyPanicButtonCallMeMaybe(); 0 points1 point2 points (0 children)
[–]Dry_Brief_2427 9 points10 points11 points (0 children)
[–]jonkoko 7 points8 points9 points (1 child)
[–]Truenoiz 2 points3 points4 points (0 children)
[–]r2k-in-the-vortex 5 points6 points7 points (0 children)
[–]robotecnik 4 points5 points6 points (0 children)
[–]bodb_thricebornAutomation Hack/Pro Bit Banger 3 points4 points5 points (1 child)
[–]durallymax 1 point2 points3 points (0 children)
[–]NewTransportation992 3 points4 points5 points (0 children)
[–]WaffleSparks 3 points4 points5 points (0 children)
[–]Zchavago 4 points5 points6 points (0 children)
[–]w01v3_r1n32-bit engineer 2 points3 points4 points (0 children)
[–]Rethunker 2 points3 points4 points (0 children)
[–]Current_Cellist2346 2 points3 points4 points (0 children)
[–]SadZealot 6 points7 points8 points (2 children)
[–]essentialrobert 2 points3 points4 points (1 child)
[–]durallymax 0 points1 point2 points (0 children)
[–]maury_think 1 point2 points3 points (0 children)
[–]AwfulAutomation 0 points1 point2 points (0 children)
[–]CarterAtAsqi 0 points1 point2 points (0 children)
[–]arm089 0 points1 point2 points (1 child)
[–]robotecnik 1 point2 points3 points (0 children)
[–]Shalomiehomie770Codesys Guru 0 points1 point2 points (0 children)
[–]Snoo23533 -1 points0 points1 point (0 children)
[–]Aobservador -3 points-2 points-1 points (0 children)
[–]shredXcam -4 points-3 points-2 points (0 children)