ACR Electronics FPR-10 PROGRAMMER Manuel

Naviguer en ligne ou télécharger Manuel pour Non ACR Electronics FPR-10 PROGRAMMER. ACR Electronics FPR-10 PROGRAMMER Hardware manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 8 - Getting Started

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

Page 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

Page 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

Page 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

Page 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

Page 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,

Page 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

Page 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

Page 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

Page 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

Page 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

Page 19

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

Page 20

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

Page 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

Page 22

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

Page 23

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

Page 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

Page 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

Page 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

Page 27 - Program/PLC Level

Parker Hannifin 122 Programmer’s Guide Figure 17 Following Error

Page 28 - Hardware Configuration

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

Page 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

Page 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

Page 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

Page 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

Page 33 - Attachments

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 40 - Program

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 56

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

Page 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

Page 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

Page 59 - Programming Example

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 65 - Global Objects

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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.

Page 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

Page 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

Page 74

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

Page 75

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

Page 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

Page 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

Page 78

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

Page 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

Page 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

Page 81 - Making Motion

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

Page 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

Page 83 - Incremental Motion

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

Page 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

Page 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

Page 86 - What are Motion Profiles?

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

Page 87

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

Page 88 - Primary Setpoint

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

Page 89

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

Page 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

Page 91 - Velocity Profile Commands

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

Page 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

Page 93

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

Page 94 - REN Details

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

Page 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

Page 96 - Coordinated Moves Profiler

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

Page 97

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

Page 98

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

Page 99 - Jog Profiler

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

Page 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

Page 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

Page 102 - Example 2

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

Page 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

Page 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

Page 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

Page 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

Page 107

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

Page 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

Page 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

Page 110 - Cam Profiler

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

Page 111 - Example

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 119

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

Page 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

Page 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

Page 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

Page 123 - Binary Host Interface

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

Page 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

Page 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

Page 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

Page 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

Page 128

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

Page 129

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

Page 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

Page 131 - Binary Poke Command

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

Page 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

Page 133 - Usage Example

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

Page 134

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

Page 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

Page 136 - Binary Mask Packet

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

Page 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

Page 138 - Header Code 0

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

Page 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

Page 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

Page 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

Page 142

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

Page 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

Page 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

Page 145 - Binary FOV Command

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 155

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

Page 156 - 156 Programmer’s Guide

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

Page 157

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

Page 158

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

Page 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

Page 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

Page 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

Page 162

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

Page 163 - Saved Parameters

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

Page 164 - Drive Talk

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

Page 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

Page 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

Page 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

Page 168 - Closing Drive Talk

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

Page 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

Page 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

Page 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

Page 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

Page 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/

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 182

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

Page 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

Page 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

Page 185

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

Page 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

Page 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

Page 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

Page 189

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

Page 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

Page 191

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

Page 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

Page 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

Page 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

Page 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

Page 196 - Example 5

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

Page 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

Page 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

Page 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

Commentaires sur ces manuels

Pas de commentaire