Thank you for the reply
I am struggling a bit with the ethernet /ip protocol that we need to use but I think I am just missing a couple of detail to complete this process.
I have successfully changed the drive parameter using the Mexe02 V4 software
I have also entered in the 5 positions I require and tested them with success using the teach function in Mexe02
I have been able to set the ip addresses on the plc and the servo drive and the com light on the drive turns solid green indicating I have communication.
I have included timers in my PLC program to enable me to send commands at the appropriate time for the moves I require
I have looked at all of the unitronics examples for motion control and it seems that they all involve using the CAnopen protocol and move commands
The issues I have remaining are:
I am able to set up the servo drive in the PLC using the .eds file only if I create it as a scanner and set the PLC as an adapter. I was thinking that the PLC should be the Scanner. Am I wrong about this ?
I am unclear on how to generate the position movements that will be sent by the call to the servo drive. Do you possibly have an example of what one would typically look like. For now I have placed call functions in the places that will become my movements
Thank you and have a great Thanksgiving weekend
NOV 24 2021 WITH BAND SHEET FORMING TESTS and servo communication 25.ulpr
That is correct. Use SB 41 to SET a bit. Then use a Direct Contact of that bit, followed by an Inverted Contact of the Function in Progress bit, then your communications, then a RESET of the first bit, similar to below:
Also, I'm not sure MB 1 is necessary (all the configuration and initialization will take place immediately before the program executes the next rung). What you might need is for SB 41 to SET a bit and use that bit (direct contact) to initiate your communication, with a RESET of the bit at the end.
Also please explain rung 2 some more. If you're receiving data, why is there a send? Which is likely upsetting the scan as well.
FYI, for anything like this, I always perfect what I need to do using the PC first. Once that is working perfectly, you can then transpose things into the PLC much, much easier.