Hi all,
I'm trying to run a stepper motor using the automation direct DL 06. I'm using one of the free from profiles to send the step pulses to the motor through a H0 Ctrio module (Output Y0).
I have the output Y0 connected to the Step - on the stepper drive and Y1 to the dir -. YC is connected to positive terminal on the stepper drive.
First, I configure the CTRIO module for SLOT # 1 and CTRIO# 0, then I just load the free form profile to the CTRIO memory V2301, then take the success output bit ( after the profile is loaded to the CTRIO output Y0) from there and turn on output on the ctrio V2456.0.
I also checked the output enabled status ( V2422.0) and it is giving me the value of 1, so I'm assuming the CTRIO output Yo is indeed turning on, but again the motor is not moving.
I have also tried controlling the motor from the MONITOR I/O tab on the CTRIO WORKBENCH 2. I can see the outputs Y0 and Y1 turning on the CTRIO Module but the motor won't move at all.
I have tested the motor using the step drive test option and it works. I have also attached the pictures of my wiring connection.
Please guys I really need to get this going.
My PLC code is below:
PLC 06
// Rung 1
// Address 0
STR SP5
LD K1
OUT V3000
// Rung 2
// Address 3
STR SP4
LD K10
OUT V2440
// Rung 3
// Address 6
STRPD C0
LD V3000
OUT V2441
SET B2456.7
SET C1
// Rung 4
// Address 12
STR C2
OUT B2456.4
// Rung 5
// Address 15
STR C1
AND B2422.7
ANDN B2422.6
RST B2456.7
SET B2456.0
// Rung 6
// Address 24
STRN C0
RST C1
RST B2456.0
RST B2456.7
// Rung 7
// Address 30
END
// Rung 8
// Address 31
NOP
#BEGIN ELEMENT_DOC
"C0","","","Initialize Settings"
"C1","","","Intitialize Settings Complete"
"B2422.6","","","Cmd Error"
"B2422.7","","","Cmd Complete"
"B2456.0","","","Enable O/P"
"B2456.4","","","Direction"
"B2456.7","","","Process Cmd"
#END
I'm trying to run a stepper motor using the automation direct DL 06. I'm using one of the free from profiles to send the step pulses to the motor through a H0 Ctrio module (Output Y0).
I have the output Y0 connected to the Step - on the stepper drive and Y1 to the dir -. YC is connected to positive terminal on the stepper drive.
First, I configure the CTRIO module for SLOT # 1 and CTRIO# 0, then I just load the free form profile to the CTRIO memory V2301, then take the success output bit ( after the profile is loaded to the CTRIO output Y0) from there and turn on output on the ctrio V2456.0.
I also checked the output enabled status ( V2422.0) and it is giving me the value of 1, so I'm assuming the CTRIO output Yo is indeed turning on, but again the motor is not moving.
I have also tried controlling the motor from the MONITOR I/O tab on the CTRIO WORKBENCH 2. I can see the outputs Y0 and Y1 turning on the CTRIO Module but the motor won't move at all.
I have tested the motor using the step drive test option and it works. I have also attached the pictures of my wiring connection.
Please guys I really need to get this going.
My PLC code is below:
PLC 06
// Rung 1
// Address 0
STR SP5
LD K1
OUT V3000
// Rung 2
// Address 3
STR SP4
LD K10
OUT V2440
// Rung 3
// Address 6
STRPD C0
LD V3000
OUT V2441
SET B2456.7
SET C1
// Rung 4
// Address 12
STR C2
OUT B2456.4
// Rung 5
// Address 15
STR C1
AND B2422.7
ANDN B2422.6
RST B2456.7
SET B2456.0
// Rung 6
// Address 24
STRN C0
RST C1
RST B2456.0
RST B2456.7
// Rung 7
// Address 30
END
// Rung 8
// Address 31
NOP
#BEGIN ELEMENT_DOC
"C0","","","Initialize Settings"
"C1","","","Intitialize Settings Complete"
"B2422.6","","","Cmd Error"
"B2422.7","","","Cmd Complete"
"B2456.0","","","Enable O/P"
"B2456.4","","","Direction"
"B2456.7","","","Process Cmd"
#END
Attachments
-
124.3 KB Views: 3
-
39.8 KB Views: 3