11 11 11 11 11
Sample programs
11.1
Operation by the host controller
IN1 input of CN1: Accepts signals from the host controller
END output of CN1: Sends signals to the host controller
Sample program
[1] PULSE1 2
[2] ETIME 50
[3] T1 30.0
[4] VS1 500
[5] V1 10000
[6] IN 1,1
[7] D1 2000
[8] H1 +
[9] INC1
11-2
Sets the pulse output mode to two-
pulse mode
Sets the END output time to 50 ms
Sets the acceleration/deceleration
rate to 30ms/kHz
Sets the starting speed to 500Hz
Sets the operating speed to 10,000
Hz
Waits until IN1 input is on
Set the movement amount to 2,000
Sets the rotational direction to CW
Executes an incremental
positioning operation
IN1 input
Motor operation
END output