Hello everyone,
I have a project I've been working on involving a single 1746-HS (IMC 110) and a SLC 5/02 - the original 1746-HS had fried without any backup and the customer wants me to attempt reprogramming the replacement based on what I've interpreted from the PLC program before they go to more drastic measures of replacing the equipment.
The system I'm working with is rather simplistic. It's a roller (rotary axis) which feeds steel into a press a specific distance, based on a user input.
I've had success so far in programming within the MML, setting up manual functions, and triggering events from the PLC, but there is an offset that comes from the operator that I haven't been able to get working. The PLC outputs it to word 3 (MSW) and the existing logic toggles between speed override (set to 0) and position offset to signify the change, since I believe the changing of states is what triggers the write process.
However, I'm not sure how to access this register within the MML. I thought it would be shared with $OFFSET, but I can't seem to get that function to work at all. I've tried using it similarly to $SPEED but no matter what my offset remains 0 and the servo moves the same amount.
Thanks for any help anyone might be able to provide. I've already spent a couple of days on this project, and a lot of time outside of it combing through the programming manual... I'm beginning to reach my wits end.
I have a project I've been working on involving a single 1746-HS (IMC 110) and a SLC 5/02 - the original 1746-HS had fried without any backup and the customer wants me to attempt reprogramming the replacement based on what I've interpreted from the PLC program before they go to more drastic measures of replacing the equipment.
The system I'm working with is rather simplistic. It's a roller (rotary axis) which feeds steel into a press a specific distance, based on a user input.
I've had success so far in programming within the MML, setting up manual functions, and triggering events from the PLC, but there is an offset that comes from the operator that I haven't been able to get working. The PLC outputs it to word 3 (MSW) and the existing logic toggles between speed override (set to 0) and position offset to signify the change, since I believe the changing of states is what triggers the write process.
However, I'm not sure how to access this register within the MML. I thought it would be shared with $OFFSET, but I can't seem to get that function to work at all. I've tried using it similarly to $SPEED but no matter what my offset remains 0 and the servo moves the same amount.
Thanks for any help anyone might be able to provide. I've already spent a couple of days on this project, and a lot of time outside of it combing through the programming manual... I'm beginning to reach my wits end.