Page 2
CC-Link Gateways 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 of proprietorship".
CC-Link Gateways Table of contents Table of contents CC-Link Gateways Introduction................... 5 Declaration of conformity ..............6 Declaration of conformity ................6 Safety..................... 7 Symbols relevant to safety ................7 General notes on safety .................. 7 Disposal ......................7 Setting up the AS-i bus ................ 8 Configuration and Start-up of the Safety Monitor ......
Page 4
CC-Link Gateways Table of contents Diagnostics ..................36 System diagnostics on the PC..............36 8.1.1 Software for diagnostics, service and release measurements ......... 36 8.1.2 AS-i Control Tools ......................36 8.1.3 ASIMON .......................... 36 8.1.4 Web server ........................36 Diagnostics on the host controller ............... 37 8.2.1 Diagnostics through process data ................
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.
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.
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.
CC-Link Gateways Setting up the AS-i bus Setting up the AS-i bus Connect the unit to power. Connect the AS-i cable to the unit. One after the other connect the AS-i slaves to the AS-i cable and set the slave addresses. You may set the addresses directly on the slave using a portable addresser or by using the option [SLAVE ADR TOOL] in the display menu of your gateway.
CC-Link Gateways Configuration and Start-up of the Safety Monitor Configuration and Start-up of the Safety Monitor Configuration and start-up of the AS-i Safety Monitor is accomplished using a PC/ notebook running the ASIMON configuration software. Note! For more detailed information please refer to the separate manual for the ASIMON configuration software.
CC-Link Gateways Data transmission modes of the CC-Link Gateways Data transmission modes of the CC-Link Gateways There are several modes for the transmission of data in CC-Link: Standard mode (see chap. 6.1) Compatibility mode for VBG-CCL-G4F COMP (see chap. 6.2) Compatibility mode for CC-Link V1 (see chap.
CC-Link Gateways Data transmission modes of the CC-Link Gateways Standard mode The Standard Mode has the following features: • the gateway occupies 3 stations and has a double cycle setting. • The last 2 words are reserved for "Message Transmission". •...
Page 12
CC-Link Gateways Data transmission modes of the CC-Link Gateways Host to Remote Address 15 14 13 12 11 10 9 PM CM AAE OFL RYm+1 reserved … RYm+9 Tab. 6-4. Flags in RYm Short Cut Name Offline Auto Address Enable Enter Configuration Mode on rising edge Enter Protected Mode on rising edge 4 …...
CC-Link Gateways Data transmission modes of the CC-Link Gateways 6.1.2 Buffer memory area Buffer memory for master without integr. safety monitor Address 1 Master read write 0 … 7 AS-i 1, input A + single slaves AS-i 1, output A + single slaves 8 …...
Page 14
CC-Link Gateways Data transmission modes of the CC-Link Gateways Bits in flags Name 0: No Config Error 0: AS-i Power OK 0: Normal Operation active 0: Protected Mode active Tab. 6-8. Buffer memory (write) for master with integr. safety monitor Address Bit 15 …...
CC-Link Gateways Data transmission modes of the CC-Link Gateways Bits in flags Name 0: No Config Error 0: AS-i Power OK 0. Normal Operation active 0: Protected Mode active Tab. 6-10. 6.1.3 Safety Status Bits in Safety Status OSSD Color 0: green 1: flashing green one or more...
CC-Link Gateways Data transmission modes of the CC-Link Gateways Information! More detailed information can be found in the manual "ASIMON configuration soft- ware", sections: "Monitoring devices -> Fieldbus bit" and "Output assignment".. 6.1.5 Message Transmission "Message Transmission" provides only command interface commands (see se- parate manual "AS-i 3.0 Command Interface").
CC-Link Gateways Data transmission modes of the CC-Link Gateways Compatibility mode for VBG-CCL-G4F The Compatibility Mode for VBG-CCL-G4F has the following features: • 3 stations are occupied using a single cycle setting. • All functions of VBG-CCL-G4F are implemented. • The AS-i process data or the command interface is mapped into the buffer memory area (BFM) (as done in the VBG-CCL-G4F).
CC-Link Gateways Data transmission modes of the CC-Link Gateways Flags in RYm Short Cut Name Offline Auto Address Enable Enter Configuration Mode on rising edge Enter Protected Mode on rising edge 0: BFM used for IO data only 1: BFM used for command interface 0: Enable use of BFM 6 …...
Page 19
CC-Link Gateways Data transmission modes of the CC-Link Gateways Buffer memory (read) when using ’command interface mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 command interface: command interface: RWrm0 circuit command command interface: command interface:...
Page 20
CC-Link Gateways Data transmission modes of the CC-Link Gateways Buffer memory (write) when using ’IO data only mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 AS-i 1: AS-i 1: AS-i 1: RWwm0 flags Outp.
Page 21
CC-Link Gateways Data transmission modes of the CC-Link Gateways Buffer memory (write) when using ’command interface mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 command interface: command interface: RWwm0 circuit command command interface: command interface:...
CC-Link Gateways Data transmission modes of the CC-Link Gateways CC-Link V1 Mode CC-Link V1 Mode is an enxanced version of the compatibility mode for VBG- CCL-G4F. Features: • 4 stations are occupied using a single cycle setting. • The AS-i process data or the mailbox is mapped into the buffer memory area (BFM) (as done in the VBG-CCL-G4F).
CC-Link Gateways Data transmission modes of the CC-Link Gateways 6.3.2 Buffer Memory Area Buffer memory (read) when using ’IO data only mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWrm0 AS-i 1: Inp.
Page 24
CC-Link Gateways Data transmission modes of the CC-Link Gateways ’ Buffer memory (read) when using ’command interface mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 command interface: command interface: RWrm0 circuit command command interface:...
Page 25
CC-Link Gateways Data transmission modes of the CC-Link Gateways Buffer memory (write) when using ’IO data only mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 AS-i 1: AS-i 1: AS-i 1: RWwm0 flags Outp.
Page 26
CC-Link Gateways Data transmission modes of the CC-Link Gateways Buffer memory (write) when using ’command interface mode’ Address Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 … 0 RWwm0 command interface: circuit command interface: command RWwm1 command interface: request byte 2 command interface: request byte 1...
CC-Link Gateways Data transmission modes of the CC-Link Gateways Compatibility Mode for FX2N-32ASI-M The Compatibility Mode for FX2N-32ASI-M is used to facilitate the migration of applications using the obsolete Mitsubishi FX2N-32ASI-M-Module (AS-i Master 2.04) for FX2N SPS. Features: • 4 stations are occupied using a single cycle setting (CC-Link V1). •...
Page 28
CC-Link Gateways Data transmission modes of the CC-Link Gateways Bits in Flags Name 0: No Config Error 0: AS-i Power OK 0. Normal Operation active 0: Protected Mode active Tab. 6-33. EC-Flags Short Cut Name Cfg. Err Configuration Error Slave Address 0 detected Aaasn Auto Address Assign Aaavail...
Page 29
CC-Link Gateways Data transmission modes of the CC-Link Gateways Buffer memory (write) 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 flags RWwm1 AS-i 1: Outp.
CC-Link Gateways Data transmission modes of the CC-Link Gateways Compatibility Mode for HK-ASICC The Compatibility Mode for HK-ASICC uses compatible EA data for easy trans- fer of existing HK-ASICC applications. Features: • 2 stations are occupied using a single cycle setting (CC-Link V1). •...
CC-Link Gateways Accessing command interface Accessing command interface Using BFM This example describes one method of accessing a 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 (RY4 = 0) Disable BFM (set RY5 = 1)
Page 32
CC-Link Gateways Accessing command interface Wait for response data in RWr area (indicated by response toggle bit and mirrored command) Read command interface result and res- ponse from RWr area Disable BFM (set RY5 = 1) Wait for BFM disable acknowledge (RX5 = 1) Switch to I/O data mode (set RY4 = 0)
Page 33
CC-Link Gateways Accessing command interface Example: For example, when the first command used is reading the list of detected slaves (command 0x46), write the following to the RWw area: Adresse Bit 15 … 12 Bit 11 … 8 Bit 7 … 4 Bit 3 …...
CC-Link Gateways Accessing command interface Using "Message Transmission" "Message Transmission" is a method to map acyclic requests in the cyclical CC- Link Process data. All data transfers are initiated by the CC-Link Master module. Information if telegram transmission is supported or not by the master, see the documentation of your CC-Link Master.
Page 35
CC-Link Gateways Accessing command interface Example: For example, when reading the list of detected slaves (command 0x46) and the register D1 of the Mitsubishi QCPU is assigned as a parameter to G(P).RDMSG as start number of the device that stores the data to be sent. The following data must be stored in D1: Address Bit 15..12...
CC-Link Gateways Diagnostics Diagnostics System diagnostics on the PC 8.1.1 Software for diagnostics, service and release measurements The intuitively constructed software for diagnostics, service and release measure- ments enables PC-assisted measurement using the high-level measuring techno- logy built into the masters. This specially developed software assists both machine and systems builders in release measurements and preventive troubleshooting as well as end users in preventive maintenance and fast, self-performed error elimination.
CC-Link Gateways Diagnostics Diagnostics on the host controller All the diagnostics information is also provided on the host controller. 8.2.1 Diagnostics through process data Diagnostics through the process data provides a very simple means of incorpora- ting diagnostics information into the controller program and displaying it on a con- trol panel.
CC-Link Gateways Diagnostics Safety diagnostics in the Input Data Image (IDI) Paragraph A: Safety diagnostics of safe AS-i inputs Diagnostics in the IDI is a way of sending the key diagnostics functions to the controller without a command interface (Mailbox) or any additional effort. The dia- gnostics information is sent in the input data image, coded for the input bits of the address of the safety input slave.
CC-Link Gateways Diagnostics Safety diagnostics of safe AS-i outputs The diagnostic informations are transfered via the Input Data Image, coded to the input bits of the diagnostic address (diagnostic slave) of an AS-i safety slave. The diagnostics information for the safety output is encoded to the input data of the diagnostics slave of the respective safety output.
CC-Link Gateways Diagnostics Important! The following points must be noted for processing: • The information for switching state and error status are not processed time- synchronous. • When there is a configuration error all bits having value 0 are sent; this must be noted when processing the data.
CC-Link Gateways Diagnostics 8.2.5.2 Earth fault monitor The earth fault monitor checks the symmetry of the AS-i voltage. If the voltage is no longer sufficiently symmetrical, the noise immunity of data transmission is compromised. 8.2.5.3 Noise voltage detection Noise voltages on the AS-i cable can cause telegram errors. The noise voltage detector monitors the AS-i circuit for AC voltages which have been generated by neither the AS-i Master nor the slaves.