You have chosen a device manufactured by Pepperl+Fuchs. Pepperl+Fuchs develops, 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 manual containes instructions and notes to help you through the installation
and commissioning step by step. This makes sure bring such a trouble-free use of
this product. This is for your benefit, since this:
•ensures the safe operation of the device
•helps you to exploit the full functionality of the device
•avoids errors and related malfunctions
•avoids costs by disruptions and any repairs
•increases the effectiveness and efficiency of your plant
Keep this manual at hand for subsequent operations on the device.
After opening the packaging please check the integrity of the device and the number of pieces of supplied.
Symbols used
The following symbols are used in this manual:
Information!
This symbol indicates important information.
Attention!
This symbol warns of a potential failure. Non-compliance may lead to interruptions of
the device, the connected peripheral systems, or plant, potentially leading to total malfunctioning.
Warning!
This symbol warns of an imminent danger. Non-compliance may lead to personal injuries that could be fatal or result in material damages and destruction.
Contact
If you have any questions about the device, its functions, or accessories, please
contact us at:
Pepperl+Fuchs GmbH
Lilienthalstraße 200
68307 Mannheim
Telephone: +49 621 776-4411
Fax: +49 621 776-274411
E-Mail: fa-info@pepperl-fuchs.com
14.4.2015
6
Page 7
AS-i CC-Link Gateway
Declaration of conformity
2.Declaration of conformity
2.1Declaration of conformity
This product was developed and manufactured under observance of the applicable 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.
14.4.2015
7
Page 8
AS-i CC-Link Gateway
Safety
3.Safety
3.1Symbols relevant to safety
Information!
This symbol indicates important information.
Attention!
This symbol warns of a potential failure. Non-compliance may lead to interruptions of
the device, the connected peripheral systems, or plant, potentially leading to total malfunctioning.
Warning!
This symbol warns of an imminent danger. Non-compliance may lead to personal injuries that could be fatal or result in material damages and destruction.
3.2General notes on safety
Only instructed specialist staff may operate the device in accordance with the operating manual.
User modification and or repair are dangerous and will void the warranty and exclude the manufacturer from any liability. If serious faults occur, stop using the device. Secure the device against inadvertent operation. In the event of repairs, return the device to your local Pepperl+Fuchs representative or sales office.
The connection of the device and maintenance work when live may only be carried out by a qualified electrical specialist.
The operating company bears responsibility for observing locally applicable safety regulations.
Store the not used device in the original packaging. This offers the device optimal
protection against impact and moisture.
Ensure that the ambient conditions comply with regulations.
3.3Disposal
Information!
Electronic waste is hazardous waste. Please comply with all local ordinances when
disposing this product!
The device does not contain batteries that need to be removed before disposing it.
8
14.4.2015
Page 9
AS-i CC-Link Gateway
General
4.General
4.1Product information
This system manual applies to the following Pepperl+Fuchs equipment:
4.1.1AS-i CC-Link Gateway
Article no.
VBG-CCL-K20-D-BV
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.
4.2AS-i 3.0 specification
The AS-i CC-Link Gateway is designed according to the AS-i 3.0 specification.
field bus interface
number of AS-i Masters
RS 232 diagnostic interface
Recognition of duplicate addresses
CC-Link
Tab. 4-1. Function range of "AS-i CC-Link Gateway"
14.4.2015
9
Page 10
AS-i CC-Link Gateway
Connection
ConnectionsAS-i: COMBICON
CC-Link: screw terminal blocks
Interface
CC-Link interfaceaccording to CC-Link specification
Baud rates156 KBps up to 10 MBps
Typeremote device
Occupied stations2-4 (depending on operating mode)
CC-Link functionsimaging of the AS-i slaves as RW data on CC-Link.
complete diagnosis and configuration via CC-Link
AS-i
Cycle time150ȝs * (number of slaves + 2)
Operating currentpower supply A, approx. 200 mA out of AS-i
Operating voltageAS-i voltage 30V DC
Display
LCDmenu, displaying AS-i slave addresses and error messages
LED powervoltage ON
LED cc-linkstate of CC-Link
LED config errorconfiguration error
LED U AS-iAS-i voltage o.k.
LED AS-i activeAS-i in normal operation
LED prg enableautomatic address programming enabled
LED prj modeconfiguration mode active
Environment
Applied standardsEN 61 000-6-2
EN 61 000-6-4
HousingStainless Steel
Operating temperature0°C … +55°C
Storage temperature-25°C … +85°C
Protection category (EN 60 529)IP20
Allowable shock -and vibration stressaccording to EN 61 131-2
Voltage of insulation≥ 500V
Dimensions (L / W / H in mm)85 / 120 / 83
Weight520 g
Pin assignment:
DAblue
DGyellow
SLDn/a
DBwhite
F Gn/a
Signal Color
1
2
3
4
5
Specifications
5.Specifications
5.1Technical 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.1Data sheet
10
14.4.2015
Page 11
AS-i CC-Link Gateway
Installation
6.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!
6.1Safety notes
Ensure appropiate installation:
Electrical installation is to be performed by trained expert personnel. During installation care must be
taken that supply and signal leads and also the AS-i bus cable are laid separately from power cables. In
the switchgear cabinet it must be ensured that appropriate spark-quenching equipment is used with contactors. Where drive motors and brakes are used, attention must be paid to the installation instructions in
the corresponding operating instructions. Please note that the maximum line length of the AS-i bus cable
is 100 m. Cables above that length require the use of a suitable circuit extension.
HAZARDOUS VOLTAGE:
Before any installation, maintenance or modification work: Disconnect your system from the supply network. Ensure that it cannot be reconnected inadvertently!
You are requested to make sure that the unit will be recycled by the end of its service life.
14.4.2015
11
Page 12
AS-i CC-Link Gateway
+-+
-
+
-
[1]
[2]
+-+
-
+
-
Installation
6.2Installing 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.
Warning!
Cover the top of the gateway when doing any drilling work above the unit. No particles,
especially metal chips, should be allowed to enter the housing, since this could cause a
short circuit.
To install, place the unit on the upper edge of the DIN rail and then snap in the
lower edge.
6.3Removing
To remove, press the holding clamps [2] down using a screwdriver [1], press the
unit firmly against the upper rail guide and lift out.
12
3
1
2
14.4.2015
Page 13
AS-i CC-Link Gateway
55
85
120
7
76
Installation
6.4Dimensions [mm]
14.4.2015
13
Page 14
AS-i CC-Link Gateway
Yellow ASi ribbon cable
Blue
AS-i-
Brown
AS-i+
2-conductor AS-i round cable
(Recommended: flexible power cable
H05VV-F2x1,5 per DIN VDE 0281)
Blue
AS-i-
Brown
AS-i+
10
10
AWG24 ... 12
0,2 ... 2,5 mm
2
0,2 ... 2,5 mm
2
Electrical connection
7.Electrical connection
7.1AS-i bus connection
Information!
Electrical work is to be performed only by electrical technicians.
7.2Connections
14
Ambient air temperature
Temperature rating for cable
Use copper conductors only
0°C +55 °C
60/75oC
14.4.2015
Page 15
AS-i CC-Link Gateway
Electrical connection
7.2.1AS-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.
Even in case of a fault, the output voltage of the power supply shall be 42 V or less.
Information!
The function ground can be connected either to the grounding screw or to the terminal.
The function ground should be made with as short a cable as possible to ensure good
EMC characteristics.
Therefore function grounding using the grounding screw is preferred.
14.4.2015
15
Page 16
AS-i CC-Link Gateway
+-+
-
+
-
+ASI- +ASI-
n.c. n.c.
ASI
+PWR
-
ASI
ASI +PWR– (max. 8 A)
+ASI1–
+ASI1–
[2]
[3]
[4]
[5]
[1]
[6]
Electrical connection
7.3Front view and connections
7.3.1Electrical connection: VBG-CCL-K20-D-BV
+ASI–
Connection AS-i circuit
ASI +PWR– (max. 8 A)
Supply voltage AS-i circuit
[1] Chip card
[2] LED status display
[3] Fieldbus interface
[4] LC display
[5] Buttons for hand operation
[6] Power supply
16
Information!
For additional information, please refer to the sections: <AS-i and power supply terminal assignments>.
14.4.2015
Page 17
AS-i CC-Link Gateway
1
2
3
4
5
Signal color
DA blau/ blue/ bleu/ blu/ azul
DB weiss/ white/ blanc/ bianco/ blanco
DG gelb/ yellow/ jaune/ giallo/ amarillo
SLD n/a
FG n/a
Electrical connection
7.4CC-Link interface
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 terminals, indicators and operating elements>).
Information!
For better noise performance, SLD (cable shield) should be grounded separately in
10 cm distance to the COMBICON connector.
7.5Chip card
The configuration is stored in a fixed installed EEPROM and can be overwritten
by the chip card. The chip card does not have to be inserted in operation.
Warning!
Power must always be turned off when removing or inserting the chip card!
14.4.2015
17
Page 18
AS-i CC-Link Gateway
CC-Link
Electrical connection
7.6Indicators and operating elements
7.6.1LED 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>.
config error
Configuration error.
At least one configured slave is missing, or at least one detected slave is not configured, or for at least one configured and detected slave the actual configuration data
does not match the nominal configuration data, or the master is in the startup process.
This LED flashes if a peripheral fault has been detected for at least one AS-i slave
on the AS-i network. If there are configuration errors as well as periphery faults, only
the configuration error is displayed.
U AS-i
The AS-i network is sufficiently powered.
AS-i active
Normal operation is active
prg enable
Automatic single node replacement is enabled.
Exactly one slave is missing in the protected operating mode. The slave can be
replaced by another slave of the same type with address zero. The master automatically addresses the new slave to the faulty address and thus corrects the configuration error
prj mode
The AS-i master is in configuration mode.
18
14.4.2015
Page 19
AS-i CC-Link Gateway
Electrical connection
7.6.1.1CC-Link status LED (green/red) flashing sample
C-Control mode (C-Control active)
CC-Link LEDCC-Link ErrorCC-Link Run
flashing greenoffoff
flashing green/redon or flashingoff
greenoffon
flashing green/redon or flashingon
Standard mode (C-Control inactive)
CC-Link LEDCC-Link ErrorCC-Link Run
offoffoff
redon or flashingoff
greenoffon
redon or flashingon
7.6.2Buttons
The buttons are used for the following:
Tab. 7-2.
Tab. 7-3.
Mode/
Switching between configuration mode and protected operating mode, and saving
the current AS-i configuration as the nominal configuration.
Set
Selecting the address of and assigning an address to a slave.
OK, ESC
Changing to the advanced display mode.
For additional information see section <Operation in advanced display mode>.
14.4.2015
19
Page 20
AS-i CC-Link Gateway
Menu structure see additional page
Classical display
LCD
.12A
UNKNOWN SLAVE
LCD
CC LINK
QUICK SETUP
SETUP
SLAVE ADR TOOL
Advanced display mode
LCD
CC LINK ADDRESS
CC LINK STATUS
MODE
CC BAUD RATE
INFO
CC LINK ADDRESS
OLD ADDRESS 1
NEW ADDRESS 01
CC LINK ADDRESS
OLD ADDRESS 1
NEW ADDRESS 01
CC LINK
QUICK SETUP
DIAGNOSIS
1x
1x
1x
2x
Commissioning
8.Commissioning
8.1Commissioning via the device
8.1.1Switching to advanced display mode
8.1.2Setting the CC-Link address 14
20
14.4.2015
Page 21
AS-i CC-Link Gateway
The device is set to address 1 at the factory.
CC LINK ADDRESS
OLD ADDRESS 1
NEW ADDRESS 10
CC LINK ADDRESS
OLD ADDRESS 1
NEW ADDRESS 14
CC LINK
QUICK SETUP
DIAGNOSIS
New address/baud rate will be used after rebooting the Gateway
2x
1x1x
4x
1x
2x
2x
Slave 1
AS-i
Slave 5
AS-i
LCD
0.5s
0.5s
Slave 1
AS-i
Slave 5
AS-i
AS-i
prj mode
config error
prg enable
AS-i active
U AS-i
CC-Link
power
AS-i
prj mode
config error
prg enable
AS-i active
U AS-i
CC-Link
power
. 5
. 1
AS-i Master
AS-i Master
LCD
. 41
SEARCHING SLAVES
Commissioning
8.1.3Connecting AS-i Slaves
14.4.2015
21
Page 22
AS-i CC-Link Gateway
config error
CONFIGURATION OK
...
QUICK SETUP
SETUP
SLAVE ADR TOOL
WARNING:
OUTPUTS MAY BE
RESET
STORE AS-I
CONFIGURATION
STORE + RUN
STORE AS-I
CONFIGURATION
OK
LCD
. 5
STORE + PRJ MODE
STORE +PRJ MODE
config error
Host Error
No connection
10 sec
5sec5sec
CONFIGURATION OK
config error
Commissioning
8.1.4Quick 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 configuration and moves the gateway to the protected operating mode.
[STORE+PRJ MODE]
Saves the current configuration of the connected AS-i slaves as a target configuration and moves the gateway to the configuration mode.
22
Hotkey
[STORE+RUN]
14.4.2015
Page 23
AS-i CC-Link Gateway
Slave 1
AS-i
Slave 5
AS-i
Slave 24
AS-i
.1
AS-i
prj mode
Config error
prg enable
AS-i active
U AS-i
CC-Link
Power
.24
MISSING SLAVE
MISSING SLAVE
2s
2s
LCD
LCD
AS-i Master
Slave 1
AS-i
Slave 5
AS-i
Slave 24
AS-i
AS-i
24
Slave 1
AS-i
Slave 5
AS-i
Slave 24
AS-i
AS-i
prj mode
Config error
prg enable
AS-i active
U AS-i
CC LINK
Power
prj mode
Config error
prg enable
AS-i active
U AS-i
CC LINK
Power
AS-i Master
AS-i Master
CC LINK error
No connection
LCD
Commissioning
8.2Error tracing
8.2.1Faulty slaves
8.2.2Error display (last error)
14.4.2015
23
Page 24
AS-i CC-Link Gateway
LCD
1. 41
SEARCHING SLAVE
SETUP
SLAVE ADR TOOL
AS-I CIRCUIT 1
AS-I CIRCUIT 2
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 0
PRG
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
1. 6
UNKNOWN SLAVE
SLAVE ADR TOOL
OK
PRG
SLAVE ADR TOOL
OLD ADDRESS 2
NEW ADDRESS 6
PRG
MasterSlave
Connect module
4x
1x
1x
1x
1x
6x
2x
1x
QUICK SETUP
SLAVE ADR TOOL
CONNECT NEW SLAVE
OLD ADDRESS
NEW ADDRESS
1x
1x
1x
Disconnect field bus!
Commissioning
8.2.3Addressing
8.2.3.1Assigning address 6 to slave currently at address 2
24
14.4.2015
Page 25
AS-i CC-Link Gateway
Commissioning
8.2.4Local parameter setting of Gateways
Konfiguration auf Karte +
Gerät ungleich
(Werkskonfigration
geändert) // Confiugration on
chip card + device not
identical (factory settings
changed) // Configuration sur
carte à puce + dispositif pas
identiques (configuration
d'usine modifié) //
Configurazione sulla scheda
chip + sul dispositivo non
identici (configurazione di
fabbrica modificate) //
Configuración en el tarjeta
chip + dispositivo no idénticos
(configuración de fabrica
modificado)
Konfiguration auf Karte +
Gerät gleich // Configuration
on chip card + device
identical // Configuration sur
carte à puce + dispositif
identiques // Configurazione
sulla scheda chip + sul
dispositivo identici //
Configuración en el tarjeta
Karte leer + formatiert //
Chip card empty + formatted //
Carte à puce vide +
CHIPCARD FOUND
formatée // Scheda chip vuota
+ formattata // Tarjeta chip
vacía + formateada
chip + dispositivo idénticos
Keine Meldung // No
message // Aucun
message // Nessun
DATA WILL
BE SYNCHRONIZED
Keine Aktion erforderlich //
messaggio // Ningún
mensaje
Daten werden vom Gerät auf
Karte übertragen // Data
transferred from device to
chip card // Données
transférées du dispositif à la
CHIPCARD AND DATA
DIFFERENT
CARD->MASTER
MASTER->CARD
Daten kopieren
No action required //
Aucune action requise //
Nessuna azione richiesta //
Ninguna acción requrida
Keine Aktion erforderlich //
carte à puce // Dati trasferiti
dal dispositivo al chip card //
Datos transferidos desde
No action required //
dispositivo de chip card
Karte -> Master oder
Master -> Karte //
Copy data
Card -> Master or
Master -> Card //
Copiez données
Aucune action requise //
Nessuna azione richiesta //
Ninguna acción requrida
Carte -> Maître ou
Maître -> Carte //
Copiare dati
Chipcard -> Master o
Master -> Chipcard //
Copiar datos
TarjetaChip -> Maestro o
Maestro -> TarjetaChip
DATA F ROM
Konfiguration kompatibel
(Werkskonfiguration) //
Configuration compatible
(factory settings) //
Configuration compatible
(configuration d'usine) //
Configurazione compatibile
(configurazione di fabbrica) //
Konfiguration auf Karte nicht
kompatibel mit Gerät //
Configuration on chip card not
compatible with device //
Configuration sur carte à puce
non compatible avec
dispositif // Configurazione
sulla scheda chip non
NEW CHIPCARD
chip non formattata // Tarjeta
chip no formateada
WILL BE FORMATTED
Karte nicht formatiert // Chip
card not formatted // Carte à
puce pas formatée // Scheda
14.4.2015
CHIPCARD TAKEN
Configuración compatible
(configuración de fábrica)
compatibile con il dispositivo //
DATA WILL BE
CHIPCARD NOT
Configuración en la tarjeta
chip no compatible con el
dispositivo
SYNCHRONIZED
Karte wird formatiert // Chip
Daten von Karte auf Gerät
übertragen // Data transferred
from chip card to device //
Données transférées de la
carte à puce au dispositif //
COMPATIBLE
card will be formatted // Carte
à puce sera formatée //
Karte löschen // Clear the
Scheda chip verrà
formattata // Tarjeta chip se
formateará
Keine Aktion erforderlich //
card // Supprimer carte //
Cancellare scheda chip //
No action required //
Dati trasferiti dal chip card al
dispositivo // Datos
transferidos desde chip card
de dispositivo
Keine Aktion erforderlich //
No action required //
Borrar tarjeta chip
Aucune action requise //
Nessuna azione richiesta //
Ninguna acción requrida
Aucune action requise //
Nessuna azione richiesta //
Ninguna acción requrida
25
Page 26
AS-i CC-Link Gateway
[1]
[2]
old
new
[3]
Commissioning
8.2.5Replacing the chip card
Caution!
Always turn off power before inserting or removing the card!
Power
Supply
8.2.6Using the chip card
The chip card integrated in the AS-i master is used to read-out and to store configuration data.
26
Power
Supply
14.4.2015
Page 27
AS-i CC-Link Gateway
Commissioning
8.2.6.1Card unformatted
If an unformatted card is found when the device is started, the following is displayed:
The chip card is formatted and then the data copied to the chip card.
8.2.6.2Data not compatible
If a card is found whose data are incompatible with the device, the following error
message is displayed:
8.2.6.3Card empty
The following message is displayed for an empty card:
NEW CHIPCARD
WILL BE FORMATED
AS-I DATA WILL
BE SYNCHRONIZED
CHIPCARD NOT
COMPATIBLE
CHIPCARD FOUND
AS-I DATA WILL
BE SYNCHRONIZED
From this time on all changes are made both in the device and on the chip card.
14.4.2015
27
Page 28
AS-i CC-Link Gateway
Commissioning
8.2.6.4Data 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 displayed:
AS-I DATA FROM
CHIPCARD TAKEN
The card configuration is written to the device. From this time on all changes are
made both in the device and on the chip card.
8.2.6.5Data in the device and on the chip card identical
If the card and device are not empty at start and the data are identical, no message is displayed.
8.2.6.6Data in the device and on the chip card not identical
If the card and device are not empty at start and the data are not identical, an error message is displayed and the card is not synchronized with the device. The
following menu is then automatically opened:
28
CHIPCARD AND
AS-I DATA
DIFFERENT
CARD->MASTER
MASTER->CARD
CONTINUE
Description
CHIP CARD>MASTER: Chip card data are copied to the master
MASTER->CHIPCARD: Master data are copied to the chip card
NEXT: No change to the data
The menu can be exited by pressing the ESC/Service key without changing the
data.
14.4.2015
Page 29
AS-i CC-Link Gateway
Operation in display mode
9.Operation in display mode
Information!
You will find a description of the display menu in the separate document
play_Menue".
"Dis-
14.4.2015
29
Page 30
AS-i CC-Link Gateway
Data transmission modes
10.Data transmission modes
10.1Selecting 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
CC LINK STATUS
MODE
CC BAUD RATE
INFO
STANDARD
VBG-CCL-G4F COMP
CC-Link V1
FX2N-32ASI-M CP
HK-ASICC COMP
30
Following modes are supported:
•Standard
•Compatibility modes for:
•VBG-CCL-G4F COMP
•CC-Link V1
•FX2N-32ASI-M CP
•HK-ASICC COMP
14.4.2015
Page 31
AS-i CC-Link Gateway
Data transmission modes
10.2Summary of modes
Standard VBG-
CCL-G4F
Occupied Stations33442
Cycle Setting21111
Required CC-Link Master V2V1V1V1V1
Support of 2 AS-i CircuitsNoNoNoNoNo
Support of B-SlavesYes(Yes)YesNoNo
Support of AS-i SafetyNoNoNoNoNo
Support of Analog SlavesYesYesYesNoNo
Support of AS-i Configuration
via CC-Link
YesYesYesNoNo
CCLink V1
FX2N32ASI-M
Tab. 10-4. Summary of modes
HKASICC
14.4.2015
31
Page 32
AS-i CC-Link Gateway
Data transmission modes
10.3Standard 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).
•All acyclic requests are handled by "Message Transmission" using cyclic
data.
By "Message Transmission", all command interface commands are available (see
the separate manual „AS-i 3.0 Command interface“). No commands other than
Mailbox commands are supported.
Information!
For details on the Message Transmission protocol, please refer to the CC-Link specification. For more information or PLC program examples, how to use Message Transmission, please refer to the documentation of your CC-Link master in use.
Tab. 10-13. Bits in Flags
36
14.4.2015
Page 37
AS-i CC-Link Gateway
Data transmission modes
10.4Compatibility 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.
"Message Transmission" is not supported, since VBG-CCL-G4F does not use it.
Tab. 10-31. Buffer Memory (Write) when using Mailbox Mod e
14.4.2015
45
Page 46
AS-i CC-Link Gateway
Data transmission modes
10.6Compatibility Mode for FX2N-32ASI-M
To ease the migration of applications using the obsolete Mitsubishi FX2N-32ASIM Module (AS-i Master 2.04) for FX2N PLCs, a compatibility mode is implemented.
In this mode, 4 stations are occupied using a single cycle setting (CC-Link V1).
No "Message Transmission" is supported.
Not all functions of FX2N-32ASI-M are implemented:
•No Command Buffer
•No List of Slaves with Configuration Differences
•No Module Error Status, no Module Identifier (Specific to FX2N Series)
The advanced AS-i diagnostics is intended to localize occasionally occurring configuration errors and to determine the quality of data transmission on AS-i without
using additional diagnostics tools.
AS-i Control Tools, a MS-Windows software designed to simplify AS-i installation
and used to program AS-i Control, enables operation of the advanced diagnostics
functions (LCS, error counters, and LOS).
11.1List of corrupted AS-i Slaves (LCS)
The LCS contains the information from the list of slaves with configuration error
(Delta list). In addition to the list of configured slaves (LPS), the list of detected
slaves (LDS), and the list of activated slaves (LAS), the AS-i master creates a
fourth list, the list of corrupted slaves (LCS) containing advanced diagnostics
data used to diagnose the causes for intermittently occurring configuration errors
on AS-i. This list contains entries for all AS-i slaves that were responsible for at
least one intermittent configuration error since the list was last read or since the
AS-i master was turned on. Furthermore, intermittent AS-i power failures are listed in the LCS at the position of AS-i slave with address ’0’.
Information!
Whenever the LCS is read it is deleted from memory.
Information!
The last intermittent configuration error can also be displayed on the AS-i master:
Pressing the "Set" button on the AS-i master initiates the display of the AS-i slave
responsible for the last intermittent configuration error. If a intermittent AS-i power failure occurred, the display shows 39 after pressing the "Set" button.
This function is only available if the device is in normal operating mode of the protected
mode (display empty) or in the off-line phase (Display: "40").
11.2Protocol analysis: Counters for corrupted data telegrams
The AS-i master with advanced diagnostics provides a counter for telegram repetitions for each AS-i slave. The counter counts up every time a corrupted data telegram has been found, making it possible to determine the quality of the transmission if only a few telegrams are corrupt and the AS-i slave never caused a
configuration error.
Information!
The counter values are read via the host interface and will be deleted after they were
read.
Displaying the protocol analysis is possible through the AS-i Control Tools software by using the command "Master | AS-i Diagnostics".
14.4.2015
51
Page 52
AS-i CC-Link Gateway
Advanced Diagnostics for AS-i Masters
11.3Clear 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.
11.4Offline Phase for Configuration Errors
The AS-i masters with advanced diagnostics offer the possibility to set themselves into the offline phase when a configuration error occurs and thus are able
to transition the AS-i network into a safe operational state. This ensures a quick
reaction to a configuration error and the host can be relieved from this task. If any
problems occur on the AS-i network, the AS-i masters can independently switch
the AS-interface into a safe state.
There are two different ways to parameterize the AS-i master for this feature:
•Any configuration error occurring on AS-i switches the master from regular
operation in protected mode into the offline phase.
•o . A list with the addresses of slaves that can potential initiate the off-line
phase is defined (list of offline slaves LOS).
The user can decide how the system should react to a configuration error on
AS-i. Thus, the AS-i master can be set to the offline phase for critical AS-i slaves,
whereas for less critical slaves only the error message is sent to the host, but ASi is still running.
Like the advanced diagnostics, the parameterization "offline phase on configuration error" is also supported by "AS-i-Control-Tools"
(Command | Characteristics | Offline because of configuration error).
There are two options to reset the error message "OFFLINE BY LOS:
1.Deleting the complete LOS list on the affected AS-i network ("CLEAR ALL").
2.Power reset on the affected AS-i network.
11.5Functions of the AS-i Fault Detector
11.5.1Earth/Ground Fault Detector
An Earth/Ground Fault exists when the voltage
U
GND
=0,5 U
10% U
.) is outside of the following range:
AS-i
U
GND
90%U
AS-i
This error substantially limits the noise immunity of the AS-i communication.
Ground faults are indicated on the master´s display as well as in AS-i Control
Tools.
Information!
To recognize ground faults the master must be grounded with its machine ground connection.
52
AS-i
U
(Nominal value of
GND
14.4.2015
Page 53
AS-i CC-Link Gateway
Advanced Diagnostics for AS-i Masters
11.5.2Noise 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 disturbances.
A frequent cause are insufficiently shielded frequency inverters or improperly
routed cables.
Noises is indicated on the master´s display as well as in AS-i Control Tools.
11.5.3Over-voltage Detector
Over-voltages are present if the conductors of an AS-i network that normally are
routed electrically symmetrical with respect to machine ground, are strongly electrically raised. A cause can for example be startup procedures of large consumers.
However, over-voltages do generally not interfere with the AS-i communication,
but can under certain circumstances cause incorrect sensor signals.
Over-voltages are indicated on the master´s display as well as in the AS-i Control
Tools.
14.4.2015
53
Page 54
AS-i CC-Link Gateway
Advanced Diagnostics for AS-i Masters
11.6Substitute values
SAFE SUBST VAL (Substitute values for input data from safe slaves)
…
1.12A
Quick Setup
Diagnosis
Slave Adr Tool
…
Safety Slaves
Safe Subst Val
Ext Monitor
…
Safe Subst Val
Substitute
Change
54
No Substitute
This function enables activation/deactivation of the code substitute function for
safe slaves.
The status can be changed by selecting Change.
SUBSTITUTE (values)
The safety code sequences are replaced by the following values:
Both channels are in the safe state: 0000bin
Channel 1 is in the safe state: 0011bin
Channel 2 is in the safe state: 1100bin
No channel is in the safe state: 1111bin
NO SUBSTITUTE
The safety code sequences are transmitted via the input data.
14.4.2015
Page 55
AS-i CC-Link Gateway
BFM used for I/O data
(RY4 = 0)
Disable BFM
(set RY5 = 1)
Wait for BFM disable
acknowledge (RX5 = 1)
Switch to mailbox mode
(set RY4 = 1)
Wait for mailbox mode
acknowledge (RX4 = 1)
Write command interface request data
(including command and changed
toggle bit) to RWw area
1
Enable BFM
(set RY5 = 0)
Wait for BFM enable
acknowledge (RX5 = 0)
Accessing command interface
12.Accessing command interface
12.1Using 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):
14.4.2015
55
Page 56
AS-i CC-Link Gateway
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
acknowledge (RX5 = 1)
Switch to I/O data mode
(set RY4 = 0)
Wait for I/O data mode
acknowledge (RX4 = 0)
Write new output data to RWw area
Enable BFM
(set RY5 = 0)
Wait for BFM enable
acknowledge (RX5 = 0)
Accessing command interface
56
14.4.2015
Page 57
AS-i CC-Link Gateway
Accessing command interface
1.)
For example, when the first command used is reading the list of detected
slaves (command 0x46), write the following to the RWw area:
AddressBit 15 … 12Bit 11 … 8Bit 7 … 4Bit 3 … 0
RWwm00x80
The rest of the RWw area is unused for this command since there are no further
request bytes necessary.
If there is no error during command execution and there are slaves 1A, 2A and 3A
detected, the response data in the RWr area will be:
AddressBit 15..12Bit 11..8Bit 7..4Bit 3..0
RWrm00x80
RWrm10x00
RWrm20x00
RWrm30x00
RWrm40x00
The rest of the RWr area is unused for this command since the response data
does not need all of the RWr area.
For a list of all command interface commands and the request/response data
structures, please refer to the separate manual "AS-i 3.0 Command interface".
When using standard mode, the command interface commands can be accessed
by using message transmission.
12.2Using message transmission
Message transmission is a method to map acyclic requests into the cyclic
CC-Link process data. All data transfers are initiated by the CC-Link master module. To find out whether message transmission is supported or not by the master,
please refer to the documentation of the CC-Link master in use.
For example, the Mitsubishi CC-Link master module QJ61BT11N for the Mitsubishi Q-series supports the dedicated instruction G(P).RDMSG to perform message
transmission. A detailed description of this instruction can be found in the user's
manual of the QJ61BT11N.
This instruction needs various parameters such as the CC-Link station number of
the target remote device and a buffer to hold the response data. These are described in the QJ61BT11N user's manual.
(command interface: togg le bit and circuit)
(command interface: mirrored toggle bit and
(command interface: response byte 2)
(command interface: response byte 4)
(command interface: response byte 6)
(command interface: response byte 8)
result)
(command interface: command)
0x46
Tab. 12-38.
0x46
(command interface: mirrored command)
0x0E
(command interface: response byte 1)
0x00
(command interface: response byte 3)
0x00
(command interface: response byte 5)
0x00
(command interface: response byte 7)
Tab. 12-39.
14.4.2015
57
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
start number of the device that stores the data to be sent, the following data must
be stored in D1:
AddressBit 15..12Bit 11..8Bit 7..4Bit 3..0
D10x00
(command interface: toggle bit and circuit)
Note that the toggle bit
doesn't have to be changed for each new request.
(command interface: command)
The send data size in bytes must be set to 2 and given as parameter to
G(P).RDMSG.
When the register D10 of the Mitsubishi QCPU is given as parameter to
G(P).RDMSG as start number of the device to store the received data, the receivable data size in bytes for G(P).RDMSG is set to at least 10, there is no error during command execution and there are slaves 1A, 2A and 3A detected the following will be stored starting from register D10:
AddressBit 15..12Bit 11..8Bit 7..4Bit 3..0
D100x00
(command interface: mirrored toggle bit and
result)
(command interface: mirrored command)
D110x00
(command interface: response byte 2)
(command interface: response byte 1)
D120x00
(command interface: response byte 4)
(command interface: response byte 3)
D130x00
(command interface: response byte 6)
(command interface: response byte 5)
D140x00
(command interface: response byte 8)
(command interface: response byte 7)
The device given as parameter to G(P).RDMSG to store the received data size in
bytes will be set to 10 by the system.
For a list of all command interface commands and the request/response data
structures, please refer to the separate manual "AS-i 3.0 Command interface".
0x46
0x46
0x0E
0x00
0x00
0x00
Tab. 12-40.
Tab. 12-41.
58
14.4.2015
Page 59
AS-i CC-Link Gateway
Codes indicated by the display
13.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.
In the basic state of the protected operating mode, the display is either blank or
displays the address of a faulty assignment.
During manual address programming, the slave address display has a different
meaning (see also chapter "Operating in advanced display mode").
All displayed numbers bigger than 31 which can not be interpreted as a slave address are status or error messages of the master. They have the following meanings:
39Advanced AS-i diagnostics, error is displayed after pressing the "Set" button: it
is a short-term voltage breakdown on AS-i occurred.
40The AS-i master is in offline phase.
41The AS-i master is in detection phase.
42The AS-i master is in activation phase.
43The AS-i master starts the normal operating mode.
70Hardware error: The AS-i master’s EEPROM cannot be written.
71Wrong PIC-type.
72Hardware error: wrong PIC-processor.
73Hardware error: wrong PIC-processor.
74Checksum error in the EEPROM.
75Error in the internal RAM.
76Error in the external RAM.
77AS-i control software error: Stack overflow (AS-i control II)
78AS-i control software error: checksum error in the control program.
"control checksum":
checksumm in Control III C program (bin.file) not correct. The file is possibly
damaged.
"control exec err":
error in Control III C program.
"control watchdog":
watchdog predetermined in Control III C program has expired .
"control incomp":
Control III C program from another gateway type loaded (e.g. Ethernet IP in
Profibus gateway).
14.4.2015
59
Page 60
AS-i CC-Link Gateway
Codes indicated by the display
79Checksum error in the data menu.
"breakpoint":
Control III C program in break point.
80Error while attempting to exit the configuration mode: A slave with address
zero exists.
81General error while changing a slave address
82The front panel operation is blocked. Until repowering-up the device can only
be accessed from the host via the interface.
83Program reset of the AS-i Control program: The AS-i Control program is being
read from the EEPROM and copied into the RAM.
88Display test while starting up the AS-i master
90Error while changing a slave address in protected operating mode: No slave
with address 0 existing.
91Error while changing slave address: Target address is already used.
92Error while changing slave address: New address could not be set.
93Error while changing slave address: New address could only be stored volatile
in the slave.
94Error while changing the slave address in protected operating mode: Slave has
wrong configuration data.
95The error 95 is caused by a superfluous slave and not by a missing slave. That
is why the slave address is occupied by this superfluous slave.
(In the protected mode the slave addresses which caused any configuration
error can be displayed by pressing the SET button. AS-i master without graphical display are not able to differentiate between a missing slave, an incorrect
slave or a redundant slave. All incorrect addresses are displayed.
By pressing the SET button 5 sec. the displayed address starts to flash. Pressing the SET button again the master attempts to program the slave at the
address 0 to the incorrect address.)
60
14.4.2015
Page 61
AS-i CC-Link Gateway
Glossary
14.Glossary
A/B slave
An AS-i slave with extended addressing. The address range of an A/B slave extends 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.
Activation phase
In the activation phase the detected slaves are activated by sending the parameter. This is indicated by a "42" on the Master's Display. This phase takes only 10
ms, tops, to short to be displayed.
AS-i Power Fail
Voltage drop on the AS-i line; If the voltage drops below a specific value, the master changes to the Offline phase.
Initiation phase
After the initial data exchange with all AS-i slaves the master is looking for new
slaves. For this purpose an inquiring call is sent to one AS-i address. If a reply is
received, the master tries to read the current configuration of the slave. Depending on the mode ( protected mode or configuration mode) and on the
current configuration, the detected slave will be activated.
After each data exchange with all AS-i slaves exactly one inquiring call is sent to
one slave address. Hence, the AS-i cycle always includes one more telegram
than the number of activated slaves ( LAS).
Autoprog flags
Auto Address Enable; flag from the operating system to the AS-i Master.
With this flag, automatic addressing can be enabled or disabled. This flag is
saved in non-volatile memory in the Master.
Auto Address Assign, Auto Address Possible; flag from the AS-i Master to the operating system.
Automatic programming is not disabled and no configuration error was
found.
If a slave fails, it could be addressed automatically.
Auto Address Available, flag from the AS-i Master to the operating system. Exactly one AS-i slave is missing and the automatic single node replacement is not disabled.
If at this point a slave with the address 0 and the profile of the missing slave
is connected, it automatically receives the address of the missing slave.
14.4.2015
61
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".
Detection phase
In the detection phase, after the startup the master is scanning for AS-i slaves.
The master remains in this phase until at least one slave was detected. If the
master remains in the detection phase no slave was found. Most of the time, the
reason for this is a wrong power supply or a wiring error.
The detection phase is indicated by code "41".
Protected mode
In protected operating mode only those slaves that are registered in the LPS
and whose current configuration matches the target configuration are activated.
Also see configuration mode. This mode is intended for normal operation,
since all AS-i protective measures are activated.
ID code
The ID code is set by the slave manufacturer and cannot be changed. The AS-i
Association determines the ID codes which are assigned for a particular class of
slaves. For example, all A/B slaves have ID code “A“.
62
ID1 Code, extended ID1 code
The ID1 code is set by the slave manufacturer. In contrast to the other codes,
which determine the profile, it can be changed from the master or using an addressing device. The user should however only use this feature in exceptional circumstances, since otherwise configuration errors may occur.
In the case of A/B slaves, the MSB of the ID1 code is used for distinguishing between the A and the B address. Therefore, only the lowest 3 bits are relevant for
these slaves.
Since this code was not introduced until AS-i Specification 2.1, it is also referred
to as extended ID1 code.
14.4.2015
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”. Since this code was not introduced until AS-i Specification 2.1,
it is also referred to as extended ID2 code.
Current configuration
The configuration data of all slaves detected by the master. The configuration
data of a slave, the slave profile, consists of:
The AS-i parameter that have most recently been sent to the AS-i slave, as opposed to permanent parameters.
Configuration Error/Config Error
An configuration error is displayed if the target and the current configuration of the
connected slaves do not match. A configuration error could be due to the following:
Missing slave:A slave entered in the LPS is not available
Wrong type of slave:The slave profile of the connected slave does not comply
with the configuration.
Unknown slave: A connected slave is not entered in the LPS.
LAS - List of Activated Slaves
The master exchanges I/O data with the slaves entered in the LAS. In protected
mode only the detected slaves (
entered in the
LDS are activated.
the
LDS - List of Detected Slaves
If the master was able to read the
LPF - List of Peripheral Faults
The list of peripheral faults was introduced with specification 2.1. This list includes
an entry for each slave that signals a
LPS - List of Projected Slaves
The list of projected slaves includes all slaves expected by the master. When saving the current configuration all entries in the
cept for a slave with address 0).
14.4.2015
LPS are activated. In configuration mode all slaves entered in
LDS) that are expected by the master and are
slave profile, the slave is entered in the LDS.
peripheral fault.
LDS are stored in the LPS (ex-
63
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
configuration mode to the protected mode.
the
Furthermore, the master can actively be transfered into the offline phase by setting the offline flag.
During the offline phase, masters with a LED display show code "40".
Peripheral fault
A peripheral fault is indicated by a red flashing LED on the master and on the
slave.
Depending on the slave type this indicates an overflow, an overload of the sensor's power supply, or another fault regarding the periphery of the slave.
Permanent configuration
The configuration data of all expected slaves stored in the master (
file). If the
configuration error exists.
Permanent parameter
The parameters saved in the master and sent to the slave after startup of the
master during the
permanent configuration differs from the actual configuration, a
activation phase.
AS-i power fail, and during the transition from
slave pro-
64
Configuration mode
During the configuration mode the master exchanges data with all connected
slaves, no matter which of the slaves were configured. Thus, in this mode it is
possible to operate a system without the necessity to configure it before.
See also
Single Slave
A single slave can in contrast to a A/B slave only be addressed from range 1 to
31; the fourth output data bit can be used. All slaves as defined by the older AS-i
Specification 2.0 are single slaves.
There are however also single slaves as defined by Specification 2.1, for example
the new 16 bit slaves.
Slave profile
Configuration data for a slave, consisting of:
I/O configuration and ID-Code, as well as extended ID1-Code and ex-
tended ID2-Code.
The slave profile is used to distinguish between various slave classes. It is specified by the AS-i Association and set by the slave manufacturer.
protected mode.
14.4.2015
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-interface master enters in this case an “F” for each of the extended ID1 and ID2
codes.
14.4.2015
65
Page 66
AS-i CC-Link Gateway
Reference List
15.Reference List
15.1Manual: “AS-i 3.0 Command Interface“
This Manual contains a detailed description of the AS-i 3.0 Command Interface.
66
14.4.2015
Page 67
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.