Table of Contents

Advertisement

Quick Links

F
A
ACTORY
UTOMATION
M
ANUAL
AS-
CC-L
G
I
INK
ATEWAY

Advertisement

Table of Contents
loading

Summary of Contents for Pepperl+Fuchs AS-i CC-Link Gateway

  • Page 1 ACTORY UTOMATION ANUAL CC-L ATEWAY...
  • Page 2 AS-i CC-Link Gateway With regard to the supply of products, the current issue of the following document is applicable: The General Terms of Delivery for Products and Services of the Electrical Industry, published by the Central Association of the Electrical Industry (Zentralverband Elektrotechnik und Elektroindustrie (ZVEI) e.V.) in its most recent version as well as the supplementary clause: "Expanded reservation...
  • Page 3: Table Of Contents

    Symbols relevant to safety................8 General notes on safety .................. 8 Disposal ......................8 General ....................9 Product information ..................9 4.1.1 AS-i CC-Link Gateway .....................9 AS-i 3.0 specification ..................9 Specifications ..................10 Technical data ....................10 5.1.1 Data sheet........................10 Installation...................
  • Page 4 AS-i CC-Link Gateway Table of contents Indicators and operating elements .............. 18 7.6.1 LED indicators – master....................18 7.6.1.1 CC-Link status LED (green/red) flashing sample ............19 7.6.2 Buttons ...........................19 Commissioning ...................20 Commissioning via the device ..............20 8.1.1 Switching to advanced display mode................20 8.1.2...
  • Page 5 AS-i CC-Link Gateway Table of contents 11.2 Protocol analysis: Counters for corrupted data telegrams ....... 51 11.3 Clear the diagnostic buffer................52 11.4 Offline Phase for Configuration Errors ............52 11.5 Functions of the AS-i Fault Detector ............52 11.5.1 Earth/Ground Fault Detector ..................52...
  • Page 6: Introduction

    Introduction Introduction Congratulations You have chosen a device manufactured by Pepperl+Fuchs. Pepperl+Fuchs de- velops, produces and distributes electronic sensors and interface modules for the market of automation technology on a worldwide scale. Before installing this equipment and put into operation, read this manual carefully.
  • Page 7: Declaration Of Conformity

    This product was developed and manufactured under observance of the applica- ble European standards and guidelines. Information! A Declaration of Conformity can be requested from the manufacturer. The product manufacturer, Pepperl+Fuchs GmbH, D-68307 Mannheim, has a certified quality assurance system that conforms to ISO 9001.
  • Page 8: Safety

    If serious faults occur, stop using the de- vice. Secure the device against inadvertent operation. In the event of repairs, re- turn the device to your local Pepperl+Fuchs representative or sales office. The connection of the device and maintenance work when live may only be car- ried out by a qualified electrical specialist.
  • Page 9: General

    The AS-i CC-Link Gateways serve to connect AS-i systems to the superordinate CC-Link. The gateways act as a master for AS-i and as a slave on CC-Link. AS-i 3.0 specification The AS-i CC-Link Gateway is designed according to the AS-i 3.0 specification.
  • Page 10: Specifications

    AS-i CC-Link Gateway Specifications Specifications Technical data The technical data are placed in the data sheet. Please view the current version on the web page: http://www.pepperl-fuchs.com. 5.1.1 Data sheet Connection Connections AS-i: COMBICON CC-Link: screw terminal blocks Interface CC-Link interface...
  • Page 11: Installation

    AS-i CC-Link Gateway Installation Installation Read instruction: Before working with this unit: read these instructions carefully and completely. All notes on safety and specifications of the device manual and the manual for the configuration software are to be considered! Safety notes Ensure appropiate installation: Electrical installation is to be performed by trained expert personnel.
  • Page 12: Installing In The Control Cabinet

    AS-i CC-Link Gateway Installation Installing in the control cabinet The AS-i CC-Link Gateway is installed in the control cabinet on 35mm DIN rails per DIN EN 50 022. Information! The enclosure of the AS-i/Gateway is made of stainless steel. The unit is also suitable for exposed wall mounting.
  • Page 13: Dimensions [Mm]

    AS-i CC-Link Gateway Installation Dimensions [mm]...
  • Page 14: Electrical Connection

    AS-i CC-Link Gateway Electrical connection Electrical connection AS-i bus connection Blue Brown Blue Brown AS-i- AS-i+ AS-i- AS-i+ 2-conductor AS-i round cable Yellow ASi ribbon cable (Recommended: flexible power cable H05VV-F2x1,5 per DIN VDE 0281) Information! Electrical work is to be performed only by electrical technicians.
  • Page 15: As-I And Power Supply Terminal Assignments

    AS-i CC-Link Gateway Electrical connection 7.2.1 AS-i and power supply terminal assignments Caution! At the black cable for power supply no slaves or repeaters may be attached. At the yellow cable for AS-i circuit no power supplies or further masters may be attached.
  • Page 16: Front View And Connections

    AS-i CC-Link Gateway Electrical connection Front view and connections 7.3.1 Electrical connection: VBG-CCL-K20-D-BV +ASI +ASI +PWR n.c. n.c. +ASI 1– ASI +PWR– (max. 8 A) +ASI 1– +ASI– Connection AS-i circuit ASI +PWR– (max. 8 A) Supply voltage AS-i circuit...
  • Page 17: Cc-Link Interface

    AS-i CC-Link Gateway Electrical connection CC-Link interface Signal color blau/ blue/ bleu/ blu/ azul weiss/ white/ blanc/ bianco/ blanco gelb/ yellow/ jaune/ giallo/ amarillo The CC-Link interface connector is designed as a 5-pin COMBICON connector. It is located on the left hand side of the front panel (see section <Overview of termi- nals, indicators and operating elements>).
  • Page 18: Indicators And Operating Elements

    AS-i CC-Link Gateway Electrical connection Indicators and operating elements 7.6.1 LED indicators – master The LED’s on the front panel of the device indicate: Power The AS-i master is receiving sufficient power. CC-Link (CC-Link status LED) Flashing sample see chap. <CC-Link status LED (green/red) flashing sample>.
  • Page 19: Cc-Link Status Led (Green/Red) Flashing Sample

    AS-i CC-Link Gateway Electrical connection 7.6.1.1 CC-Link status LED (green/red) flashing sample C-Control mode (C-Control active) CC-Link LED CC-Link Error CC-Link Run flashing green flashing green/red on or flashing green flashing green/red on or flashing Tab. 7-2. Standard mode (C-Control inactive)
  • Page 20: Commissioning

    AS-i CC-Link Gateway Commissioning Commissioning Commissioning via the device 8.1.1 Switching to advanced display mode Classical display Advanced display mode .12A CC LINK QUICK SETUP SETUP UNKNOWN SLAVE SLAVE ADR TOOL Menu structure see additional page 8.1.2 Setting the CC-Link address 14...
  • Page 21: Connecting As-I Slaves

    AS-i CC-Link Gateway Commissioning CC LINK ADDRESS OLD ADDRESS NEW ADDRESS 14 CC LINK ADDRESS OLD ADDRESS NEW ADDRESS 10 CC LINK QUICK SETUP DIAGNOSIS The device is set to address 1 at the factory. New address/baud rate will be used after rebooting the Gateway 8.1.3...
  • Page 22: Quick Setup

    AS-i CC-Link Gateway Commissioning 8.1.4 Quick setup The function [QUICK SETUP] enables simple and quick configuration of all AS-i circuits connected to the AS-i gateway: [STORE+RUN] Saves the current configuration of the connected AS-i slaves as a target configura- tion and moves the gateway to the protected operating mode.
  • Page 23: Error Tracing

    AS-i CC-Link Gateway Commissioning Error tracing 8.2.1 Faulty slaves Power CC-Link Config error U AS-i AS-i active prg enable MISSING SLAVE prj mode AS-i AS-i Slave 1 AS-i Slave 5 MISSING SLAVE AS-i Slave 24 8.2.2 Error display (last error)
  • Page 24: Addressing

    AS-i CC-Link Gateway Commissioning 8.2.3 Addressing 8.2.3.1 Assigning address 6 to slave currently at address 2 Disconnect field bus! 1. 41 SLAVE ADR TOOL OLD ADDRESS 2 NEW ADDRESS 0 SEARCHING SLAVE SLAVE ADR TOOL QUICK SETUP OLD ADDRESS SETUP...
  • Page 25: Local Parameter Setting Of Gateways

    AS-i CC-Link Gateway Commissioning 8.2.4 Local parameter setting of Gateways...
  • Page 26: Replacing The Chip Card

    AS-i CC-Link Gateway Commissioning 8.2.5 Replacing the chip card Caution! Always turn off power before inserting or removing the card! Power Supply Power Supply 8.2.6 Using the chip card The chip card integrated in the AS-i master is used to read-out and to store con-...
  • Page 27: Card Unformatted

    AS-i CC-Link Gateway Commissioning 8.2.6.1 Card unformatted If an unformatted card is found when the device is started, the following is dis- played: NEW CHIPCARD WILL BE FORMATED AS-I DATA WILL BE SYNCHRONIZED The chip card is formatted and then the data copied to the chip card.
  • Page 28: Data Compatible

    AS-i CC-Link Gateway Commissioning 8.2.6.4 Data compatible When starting with an empty device (e.g. after a factory reset) a non-empty card is found whose data are compatible with the device, the following message is dis- played: AS-I DATA FROM CHIPCARD TAKEN The card configuration is written to the device.
  • Page 29: Operation In Display Mode

    AS-i CC-Link Gateway Operation in display mode Operation in display mode Information! You will find a description of the display menu in the separate document "Dis- play_Menue".
  • Page 30: Data Transmission Modes

    10.1 Selecting the data transmission mode The selection of the respective data transmission mode takes place in the menu of the AS-i CC-Link Gateway using the buttons and the display. Main menu || CC-LINK || MODE || CC LINK ADDRESS...
  • Page 31: Summary Of Modes

    AS-i CC-Link Gateway Data transmission modes 10.2 Summary of modes Standard VBG- FX2N- CCL-G4F Link V1 32ASI-M ASICC Occupied Stations Cycle Setting Required CC-Link Master Support of 2 AS-i Circuits Support of B-Slaves (Yes) Support of AS-i Safety Support of Analog Slaves...
  • Page 32: Standard Mode

    AS-i CC-Link Gateway Data transmission modes 10.3 Standard mode • In standard mode, the Gateway occupies 3 stations and has a double cycle setting. • The last 2 words are reserved for "Message Transmission". • The AS-i process data is mapped into the Buffer Memory Area (BFM).
  • Page 33: Buffer Memory Area

    AS-i CC-Link Gateway Data transmission modes Address 15 14 13 12 11 10 9 PM CM AAE OFL RYm+1 reserved … RYm+9 Tab. 10-7. Remote IO Points Short Name Name Offline Auto Address Enable Enter Configuration Mode on rising edge Enter Protected Mode on rising edge 4 …...
  • Page 34 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 AS-i 1: Inp. Slv3 AS-i 1: Inp. Slv2 AS-i 1: Inp. Slv1 Flags AS-i 1 RWrm1 AS-i 1: Inp.
  • Page 35 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWwm0 AS-i 1: Outp. Slv3 AS-i 1: Outp. Slv2 AS-i 1: Outp. Slv1 RWwm1 AS-i 1: Outp. Slv7 AS-i 1: Outp. Slv6 AS-i 1: Outp. Slv5 AS-i 1: Outp. Slv4 RWwm2 AS-i 1: Outp.
  • Page 36: Message Transmission

    AS-i CC-Link Gateway Data transmission modes Name 0: No Config Error 0: AS-i Power OK 0. Normal Operation active 0: Protected Mode active Tab. 10-13. Bits in Flags 10.3.3 Message Transmission By "Message Transmission", all command interface commands are available (see the separate manual „AS-i 3.0 Command interface“).
  • Page 37: Compatibility Mode For Vbg-Ccl-G4F

    AS-i CC-Link Gateway Data transmission modes 10.4 Compatibility mode for VBG-CCL-G4F In this mode, 3 stations are occupied using a single cycle setting. No "Message Transmission" is supported. All functions of VBG-CCL-G4F are implemented The AS-i process data or the mailbox is mapped into the Buffer Memory Area (BFM) as done in the VBG-CCL-G4F.
  • Page 38: Buffer Memory Area

    AS-i CC-Link Gateway Data transmission modes 10.4.2 Buffer Memory Area Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 AS-i 1: Inp. Slv3 AS-i 1: Inp. Slv2 AS-i 1: Inp. Slv1 Flags RWrm1 AS-i 1: Inp.
  • Page 39 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 Mailbox: Circuit Mailbox: Command RWrm1 Mailbox: Response Byte 2 Mailbox: Response Byte 1 RWrm2 Mailbox: Response Byte 4...
  • Page 40 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWwm0 Mailbox: Circuit Mailbox: Command RWwm1 Mailbox: Request Byte 2 Mailbox: Request Byte 1 RWwm2 Mailbox: Request Byte 4...
  • Page 41: Cc-Link V1 Mode

    AS-i CC-Link Gateway Data transmission modes 10.5 CC-Link V1 Mode In this mode, 4 stations are occupied using a single cycle setting. No "Message Transmission" is supported. This mode is an extended version of the Compatibility Mode for VBG-CCL-G4F. The AS-i process data or the mailbox is mapped into the Buffer Memory Area (BFM) as done in the VBG-CCL-G4F.
  • Page 42: Buffer Memory Area

    AS-i CC-Link Gateway Data transmission modes 10.5.2 Buffer Memory Area Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 AS-i 1: Inp. Slv3 AS-i 1: Inp. Slv2 AS-i 1: Inp. Slv1 Flags RWrm1 AS-i 1: Inp.
  • Page 43 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 Mailbox: Circuit Mailbox: Command RWrm1 Mailbox: Response Byte 2 Mailbox: Response Byte 1 RWrm2 Mailbox: Response Byte 4...
  • Page 44 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWwm0 AS-i 1: Outp. AS-i 1: Outp. AS-i 1: Outp. Flags Slv3 Slv2 Slv1 RWwm1 AS-i 1: Outp.
  • Page 45 AS-i CC-Link Gateway Data transmission modes Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWwm0 Mailbox: Circuit Mailbox: Command RWwm1 Mailbox: Request Byte 2 Mailbox: Request Byte 1 RWwm2 Mailbox: Request Byte 4...
  • Page 46: Compatibility Mode For Fx2N-32Asi-M

    AS-i CC-Link Gateway Data transmission modes 10.6 Compatibility Mode for FX2N-32ASI-M To ease the migration of applications using the obsolete Mitsubishi FX2N-32ASI- M Module (AS-i Master 2.04) for FX2N PLCs, a compatibility mode is implement- In this mode, 4 stations are occupied using a single cycle setting (CC-Link V1).
  • Page 47: Buffer Memory Area

    AS-i CC-Link Gateway Data transmission modes 10.6.2 Buffer Memory Area Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 AS-i 1: Inp. Slv3 AS-i 1: Inp. Slv2 AS-i 1: Inp. Slv1 Flags RWrm1 AS-i 1: Inp.
  • Page 48 AS-i CC-Link Gateway Data transmission modes Short Name Name Cfg. Err Configuration Error Slave Address 0 detected Aaasn Auto Address Assign Aaavail Auto Address Available Configuration Mode active Normal Operation not active AS-i Power fail (AS-i Voltage below 19V) Offl...
  • Page 49: Compatibility Mode For Hk-Asicc

    AS-i CC-Link Gateway Data transmission modes 10.7 Compatibility Mode for HK-ASICC To ease the migration of existing Applications with HK-ASICC a Mode with com- patible IO-Data mapping is integrated. In this mode, 2 stations are occupied using a single cycle setting (CC-Link V1).
  • Page 50: Buffer Memory Area

    AS-i CC-Link Gateway Data transmission modes 10.7.2 Buffer Memory Area Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 AS-i 1: Inp. Slv3 AS-i 1: Inp. Slv2 AS-i 1: Inp. Slv1 reserved RWrm1 AS-i 1: Inp.
  • Page 51: Advanced Diagnostics For As-I Masters

    AS-i CC-Link Gateway Advanced Diagnostics for AS-i Masters Advanced Diagnostics for AS-i Masters The advanced AS-i diagnostics is intended to localize occasionally occurring con- figuration errors and to determine the quality of data transmission on AS-i without using additional diagnostics tools.
  • Page 52: Clear The Diagnostic Buffer

    AS-i CC-Link Gateway Advanced Diagnostics for AS-i Masters 11.3 Clear the diagnostic buffer The diagnostic buffer in the device can only be deleted when there is no field bus connection to the higher-level controller. If in an existing bus connection yet the 'clear diagnostic buffer' is pressed, the diagnosis can only be deleted in the web interface and not on the device.
  • Page 53: Noise Detector

    AS-i CC-Link Gateway Advanced Diagnostics for AS-i Masters 11.5.2 Noise Detector The noise detector detects AC voltages on AS-i, that are not initiated by an AS-i master or AS-i slaves. These interference voltages can cause telegram distur- bances. A frequent cause are insufficiently shielded frequency inverters or improperly routed cables.
  • Page 54: Substitute Values

    AS-i CC-Link Gateway Advanced Diagnostics for AS-i Masters 11.6 Substitute values SAFE SUBST VAL (Substitute values for input data from safe slaves) … Quick Setup 1.12A Diagnosis Slave Adr Tool … Safety Slaves Safe Subst Val Ext Monitor … Safe Subst Val...
  • Page 55: Accessing Command Interface

    AS-i CC-Link Gateway Accessing command interface Accessing command interface 12.1 Using BFM This example shows one method to access command interface when it is mapped into the cyclic Buffer Memory Area (when using VBG-CCL-G4F mode or CC-Link V1 mode): BFM used for I/O data...
  • Page 56 AS-i CC-Link Gateway Accessing command interface Wait for response data in RWr area (indicated by response toggle bit and mirrored command) Read command interface result and response from RWr area Disable BFM (set RY5 = 1) Wait for BFM disable...
  • Page 57: Using Message Transmission

    AS-i CC-Link Gateway Accessing command interface For example, when the first command used is reading the list of detected slaves (command 0x46), write the following to the RWw area: Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 …...
  • Page 58 AS-i CC-Link Gateway Accessing command interface The send data and response data structure of the command interface commands is independent of the CC-Link master in use and is described in the separate manual "AS-i 3.0 Command interface". For example, when reading the list of detected slaves (command 0x46) and the register D1 of the Mitsubishi QCPU is given as parameter to G(P).RDMSG as...
  • Page 59: Codes Indicated By The Display

    AS-i CC-Link Gateway Codes indicated by the display Codes indicated by the display In the basic state of the configuration mode, the addresses of all detected slaves are displayed in two-second intervals. A blank display indicates that the LDS (List of Detected Slaves) is empty, no slaves were detected.
  • Page 60 AS-i CC-Link Gateway Codes indicated by the display Checksum error in the data menu. "breakpoint": Control III C program in break point. Error while attempting to exit the configuration mode: A slave with address zero exists. General error while changing a slave address The front panel operation is blocked.
  • Page 61: Glossary

    AS-i CC-Link Gateway Glossary Glossary A/B slave An AS-i slave with extended addressing. The address range of an A/B slave ex- tends from 1A to 31A and 1B to 31B. As the master needs the fourth output data bit for switching between A and B address, A/B slaves only have three output data bits maximum.
  • Page 62 AS-i CC-Link Gateway Glossary I/O code The first digit of the slave profile, which indicates how many in- and outputs the slave has. A 4I/4O slave has for example a “7”, and a slave with 4 digital inputs a "0".
  • Page 63 AS-i CC-Link Gateway Glossary ID2 Code, extended ID2 code The ID2 code is set by the slave manufacturer and cannot be changed. The AS-i Association determines the ID2 codes, which are assigned for a particular class of slaves. For example, all 2-channel 16 bit input slaves having an S-7-3 bit code use ID2 code “D”.
  • Page 64 AS-i CC-Link Gateway Glossary Offline phase In the offline phase all input and output data is reset. This phase is entered after  the startup of the master, after a AS-i power fail, and during the transition from  ...
  • Page 65 AS-i CC-Link Gateway Glossary AS-i 2.0 slaves do not have extended ID1 and ID2 codes. A 2.1 or 3.0 AS-inter- face master enters in this case an “F” for each of the extended ID1 and ID2 codes.
  • Page 66: Reference List

    AS-i CC-Link Gateway Reference List Reference List 15.1 Manual: “AS-i 3.0 Command Interface“ This Manual contains a detailed description of the AS-i 3.0 Command Interface.

Table of Contents