Oriental motor AZ Series User Manual
Oriental motor AZ Series User Manual

Oriental motor AZ Series User Manual

For aois, ethernet/ip compatible driver
Hide thumbs Also See for AZ Series:

Advertisement

Version 2.0, 09/24/2019
User Guide for AOIs
Product: AZ series EtherNet/IP Compatible driver
Controller: Rockwell Automation, Inc. L18 controller
Software: Studio 5000 V30.11 and V32.11
This document describes the system configuration, set up AOIs and how to use AOIs.
1

Advertisement

Table of Contents
loading

Summary of Contents for Oriental motor AZ Series

  • Page 1 Version 2.0, 09/24/2019 User Guide for AOIs Product: AZ series EtherNet/IP Compatible driver Controller: Rockwell Automation, Inc. L18 controller Software: Studio 5000 V30.11 and V32.11 This document describes the system configuration, set up AOIs and how to use AOIs.
  • Page 2: Table Of Contents

    Table of Contents Version 2.0, 09/24/2019 Page System Configuration..................5 Setting IP address....................6 Register of EDS File..................8 New Module....................10 Jog Operation....................16 Add-On Instructions..................21 Add-On Instructions ZHOME................22 Add-On Instructions WRITE................27 Add-On Instructions READ................37 Add-On Instructions MOVE................41 Add-On Instructions DDO................46 Add-On Instructions MONITOR.................52...
  • Page 3 (3) Customers are responsible for confirming the standards/regulations that the system should comply with. (4) Copy or redistribute of part of all of this document without the permission of Oriental Motor Co., Ltd. is prohibited. (5) The information in this document is current as of August 2019. The contents of this document are subject to change without prior notice.
  • Page 4 ・ Scanner: Controller1769-L18ERM-BB1B manufactured by Rockwell Automation, Inc. ・ Adapter: AZ series EtherNet/IP compatible driver AZD-AEP / AZD-CEP Driver with AZ series motor and motorized actuator equipped with AZ series, can be combined. ■ Preparation Prepared user manuals which you can download from the Orientalmotor web site.
  • Page 5: System Configuration

    System Configuration Version 2.0, 09/24/2019 The system configuration described in this document is shown below. Scanner Studio 5000 EDS file Download the correct EDS file USB cable from our website according to (Type A to Type B) your driver product name. AZD-AEP.eds Device number...
  • Page 6: Setting Ip Address

    Setting IP address Version 2.0, 09/24/2019 Scanner Regarding EtherNet/IP communication, the controller is called “scanner” and the driver is called “adapter”. The scanner sends “communication command (Implicit Message)” to the IP address of the target driver. IP address EtherNet/IP communication “192.168.1.21”...
  • Page 7 Setting IP address Version 2.0, 09/24/2019 Setting switches on the driver IP address is set by switches on the driver. ※Refer to the users manuals for other ways. The switch settings are shown on the figure to the right. The IP address of the driver is “192.168.1.2”. Switch setting IP address Description...
  • Page 8 Register of EDS file Version 2.0, 09/24/2019 New project Start up Studio5000. In the create wizard, select “New Project.” Choose your controller from the list and name the project. ※This document assumes that the user has a license of Studio5000 which has been already activated. Register EDS file Select “EDS Hardware Installation Tool”...
  • Page 9 Register of EDS file Version 2.0, 09/24/2019 Installation of the EDS file Select the “Register an EDS file” Registration success screen Click “Browse” button, select correct EDS file according to your driver product name.
  • Page 10: New Module

    New Module Version 2.0, 09/24/2019 Register of a New Module Right click on the “Ethernet” and select “New Module”. Enter “oriental” in the “filters” section, the researched results are shown. Select your driver from the catalog number below. Click “Create”...
  • Page 11 New Module Version 2.0, 09/24/2019 Enter a “Name” (our example is OMaxis) and the “Ethernet Address”. In this case, the fourth octet of Ethernet address is “2” set by the switches. (referred on slide 7). Before hitting OK we need to change the Module properties. Under the General Tab where it says Module Definition,...
  • Page 12 New Module Version 2.0, 09/24/2019 Before importing the module: Change Size from “SINT” -> “INT” in Module Definition. Orientalmotor’s AOIs are designed based on the INT size. After you have made the change to INT, Under the General Tab where it says then be sure to hit Click and “Apply”...
  • Page 13 New Module Version 2.0, 09/24/2019 *1: As a note on the previous slide By changing the size to INT, the Monitor Tags and Watch list will now have a different assignment.  Ex. What used to be Motor O: Data[0] and Data [1] will now be Motor O: Data[0].
  • Page 14 New Module Version 2.0, 09/24/2019 In addition, when the * is seen at the top of the Studio 5000 file, this means that unsaved changes are on the program. Usually, you want to save before Downloading to the PLC. *NOTE: These screen shots come from version 32.11...
  • Page 15 New Module Version 2.0, 09/24/2019 Connect EtherNet/IP Select “Who Active” in “Communications” menu. In this document, the controller and PC are connected by a USB cable. Select “Controller” in the USB tree, and click on “Go Online.” Note: Switch “REM” setting in controller.
  • Page 16: Jog Operation

    Jog Operation Version 2.0, 09/24/2019 Implicit message After enabling EtherNet/IP communication by downloading, you can see the screen as shown below. Jogging Let’s begin moving the motor shaft in a forward and reverse direction.
  • Page 17 Jog Operation Version 2.0, 09/24/2019 Currently there is no program in the MainRoutine. Monitor the Implicit Message of the adapter(driver) by “Watch” function. Select “Quick Watch” from the Pull- Select “OMaxis:I”. down menu. Next, click pull-down button on the right of “Quick Watch” Likewise, select “OMaxis:O”...
  • Page 18 Jog Operation Version 2.0, 09/24/2019 Implicit message format OMaxis:I OMaxis:O The list of Implicit message is extracted Word from the user-manual. From the scanner(controller) point of view, “Input” and “Output” are defined. Scanner “Input” “Output” EtherNet/IP cable Adapter Ref. Page 90 in manual...
  • Page 19 Jog Operation Version 2.0, 09/24/2019 FW-JOG, RV-JOG Set “1” to FW-JOG or RV-JOG, “Jog operation” will be started. Check assigned memory of “FW-JOG” and “RV-JOG” in Implicit Message. Word Implicit Message Ref. Page 90 in manual Output is 40 bytes changed to 20 Words. (Ref.
  • Page 20 Jog Operation Version 2.0, 09/24/2019 “Quick Watch” is displayed as below. Click + on the right of “OMaxis:O”. On the previous page, “FW-JOG” is assigned in OMaxis:O.Data[2].0. Enter “1” in the value of “FW-JOG”, and the motor will rotate clockwise. Then enter “0”...
  • Page 21: Add-On Instructions

    Each AOI has parameter fields which the user can enter while referring to the users manual of the AZ • EIP driver. The AOIs will only be enabled if the AZ series EtherNet/IP compatible driver has been registered using • the Orientalmotor EDS file.
  • Page 22: Add-On Instructions Zhome

    Add-On Instructions (AOIs): ZHOME Version 2.0, 09/24/2019 The OM_AZ_ZHOME example shows how to import AOI and set up AOI. [OM_AZ_ZHOME] This AOI is used to execute high-speed return-to-home operation. Note: In advance, set the position coordinate by P-PRESET input or HOME PRESET Switch. Otherwise home position is not fixed, return-to-home operation is not performed.
  • Page 23 Add-On Instructions (AOIs): ZHOME Version 2.0, 09/24/2019 STEP3. Open “MainRoutine”. Add Rung. You can either Drag and Drop the AOI from the Controller Organizer tree, or select the AOI from the “Add-On” tab.
  • Page 24 Add-On Instructions (AOIs): ZHOME Version 2.0, 09/24/2019 STEP4. Set parameters and Local tag in AOI. Right click on the tag (in this example, we are using “STEP1”). Create New Tag ”STEP1”. STEP5. Set “ImplicitMSGinput” in AOI. In this case, select “OMaxis:I” which is defined as a new module. As well, set “ImplicitMSGoutput”.
  • Page 25 Add-On Instructions (AOIs): ZHOME Version 2.0, 09/24/2019 STEP6. Save project and Download. After Done-downloading, this screen is displayed.
  • Page 26 Add-On Instructions (AOIs): ZHOME Version 2.0, 09/24/2019 STEP7. Set “1” to “Set_Exe” in AOI while Online of Run Mode. AOI has 3 status of Sts_Busy, Sts_Err and Sts_Done. Name Data Type Usage Description Sts_Busy Set_Exe BOOL Input 1:Execution AOI, 0: No execution Sts_Busy BOOL Output...
  • Page 27: Add-On Instructions Write

    Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 We will now add on the OM_AZ_Write AOI to modify our operation data no 0. STEP1. Right click on “Add-On Instructions” in the Organizer tree. Then select “Import Add-On-Instructions”. STEP2. Select AOI (*.L5X) file and open. The imported AOI must be displayed in the Controller Organizer.
  • Page 28 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP3. Open “MainRoutine”. Add Rung. You can either Drag and Drop the AOI from the Controller Organizer tree, or select the AOI from the “Add-On” tab.
  • Page 29 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP4. Set parameters and Local tag in AOI. Right click on the tag (in this example, we are using “STEP2”). Create New Tag ”STEP2”. STEP5. Set “ImplicitMSGinput” in AOI. In this case, select “OMaxis:I” which is defined as a new module. As well, set “ImplicitMSGoutput”.
  • Page 30 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP6. Write position and speed parameter to Operation data no. 0. (ref. page 118 in the manual). 3072 decimal 0C00 hex is the base address...
  • Page 31 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP6 (cont). Desired position will be 5000 steps. Enter Base address +1 for position parameter = 3072 +1 = 3073dec = 0C01h Position Parameter +1 = Specified value *2: The AOI has base 16 as the default...
  • Page 32 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 *2 As a note, we are using register address 0C00 as the default setting for the AOI is base 16, however this setting can be changed by right clicking on the AOI and selecting properties. Click Parameters Click and...
  • Page 33 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP6 (cont). To set the desired speed, copy OM_AZ_Write on the main program and create a new tag (in this example, we are using “STEP3”) Right click on the tag “STEP3”. Create New Tag ”STEP3”.
  • Page 34 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP6 (cont). Desired position speed will be 2000Hz for tag STEP3. Enter Base address +2 for Operation speed parameter = 3072 +2 = 3074dec = 0C02h Operation Speed +2 = Parameter Specified value...
  • Page 35 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP7. Save project and Download. After Done-downloading, this screen is displayed.
  • Page 36 Add-On Instructions (AOIs): WRITE Version 2.0, 09/24/2019 STEP8. Set “1” to “Set_Exe” in AOI while Online of Run Mode. AOI has 3 status of Sts_Busy, Sts_Err and Sts_Done. Name Data Type Usage Description Sts_Busy Set_Exe BOOL Input 1:Execution AOI, 0: No execution Sts_Busy BOOL Output...
  • Page 37: Add-On Instructions Read

    Add-On Instructions (AOIs): READ Version 2.0, 09/24/2019 We will now add on the OM_AZ_Read AOI to view our operation data no 0. STEP1. Follow similar add on procedures as OM_AZ_Write AOI except using OM_AZ_Read.
  • Page 38 Add-On Instructions (AOIs): READ Version 2.0, 09/24/2019 STEP2. Add two OM_AZ_READ AOI after the OM_AZ_WRITE AOI. Step 3. Add new tags, (In this example we used “Step 4” and “Step 5.”)
  • Page 39 Add-On Instructions (AOIs): READ Version 2.0, 09/24/2019 STEP4. Set “ImplicitMSGinput” in AOI. In this case, select “OMaxis:I” which is defined as a new module. As well, set “ImplicitMSGoutput”. STEP5. Read position and operation speed parameter for Operation data no. 0. (ref. page 118 in the manual). Position parameter address = 0C01h, Speed parameter address = 0C02h (referred on slides 31 and 34).
  • Page 40 Add-On Instructions (AOIs): READ Version 2.0, 09/24/2019 STEP6. Set “1” to “Set_Exe” in AOI while Online of Run Mode. AOI has 3 status of Sts_Busy, Sts_Err and Sts_Done. Name Data Type Usage Description Sts_Busy Set_Exe BOOL Input 1:Execution AOI, 0: No execution Sts_Busy BOOL Output...
  • Page 41: Add-On Instructions Move

    Add-On Instructions (AOIs): MOVE Version 2.0, 09/24/2019 How do I move operation data No. 0? This is possible with the OM_AZ_MOVE AOI. STEP1. Right click on “Add-On Instructions” in the Organizer tree. Then select “Import Add-On-Instructions”. STEP2. Select AOI (*.L5X) file and open. The imported AOI must be displayed in Controller Organizer.
  • Page 42 Add-On Instructions (AOIs): MOVE Version 2.0, 09/24/2019 STEP3. Open “MainRoutine”. Add Rung. You can either Drag and Drop the AOI from the Controller Organizer tree, or select the AOI from the “Add-On” tab.
  • Page 43 Add-On Instructions (AOIs): MOVE Version 2.0, 09/24/2019 STEP4. Set parameters and Local tag in AOI. Right click on the tag (in this example, we use “STEP6”). Create New Tag ”STEP6”. STEP5. Set “ImplicitMSGinput” in AOI. In this case, select “OMaxis:I” which is defined as a new module. As well, set “ImplicitMSGoutput”.
  • Page 44 Add-On Instructions (AOIs): MOVE Version 2.0, 09/24/2019 STEP6. Save project and Download. After Done-downloading, this screen is displayed. We will now run Operation data no. 0...
  • Page 45 Add-On Instructions (AOIs): MOVE Version 2.0, 09/24/2019 STEP7. Set “1” to “Set_Exe” in AOI while Online of Run Mode. AOI has 3 status of Sts_Busy, Sts_Err and Sts_Done. Operation Name Data Type Usage Description Data no. 0 Set_Exe BOOL Input 1:Execution AOI, 0: No execution will now Sts_Busy...
  • Page 46: Add-On Instructions Ddo

    Add-On Instructions (AOIs): Version 2.0, 09/24/2019 How do I change data on the fly? This is possible with the OM_AZ_DDO AOI. STEP1. Right click on “Add-On Instructions” in the Organizer tree. Then select “Import Add-On-Instructions”. STEP2. Select AOI (*.L5X) file and open. The imported AOI must be displayed in Controller Organizer.
  • Page 47 Add-On Instructions (AOIs): Version 2.0, 09/24/2019 STEP3. Open “MainRoutine”. Add Rung. You can either Drag and Drop the AOI from the Controller Organizer tree, or select the AOI from the “Add-On” tab.
  • Page 48 Add-On Instructions (AOIs): Version 2.0, 09/24/2019 STEP4. Set parameters and Local tag in AOI. Right click on the tag (in this example, we are using “STEP7”). Create New Tag ”STEP7”. STEP5. Set “ImplicitMSGinput” in AOI. In this case, select “OMaxis:I” which is defined as a new module. As well, set “ImplicitMSGoutput”.
  • Page 49 Add-On Instructions (AOIs): Version 2.0, 09/24/2019 STEP6. Enter desired parameter values (Reference Direct Data Operation starting on page 104 of the manual) Example: Set Operation type = 2 (incremental position) Set_Position = 10000 (steps) Set_Velocity = 1000 (Hz) Set_Acceleration = 1,000,000 (1000 kHz/s) Set_Deceleration = 1,000,000 (1000 kHz/s) Set_Current = 1000 (100%) Set_Send = 0 (Execution memory)
  • Page 50 Add-On Instructions (AOIs): Version 2.0, 09/24/2019 STEP7. Save project and Download. After Done-downloading, this screen is displayed.
  • Page 51 Add-On Instructions (AOIs): Version 2.0, 09/24/2019 STEP8. Set “1” to “Set_Exe” in AOI while Online of Run Mode. AOI has 3 status of Sts_Busy, Sts_Err and Sts_Done. Name Data Type Usage Description Sts_Busy Set_Exe BOOL Input 1:Execution AOI, 0: No execution Sts_Busy BOOL Output...
  • Page 52: Add-On Instructions Monitor

    Add-On Instructions (AOIs): MONITOR Version 2.0, 09/24/2019 How do I monitor my speed or position, etc? This is possible with the OM_AZ_MONITOR AOI. STEP1. Right click on “Add-On Instructions” in the Organizer tree. Then select “Import Add-On-Instructions”. STEP2. Select AOI (*.L5X) file and open. The imported AOI must be displayed in the Controller Organizer.
  • Page 53 Add-On Instructions (AOIs): MONITOR Version 2.0, 09/24/2019 STEP3. Open “MainRoutine”. Add Rung. You can either Drag and Drop the AOI from the Controller Organizer tree, or select the AOI from the “Add-On” tab.
  • Page 54 Add-On Instructions (AOIs): MONITOR Version 2.0, 09/24/2019 STEP4. Set parameters and Local tag in AOI. Right click on the tag (in this example, we use “STEP8”). Create New Tag ”STEP8”. STEP5. Set “ImplicitMSGinput” in AOI. In this case, select “OMaxis:I” which is defined as a new module. Click Double Click...
  • Page 55 Add-On Instructions (AOIs): MONITOR Version 2.0, 09/24/2019 STEP6. Save project and Download. After Done-downloading, this screen is displayed. We can now view the position, speed, alarms, temperature and current etc.
  • Page 56 Version 2.0, 09/24/2019 Version History Version Description Date Initial Release 08/09/2019 Added Monitor AOI. Fixed formatting. Added note INT 09/24/2019 format for new module creation. EIP software naming. Added 2 byte = 1 Word, manual pages, AOI #, and jogging section.

This manual is also suitable for:

Azd-aepAzd-cep

Table of Contents