ACR Electronics FPR-10 PROGRAMMER Manual

Consulte online ou descarregue Manual para não ACR Electronics FPR-10 PROGRAMMER. ACR Electronics FPR-10 PROGRAMMER Hardware manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 8 - Getting Started

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

Página 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

Página 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

Página 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

Página 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

Página 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,

Página 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

Página 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

Página 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

Página 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

Página 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

Página 19

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

Página 20

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

Página 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

Página 22

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

Página 23

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

Página 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

Página 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

Página 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

Página 27 - Program/PLC Level

Parker Hannifin 122 Programmer’s Guide Figure 17 Following Error

Página 28 - Hardware Configuration

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

Página 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

Página 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

Página 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

Página 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

Página 33 - Attachments

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 40 - Program

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 56

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

Página 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

Página 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

Página 59 - Programming Example

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 65 - Global Objects

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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.

Página 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

Página 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

Página 74

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

Página 75

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

Página 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

Página 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

Página 78

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

Página 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

Página 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

Página 81 - Making Motion

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

Página 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

Página 83 - Incremental Motion

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

Página 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

Página 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

Página 86 - What are Motion Profiles?

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

Página 87

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

Página 88 - Primary Setpoint

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

Página 89

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

Página 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

Página 91 - Velocity Profile Commands

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

Página 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

Página 93

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

Página 94 - REN Details

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

Página 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

Página 96 - Coordinated Moves Profiler

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

Página 97

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

Página 98

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

Página 99 - Jog Profiler

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

Página 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

Página 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

Página 102 - Example 2

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

Página 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

Página 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

Página 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

Página 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

Página 107

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

Página 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

Página 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

Página 110 - Cam Profiler

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

Página 111 - Example

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 119

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

Página 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

Página 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

Página 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

Página 123 - Binary Host Interface

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

Página 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

Página 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

Página 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

Página 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

Página 128

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

Página 129

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

Página 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

Página 131 - Binary Poke Command

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

Página 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

Página 133 - Usage Example

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

Página 134

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

Página 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

Página 136 - Binary Mask Packet

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

Página 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

Página 138 - Header Code 0

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

Página 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

Página 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

Página 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

Página 142

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

Página 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

Página 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

Página 145 - Binary FOV Command

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 155

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

Página 156 - 156 Programmer’s Guide

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

Página 157

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

Página 158

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

Página 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

Página 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

Página 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

Página 162

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

Página 163 - Saved Parameters

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

Página 164 - Drive Talk

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

Página 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

Página 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

Página 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

Página 168 - Closing Drive Talk

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

Página 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

Página 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

Página 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

Página 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

Página 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/

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 182

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

Página 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

Página 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

Página 185

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

Página 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

Página 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

Página 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

Página 189

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

Página 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

Página 191

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

Página 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

Página 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

Página 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

Página 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

Página 196 - Example 5

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

Página 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

Página 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

Página 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

Comentários a estes Manuais

Sem comentários