Advantech PCI-1202 User Manual
Advantech PCI-1202 User Manual

Advantech PCI-1202 User Manual

2-port amonetô rs-485 master card

Advertisement

Quick Links

PCI-1202
2-Port AMONet™ RS-485 Master
Card
User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-1202 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Advantech PCI-1202

  • Page 1 PCI-1202 2-Port AMONet™ RS-485 Master Card User Manual...
  • Page 2 No part of this man- ual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reli- able.
  • Page 3 Product Warranty (2 years) Advantech warrants to you, the original purchaser, that each of its prod- ucts will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or...
  • Page 4 This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information.
  • Page 5: Table Of Contents

    Contents Chapter 1 Introduction ............. 2 Card Description ............... 2 Figure 1.1:Functional Block Diagram of PCI-1202 ..2 Figure 1.2:PCI-1202 Applications ......... 3 Features ................3 Specifications ..............4 Supported Software ............4 1.4.1 Programming Library ............ 4 1.4.2 EzLINK ................4 Application Development ..........
  • Page 6 EzLink ................44 4.1.1 Minimum System Requirements ......... 44 4.1.2 Description ..............44 Figure 4.1: Start-up of EzLink ........45 4.1.3 Scan Master Cards ............45 Figure 4.2:Scan Master Cards ........45 Figure 4.3:Scanning Master ........46 PCI-1202 User Manual...
  • Page 7 Figure 4.4:Scan is Completed ........46 Figure 4.5:Scan Results ..........46 4.1.4 Remote Slave Module ..........47 Figure 4.6:Remote Slave Module ........ 47 Figure 4.7:Status for the Slave Connection ....47 4.1.5 Scan Remote Slave Modules ........48 Figure 4.8:Scan Slave Modules ........48 Figure 4.9:Scan Error ...........
  • Page 8 PCI-1202 User Manual viii...
  • Page 9 Introduction This chapter gives an overview of the product features, applications, and specifications for PCI-1202 Sections include: • Card Description • Features • Specifications • Supported Software • Application Development...
  • Page 10: Chapter 1 Introduction

    AMONet is a new series of products designed for versatile automation applications especially with distributed motion control requirements. PCI-1202 is equipped with 2 master rings, and each master ring can con- nect with up to 64 slave modules. There are 2 categories of slave mod- ules;...
  • Page 11: Features

    Figure 1.2: PCI-1202 Applications 1.2 Features • 2 Rings of AMONet master • Programmable baud-rate up to 20 Mbps transfer rate • Max. 128 AMONet digital slave modules support • Easy installation with RJ45 phone jack and LED diagnostic Chapter 1...
  • Page 12: Specifications

    Windows 2000/XP, and Embedded XP. 1.4.2 EzLINK EzLINK is a utility software tool for AMONet. It is usually used offline to test and debug the communication status, I/O slave module operation and motion slave operation. PCI-1202 User Manual...
  • Page 13: Application Development

    1.5 Application Development Figure 1.3: Application Development Chapter 1...
  • Page 14 Fig. 1-4 is a flow chart that illustrates the recommended process in using this manual to develop an application. Refer to the related chapters for details of each step. Figure 1.4: Flow Chart for Building an Application PCI-1202 User Manual...
  • Page 15 Installation This chapter describes how to install PCI-1202. Sections include: • Check What You Have • PCB Board Layout • Hardware Installation • Driver Installation • Connector Descriptions...
  • Page 16: Chapter 2 Installation

    Chapter 2 Installation This chapter describes how to install the PCI-1202. Please follow these steps below to install the PCI-1202. • Check what you have (section 2.1) • Check PCB Board (section 2.2) • Install hardware (section 2.3) • Install software driver (section 2.4)
  • Page 17: Pcb Board Layout

    2.3 Hardware Installation 2.3.1 Hardware Configuration PCI-1202 is a standard extension device of PCI for PC systems. All the functions in a base system, such as the memory allocation, I/O port loca- tions, and the address assignment, should be setup by following the man- ual.
  • Page 18: Installation Procedure

    Before handling PCI-1202, discharge any static buildup on your body which may damage the product. Position PCI-1202 in the correct PCI slot, and fix it. Secure the card in place at the front PCB panel of the system unit by using screws removed from the socket.
  • Page 19: Connector Descriptions

    2.5 Connector Descriptions 2.5.1 AMONet Extension Figure 2.2: AMONet Extension Label Description Filed Ground Filed Ground RS485+ High Speed RS-485 protocol Filed Ground Filed Ground RS485- High Speed RS-485 protocol Filed Ground Filed Ground Figure 2.3: RS-485 Extension Port Chapter 2...
  • Page 20: Digital I/O Connector(Cn5)

    Power Ground INPUT5 Digital Input #5 INPUT6 Digital Input #6 INPUT7 Digital Input #7 INPUT8 Digital Input #8 N.C. Reserved OUTPUT1 Digital Output #1 OUTPUT2 Digital Output #2 OUTPUT3 Digital Output #3 OUTPUT4 Digital Output #4 Power Ground PCI-1202 User Manual...
  • Page 21: Amonet Extension Interface

    Figure 2.5: Digital Input Circuit Figure 2.6: Digital Output Circuit 2.5.3 AMONet Extension Interface Figure 2.7: AMONet Slave Module Address Setting Chapter 2...
  • Page 22 PCI-1202 User Manual...
  • Page 23 AMONet Extension Modules Sections include: • Installation and Removal of Exten- sion Modules • DIO Slave Module • Motion Slave Modules...
  • Page 24: Chapter 3 Amonet Extension Modules

    Follow the same steps 2 ~ 4 on the left side. After steps 1 ~ 4 have been successfully completed for both sides, the slave module can be removed from the DIN rail. Figure 3.1: Installation and Removal of Extension Modules PCI-1202 User Manual...
  • Page 25: Dio Slave Modules

    3.2 DIO Slave Modules 3.2.1 Features • DIN rail mounting (LxWxH): 124 x 72 x 53 mm • Max. 20 Mbps transfer rate • 3-Wire terminal board for actuator/sensor • Easy installation with RJ45 phone jack and LED diagnostic • Serial interface: half duplex RS-485 with transformer isolation 3.2.2 Specifications •...
  • Page 26: Common Connector Pin Definitions

    RS485+ High Speed RS-485 protocol Filed Ground Filed Ground RS485- High Speed RS-485 protocol Filed Ground Filed Ground External Power Input connector Pin Label Description DC 24V DC 24V Ground Field Ground DC 24V DC 24V Ground Field Ground PCI-1202 User Manual...
  • Page 27 ID Setting DIP Switch Label ON OFF Note: Node Number= 32xA5+16xA4+8xA3+4xA2+2xA1 Configuration Settings PinLabel Description ON OFF *Baud-Rate Setting *Baud-Rate Setting Time-out Status Latch Watchdog Mode Reserved Terminate Resistance Enable Disable How to use Baud-Rate Setting Baud-Rate Setting OFF OFF 1/4 System Clock OFF ON 1/8 System Clock...
  • Page 28: Specific Connector Pin Definitions

    OUT_26 IN_07 OUT_27 OUT_07 OUT_27 IN_10 OUT_30 OUT_10 OUT_30 IN_11 OUT_31 OUT_11 OUT_31 IN_12 OUT_32 OUT_12 OUT_32 IN_13 OUT_33 OUT_13 OUT_33 IN_14 OUT_34 OUT_14 OUT_34 IN_15 OUT_35 OUT_15 OUT_35 IN_16 OUT_36 OUT_16 OUT_36 IN_17 OUT_37 OUT_17 OUT_37 PCI-1202 User Manual...
  • Page 29 ADAM-375xF Pin Definitions ADAM-3754F ADAM-3754F Label Label Label Label OUT_00 +24V OUT_20 +24V OUT_01 OUT_21 OUT_02 +24V OUT_22 +24V OUT_03 OUT_23 OUT_04 +24V OUT_24 +24V OUT_05 OUT_25 OUT_06 +24V OUT_26 +24V OUT_07 OUT_27 OUT_10 +24V OUT_30 +24V OUT_11 OUT_31 OUT_12 +24V OUT_32 +24V...
  • Page 30: Digital Input Signal Connection

    OUT_17 3.2.6 Digital Input Signal Connection Figure 3.3: NPN Sinking Type Input IN1 & IN2 (Digital Input) Digital input for each axis is shown in table 3.1. Table 3.1: DI Pins Label Description External Ground General DI PCI-1202 User Manual...
  • Page 31: Digital Output Signal Connection

    3.2.7 Digital Output Signal Connection Figure 3.4: Relay Type Output OUT1 & OUT2 (Digital Output) Digital output for each axis is designed for general-purpose output func- tion. Please refer to the following table 3.2. Table 3.2: OUT1&OUT2 Pins Label Description External Ground Digital Outputs 3.3 Motion Slave Modules...
  • Page 32: Specifications

    Simultaneous start/stop motion input: STA, STP (Reserved) LED indicator: PWR, RUN, ERR, PEL, MEL, ORG, SLD Power supply: +18V DC to +30V DC, consumption: 3W typical Operating temperature: 0 to 60° C 3.3.3 Product Introductions Figure 3.5: ADAM-32xx Products Series PCI-1202 User Manual...
  • Page 33 Unlike traditional motion card solutions, AMONet supports remote motion slave modules for extended multiple-axis applications. All these extended motion slave modules are connected serially by a simple CAT5 cable with RJ45 connectors. This reduces wiring between the motion driver and controller and provides a motion control system that is very suitable for highly integrated machine automation applications.
  • Page 34: Common Connector Pin Definitions

    3.3.4 Common Connector Pin Definitions Communication Connector RJ-45 Label Description Filed Ground Filed Ground RS-485+ High Speed RS-485 protocol Filed Ground Filed Ground RS-485- High Speed RS-485 protocol Filed Ground Filed Ground PCI-1202 User Manual...
  • Page 35 External Power Input Connector Label Description DC 24V DC 24V Ground Field Ground DC 24V DC 24V Ground Field Ground Chapter 3...
  • Page 36 Slave ID Setting DIP Switch Label Note: Node Number=32xA5+16xA4+8xA3+4xA2+2xA1+A0 PCI-1202 User Manual...
  • Page 37 Configuration Setting Switch Label Description Baud-Rate Setting Time-Out Sta- Enable Disable tus Latch Watchdog Enable Enable Mode *Break and Enable Disable Rescan Com- munication Terminate Enable Disable Resistance *BK function is reserved. How to Use the Baud-Rate Setting Baud-Rate Setting 1/4 System Clock 1/8 System Clock 1/16 System Clock...
  • Page 38 OUT- Pulse Signal Output (-) DIR+ Direction Signal Output(+) DIR- Direction Signal Output(-) Encoder A Phase (+) Encoder A Phase (-) Encoder B Phase (+) Encoder B Phase (-) Encoder Z Phase (+) Encoder Z Phase (-) PCI-1202 User Manual...
  • Page 39 CN2 Connector Pin Descriptions Label General Description DC 24V Power Output Ground Simultaneous Start Input (Reserved) Simultaneous Stop Input (Reserved) Position Compare Output Motion Busy Signal Output Machinery Break Signal Input (106-M131-J2S) BRK+ Machinery Break Signal (+) Input BRK- Mechanical Brake Release Signal (-) Input Digital Input Signal #1 Digital Input Signal #2 OUT1...
  • Page 40: 1-To-1 Cable Information

    3.3.5 1-to-1 Cable Information ADAM-3211/PMA ADAM-3212/J2S ADAM-3213/YS2 PCI-1202 User Manual...
  • Page 41: Motion Signal Connection

    3.3.6 Motion Signal Connection Digital Input (1) This section includes STA, STP, PCS, CLR, PEL, MEL, ORG, SLD, ALM, INP, RDY, IN1 and IN2 signal: Figure 3.6: NPN Sinking Type Input STA (Simultaneous Start) STA is used to start all the motors connected to the same ring simulta- neously.
  • Page 42 The origin signals are used to indicate the origin of the system. Please refer to table 3.6 for detailed information. Table 3.6: ORG Pins Label Description External Ground ORG signal PCI-1202 User Manual...
  • Page 43 Description External Ground Servo ALM input INP (Servo In Position) INP is an input signal at PCI-1202 and is used to read the INP status inside servo driver. Please refer to table 3.9 for descriptions. Table 3.9: INP Pins Label...
  • Page 44 Digital input is shown in table 3.11. Table 3.11: DI Pins Label Description General DI External Ground Digital Input (2) This section includes LTC+, LTC-, EMG+, EMG-, BRK+ and BRK- sig- nal: Figure 3.7: PNP/NPN Sinking Type Input PCI-1202 User Manual...
  • Page 45 LTC+ & LTC- (Counter Latch) LTC is used to latch the value in the counter when the LTC input is active. Table.3.12 lists the signal name and pin number. Table 3.12: LTC Pins Label Description LTC+ LTC- Input LTC- LTC- Input External Ground EMG+ &...
  • Page 46 This section includes SVON, ERC, RALM, CMP, OUT1 and OUT2 sig- nal: Figure 3.8: Relay Type Output SVON (Servo On) SVON is an output signal from PCI-1202 and is used to make driver servo-on to hold the motor. Please refer to table 3.15. Table 3.15: SVON Pins Label...
  • Page 47 RALM (Reset Servo Alarm) This RALM signal is designed to reset ALM status inside the servo driver if the alarm status can be reset. Please refer to table 3.17 for a description. Table 3.17: RALM Pins Label Description External Ground RALM ALM reset output CMP (Position Compare)
  • Page 48 This section includes OUT and DIP signal: OUT and DIR (Pulse Output Control) There are six types of pulse output for PCI-1202. Specify the electrical specification as differential or open collector. Then select DIR/OUT or CW/CCW. Refer to table 3.21 for the pin definition of the DIR/OUT pins.
  • Page 49 Table 3.22: Encoder Pins Label Description Encoder A(+) Encoder A(-) Encoder B(+) Encoder B(-) Encoder Z(+) Encoder Z(_) Chapter 3...
  • Page 50 PCI-1202 User Manual...
  • Page 51 Utility Software Sections include: • EzLink...
  • Page 52: Chapter 4 Utility Software

    Chapter 4 Utility Software 4.1 EzLink EzLink is a user-friendly utility for the purpose of testing and debugging AMONet. EzLink supports two types of remote slaves: DIO slave mod- ules, and 1-axis motion slave modules. There are three main steps to make use of EzLink: First, you scan how many master cards are installed in the system.
  • Page 53: Scan Master Cards

    Figure 4.1: Start-up of EzLink 4.1.3 Scan Master Cards Click on the first button on the tool bar to scan master cards in the system. All master cards will be identified after the scanning is completed as shown in figure 4.2 to 4.5, and all master cards will be listed in the menu. Figure 4.2: Scan Master Cards Chapter 4...
  • Page 54 Figure 4.3: Scanning Master Figure 4.4: Scan is Completed Figure 4.5: Scan Results PCI-1247 User Manual...
  • Page 55: Remote Slave Module

    4.1.4 Remote Slave Module After completely scanning the master cards, you can connect the master and remote slaves by clicking on the connect button on the tool bar as shown in figure 4.6 and figure 4.7. Whether the slave is connected or not connected with the master cards can be read from the bottom window that shows system status.
  • Page 56: Scan Remote Slave Modules

    4.1.5 Scan Remote Slave Modules After the connection between the master and slave has been set up suc- cessfully, you can scan the slave modules that are installed in this ring of the master card. Both the number and types of slave modules will be dis- played on the left.
  • Page 57: Slave Module Status Display

    4.1.6 Slave Module Status Display All master cards and slave modules will be displayed on the left menu after you have successfully scanned the master, connected the master and slave, and scanned all slaves. Please refer to figure 4.11. Figure 4.11: Scan Results You can click on each individual slave module in the menu, the informa- tion about the selected slave module will be displayed on the right as shown in figure 4.12.
  • Page 58: Dio Type Slave Module

    4.1.7 DIO Type Slave Module 2 types of icons are applied in the operation box of DIO type slave mod- ule. The green lamp is for input signal, the red button is for output signal. User can click on the red button and send output signals thereafter. User can read the input status from the green lamp.
  • Page 59: 1-Axis Motion Slave

    4.1.8 1-axis Motion Slave There are 2 menus for the 1-axis motion slave modules. One is for opera- tion , the other is for configuration as shown in the following figures Fig.4.16 and Fig.4.17. Before proceeding to the operation menu , please check the settings in the configuration menus first.
  • Page 60 Figure 4.18: Pulse I/O Configuration You can also set the home function setting in the following dialog box: Figure 4.19: Home Function Setting PCI-1247 User Manual...
  • Page 61 AMONet API...
  • Page 62: Chapter 5 Amonet Api

    Chapter 5 AMONet API This chapter provides a brief introduction to the AMONet API. For more detailed function descriptions and programming examples, please refer to the Programming Guide in the CD. CDROM\Manual\PCI-1202 Programming Guide.pdf 5.1 Data Definitions Name Description Range...
  • Page 63: Amonet Master Control Api

    5.2 AMONet Master Control API This section describes the API of the PCI-1202 master card, including hardware installation, local I/O operation, and ring operation. 5.2.1 Hardware Installation “Hardware installation” functions initialize/terminate the PCI-1202 device on your system. Function Name Description...
  • Page 64: Motion Slave

    Set INP Logic And Operating Mode _mnet_m1_set_erc Set ERC Logic And Timing _mnet_m1_set_erc_on Fource ERC Output _mnet_m1_set_sd Set SD Logic And Operating Mode _mnet_m1_set_svon Set Servo Driver ON _mnet_m1_set_ralm Output Servo Driver Alarm Reset. _mnet_m1_set_pcs Set PCS Logic PCI-1202 User Manual...
  • Page 65: Motion Slave Homing Operation

    5.3.2 Motion Slave Homing Operation “Motion Slave Homing Operation” sets/enables the “go home” operation for your remote motors. Set The Home/Index Logic Configu- _mnet_m1_set_home_config ration _mnet_m1_start_home_move Begin A Home Return Action 5.3.3 Motion Slave Velocity Motion “Motion Slave Velocity Motion” controls your remote motors by “Velocity Control”...
  • Page 66: Motion Slave Position Control And Counter

    Set Soft Limit _mnet_m1_enable_soft_limit Enable Limit _mnet_m1_disable_soft_limit Disable Limit Set General-Pur- _mnet_m1_set_comparator_mode posed Comparator Check Current Com- _mnet_m1_set_comparator_value parator Data Set Trigger Compar- _mnet_m1_get_comparator_value ator Value Set Trigger Compar- _mnet_m1_set_trigger_comparator ator Set Trigger Compar- _mnet_m1_set_trigger_comparator_value ator Value PCI-1202 User Manual...
  • Page 67: Motion Slave Dio Operation

    5.3.7 Motion Slave DIO Operation “Motion Slave DIO Operation” functions read and write the TTL digital signal via the remote modules. _mnet_m1_dio_output Set TTL Output Status _mnet_m1_dio_input Set TTL Input Status 5.3.8 Motion Slave Status “Motion Slave Status” functions give you the information of your remote devices.
  • Page 68 PCI-1202 User Manual...

Table of Contents