Specifications

4. Wiring Verify the wiring to the stepper motor is correct. Remember the signal ground
connection from the PLC to the motion system is required.
5. Motion system – Verify that the drive is powered and enabled. To verify the motion system is
working, you can use Mode 60 operation (normal PLC inputs/outputs) as shown in the test
program below. With it, you can manually control Y0 and Y1 with X0 and X1, respectively. Using
an input simulator is ideal for this type of manual debugging. With the switches you can single-
step the motor in either direction. If the motor will not move with this simple control, Mode 30
operation will not be possible until the problem with the motor drive system or wiring is
corrected.
6. Memory Error – HSIO configuration parameters are stored in the CPU system memory.
Corrupted data in this memory area can sometimes interfere with proper HSIO operation. If all
other corrective actions fail, initializing the scratchpad memory may solve the problem. With
DirectSOFT, select PLC > Setup > Initialize Scratch Pad from the Menu bar.
Symptom: The motor turns in the wrong direction.
Possible causes:
1. Wiring – If you have selected CW and CCW type operation, just swap the wires on Y0 and Y1
outputs.
2. Direction control – If you have selected Pulse and Direction type operation, just change the
direction bit to the opposite state.
DL06 Micro PLC User Manual, 3rd Edition, Rev. C
E–66
Appendix E: High-speed Input and Pulse Output Features
1
2
3
4
E
6
7
8
9
10
11
12
13
14
A
B
C
D
SP0
LD
K60
Load constant K60 into the accumulator. This
selects Mode 60 as the HSIO mode.
OUT
V7633
Output the constant to V7633, the location of the
HSIO Mode select register.
Direct SOFT
Mode 60
OUT
V7635
Output this constant to V7635, configuring X1.
Filtered Inputs
OUT
V7636
Output this constant to V7636, configuring X2.
LD
K1006
Load the constant K1006 which is required to configure
filtered inputs with a time constant of 10 mS.
OUT
V7634
Output this constant to V7634, configuring X0.
END
END coil marks the end of the main program..
X0
OUT
Use a switch on X0 input to manually control output Y0.
Y0
X1
OUT
Use a switch on X1 input to manually control output Y1.
Y1
OUT
V7637
Output this constant to V7637, configuring X3.