Delta AH500 series Quick Start Manual

Delta AH500 series Quick Start Manual

Programmable logic controller
Hide thumbs Also See for AH500 series:

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for Delta AH500 series

  • Page 2 Chapter 1 Introduction Table of Contents Manuals.....................1-2 System Frameworks..................1-3 Operation of the CPU module ..............1-9 1 - 1...
  • Page 3 A H 5 00 Q uick Star t 1.1 Manuals Delta Electronics, Inc. provides users with the manuals related to the AH500 series programmable logic controllers according to different application requirements. AH500 Hardware Manual: It introduces hardware specifications, addressing, wiring, maintenance, troubleshooting, and etc.
  • Page 4 Ch ap te r 1 In tro duc tio n 1.2 System Frameworks The AH500 series programmable logic controller is a medium type of programmable logic control system. The execution speed and the memory capacity are increased. Besides, the complete program development function of function blocks is supported.
  • Page 5 A H 5 00 Q uick Star t The configuration is as follows. Rack 1 (eight-slot main backplane) Rack 2 (eight-slot extension backplane) Eight racks at most Note: Owing to the consideration to the data transmission speed, the motion control modules and the network modules (exclusive of the serial communication modules) have to be installed with the CPU module on the same backplane.
  • Page 6 Ch ap te r 1 In tro duc tio n System framework: Rack 1~rack 8+RTU modules Remote I/O ... . . . . . . . . 7 backplanes 7 backplanes . . . . Note: Users are provided with the special cables to connect the extension backplanes. The length of a special cable can be up to 100 meters.
  • Page 7: Slave

    A H 5 00 Q uick Star t System planning 1 Slave 1 Master Over 100 meters Concentration point Concentration point Slave 1 Master Rack 1 (eight-slot main backplane) Master Rack 2 (eight-slot main backplane) Eight racks at most 1 - 6...
  • Page 8: Slave

    Ch ap te r 1 In tro duc tio n System planning 2 Slave 1 Master Over 100 meters Concentration point Concentration point Sixty-three racks at most Slave 1 (The remote I/O system is Rack 1 (eight-slot main backplane) in use.) Slave 1 Rack 2 (eight-slot extension backplane) Eight racks at most...
  • Page 9: System Planning

    A H 5 00 Q uick Star t System planning 3 Slave 1 Slave 2 Slave 3 Master 設備集中區 設備集中區 Concentration point Slave 1 Slave 2 Slave 3 Concentration point 設備集中區 設備集中區 Concentration point Slave 1 Slave 2 Slave 3 Master Slave 2 Slave 3 Slave 1...
  • Page 10: Operation Of The Cpu Module

    Ch ap te r 1 In tro duc tio n extension backplanes at most. 1.3 Operation of the CPU module The CPU module is the nucleus of the AH500 system. It is responsible for not only the execution of the logic program, but also the data exchange and the processing of the communication data. The relation between the AH500 system and the external devices are illustrated below.
  • Page 11 A H 5 00 Q uick Star t The CPU module is supplied with power. The system enables the initialization. The non-latched memory is initialized. The user program is checked. The parameters in the CPU module are checked. The parameters in the module table are checked.
  • Page 12: Table Of Contents

    Chapter 2 Programming Table of Contents Preparations ....................2-2 2.1.1 Hardware....................2-2 2.1.2 Software .....................2-3 2.1.3 Tools and Materials ................2-3 Installation ....................2-3 2.2.1 Installing Modules................2-3 2.2.2 Installing Removable Terminal Blocks ..........2-4 Wiring ......................2-6 2.3.1 Wiring the Power Supply Module ............2-7 2.3.2 Wiring the Digital Input Module............2-9 2.3.3 Wiring the Digital Output Module............2-9 2.3.4...
  • Page 13: Preparations

    A H 5 00 Q uick Star t 2.1 Preparations 2.1.1 Hardware The hardware needed in the example is as follows. Eight-slot main backplane AHBP08M1-5A x 1 POWER I/O0 I/O1 I/O2 I/O3 I/O4 I/O5 I/O6 I/O7 Power supply module CPU module (with the built-in network function) AHPS05-5A x 1 AHCPU530-EN x 1...
  • Page 14: Software

    Ch ap te r 2 Prog ramming Analog input/output module (6 channels) AH06XA-5A x 1 06XA E RRO R CO M 1 0V, 2 0m A 1 0V,0 /4 ~ 20 m A 2.1.2 Software The software needed in the example is as follows. ISPSoft version 2.0 or above COMMGR version 1.0 or above 2.1.3...
  • Page 15: Installing Removable Terminal Blocks

    A H 5 00 Q uick Star t Insert the projection under the module into the hole in the backplane. Push the module in the direction indicated by the arrow until it clicks. Tighten the screw on the module. 2.2.2 Installing Removable Terminal Blocks Please install the removable terminal block on the module, as illustrated below.
  • Page 16 Ch ap te r 2 Prog ramming 2. Press the clip in the direction indicated by the arrow. Removal 1. Pull the clip in the direction indicated by the arrow. 2. Pull up the clip. 2 - 5...
  • Page 17: Wiring

    A H 5 00 Q uick Star t 3. The terminal block is removed. 2.3 Wiring After the modules are installed, the wiring of the modules follows. In order for the following example to proceed smoothly, the power supply module and the analog module have to be wired. Be sure to cut off the power supply before wiring the modules.
  • Page 18: Wiring The Power Supply Module

    Ch ap te r 2 Prog ramming The wiring of the modules is described in detail below. (Please refer to AH500 Hardware Manual for more information.) 2.3.1 Wiring the Power Supply Module The alternating-current input voltage is within the range between 100 V AC and 240 V AC. Please connect the power supply to the terminals L and N.
  • Page 19 A H 5 00 Q uick Star t Alternating-current power supply: 100~240 V AC, and 50/60 Hz ① Circuit breaker ② Emergency stop: The emergency stop button can be used to cut off the power when an ③ emergency occurs. Power indicator ④...
  • Page 20: Wiring The Digital Input Module

    Ch ap te r 2 Prog ramming 2.3.2 Wiring the Digital Input Module The input signal is the direct-current power input. Sinking and sourcing are current driving capabilities of a circuit. They are defined as follows. Sinking Sourcing 2.3.3 Wiring the Digital Output Module The output unit can be the relay output, the transistor output, or the TRIAC output.
  • Page 21: Wiring The Analog Input/Output Module

    A H 5 00 Q uick Star t 2.3.4 Wiring the Analog Input/Output Module Voltage input -10 V~+10 V VI0- Shielded cable*1 Current input -20 mA~+20 mA VI3- Shielded cable*1 Voltage output -10 V~+10 V An AC motor drive, a recorder, a proportioning valve...
  • Page 22: Exemplification

    Ch ap te r 2 Prog ramming normal phenomenon which can be ignored temporarily. 2.4 Exemplification After the hardware is installed, the wiring of the modules is complete, and the CPU module is supplied with power, users can write the program. In order for users to have a precise object and direction, the manual provides users with an example before they write the program.
  • Page 23: Creating Projects

    After users install the hardware and understand the control logic in the example, they can write the program. Step 1: Open ISPSoft (Start Programs Delta Industrial Automation PLC ISPSoftx.xx ISPSoftx.xx) The start screen of the software: Entering the main screen of the software: Step 2: Click to create a project.
  • Page 24 Ch ap te r 2 Prog ramming Next, the environment of the project is displayed, and the project name SPW appears in the upper left corner. The operation interface of the software: Function area: The main functions of the software are in this area. Many functions which are frequently used are placed on the toolbar, and other functions are placed on the menus.
  • Page 25: Hardware Configuration

    A H 5 00 Q uick Star t 2.6 Hardware Configuration After the project is created, users can configure the hardware. Suppose the configuration is as follows. Digital input module 16AM10N-5A/16AM30N-5A (16 inputs) X0.0~X0.15 Digital output module 16AN01R-5A/16AN01T-5A/16AN01P-5A/16AN01S-5A (16 outputs) Y0.0 ~ Y0.15 Four-channel analog input module AH06XA-5A D0~D7 Two-channel analog output module AH06XA-5A D100~D103...
  • Page 26 Ch ap te r 2 Prog ramming Double-click the CPU module to open the PLC Parameter Setting window. Type “SPW PLC” in the Name box, and then type “The example in AH500 Quick Start” in the Comment box. Finally, click OK, and close the window. User can begin to place the modules.
  • Page 27 A H 5 00 Q uick Star t addresses to the module. The default addresses are X0.0~X0.15. They exactly meet the need, and therefore they do not need to be modified. If they do not meet the need, users can click the column to modify the addresses.
  • Page 28 Ch ap te r 2 Prog ramming Users can drag AH06XA-5A to I/O 2 and drop it. The input device range is D0~D7, and the output device range is D100~D103. (The default output device range is D8~D11. Please remember to modify it.) In addition to specifying the input device range and the output device range, users also have to specify the version of the firmware for the analog input/output module.
  • Page 29 A H 5 00 Q uick Star t The voltages of the signals are 0 V~10 V. The conversion values are 0.0 and 10.0. Click OK. After the hardware configuration is complete, please save the file and exit. 2 - 1 8...
  • Page 30: Creating Global Symbols

    Ch ap te r 2 Prog ramming 2.7 Creating Global Symbols In order to make the program more readable and the connection with the SCADA system more convenient, the I/O addresses are accompanied with the global symbols. Users can use the symbols when they write the program.
  • Page 31: Creating Function Blocks

    A H 5 00 Q uick Star t Users can see a new piece of data. Users can create the global symbols for the data in the table above in the same way. (For the analog module, the data type is a real floating-point number. Therefore, the symbol occupies two data registers, and the address in the Address box is the initial address.) 2.8 Creating Function Blocks The procedure in this example is to create a function block first.
  • Page 32 Ch ap te r 2 Prog ramming Type “FB_SPP_Sys” in the POU Name box, and then type “Supply Water Pump Control Function” in the POU Comment box. Finally, click OK. Users can see the FB_SPP_Sys window on the main screen. Users need to create the local symbols.
  • Page 33 A H 5 00 Q uick Star t VAR_INPUT When the program is executed, the value of the external variable is brought into the internal variable. If the value of the corresponding internal variable is altered, it is not transmitted to the external variable.
  • Page 34 Ch ap te r 2 Prog ramming Users can begin to write the program in the function block. In order to improve the convenience of scanning the program, users are recommended to write the comments. If users want to write the network comments, they have to click Type the following description as the comment on network 1.
  • Page 35 A H 5 00 Q uick Star t Click ???, and type “Pump_Remote”. When “Pump_Remote” is typed, the drop-down list appears. Users can select the item directly, or type the words by themselves. After “Pump_Remote” is typed, press the enter key. (If the address appears, users can click to switch the mode.
  • Page 36 Ch ap te r 2 Prog ramming To meet the condition that there is water in the underground pool and no water in the water tower, the state of Tank_R_LSW should be OFF. Users can double-click the contact marked “Tank_R_LSW”, and the drop-down list appears. Select “Normally Closed”. Please click , and then move the mouse to the red frame.
  • Page 37 A H 5 00 Q uick Star t Click ???, and type “Pump_Out”. Users can double-click the coil marked “Pump_Out”, and the drop-down list appears. Select “Set”. Please click , to add a new network. Users can write the following program in the same way. 2 - 2 6...
  • Page 38 Ch ap te r 2 Prog ramming To meet the condition that there is no water in the underground pool, or the condition that the pump trips, users need to click , and move the mouse to the position under a contact. When appears, users can click the left mouse button.
  • Page 39 A H 5 00 Q uick Star t So far the automatic program control is complete. Please write the following program in the same way. Finally, users need to save the file, and the function block is created. 2 - 2 8...
  • Page 40: Creating Main Programs

    Ch ap te r 2 Prog ramming 2.9 Creating Main Programs After the function block is created, users can create the main program. Right-click in the window at the left side of the main screen of the software to add a new POU. Type “Prog_Main”...
  • Page 41 A H 5 00 Q uick Star t Users can see the Prog_Main window on the main screen. The difference between the function block and the main program is that the function block has to be called before it is executed while the main program is executed directly. The creation of the local symbols for the main program is omitted in this example.
  • Page 42 Ch ap te r 2 Prog ramming After the function block interface appears, type the identifiers as shown below. Users need to create a data block for the function block. The data block can be created as a global symbol or a local symbol, but it is created as a local symbol in the main program here. Notice that users need to select Function Block in the Type Class box, and select “FB_SPP_Sys”...
  • Page 43 A H 5 00 Q uick Star t not only the function of checking the syntax, but also the function of compiling all programs and the contents of the function block. Note: In order to help users understand the control program, the example provided here is simple. The actual control program is much more complex because the functions related to judging the start failure and the conversion from the local control to the remote control have to be taken into account.
  • Page 44 Ch ap te r 2 Prog ramming consider that the value of VAR_OUTPUT and that of VAR of in the first system does not affect those in the second system. Otherwise, please create a new identifier for the second system, as shown below.
  • Page 45 A H 5 00 Q uick Star t MEMO 2 - 3 4...
  • Page 46: Manuals

    Chapter 3 Downloading and Monitoring the Program Table of Contents Setting COMMGR ..................3-5 3.1.1 Enabling COMMGR................3-5 3.1.2 Opening the COMMGR Window ............3-5 3.1.3 Setting the Communication ..............3-5 Downloading the Program .................3-6 3.2.1 Setting the Communication ..............3-6 3.2.2 Downloading the Hardware Configuration..........3-7 3.2.3 Downloading the Program..............3-8 Monitoring and Debugging the Program............3-9...
  • Page 47 A H 5 00 Q uick Star t After the writing of the program is complete, users can prepare to download the program. In order to increase the functions and the convenience, the latest software package is divided into COMMGR and ISPSoft.
  • Page 48 Ch ap te r 3 Down lo ading a nd Mo nitor ing th e Pr ogr am The path C:\Program Files\Delta Industrial Automation\ISPSoftx.xx\drivers\ Delta_PLC_USB_Driver shown in the picture below is the folder where the software is installed. If the path is modified, please select the folder where the software will be installed.
  • Page 49 A H 5 00 Q uick Star t After the software is installed, users can see the USB driver in the Device Manager window. (The COM number of the USB may vary from computer to computer.) 3 - 4...
  • Page 50: Setting Commgr

    If users do not see the icon, they can enable the software manually. The shortcut to enabling the software is Start Programs Delta Industrial Automation Communication COMMGR COMMGR. 3.1.2 Opening the COMMGR Window After COMMGR is enabled, users can double-click to open the setting interface below.
  • Page 51: Downloading The Program

    A H 5 00 Q uick Star t 3.2 Downloading the Program After the editing above is complete, users need to download the parameters and the program to the CPU module. In this example, the data which is downloaded to the PLC is the hardware configuration, the CPU parameters, and the program.
  • Page 52: Downloading The Hardware Configuration

    Ch ap te r 3 Down lo ading a nd Mo nitor ing th e Pr ogr am 3.2.2 Downloading the Hardware Configuration The hardware configuration is downloaded first. Open the SPW-HWCONFIG window as shown below. After users click , the Transfer Items window will appear. After the users click OK, the hardware configuration and the CPU parameters will be downloaded to the CPU module.
  • Page 53: Downloading The Program

    A H 5 00 Q uick Star t If the CPU module which is actually connected is different from the setting in ISPsoft, the HWCNFIG window will appear. Users have to make sure that the CPU module which is actually connected is the CPU module to which the hardware configuration and the CPU parameters will be downloaded.
  • Page 54: Monitoring And Debugging The Program

    Ch ap te r 3 Down lo ading a nd Mo nitor ing th e Pr ogr am 3.3 Monitoring and Debugging the Program 3.3.1 Monitoring the Program When the program is executed, users can monitor the program to understand the current logical control state, or modify the values in some devices to test the system.
  • Page 55 A H 5 00 Q uick Star t After the system is tested, users have to cancel the setting so that the CPU module can return to normal. Monitoring the device When the logical control is tested, the devices which have to be modified may be used in different programs.
  • Page 56 Ch ap te r 3 Down lo ading a nd Mo nitor ing th e Pr ogr am Type “SPP01_Table” in the Monitor Table Name box, and click OK. Users can right-click a blank area in the Monitor Table window, and then click Select Symbols. They can also double-click a blank area in the Monitor Table window to open the Device Monitor Input window.
  • Page 57 A H 5 00 Q uick Star t Click . Owing to the fact that only devices are monitored and modified, users do not need a copy of the program. If users want to alter the value in the device, they can click the right mouse button. The state of SPP01_Man_SW is altered here.
  • Page 58: Debugging The Program And The System

    Ch ap te r 3 Down lo ading a nd Mo nitor ing th e Pr ogr am 3.3.2 Debugging the Program and the System When the system operates, an error may occur, and the error LED indicator on a module may be ON.
  • Page 59 A H 5 00 Q uick Star t in all modules. In other words, for some modules, there may be no error log in the History box. Since no error occurs, users can close the Module Error Log window. Besides, users can find that the whole system returns to normal.
  • Page 60 Ch ap te r 3 Down lo ading a nd Mo nitor ing th e Pr ogr am As the picture below shows, the power supply is abnormal, and an error occurs when the analog data is converted into the digital data. If users want to delete the old error log, they can click Clear Log.
  • Page 61 A H 5 00 Q uick Star t MEMO 3 - 1 6...

Table of Contents