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 num-
ber 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 damage s and destruction.
Contact
If you have any questions about the device, its functions, or accessories, please
contact us at:
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.
6
02.05.2016
CC-Link Gateways
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 damage s 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 fault s 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.
02.05.2016
7
CC-Link Gateways
Setting up the AS-i bus
4.Setting up the AS-i bus
1.Connect the unit to power.
2.Connect the AS-i cable to the unit.
3.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.
4.In the display menu select [QUICK SETUP] to use the configuration of all
AS-i circuits connected to the unit.
Confirm with [STORE+RUN].
5.Set the CC-Link address and connect the gatewayto the host fieldbus controller.
You can set the addresses directly using the option [CC-LINK] in the display menu of your gateway or through the PC using the ASIMON software
with integrated AS-i Control Tools.
For more detailed information pleas e refer to the installation guide for your g ateway
which is included with the unit.
8
02.05.2016
CC-Link Gateways
Configuration and Start-up of the Safety Monitor
5.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.
Configuration should be performed only by a safety specialist. All safety-related
commands are password protected.
The correct safety functioning of the unit must absolutely be verified in the system!
Note!
Quick Start Guides for commis sionin g and ser vice are p rovide d on the w ebsite av ailable for download.
02.05.2016
9
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
6.Data transmission modes of the CC-Link Gateways
There are several modes for the transmission of data in CC-Link:
1.Standard mode (see chap. 6.1)
2.Compatibility mode for VBG-CCL-G4F COMP (see chap. 6.2)
3.Compatibility mode for CC-Link V1 (see chap. 6.3)
4.Compatibility mode for FX2N-32ASI-M CP (see chap. 6.4)
5.Compatibility mode for HK-ASICC COMP (see chap. 6.5)
Information!
The selection of each data tr ansmi ss ion mod e take s plac e i n the me nu of t he g at ew ay
using the buttons and the display. Addi tional information ca n be foand in the description of the display menu of your gateway.
Summary of data transmission modes
Standard
occupied stations33442
cycle setting21111
required CC-Link master V2V1V1V1V1
support of 2 AS-i circuitsnonononono
support of B-slavesyes(yes)yesnono
support of analog slavesyesyesyesnono
support of AS-i configurati o n
via CC-Link
yesyesyesnono
VBG-CCL-
G4F
CC-Link V1FX2N-
32ASI-M
HK-
ASICC
Tab. 6-1.
10
02.05.2016
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
6.1Standard 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".
•The AS-i process data is mapped into the Buffer Memory Area (BFM).
•All acyclic requests are handled by "Message Transmission" using cyclic
data.
6.1.1Remote IO Points
Remote to Host
Address15 14 13 12 11 10 9 8 7 6 5 43210
RXmreserved
RXm+1AS-i circuit 1: EC-Flags and Fault Detector
RXm+2
RXm+9
EC-Flags and Fault Detector
BitShort CutName
0Cfg. OKConfiguration OK
1S0Slave Address 0 detected
2AaasnAuto Address Assign
3AaavailAuto Address Available
4CMConfiguration Mode active
5NANormal Operation active
6APFAS-i Power Fail (AS-i voltage below 19 V)
7OfflOff-line
8NPFNo Peripheral Fault
9reservedreserved
10PWRwPower Warning (AS-i voltage below 22.5 V)
11reservedreserved
12EFEarth Fault
13OVOver-voltage on AS-i
14NoiseNoise
15reservedreserved
reserved…
Tab. 6-2.
Tab. 6-3.
02.05.2016
11
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
Host to Remote
Address15 14 13 12 11 10 9 8 7 65 43210
RYmPM CM AAE OFL
RYm+1reserved
…
RYm+9
Tab. 6-4.
Flags in RYm
BitShort CutName
0OFLOffline
1AAEAuto Address Enable
2CMEnter Configuration Mode on rising edge
3PMEnter Protected Mode on rising edge
4 … 15reserved
Tab. 6-5.
12
02.05.2016
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
6.1.2Buffer memory area
Buffer memory
for master without integr. safety monitor
Address1 Master
0 … 7AS-i 1, input A + single slavesAS-i 1, output A + single slaves
8 … 15AS-i 1, input B slavesAS-i 1, output B slaves
Inp. Slv31B
RWrm16fieldbus bits 15 … 8fieldbus bits 7 … 0
RWrm17Safety Status OSSD2Safety Status OSSD1
RWrm18Safety Status OSSD4Safety Status OSSD3
RWrm19Safety Status OSSD6Safety Status OSSD5
readwrite
AS-i 1:
Inp. Slv10B
AS-i 1:
Inp. Slv14B
AS-i 1:
Inp. Slv18B
AS-i 1:
Inp. Slv22B
AS-i 1: Inp.
Slv26B
AS-i 1:
Inp. Slv30B
AS-i 1:
Inp. Slv9B
AS-i 1:
Inp. Slv13B
AS-i 1:
Inp. Slv17B
AS-i 1:
Inp. Slv21B
AS-i 1: Inp.
Slv25B
AS-i 1:
Inp. Slv29B
Tab. 6-6.
AS-i 1:
Inp. Slv8B
AS-i 1:
Inp. Slv12B
AS-i 1:
Inp. Slv16B
AS-i 1:
Inp. Slv20B
AS-i 1: Inp.
Slv24B
AS-i 1:
Inp. Slv28B
Tab. 6-7.
02.05.2016
13
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
Bits in flags
BitName
00: No C onfig Error
10: AS-i Power OK
20: Normal Operation active
30: Protected Mode active
00: No C onfig Error
10: AS-i Power OK
20. Normal Operation active
30: Protected Mode active
6.1.3Safety Status
Tab. 6-10.
Bits in Safety Status
Bit
7
2
one or more
devices are red
flashing
6
2
one or more
devices are yellow
flashing
6.1.4Fieldbus Bits
Information!
This functionality is only available in devices in t he safety ve rsion ’SV 4.3’ (see latera l
label)!
The fieldbus bits enable communication between the controller and the safety
program. The fieldbus bits can be used to pass any acknowledgment signals or
similar to the safety program and provide status information to the controller.
The states of the AS-i Safety in- and outputs are sent to the controller via the input data image (see par. <Safety diagnostics in the Input Data Image (IDI)>).
3: yellow flashing
4: red
5: flashing red
6: grey
7: reserved
Tab. 6-11. Bits in Safety Status
Tab. 6-12.
Tab. 6-13.
0
0
0
00
15
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
Information!
More detailed information can b e found in the manual "ASIMON configuration software", sections: "Monitoring devices -> Fieldbus bit" and "Output assignment"..
6.1.5Message Transmission
"Message Transmission" provides only command interface commands (see separate manual "AS-i 3.0 Command Interface").
Information!
For details on the Message Tran smiss io n pr ot oc ol, plea se re fer to the CC- Link sp ec ifi cation. For more informat ion or PLC program examples, how to u se Message Transmission, please refer to the documentatio n of your CC-Link master in use.
16
02.05.2016
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
6.2Compatibility 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).
•"Message Transmission" is not supported
(since VBG-CCL-G4F also does not use it).
6.2.1Remote IO Points
Remote to Host
Address 15 14 13 12 11 10 9 87 6543 2 1 0
RXmreservedBfEAck MbAckreserved
RXm+1
…
RXm+5
Flags in RXm
BitShort CutName
0 … 3reserved
4MbAckAcknowledge bit for Y4
5BfEAckAcknowledge bit for Y5
6 … 15reserved
Host to Remote
Address 15 14 13 12 11 10 9 87 6543210
RYmreservedBfE Mb PM CM AAE OFL
RYm+1
…
RYm+5
reserved
Tab. 6-14.
Tab. 6-15.
reserved
Tab. 6-16.
02.05.2016
17
CC-Link Gateways
Data transmission modes of the CC-Link Gateways
Flags in RYm
BitShort CutName
0OFLOffline
1AAEAuto Address Enable
2CMEnter Configuration Mode on rising edge
3PMEnter Protected Mode on rising edge
4Mb0: BFM used for IO data onl y
5BfE0: Enable use of BFM
6 … 15reserved
6.2.2Buffer Memory Area
Buffer memory (read) when using ’IO data only mode’
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).
•’Message Transmission’ is not supported.
Not all functions of FX2N-32ASI-M are implemented:
•no command buffer.
•no list of slaves with differences in the configuration.
•no module ’Error Status’, no module ’Identifier’
(specific for the FX2N series).
This example describes one method of accessing a command interface when it is
mapped into the cyclic buffer memory area (when using VBG-CCL-G4FMode, or
CC-Link V1 Mode)
02.05.2016
31
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)
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)
32
02.05.2016
CC-Link Gateways
Accessing command interface
1.)
Example:
For example, when the first command used is reading the list of detected
slaves (command 0x46), write the following to the RWw area:
AdresseBit 15 … 12Bit 11 … 8Bit 7 … 4Bit 3 … 0
RWwm00x80
(command interface: toggle bit and circuit)
(command interface: command)
0x46
Tab. 7-38.
The rest of RWw area is not used by this command, because other request bytes
are not needed.
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
(command interface: mirrored toggle bit and
result)
RWrm10x00
(command interface: response byte 2)
RWrm20x00
(command interface: response byte 4)
RWrm30x00
(command interface: response byte 6)
RWrm40x00
(command interface: response byte 8)
(command interface: response byte 1)
(command interface: response byte 3)
(command interface: response byte 5)
(command interface: response byte 7)
0x46
(command interface:
mirrored command)
0x0E
0x00
0x00
0x00
Tab. 7-39.
The rest of the RWr area is not used by this command, because the response
data does not require the complete RWw area.
Information!
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".
In standard mode, "Message Transmission" is used to access the command interface.
02.05.2016
33
CC-Link Gateways
Accessing command interface
7.2Using "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.
Example:
The Mitsubishi CC-Link master module QJ61BT11N for the Mitsubishi Q-Serie
supports the command G(P).RDMSG for telegram transmission. A detailed description of this instruction can be found in the user's manual of the QJ61BT11N.
This instruction requires 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.
Information!
The structure of the transmission and response data of the command interface command is independent of the used CC-Li nk master and it is described in the separate
manual "AS-i 3.0 command interface".
34
02.05.2016
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:
AddressBit 15..12Bit 11..8Bit 7..4Bit 3..0
D10x00
(command interface: toggle bit and circuit)
(command interface: command)
0x46
Tab. 7-40.
Note that the toggle bit does not have to be changed for each new request.
The send data size in bytes must be set to 2 and given as parameter to G(P).RD-
MSG.
If 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: toggle bit and result)
D110x00
(command interface: response byte 2)
D120x00
(command interface: response byte 4)
D130x00
(command interface: response byte 6)
D140x00
(command interface: response byte 8)
(command interface: mirrored command)
(command interface: response byte 1)
(command interface: response byte 3)
(command interface: response byte 5)
(command interface: response byte* 7)
0x46
0x0E
0x00
0x00
0x00
Tab. 7-41.
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.
Information!
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".
02.05.2016
35
CC-Link Gateways
Diagnostics
8.Diagnostics
8.1System diagnostics on the PC
8.1.1Software for diagnostics, service and release measurements
The intuitively constructed software for diagnostics, service and release measurements enables PC-assisted measurement using the high-level measuring technology 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. As an option
the analysis data can also be sent to our technical support group and used as the
basis for fast, reliable help with problem handling.
8.1.2AS-i Control Tools
The Software AS-i Control Tools provide you with all the key testing and configuration possibilities of your AS-i circuit in organized fashion on your PC.
A graphic representation of your AS-i network provides you with a quick overview
of the system status, showing for example any missing or unprojected slaves. In
addition, peripheral errors and the status of the "AS-i Monitors" integrated into the
Masters. The diagnostic buffer (not available with all devices!) stores with a time
stamp in a ring buffer up to 1024 events. The AS-i Control Tools software also
provides a simple and convenient way to configure new AS-i circuits or modify already existing configurations. This software is also a component of the ASIMON
software.
8.1.3ASIMON
The ASIMON software is used to configure the safety unit. Already configured
systems can be diagnosed live using the software. The status of all in- and outputs is graphically represented as are the results of the preparatory processing.
When projecting the user has the ability to assign unique identifiers to the individual devices. These also appear in the device displays in connection with error
messages. To prevent errors in the projecting stage the ASIMON software provides advance warning at the relevant points.
The AS-i Control Tools software is also part of the ASIMON.
8.1.4Web server
Units having an Ethernet port provide all the diagnostics data through a web server. If necessary this also allws the system information to be viewed from any PC
connected to the network without any additional software, simply using a standard internet browser and Java.
To be able to take advantage of the full scope of diagnostics functions and configuration possibilities of the AS-i Masters, you will however need the ASIMON
software with integrated AS-i Control Tools and ideally also the software for diagnostics, service and release measurement.
36
02.05.2016
CC-Link Gateways
Diagnostics
8.2Diagnostics on the host controller
All the diagnostics information is also provided on the host controller.
8.2.1Diagnostics through process data
Diagnostics through the process data provides a very simple means of incorporating diagnostics information into the controller program and displaying it on a control panel.
For useful diagnostics we recommend use of the following options:
8.2.1.1Diagnosing the AS-i circuits
Flags + Fault Detector (see chap. 6.1.1).
When a configuration error is reported, e.g. because an AS-i slave has failed, the
AS-i master continues to communicate with the remaining slaves. In many cases
however a good and simple solution is to terminate running of the PLC program in
case of a configuration error.
8.2.1.2Diagnosing the Safety Monitor
Safety diagnostics in the Input Data Image
Diagnostics for the states of the safety AS-i in- and outputs. To obtain diagnostics information for a safety AS-i output the associated diagnostics slave
address must be incorporated (see paragraph <A>).
Fieldbus Bits and Safety Status
User-specific diagnosing and diagnosing the states of the release circuits
(see chap. 6.1.4 and chap. 6.1.3)
02.05.2016
37
CC-Link Gateways
Diagnostics
Paragraph A:
Safety diagnostics in the Input Data Image (IDI)
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 diagnostics information is sent in the input data image, coded for the input bits of the
address of the safety input slave.
The switching state of Channels 1 and 2 of the safety input is shown with negligible time lag in bits 0 and 1 and can be directly read:
Bits 2 and 3 are used to send the status of the safety input (the device color of the
ASIMON):
Bit3 Bit2Bit1Bit0 Description
00XXDevice color: red, green o r gray
01XXDevice color: yellow ("waiting")
10XXDevice color: yellow flashing ("te s ting")
11XXDevice color: red flashing ("Error")
Tab. 8-43. Stae of safety input
38
02.05.2016
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.
Bit value of the input bits of the diagnostic slaves
BitAS-i input
E0
diagnostics (see table device colors)E1
E2
E3reserved for EDM input
Tab. 8-44. Bit value of input bits of the diagnostic slaves
Device colors
The colors refer to the diagnostics in the ASIMON.
Value ColorDescriptionstate changeLED "OUT"
0greenoutput on–on
green
1
flashing
–––
2yellowrestart inhibitauxiliary signal 21 Hz
yellow
3
flashing
–––
4redoutput off–off
5red flashing
6gray
7green/yellow
1.See documentation of the AS-i slave.
waiting for reset of error
condition
connection or
internal error
output released,
but not switched on
auxiliary signal 18 Hz
only via Power On
on device
switched on by setting
the output bit
1
all LEDs
flashing
off
Tab. 8-45. Device colors
1
02.05.2016
39
CC-Link Gateways
Diagnostics
Important!
The following points must be noted for processing:
•The information for switching state and error status are not processed timesynchronous.
•When there is a configuration error all bits having value 0 are sent; this must
be noted when processing the data.
•When the Monitor is stopped the device color is "gray".
•When regularly switching, the status "yellow flashing" can be recognized as a
transition status. This depends on the component model set. This status cannot be understood as a testing request until it is stably reported (see Monitor
Info and Safety Control/Status Byte). This is not the case until bit ’6’ is set in
the Monitor Info and Safety Control/Status Byte ("At least one module in Test
status"). This means the diagnostics information in the input data image does
not serve as a trigger for the testing request, but rather only as detailed information after the Monitor Info and Safety Control/Status byte have indicated
that at least one component has reported a testing request.
Changing the base setting
Setting and changing the diagnostics type is done using the device display ([SAFETY]->[AS-I SAFETY]->[SAFE SUBST VAL])
8.2.2Diagnosing the safety unit using the command interface
All the diagnostics data can also be queried individually and acyclic using the
command interface commands. This method does however involve greater programming effort.
8.2.3LEDs
The LEDs located on the device allow you to quickly see the status of the main
function parameters, such as power, communication with the host controller, communication on the AS-i circuit and state of the safety in- and outputs.
8.2.4LC-Display
In the display of the Gateways plain text messages are shown spontaneously for
any detected errors (e.g. missing slaves, earth fault, duplicate address…).
8.2.5AS-i Monitor
Comprehensive, standard measuring technology built into the AS-i Masters make
it possible to simply localize even sporadically occurring configuration errors and
interference sources affecting AS-i communication.
8.2.5.1Duplicate address detection
The Master detects when two slaves having the same address are present in the
AS-i circuit.
40
02.05.2016
CC-Link Gateways
Diagnostics
8.2.5.2Earth 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.3Noise 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.
8.2.5.4Overvoltage detection
Normally UASi+ and UASi- are in symmetry with system ground. If this potential
rises significantly, the overvoltage detector reports this anomaly.
02.05.2016
41
CC-Link Gateways
Appendix
9.Appendix
Quick Start Guides for commissioning and service are provided on the website
available for download.
42
02.05.2016
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.