Johnny T
Member
Hi
I'm trying to configure my Siemens S7-312 to talk to some MAC servo motors.
I've got a Cp340 module (RS 232C) connected to the rack but, all I get on the front, is the red SF led.
I've configured the motors using two free pieces of software (MAC talk, MAC reg I/O).
MAC talk allows me to set up the addresses and behaviour of the servo's (ie. positional control or vector control etc).
MAC Reg I/O, allows me to talk directly to the motors. I have successfully talked to the motors by sending a string out.
The string I need to send (for this test) is:
<52><52><52><02><FD><03><FC><04><FB><90><6F><5F><A0><01><FE><00><FF><AA><AA><50><50><50><02><FD><03><FC><AA><AA>
I put this string in a data block and tried to use FB3 to send it to the motor when I0.0 is high.
Unfortunately, all I'm getting is the red SF light on the CP340 module and I can't understand why...
I've tried putting the example CP340 program into the PLC and I still get the red SF light on the CP340 but also the SF light on the PLC.
I've attached an archive of my project to this post. Can anyone point me in the right direction for getting started?
Many thanks
JT
I'm trying to configure my Siemens S7-312 to talk to some MAC servo motors.
I've got a Cp340 module (RS 232C) connected to the rack but, all I get on the front, is the red SF led.
I've configured the motors using two free pieces of software (MAC talk, MAC reg I/O).
MAC talk allows me to set up the addresses and behaviour of the servo's (ie. positional control or vector control etc).
MAC Reg I/O, allows me to talk directly to the motors. I have successfully talked to the motors by sending a string out.
The string I need to send (for this test) is:
<52><52><52><02><FD><03><FC><04><FB><90><6F><5F><A0><01><FE><00><FF><AA><AA><50><50><50><02><FD><03><FC><AA><AA>
I put this string in a data block and tried to use FB3 to send it to the motor when I0.0 is high.
Unfortunately, all I'm getting is the red SF light on the CP340 module and I can't understand why...
I've tried putting the example CP340 program into the PLC and I still get the red SF light on the CP340 but also the SF light on the PLC.
I've attached an archive of my project to this post. Can anyone point me in the right direction for getting started?
Many thanks
JT