ACR Electronics FPR-10 PROGRAMMER Handbuch

Stöbern Sie online oder laden Sie Handbuch nach Nein ACR Electronics FPR-10 PROGRAMMER herunter. ACR Electronics FPR-10 PROGRAMMER Hardware manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 199
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 2 - User Information

Parker Hannifin 10 Programmer’s Guide 11. In the Scaling dialog, do the following: a. Under Specify Units, click Inches. b. In the Transmission

Seite 3 - Table of Contents

Parker Hannifin 100 Programmer’s Guide Example 1 Two axes are set to different acceleration, deceleration, and velocities, and are moved the same di

Seite 4

Parker Hannifin Making Motion 101 Figure 5 looks at the movement for the Y axis, characterized by more gradual slopes for acceleration and decel

Seite 5 - Parker Hannifin

Parker Hannifin 102 Programmer’s Guide Figure 6 shows the velocity motion profiles for both the X and Y axes superimposed. The Y axis is dashed. Due

Seite 6

Parker Hannifin Making Motion 103 At one second (t0 + 1.0 sec.), the axis is commanded to decrease speed to the new velocity. See Figure 8 for th

Seite 7 - Change Summary

Parker Hannifin 104 Programmer’s Guide JOG VEL Details Figure 10 shows the bit profiles for the Jog Flags (Bits 792 through 796) as a JOG VEL comman

Seite 8 - Getting Started

Parker Hannifin Making Motion 105 JOG Commands See the ACR Command Language Reference for detailed information, including necessary arguments, on

Seite 9 - Getting Started - Tutorial

Parker Hannifin 106 Programmer’s Guide JOG REN Details The JOG REN command (Transfer Current Position into Jog Offset) clears the Coordinated Moves

Seite 10

Parker Hannifin Making Motion 107 The drawing in Figure 12 illustrates JOG REN as it preloads the Coordinated Moves Profiler. Figure 12 JOG RE

Seite 11

Parker Hannifin 108 Programmer’s Guide JOG RES Details The JOG RES command (Transfer Jog Offset Into Current Position) clears the Jog Profiler offse

Seite 12 - Configuring Masters

Parker Hannifin Making Motion 109 The drawing in Figure 14 illustrates JOG RES as it preloads the Jog Profiler. Figure 14 JOG RES Preloads the

Seite 13 - What has been generated?

Parker Hannifin Getting Started 11 19. In the Fault dialog, do the following: a. Select the Enable Positive Software Limit Detection check box,

Seite 14 - Creating a program

Parker Hannifin 110 Programmer’s Guide Cam Profiler The Cam Profiler controls motion for axes needing precise motion. It uses an array of target poi

Seite 15 - Running the Application

Parker Hannifin Making Motion 111 NOTE: Relevance of positive and negative direction— NOTE: If an end-of-travel limit is encountered during t

Seite 16 - Servo Tuning - Tutorial

Parker Hannifin 112 Programmer’s Guide JOG VEL X10 Y10 : REM Set axes jog parameters used during homing JOG ACC X100 Y100 JOG DEC X100 Y100 HLBIT X

Seite 17 - Tuning Example

Parker Hannifin Making Motion 113 Figures A and B show the homing operation when the Home Backup Enable, Home Negative Edge Select, and Home Nega

Seite 18

Parker Hannifin 114 Programmer’s Guide Positive Homing (Homing Backup Enabled) Figures C through F show the homing operation when the Home Backup En

Seite 19

Parker Hannifin Making Motion 115 Figure D Homing Profile Attributes: • JOG HOME X1 • Home Backup Enable (bit index 24) is set. • Home Negati

Seite 20

Parker Hannifin 116 Programmer’s Guide Negative Homing (Homing Backup Enabled) Figures G through J show the homing operation for different values of

Seite 21

Parker Hannifin Making Motion 117 Figure I Homing Profile Attributes: • JOG HOME X-1 • Home Backup Enable (bit index 24) is set. • Home Negat

Seite 22

Parker Hannifin 118 Programmer’s Guide Limit Detection The Configuration Wizard assists with setting up the Hardware and Software Limits Detection.

Seite 23

Parker Hannifin Making Motion 119 NOTE: There are no restrictions regarding how to assign hardware limits and homing inputs. However, you should

Seite 24

Parker Hannifin 12 Programmer’s Guide 25. In the Fault dialog, do the following: a. Select the Enable Positive Software Limit Detection check box

Seite 25

Parker Hannifin 120 Programmer’s Guide Servo Loop Fundamentals Each of the profilers contains a register with a value of the current offset. These v

Seite 26 - System Configuration

Parker Hannifin Servo Loop Fundamentals 121 The information up to and including the SSP is the commanded position. See Figure 16. Figure 16 Sec

Seite 27 - Program/PLC Level

Parker Hannifin 122 Programmer’s Guide Figure 17 Following Error

Seite 28 - Hardware Configuration

Parker Hannifin Binary Host Interface 123 Binary Host Interface You can enhance communications with the ACR series controller through the binary

Seite 29 - Dedicated I/O

Parker Hannifin 124 Programmer’s Guide Receiving When receiving control prefix encoded data, a '#' character is thrown away and causes the

Seite 30 - End-of-Travel Limits

Parker Hannifin Binary Host Interface 125 Binary Data Packets Packets allow binary access to system parameters at any time. This method must be u

Seite 31 - Software Limits

Parker Hannifin 126 Programmer’s Guide Parameter Access The following is a list of groups and what the isolation mask will isolate: Group Descripti

Seite 32 - Software Limit Positions

Parker Hannifin Binary Host Interface 127 Long integers (LONG) are returned as a four-byte field. Floating point numbers (FP32) are returned in 3

Seite 33 - Attachments

Parker Hannifin 128 Programmer’s Guide Usage Example This example requests current position from axis 0 parameter P12288: Fields: Header Parameter

Seite 34 - Attaching Axes

Parker Hannifin Binary Host Interface 129 Receive Packet None. Binary Get IEEE This packet gets a single parameter from the card. The parameter i

Seite 35 - Attaching Masters

Parker Hannifin Getting Started 13 2. In the Masters dialog, assign axis Z to master 1: a. In the Axes list to the left, select Axis 2. b. In

Seite 36 - • ACR9040 has 16 slaves

Parker Hannifin 130 Programmer’s Guide Binary Peek Command A binary peek command consists of a four-byte header followed by an address and the data

Seite 37 - Attaching Slaves

Parker Hannifin Binary Host Interface 131 Usage Example NOTE: Addresses shown are for example only. Addresses will vary from card to card, depen

Seite 38 - Slaves and Axis Names

Parker Hannifin 132 Programmer’s Guide Receive Packet None. Conversion Codes Code Source Destination 0x00 LONG LONG 0x01 IEEE32 FP64 0x02 IEEE32

Seite 39 - Memory Allocations

Parker Hannifin Binary Host Interface 133 Binary Address Packet Transmit Packet Data Field Description Byte 0 Header ID ( 0x00 ) Byte 1 Packet

Seite 40 - Program

Parker Hannifin 134 Programmer’s Guide Binary Parameter Address Command A binary parameter address command consists of a four-byte header containing

Seite 41 - How Much Memory?

Parker Hannifin Binary Host Interface 135 Binary Mask Command A binary mask command consists of a four-byte header followed by an address and two

Seite 42 - Clearing Allocated Memory

Parker Hannifin 136 Programmer’s Guide Binary Parameter Mask Command A binary parameter mask command consists of a four-byte header followed by two

Seite 43 - Programming Basics

Parker Hannifin Binary Host Interface 137 Binary Move Command A binary move consists of a variable length header followed by a number of four-byt

Seite 44 - Command Syntax

Parker Hannifin 138 Programmer’s Guide There are two versions defined for Header Code 0 based on Secondary Master Flag Bit Index 5, Enable Rapid Mov

Seite 45 - Description of Format

Parker Hannifin Binary Host Interface 139 Header Code 1 Data Field Data Type Description Bit 0 Master Bit 0 Bit 1 Master Bit 1 Bit 2 Master

Seite 46 - Arguments and Syntax

Parker Hannifin 14 Programmer’s Guide Creating a program This application requires two programs. Program 0: Determines the motion the gantry (axes

Seite 47 - Example Code Conventions

Parker Hannifin 140 Programmer’s Guide Header Code 4 Data Field Data Type Description Bit 0 Bit 1 Bit 2 Reserved Reserved Bit 3 Master Bit 3 Mas

Seite 48 - Programs and Commands

Parker Hannifin Binary Host Interface 141 Header Code 7 Data Field Data Type Description Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Reserv

Seite 49 - ESC key (ASCII 27)

Parker Hannifin 142 Programmer’s Guide Example 2 The following illustrates Move Mode 1—Feed Cornering: Example 3 The following illustrates Move Mo

Seite 50 - Kill All Motion

Parker Hannifin Binary Host Interface 143 Example 4 The following illustrates Move Mode 3—Rapid: Linear Moves The bits in header code 2 indicat

Seite 51 - Program Flow

Parker Hannifin 144 Programmer’s Guide The "arc direction" bit in header code 1 indicates the direction of the arc relative to the primary

Seite 52 - IF/ELSE

Parker Hannifin Binary Host Interface 145 Binary CLR Data Type Description Byte 0 Header ID ( 0x1D ) Byte 1 Index Byte 0 Byte 2 Index Byte 1

Seite 53

Parker Hannifin 146 Programmer’s Guide Data Type Description Bit 1 Master 1 Affected Bit 2 Master 2 Affected Bit 3 Master 3 Affected Bit 4 Mast

Seite 54 - FOR/TO/STEP/NEXT

Parker Hannifin Binary Host Interface 147 Usage Example This example uses the following IEEE conversions: 0.500 = 3F000000 0.123 = 3DFBE76D Binar

Seite 55 - Other Conditional Statements

Parker Hannifin 148 Programmer’s Guide Header Bit Mask Data Type Description Bit 0 Master 0 Affected Bit 1 Master 1 Affected Bit 2 Master 2 Affe

Seite 56

Parker Hannifin Binary Host Interface 149 Usage Example This example uses the following IEEE conversions: 0.500 = 3F000000 0.123 = 3DFBE76D Binar

Seite 57 - Clearing Binary Bits

Parker Hannifin Getting Started 15 4. In the Program Editor window under the comment 'TODO: edit your program here, type the following (or

Seite 58 - A Word on Aliases

Parker Hannifin 150 Programmer’s Guide Even though global variables are stored on-board as floating point 64 (FP64) numbers, they are returned as IE

Seite 59 - Programming Example

Parker Hannifin Additional Features 151 Additional Features CANopen The CANopen feature on ACR series controllers provides standardized network c

Seite 60 - Parametric Evaluation

Parker Hannifin 152 Programmer’s Guide other words, each I/O bit is controlled by only one flag. In addition, this table represents the maximum amou

Seite 61 - Nested Parentheses

Parker Hannifin Additional Features 153 For available bit rates and constraints of bus length, see the CiA Draft standard 301, version 4.02, tabl

Seite 62

Parker Hannifin 154 Programmer’s Guide node of the example above, and the timing in the table below, the time using a PIO-347 would be 12 millisecon

Seite 63 - Basic Setup

Parker Hannifin Additional Features 155 • Check for success and any other status of interest. For example, application operation may depend on I

Seite 64 - 64 Programmer’s Guide

Parker Hannifin 156 Programmer’s Guide Field Description Read/ Write Description Start Network R/W When set, this flag will attempt to communicate

Seite 65 - Global Objects

Parker Hannifin Additional Features 157 The description and parameter numbers are shown in the following table. The control parameters are those

Seite 66 - 66 Programmer’s Guide

Parker Hannifin 158 Programmer’s Guide Field Description Read/ Write Description Number of Digital Output Bytes R The total number of bytes (1 byte

Seite 67 - Operating System

Parker Hannifin Additional Features 159 The Bus State Description table below gives the possible bus states and the corresponding CAN LED indicat

Seite 68 - Program Control

Parker Hannifin 16 Programmer’s Guide Servo Tuning - Tutorial The tuning process lets you hone the servo response and settling for your particular

Seite 69 - Setpoint Control

Parker Hannifin 160 Programmer’s Guide The Node ID must be set by the user to match the node ID settings on the actual nodes. All other node informa

Seite 70 - Velocity Profile

Parker Hannifin Additional Features 161 Flags for Extended Digital I/O Each possible node will have two blocks of flag parameters, each 16 parame

Seite 71 - Resetting the Controller

Parker Hannifin 162 Programmer’s Guide For example a 0-10V DAC would take values of 0-32767, and a ±10V device would take values of –32768 to 32767.

Seite 72 - Return to Factory Default

Parker Hannifin Additional Features 163 DAC Parameter/DAC number 0 1 … 31 DAC Output Value P33280 P33296 … P33776 Reserved P33281 P33297

Seite 73 - The Code

Parker Hannifin 164 Programmer’s Guide and two analog outputs (0 to 10 VDC). They are both configured at a bit rate of 1 Mb. The example shows the r

Seite 74

Parker Hannifin Additional Features 165 Communication The Axis connectors provide an RS-485 communication interface to the drive through the COM2

Seite 75

Parker Hannifin 166 Programmer’s Guide Enabling Auto-Addressing ► To enable auto-addressing, set the “Auto Address Request” bit (bit index 0, Drive

Seite 76 - 76 Programmer’s Guide

Parker Hannifin Additional Features 167 Drive Status Flags You can get status data of an Aries drive. On power up the controller does not contain

Seite 77

Parker Hannifin 168 Programmer’s Guide Example The following example demonstrates the set up for two axes with Aries drives: OPEN DTALK “COM2:9600,N

Seite 78

Parker Hannifin Additional Features 169 DTALK command from a terminal. For more information, see DTALK in the ACR Command Language Reference. Onc

Seite 79

Parker Hannifin Getting Started 17 Tuning Example The tuning example assumes the following: • Parker BE 241 motor. • 9 to 1 load-to-rotor inert

Seite 80

Parker Hannifin 170 Programmer’s Guide Exiting “Pass Through” Mode Exiting the “pass through” mode and closing the Drive Talk session are two distin

Seite 81 - Making Motion

Parker Hannifin Additional Features 171 • Use the PASSWORD command to protect the program from uploading or listing. • Include the INVK command

Seite 82 - Move Types

Parker Hannifin 172 Programmer’s Guide Troubleshooting When a system does not function as expected, the first thing to do is identify and isolate t

Seite 83 - Incremental Motion

Parker Hannifin Troubleshooting 173 Troubleshooting Table This section includes a table of common problems and their solutions. For locations of t

Seite 84 - Example—Incremental Motion

Parker Hannifin 174 Programmer’s Guide PROBLEM CAUSE / VERIFICATION SOLUTION Axis Status LED Axis status LED is not on Axis is disabled with no faul

Seite 85 - Immediate Mode

Parker Hannifin Troubleshooting 175 PROBLEM CAUSE / VERIFICATION SOLUTION EPL Status LED EPL link/activity: yellow LED is off No Ethernet link i

Seite 86 - What are Motion Profiles?

Parker Hannifin 176 Programmer’s Guide PROBLEM CAUSE / VERIFICATION SOLUTION Ethernet Communication Communication Error: 11003 Using straight throug

Seite 87

Parker Hannifin Troubleshooting 177 PROBLEM CAUSE / VERIFICATION SOLUTION Excess position error (EXC). (Motor has exceeded maximum position erro

Seite 88 - Primary Setpoint

Parker Hannifin 178 Programmer’s Guide PROBLEM CAUSE / VERIFICATION SOLUTION Stepper output motion does not occur. ACR controller not configured for

Seite 89

Parker Hannifin Troubleshooting 179 PROBLEM CAUSE / VERIFICATION SOLUTION Torque Limit is set to zero. Verify Torque Limit setting by Status Pan

Seite 90

Parker Hannifin 18 Programmer’s Guide 2. The PGAIN is increased to 0.0005 to increase the response. As Figure 2 illustrates, the motor response in

Seite 91 - Velocity Profile Commands

Parker Hannifin 180 Programmer’s Guide PROBLEM CAUSE / VERIFICATION SOLUTION Motion stops unexpectedly Axis has encountered soft limits. Verify: Sta

Seite 92 - Feedback Control Commands

Parker Hannifin Error Handling 181 Error Handling This section on error handling addresses error checking and recovery, which is to be programmed

Seite 93

Parker Hannifin 182 Programmer’s Guide ' This software program is provided free of charge and without ' warranty of any kind, either express

Seite 94 - REN Details

Parker Hannifin Error Handling 183 #DEFINE MEIErrorCode P50 #DEFINE CANopenErrorCode P51 #DEFINE XErrorCode P52 #DEFINE YErrorCode P53 REM additi

Seite 95 - RES Details

Parker Hannifin 184 Programmer’s Guide REM flag (bit 5645) INH -5647 : REM wait until request has finished REM Clear axis KAMR flags CLR XKillAllMotio

Seite 96 - Coordinated Moves Profiler

Parker Hannifin Error Handling 185 IF (YPosSoftEOT AND YErrorCode <> 1) INH -824 Set ErrorOccurred YErrorCode = 1 $V3 = "Positive Softw

Seite 97

Parker Hannifin 186 Programmer’s Guide REM --------- Excess position error ---------- IF (XExcessErrorFault) XErrorCode = 5 $V2 = "Axis 0 disable

Seite 98

Parker Hannifin Error Handling 187 REM --------- Hardware EOT's --------- IF (YPosHardEOT) YErrorCode = 3 $V3 = "Positive Hardware End-o

Seite 99 - Jog Profiler

Parker Hannifin 188 Programmer’s Guide REM --------- Print error out comm1 to terminal --------- IF (ErrorOccurred) REM Print time since controller po

Seite 100 - Example 1

Parker Hannifin Error Handling 189 ExcMinutes = minutes MOD 60 REM extract the hour portion REM remove excess minutes and convert to full hours h

Seite 101

Parker Hannifin Getting Started 19 3. Setting the DGAIN to 0.00001 slightly over-damps the response, as shown in Figure 3. Now we can turn again

Seite 102 - Example 2

Parker Hannifin 190 Programmer’s Guide Appendix The appendix contains supplemental materials not directly related to any specific ACR series controlle

Seite 103 - Example 3

Parker Hannifin Appendix 191 The address consists of a network ID and a host ID. The network ID acts as a general address, like a zip code; The ho

Seite 104 - JOG VEL Details

Parker Hannifin 192 Programmer’s Guide Suppose you have 6 computers in a class C network. All share the same network address 192.168.10. in the first

Seite 105 - JOG Commands

Parker Hannifin Appendix 193 To provide another level of addressing, some of the host ID is borrowed to create a subnet ID. The subnet ID allows y

Seite 106 - JOG REN Details

Parker Hannifin 194 Programmer’s Guide What subnet mask to use depends on your network configuration, and address class. Where the host ID appears in

Seite 107

Parker Hannifin Appendix 195 Output Module Software Configuration Examples The following commands are used to configure the ACR1200, ACR1500, ACR2

Seite 108 - JOG RES Details

Parker Hannifin 196 Programmer’s Guide Example 3 The following example configures an eight axis ACR8010 board for two closed-loop servos with two comm

Seite 109 - Gear Profiler

Parker Hannifin Appendix 197 Example 6 The following example configures a four axis ACR1500 with two on-board DAC outputs for two closed loop serv

Seite 110 - Cam Profiler

Parker Hannifin 198 Programmer’s Guide Index AcroBASIC commands ... 48 syntax ... 44 aliases

Seite 111 - Example

Parker Hannifin 199 overview...110 subroutine...112 I/O hardware limits...

Seite 112 - Homing Subroutines

Parker Hannifin ii Programmer’s Guide User Information Warning — ACR series products are used to control electrical and mechanical components of moti

Seite 113

Parker Hannifin 20 Programmer’s Guide 4. With PGAIN increased to 0.001, motor responsiveness has increased (Figure 4) and the over-damping has dec

Seite 114 - • Home Negative

Parker Hannifin Getting Started 21 5. The PGAIN is increased to 0.005, resulting again in increased responsiveness (Figure 5). But with increase

Seite 115

Parker Hannifin 22 Programmer’s Guide 6. Increasing the DGAIN to 0.00003 damps the oscillation. As Figure 6 illustrates, both motor response and d

Seite 116

Parker Hannifin Getting Started 23 7. With a loaded motor, we can see that the response has slowed and the damping is weaker. Like before, we ca

Seite 117

Parker Hannifin 24 Programmer’s Guide 8. The PGAIN is increased to 0.02, and we can see better response from the motor. But there is still some os

Seite 118 - Dedicated I/O for Homing

Parker Hannifin Getting Started 25 9. With DGAIN increased to 0.00015 the chattering is significantly reduced—both motor response and damping lo

Seite 119

Parker Hannifin 26 Programmer’s Guide System Configuration The following section helps you understand how to configure your ACR controller for use.

Seite 120 - Servo Loop Fundamentals

Parker Hannifin System Configuration 27 Program/PLC Level The "program" or “PLC” level lets you edit and run individual programs or PLC

Seite 121 - Following Error

Parker Hannifin 28 Programmer’s Guide Hardware Configuration Before using an ACR controller, you must define for the firmware what specific hardwar

Seite 122 - 122 Programmer’s Guide

Parker Hannifin System Configuration 29 Dedicated I/O The ACR series controller contains I/O dedicated to Drive Enable, Drive Reset, and Drive Fa

Seite 123 - Binary Host Interface

Parker Hannifin iii Table of Contents User Information...ii Table of Contents ...

Seite 124 - Transmitting

Parker Hannifin 30 Programmer’s Guide NOTE: There are no restrictions regarding how to assign hardware limits and homing inputs. However, you shou

Seite 125 - Binary Data Packets

Parker Hannifin System Configuration 31 Hardware Limit Enable By default, positive and negative hardware limits are disabled. You can enable the

Seite 126 - Packet Data

Parker Hannifin 32 Programmer’s Guide Soft Limit Enable By default, positive and negative software limits are disabled. You can enable the limits b

Seite 127 - Binary Parameter Access

Parker Hannifin System Configuration 33 Attachments Attachments are a means of defining the hardware you have, and how it connects together. Soft

Seite 128

Parker Hannifin 34 Programmer’s Guide Signal: The signal argument determines the signal output by the ACR controller. • Analog voltage output DAC0

Seite 129

Parker Hannifin System Configuration 35 Master/Slave Attachments Without master/slave attachments, motion cannot occur. So what are masters and s

Seite 130 - Binary Peek Command

Parker Hannifin 36 Programmer’s Guide Setting up coordinated motion does not differ. After attaching a master to the program, you attach all the sl

Seite 131 - Binary Poke Command

Parker Hannifin System Configuration 37 The diagram below helps illustrate the concepts and relationships between masters and slave, programs and

Seite 132 - Binary Address Command

Parker Hannifin 38 Programmer’s Guide • To reuse an axis and attach it to a different master/slave, you must first separate it from the current ma

Seite 133 - Usage Example

Parker Hannifin System Configuration 39 Memory Allocations Memory allocation on the ACR series controllers is completely customizable —you can as

Seite 134

Parker Hannifin iv Programmer’s Guide Program Flow...

Seite 135 - Binary Mask Command

Parker Hannifin 40 Programmer’s Guide NOTE: The memory organization differs for each controller—for more information, see the section titled Memo

Seite 136 - Binary Mask Packet

Parker Hannifin System Configuration 41 • Arrays: The factory default provides no memory allocated to arrays. After allocating memory, these ite

Seite 137 - Binary Move Command

Parker Hannifin 42 Programmer’s Guide Displaying Current Memory Allocations From the SYS prompt, you can view memory allocations for programs, PLCs

Seite 138 - Header Code 0

Parker Hannifin Programming Basics 43 Programming Basics The following section explains some fundamental concepts of the AcroBASIC programming la

Seite 139 - Header Code 3

Parker Hannifin 44 Programmer’s Guide • Use the RETURN command to indicate the end of the subroutine. • Do not put a REM command on the same line

Seite 140 - Header Code 6

Parker Hannifin Programming Basics 45 You can only issue some parent commands in conjunction with a daughter statement. For example, the FLASH co

Seite 141 - Move Modes

Parker Hannifin 46 Programmer’s Guide Arguments and Syntax The syntax of an AcroBASIC command shows you all the components necessary to use it. Com

Seite 142

Parker Hannifin Programming Basics 47 Example 2 FBVEL {AXIS {value}} {AXIS {value}} ... Optional arguments can nest. This provides the flexibilit

Seite 143 - Arc Moves

Parker Hannifin 48 Programmer’s Guide Programs and Commands There is a subset of AcroBASIC commands that act right away. While you can use them in

Seite 144 - Binary SET and CLR

Parker Hannifin Programming Basics 49 Starting, Pausing, and Halting Programs Once downloaded to a controller, you can control programs from the

Seite 145 - Binary FOV Command

Parker Hannifin v Servo Loop Fundamentals ...120 Setpoint Compensation ...

Seite 146 - 146 Programmer’s Guide

Parker Hannifin 50 Programmer’s Guide Pausing a Program Pausing a program places a feed hold on the current move and suspends the program at the cu

Seite 147 - Binary ROV Command

Parker Hannifin Programming Basics 51 Program Flow Code is executed sequentially, following the order in which it is written. But based on some i

Seite 148 - Header Bit Mask

Parker Hannifin 52 Programmer’s Guide When using an IF/THEN statement, observe the following: • You can nest GOTO and GOSUB statements in an IF/TH

Seite 149 - Reading Global Variables

Parker Hannifin Programming Basics 53 Here is how it works. When the IF condition is true, the subsequent statements are executed. When the IF co

Seite 150 - Setting Global Variables

Parker Hannifin 54 Programmer’s Guide Repetition The repetition structure—known as a loop—controls the repeated execution of a statement or block o

Seite 151 - Additional Features

Parker Hannifin Programming Basics 55 WHILE/WEND The WHILE/WEND loop executes as long as its condition remains true. You can use the WHLE/WEND an

Seite 152 - Bit Rate and Node Addresses

Parker Hannifin 56 Programmer’s Guide Example The following demonstrates inhibiting a program until a certain condition is met. INH 2 : REM wait

Seite 153 - Transmission Cycle Period

Parker Hannifin Programming Basics 57 Following is a list of the most commonly used parameter and bit tables: • Master Parameters • Master Flag

Seite 154

Parker Hannifin 58 Programmer’s Guide Printing the Current Value You can send the PRINT command followed by a parameter or bit whose value you want

Seite 155

Parker Hannifin Programming Basics 59 Programming Example The following program creates a square. You can use ACR-View to set up the controller.

Seite 156 - 156 Programmer’s Guide

Parker Hannifin vi Programmer’s Guide Additional Features ...151 CANopen ...

Seite 157

Parker Hannifin 60 Programmer’s Guide Parametric Evaluation Most commands take arguments. Often, those command-line arguments are literals—values t

Seite 158

Parker Hannifin Programming Basics 61 Parentheses Using parentheses, you can group operations in an expression to change the order in which they

Seite 159

Parker Hannifin 62 Programmer’s Guide Example 2 When the following IF statement proves true, the message “OK” prints. IF(P0=1234) THEN PRINT “ok” E

Seite 160

Parker Hannifin Basic Setup 63 Basic Setup Before You Begin The tables in this section list commands according to the following command groups: A

Seite 161 - Analog Inputs and Outputs

Parker Hannifin 64 Programmer’s Guide Axis Limits Command Description ALM Set stroke limit ‘A’ BLM Set stroke limit ‘B’ EXC Set excess error ba

Seite 162

Parker Hannifin Basic Setup 65 Feedback Control Command Description HSINT High speed interrupt INTCAP Encoder capture MSEEK Marker seek operati

Seite 163 - Saved Parameters

Parker Hannifin 66 Programmer’s Guide Interpolation Command Description CIRCCW Counter clockwise circular move CIRCW Clockwise circular move INT

Seite 164 - Drive Talk

Parker Hannifin Basic Setup 67 Non-Volatile Command Description BRESET Disable battery backup ELOAD Load system parameters ERASE Clear the EEPR

Seite 165 - Auto-Addressing

Parker Hannifin 68 Programmer’s Guide Program Control Command Description AUT Turn off block mode BLK Turn on block mode HALT Halt an executing

Seite 166 - Error Log Flags

Parker Hannifin Basic Setup 69 Servo Control Command Description DGAIN Set derivative gain DIN Dead zone integrator negative value DIP Dead z

Seite 167 - Using Drive Talk

Parker Hannifin vii Change Summary The change summary below lists the latest additions, changes, and corrections to the ACR Programmer’s Guide and

Seite 168 - Closing Drive Talk

Parker Hannifin 70 Programmer’s Guide Transformation Command Description FLZ Relative program path shift OFFSET Absolute program path shift ROTA

Seite 169

Parker Hannifin Basic Setup 71 Startup Programs You can set a program to automatically run on powering up or rebooting the controller. The PBOOT

Seite 170 - Inverse Kinematics

Parker Hannifin 72 Programmer’s Guide Return to Factory Default Various commands can return specific sections of the ACR controller to factory defa

Seite 171

Parker Hannifin Basic Setup 73 The wizard makes some choices for you behind the scenes. The ACR9000 has the largest feature set, and typically re

Seite 172 - Troubleshooting

Parker Hannifin 74 Programmer’s Guide If you do not make any changes to the Memory defaults, the wizard allocates additional memory to programs zer

Seite 173 - Troubleshooting Table

Parker Hannifin Basic Setup 75 The next section is specific to the ACR9000 and currently does not apply to other ACR controllers. The Extended I/

Seite 174 - 174 Programmer’s Guide

Parker Hannifin 76 Programmer’s Guide AXIS1 IDELAY 0 AXIS1 DGAIN 1e-005 AXIS1 DWIDTH 0 AXIS1 FFVEL 0 AXIS1 FFACC 0 AXIS1 TLM 10 AXIS1 FBVEL 0 REM A

Seite 175 - Troubleshooting 175

Parker Hannifin Basic Setup 77 All the unused axes are turned off—this is done directly with the AXIS OFF command rather than using bits designat

Seite 176 - 176 Programmer’s Guide

Parker Hannifin 78 Programmer’s Guide REM the desired master acceleration ACC 20 REM the desired master deceleration ramp DEC 20 REM the desired

Seite 177 - Troubleshooting 177

Parker Hannifin Basic Setup 79 NOTE: By default, the wizard matches motion profiles to programs of the same number. Because the wizard reserves

Seite 178 - 178 Programmer’s Guide

Parker Hannifin 8 Programmer’s Guide Getting Started Use the tutorials in this section to guide you through the configuration and tuning of your AC

Seite 179 - Troubleshooting 179

Parker Hannifin 80 Programmer’s Guide • Bits 1976-1983 Drive Disabled Flag Axis 8-15*: Triggered when a drive is faulted (or optionally when moti

Seite 180 - 180 Programmer’s Guide

Parker Hannifin Making Motion 81 Making Motion Now that the controller is configured, it is ready to make motion. The ACR controller can perform

Seite 181 - Error Handling

Parker Hannifin 82 Programmer’s Guide Move Types To command motion, use a command appropriate to the desired type of motion, such as JOG (single-ax

Seite 182

Parker Hannifin Making Motion 83 Incremental Motion Incremental motion is commanded relative to the current position. To move an incremental dist

Seite 183

Parker Hannifin 84 Programmer’s Guide Example—Incremental Motion The X axis is commanded to the following relative positions: X0 X/-400 X/500 X/200

Seite 184

Parker Hannifin Making Motion 85 Combining Types of Motion The user can command multiple types of motion (linear, circular, or sinusoidal) in a s

Seite 185

Parker Hannifin 86 Programmer’s Guide What are Motion Profiles? To make motion, the user must define the motion profile. The acceleration, decelera

Seite 186

Parker Hannifin Making Motion 87 Motion profile values for each master can be set in two ways: ► Through the Configuration Wizard. ► In a progr

Seite 187

Parker Hannifin 88 Programmer’s Guide Primary Setpoint All profilers feed their commanded positions to a summation point, and the result is the Pri

Seite 188

Parker Hannifin Making Motion 89 For the second shape, instead of providing a new set of X and Y coordinates, a jog statement is used to shift th

Seite 189

Parker Hannifin Getting Started 9 Getting Started - Tutorial Use this basic tutorial to familiarize yourself with the ACR-View software and how t

Seite 190 - Appendix

Parker Hannifin 90 Programmer’s Guide The Coordinated Moves Profiler always starts and ends at coordinates (0, 0). With the first shape, there are

Seite 191

Parker Hannifin Making Motion 91 Velocity Profile Commands A basic motion profile for coordinated motion, controlled by an attached master, consi

Seite 192 - Subnet IDs

Parker Hannifin 92 Programmer’s Guide • ROTARY (Set Rotary Axis Length)—sets a rotary axis length used in a shortest-distance calculation. The res

Seite 193 - Subnet Masks

Parker Hannifin Making Motion 93 • PPU (Set Axis Pulse per Unit Ratio)—sets the pulses per programming unit for an axis, allowing convenient uni

Seite 194

Parker Hannifin 94 Programmer’s Guide REN Details The REN command copies the actual position from the encoder into the Secondary Setpoint of the se

Seite 195 - Examples

Parker Hannifin Making Motion 95 RES Details The RES command is used to zero out the primary setpoint (RES), or to preload positions into the Coo

Seite 196 - Example 5

Parker Hannifin 96 Programmer’s Guide Coordinated Moves Profiler The Coordinated Moves Profiler (formerly called the current position profiler) con

Seite 197 - Example 7

Parker Hannifin Making Motion 97 Example 1 Two axes are attached to the same master and instructed to move to absolute positions: axis X to 25 mi

Seite 198 - 198 Programmer’s Guide

Parker Hannifin 98 Programmer’s Guide Example 2 Two axes are attached to the same master, and the program moves one axis to an absolute position: a

Seite 199

Parker Hannifin Making Motion 99 Jog Profiler Each axis has a dedicated Jog Profiler which can, using a set of motion profile values, control abs

Kommentare zu diesen Handbüchern

Keine Kommentare