simplelogix
Member
Folks,
Am here to whinge and moan a little. Surely others have had similar experience and I would like to know how they handled the situation.
1) I have taken over PLC code that is written in Grafcet (little or no comments, no state names, states are all over the place. eg state 4 goes to state 11 goes to state 34 goes to state 2...).
2) The PLC communicates to multiple servo drives over a bus. The programmer found that rather than following the manufacturer's instructions to control the servos over the bus, it was simpler to use the bits to control the servo by the servo setup software. i.e. if you hover over the buttons of the servo setup software, it would show which bits were being used to control the servo. This is not shown in the servo programming manual. This makes it very hard for someone taking over the software (me) to establish what the servo is doing. I have spent over 3 weeks trying to get the servos to make simple movements using this method.
3) This earlier programmer has been in the company for quite a few years now and he gets everything to work. So in the eyes of the management, he is "God". If I have a problem getting it to work, the mantra is, "Ask Bob". (Names changed).
4) When I suggested constructively that we should write maintainable code, Bob's answer was, "Why reinvent the wheel? It works". I get the feeling he is trying to make himself indispensable. I put in comments and he just deleted the comments! (I am trying to not get personal now!).
Do share your experiences with me.
Am here to whinge and moan a little. Surely others have had similar experience and I would like to know how they handled the situation.
1) I have taken over PLC code that is written in Grafcet (little or no comments, no state names, states are all over the place. eg state 4 goes to state 11 goes to state 34 goes to state 2...).
2) The PLC communicates to multiple servo drives over a bus. The programmer found that rather than following the manufacturer's instructions to control the servos over the bus, it was simpler to use the bits to control the servo by the servo setup software. i.e. if you hover over the buttons of the servo setup software, it would show which bits were being used to control the servo. This is not shown in the servo programming manual. This makes it very hard for someone taking over the software (me) to establish what the servo is doing. I have spent over 3 weeks trying to get the servos to make simple movements using this method.
3) This earlier programmer has been in the company for quite a few years now and he gets everything to work. So in the eyes of the management, he is "God". If I have a problem getting it to work, the mantra is, "Ask Bob". (Names changed).
4) When I suggested constructively that we should write maintainable code, Bob's answer was, "Why reinvent the wheel? It works". I get the feeling he is trying to make himself indispensable. I put in comments and he just deleted the comments! (I am trying to not get personal now!).
Do share your experiences with me.