2/24/2012 6:16 AM | |
Posts: 4 Rating: (0) |
Hello Proffesionals, I'm a teacher and for my lessons I am currently experimenting with a stepper motor, connected to a PLC (S7-200 CPU222 Version 01.11), through a stepper drive. The drive is a Microstep Driver M542. The PUL+, DIR+ and ENA+ inputs from the drive are connected to the Q0.0, Q0.1 and Q0.2 output of the PLC, using a resistor to get the 24VDC to 5VDC. Experiments with pulses generated by a timer (1ms on, 1ms off) works perfectly. However, when I go experiment with PLS function in PTO-mode I get no step from the stepper motor. I can't use the wizard because the PLC doesn't support it (should be version 2.0 or higher). I have made a test program (see attachment PTO TEST.pdf). When I run this I get a high signal from SM66.6 (PTO Pipeline overflow/onderflow). Does anyone now why this is and why this mother doesn't move? SM66.7 (PTO Idle) is on before I give the start signal, after a start it's '0' during - I guess - the cycle time. AttachmentPTO TEST.pdf (355 Downloads) |
Last edited by: BlokD at: 2/24/2012 6:18 AM |
|
2/24/2012 11:12 AM | |
Joined: 4/22/2010 Last visit: 2/15/2024 Posts: 5697 Rating: (713)
|
Could be 24V or relay contact(depends on CPU type) Dc type without relays needs 24VDC suply on the 1L,2Lterminal, 24V DC will be available on terminal Q0.0,Q0.1 then.(M terminals must be connected to 0VDC. Relais contacts cannot be used with PTO, produce a lot off noice only You must reset the SM66.6 by program, see attached part of helpfile. If you want to use a counter on the PTO output it must be a highspeed counter, (HSC) Regards, Marcjan AttachmentPrinting _SMB66-SMB85 PTO _ PWM Registers.pdf (356 Downloads) |
Last edited by: Marcjan at: 2/24/2012 11:14 AMProblem solved? |
|
2/24/2012 3:12 PM | |
Posts: 4 Rating: (0) |
In normal programming the PLC has a 24VDC output, through a transistor (not a relay). But is it also the same voltage when you use a PTO function? |
Follow us on