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 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...
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;...
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...
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...
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...
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)
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.
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.
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...
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...
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 •...
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...
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...
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...
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.
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...
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.
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.
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...
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.
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.
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.
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.
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...
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...
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...
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...
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”...
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...
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.
Need help?
Do you have a question about the PCI-1202 and is the answer not in the manual?
Questions and answers