Hi, first post here so sorry for it being a noob question but what can I do .. I need help (and of course I need it yesterday )
The background is as follows:
- I am software engineer (do consulting in IT, nothing related to plc's)
- I do know a lot about electronics, mcu's, cpu's .. made lot of projects
- I know theory about plc's but my practical experience is nill
The problem is:
- a friend (100% analog guy, nothing digital) need to solve a problem in his factory "asap"
- there are 2 SIEMENS SIMATIC S7-200 (216-2AD23-0XB0) modules in the line and both have a bug in their software. One has limits set wrong (you are setting some speed between 1 and 500 mm/sec, the normal speed is 150-200mm/sec, the upper limit in the plc is set to 50mm/sec, looks like someone forgot a zero); and the other one is reading input from encoder and showing encoder pulses as mm output (they forgot to divide the input from encoder with pulses_per_mm).
- guy's who designed this system left the company where they worked and took all documentation and sources with them, the company can't give us any sources or replacements, they can take the whole machine back and return money - this is not an option as production should start .. well .. a month ago
- I have access to machine with step7-micro/win
- I know how to make rs485 to usb adapter, I have no clue what the pinouts on the S7-200 (216-2AD23-0XB0) are nor what port to use - if someone can show me how to connect pc with this s7-200 I'd be very happy (I will try to purchase original cable tomorrow but if there isn't one available fastest way around it is to make one)
Major question: is there a way to fetch the program from the S7-200 (216-2AD23-0XB0) so that I can make this minor changes (change limit 50 to 500, divide input from encoder by some value ..) and return it back to it? If there is no way to get something readable in micro/win, is there some type of disassembler? 'cause I'm changing only few constants, that should be easy to locate and change?
Thanks for helping a noob here, it's all on the very short notice (or this would be handled by someone who know answers to these questions and not me) but ....
p.s. sorry if I broke some forum rules or posted in wrong category
The background is as follows:
- I am software engineer (do consulting in IT, nothing related to plc's)
- I do know a lot about electronics, mcu's, cpu's .. made lot of projects
- I know theory about plc's but my practical experience is nill
The problem is:
- a friend (100% analog guy, nothing digital) need to solve a problem in his factory "asap"
- there are 2 SIEMENS SIMATIC S7-200 (216-2AD23-0XB0) modules in the line and both have a bug in their software. One has limits set wrong (you are setting some speed between 1 and 500 mm/sec, the normal speed is 150-200mm/sec, the upper limit in the plc is set to 50mm/sec, looks like someone forgot a zero); and the other one is reading input from encoder and showing encoder pulses as mm output (they forgot to divide the input from encoder with pulses_per_mm).
- guy's who designed this system left the company where they worked and took all documentation and sources with them, the company can't give us any sources or replacements, they can take the whole machine back and return money - this is not an option as production should start .. well .. a month ago
- I have access to machine with step7-micro/win
- I know how to make rs485 to usb adapter, I have no clue what the pinouts on the S7-200 (216-2AD23-0XB0) are nor what port to use - if someone can show me how to connect pc with this s7-200 I'd be very happy (I will try to purchase original cable tomorrow but if there isn't one available fastest way around it is to make one)
Major question: is there a way to fetch the program from the S7-200 (216-2AD23-0XB0) so that I can make this minor changes (change limit 50 to 500, divide input from encoder by some value ..) and return it back to it? If there is no way to get something readable in micro/win, is there some type of disassembler? 'cause I'm changing only few constants, that should be easy to locate and change?
Thanks for helping a noob here, it's all on the very short notice (or this would be handled by someone who know answers to these questions and not me) but ....
p.s. sorry if I broke some forum rules or posted in wrong category