EasyManua.ls Logo

ST ST-PMC1 - Ⅻ. Directive Search Form

ST ST-PMC1
17 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
14 / 17
from the zero to proximity switch is greater than 100 000 steps, less than 100010 steps). Design
analysis: the variable displacement of this movement does not know its precise value, but only
know it's a general range (belong to a unknown variable). We use a method for interrupting
operation to solve this problem. We connect the limit switch to the A operating port, Due the
interrupt operation,the motor will slow down to stop, If run to the limit switch as a high-speed
directly,will produce overshoot, In order to avoid the overshoot, we use this method that the first
run as a high-speed ,then run as a low-speed (low-speed is below the starting frequency).
Parameter List:(Enter the parameter setting mode to modify) Setting A Operator address nA = 04,
other parameters are ignored.
Program Listing :( enter the program edit state)
00 SPEED 39000 ; assign the speed as 39KHz
01 G-LEN 0099000 ; First, high-speed close to, but cant hit the limit switch
02 SPEED 00400 ; low-speed frequency must below the starting frequency
03 G-LEN 07999999 ; The amount of displacement is set to the maximum, to reach the limit
switch
04 SPEED 39000 ; A Operator, assign the return to zero speed as 39KHz
05 GO-AB -A ; In the opposite direction, running the same amount of displacement,back to zero
06 END; the program ends!
. directive search form
N
O.
Directive
Name
Example Instructions, data range, unit Directive
full name
Directive
abbreviati
on
1
pause
directive
00
PAUSE
Program pauses, waiting for the start signal
PAUSE
PAU
2
displacemen
t directive
01 G
-
LEN
-1234567
According to the latest SPEED assignment speed, reverse
mobile 1234567 step; pulses number
G
-
LEN
G-L
3
Speed
assignment
directive
02 SPEED
12345
Run this
directive
following assignment speed; 12345Hz
1-39999, pulses / sec (Hz)
SPEED
SPD
4
Delay
directive
03 DELAY
1234567
Delay time: 1234567 ms 1
-
7999999, ms
DELAY
OLY
5
Uncondition
al jump
directive
04
JUMP
12
Unconditional jump to the line XII program runs
00-99, line number
JUMP
JMP
6
Cycle
directive
05
LOOP
03 12345
Jump from the current line to the (05) to 03 lines
for 12,345 cycles 1-99999 (0 defined as infinite),
Times (only forward loop)
LOOP
LOP
7
Move to
a position
06
GOTO
-1234567
Control the motor running to coordinate the
position of -7999999- + is -1,234,567 7,999,999,
the number of pulses (0 equivalent return to zero)
GOTO
GOT
8
Output
directive
07
OUT
03 01 N 0
Switch output is: 0UT = (K 0UT2 = 1,0UT3
unchanged internal buzzer a short sound (a =
long beep, N = no sound)
OUT
OUT

Related product manuals