Example - position follower (point-to-point), Example - position follower (continuous move) – Yaskawa SMC–4000 User Manual
Page 356
![background image](https://www.manualsdir.com/files/819559/content/doc356.png)
346
SMC–4000 User Manual
Example - Position Follower (Point-to-Point)
Objective - The motor must follow an analog signal. When the analog signal varies by 10V, motor must
move 10000 counts.
Method: Read the analog input and command X to move to that point.
Example - Position Follower (Continuous Move)
Method: Read the analog input, compute the commanded position and the position error. Command the
motor to run at a speed in proportions to the position error.
Instruction
Interpretation
#POINTS
Label
SP 7000
Speed
AC 80000;DC 80000
Acceleration
#LOOP
Label
COMPP=@AN[1]*1000
Read analog input, and compute position
PA COMPP
Command position
BGX
Start motion
AMX
After completion
JP #LOOP
Repeat
EN
End
Instruction
Interpretation
#CONT
Label
AC 80000;DC 80000
Acceleration rate
JG 0
Start job mode
BGX
Start motion
#LOOP
COMPP=@AN[1]*1000
Compute desired position
VE=COMPP-_TPX
Find position error
PVEL=VE*20
Compute velocity
JG PVEL
Change velocity
JP #LOOP
Repeat
EN
End
- Tag Generator (30 pages)
- MP3300iec (82 pages)
- 1000 Hz High Frequency (18 pages)
- 1000 Series (7 pages)
- PS-A10LB (39 pages)
- iQpump Micro User Manual (300 pages)
- 1000 Series Drive Option - Digital Input (30 pages)
- 1000 Series Drive Option - CANopen (39 pages)
- 1000 Series Drive Option - Analog Monitor (27 pages)
- 1000 Series Drive Option - CANopen Technical Manual (37 pages)
- 1000 Series Drive Option - CC-Link (38 pages)
- 1000 Series Drive Option - CC-Link Technical Manual (36 pages)
- 1000 Series Drive Option - DeviceNet (37 pages)
- 1000 Series Drive Option - DeviceNet Technical Manual (81 pages)
- 1000 Series Drive Option - MECHATROLINK-II (32 pages)
- 1000 Series Drive Option - Digital Output (31 pages)
- 1000 Series Drive Option - MECHATROLINK-II Technical Manual (41 pages)
- 1000 Series Drive Option - Profibus-DP (35 pages)
- AC Drive 1000-Series Option PG-RT3 Motor (36 pages)
- Z1000U HVAC MATRIX Drive Quick Start (378 pages)
- 1000 Series Operator Mounting Kit NEMA Type 4X (20 pages)
- 1000 Series Drive Option - Profibus-DP Technical Manual (44 pages)
- CopyUnitManager (38 pages)
- 1000 Series Option - JVOP-182 Remote LED (58 pages)
- 1000 Series Option - PG-X3 Line Driver (31 pages)
- SI-EN3 Technical Manual (68 pages)
- JVOP-181 USB Copy Unit (2 pages)
- JVOP-181 (22 pages)
- SI-EN3 (54 pages)
- SI-ET3 (49 pages)
- MECHATROLINK-III (35 pages)
- EtherNet/IP (50 pages)
- SI-EM3 (51 pages)
- 1000-Series Option PG-E3 Motor Encoder Feedback (33 pages)
- 1000-Series Option SI-EP3 PROFINET (56 pages)
- PROFINET (62 pages)
- AC Drive 1000-Series Option PG-RT3 Motor (45 pages)
- SI-EP3 PROFINET Technical Manual (53 pages)
- A1000 Drive Option - BACnet MS/TP (48 pages)
- 120 Series I/O Modules (308 pages)
- A1000 12-Pulse (92 pages)
- A1000 Drive Software Technical Manual (16 pages)
- A1000 Quick Start (2 pages)
- JUNMA Series AC SERVOMOTOR (1 page)
- A1000 Option DI-101 120 Vac Digital Input Option (24 pages)