I can wire as diagramed/needed. But i have been using.... A0 for the X axis and A1 for the Y, utilizing the potintometers on the joystick.Pins Out on the Adruino 3&4 for the X, 8&9 for the Y. (PWM)On the Relay i have used 1&2 for inputs from 3&4. Relay pin in's 3&4 are recieving from 8&9. I was assuming using the 8 channel relay as the switch for all of it. Was assuming the code/sketch would be able to set the limits in it for speed and also set for the rotation? \
PWM and relays don't work together. You may get very noisy relays (if the frequency is low enough for the relay to follow it), more likely it will just switch on or off the relays completely. You need motor drivers, H-bridge configuration if you want directional control. H-bridges normally have four inputs.Code can not set limits to speed/rotation without feedback. Code can change PWM rates to get to a certain speed, but it has to have some form of feedback to know what speed the motor is actually at. Same for limits to rotation. You need some form of feedback that a limit has been reached - e.g. a microswitch, or a break beam sensor, or a magnet + reed switch or hall effect sensor - something like that.