As-Interface: Maintenance and Troubleshooting Guide
As-Interface: Maintenance and Troubleshooting Guide
As-Interface: Maintenance and Troubleshooting Guide
Table of Contents
As-Interface Basics.................................................................. 3 Addressing Modules................................................................ 4 Handheld Programmer. ............................................................ 5 Gateway Quick Start................................................................ 6 Gateway Advanced Features.................................................. 7 Exchanging SafetyNodes. ........................................................ 8 Exchanging SafetyMonitors.................................................... 9 LED Functionality (Modules)................................................. 10 LED Functionality (SafetyMonitors)...................................... 11 Repeaters................................................................................ 12 Analyzer. .................................................................................. 14 Terminator and Tuner............................................................. 15 Building Networks.................................................................. 16 Power Supplies....................................................................... 18 Helpful Wiring Hints............................................................... 20 Common Problems and Solutions........................................ 30
As-Interface Basics
Use only certied modules, gateways/scanners, and power supplies. Total segment cable length is 100 m. This includes the total of all trunk and drop lines. One AS-Interface power supply is required per segment. For example, a network with two repeaters requires three power supplies. Exactly one gateway/scanner is required per network. 31 addresses maximum; extended addressing, 1-31a and 1-31b, is permitted on 2.1 and 3.0 spec. networks for a total of 62 nodes. Address 0 (the factory default address) is used for automatic addressing and is not permitted on a running system. Modules with extended addressing and 4-in/4-out are permitted only on networks where an M4 (3.0) master is used. Update time per module is 150 s. The formula for scan time is 150 s x (number of addresses + 2). - Single addresses require one scan. - Dual addresses (a and b) require two scans. - Dual addresses (a and b) 3.0 4-in/4-out require two scans for inputs and 4 scans for outputs. - Analog modules (2.1) require seven scans per point. - Analog modules (3.0) require three or four scans per point.
Network cable can be run in any topology. No shield or termination is required. Specication-compliant at or round cable must be used. Do not ground either AS-i + or under any circumstances anywhere on the network (ground fault). The network has a differential communication signal.
Addressing Modules
If only one module has failed: remove failed module, connect new module. As long as the new module is identical (i.e., has the same I/O and ID codes and has address 0 before connection), no additional steps are necessary.
Handheld Programmer
The handheld programmer is a diagnostic tool that is used to read the inputs or set the outputs on a module. This is often done to isolate and troubleshoot a specic I/O point.
If more than one module has failed: remove all failed modules, use handheld programmer VBP-HH1 to manually assign addresses to all but one replacement module, the last replacement module will receive its address automatically. Note: The VAZ-PK-1.5M-V1-G addressing cable is required to work with any module using an addressing jack.
D3 I4 O4 5 I1, I3 O1, O3 d
D2 I3 O3 6 I2, I3 O2, O3 E
D1 I2 O2 7
D0 I1 O1
O4, O2 O4, O2, O1 O4, O3 O4, O3, O1 O4, O3, O2 O4, O3, O2, O1
RS 232
1. 5
UNKNOWN SLAVE
Error Counters
If a node requires at least two consecutive retries, counts will appear on the display next to that node address. A clean network will have few or no retries. Single retries are automatically handled at the AS-Interface chip level and cannot be detected using the gateway. (Counts always go up by two.) If any node has six consecutive retries, it appears in the LCS with an X by the node address. (This node caused a conguration error.)
ESC
+ASI-
Mode
Set
OK
Press OK Press
DEVICENET QUICK SETUP SETUP IO + PARAM. TEST
Press OK Press
STORE AS-I CONFIGURATION STORE + RUN STORE + PRJ MODE
.
CONFIGURATION OK
ERROR COUNTERS RESET 1A - 0 2A - 0 LCS LIST OF CORRUPTED SLAVES RESET APF - I 1A - x FAULT DETECTOR RESET HISTORIC: EFLT OVRV NOIS ACTUAL: EFLT OVRV NOIS DUP ASI ADR: 0 I 31B HELP: EFLT EARTH FAULT NOIS NOISE DUP ASI ADR DUPLICATE ASI SLAVE ADDRESS
Fault Detector
The following errors occurred in the past (HISTORIC) or are currently happening (ACTUAL). Duplicate addresses are also displayed on this screen. EFLT: An earth or ground fault has occurred. Check to make sure that AS-i + or - is not touching machine ground anywhere. OVRV: A power spike occurred on AS-i such that the AS-i voltage was too high. NOIS: Noise was detected. Route AS-i cable away from potential noise sources.
Subject to modifications without notice Copyright Pepperl+Fuchs www.pepperl-fuchs.com
Indication
On (Green) On (Red) Flashing (Red) On (Green) On (Green) On (Green) On (Yellow)
Meaning
Power on One slave missing or extra slave on the network Peripheral fault on network AS-i network is sufficiently powered AS-i network operating normally in either configuration or protected mode Exactly one slave is missing in protected operating mode and automatic addressing is allowed AS-i master is in configuration mode
Exchanging SafetyNodes
Compared to standard modules, exchanging a SafetyNode requires a few additional steps. See procedure for single and multiple node replacement.
Exchanging SafetyMonitors
1. Disconnect the failed SafetyMonitor from the 24 V DC power supply. Both L+ and M must be removed! 2. Use the special download cable, VAZ-SIMON-RJ45. Connect the new and old SafetyMonitors together.
Service
Service
3. Power up replacement SafetyMonitor by connecting both L+ and M. 4. Press the Service button on replacement SafetyMonitor. On the replacement SafetyMonitor, active transmission is indicated when the yellow READY LED is illuminated. Transfer is complete when the GREEN and YELLOW LEDs are both lit.
5. Disconnect defective SafetyMonitor and move all cables to replacement SafetyMonitor. (Version 2.14 has keyed removable terminals. Press the release tab in at the top of the monitor and pull terminals straight up to remove.)
Subject to modifications without notice Copyright Pepperl+Fuchs www.pepperl-fuchs.com
O1 O2
IN3
AS-i 1 2 3
AS-i S 1 2 3
I3
I4
IN4
II
LED Indication
Off On (Green) Flashing (Green) Off
Indication
Off On (Green) Off
Meaning
No 30 V AS-i connection to AS-i+ and AS-i- terminals Normal Normal operation No AS-i communication or monitor address not stored in gateway/scanner Waiting for start condition or door unlock condition Safety module test, local acknowledge required, or diagnostic stop enabled Contacts of the output switching elements closed Delay time runs in event of Stop Category 1 Contacts of the output switching elements open Error on level of the monitored AS-i components Internal device error; power cycle is required
LED
PWR AS-i
Meaning
No power Normal Address 0 (FAULT LED on) or peripheral fault (FAULT LED flashing) Normal No AS-i communication; check address Peripheral fault; check I/O No power Normal No AS-i communication; check address Address 0 Peripheral fault; check I/O No AUX power; check black AS-Interface cable Normal Input OFF; no AUX power or wire broken Input ON Output OFF; no AUX power or output not set by PLC Output ON Output shorted/overloaded (if supported by module)
AS-i 1
AS-i 2
On (Red) On (Yellow)
1 READY
FAULT
Flashing (Yellow) On (Green) Flashing (Green) On (Red) Flashing (Red) Simultaneously flashing rapidly
PWR/FLT
AUX I In O Out
Cycling slowly
Off
10
11
Repeaters
The communication path between an AS-i module and gateway/scanner must not go through more than two repeaters. This example shows a network with ve segments, four repeaters and a total length of 500 m. Note the position of the gateway in the middle segment.
AS-Interface Power Supply AS-Interface Scanner/Gateway
I/O Module I/O Module
Repeaters
AS-Interface Power Supply I/O Module I/O Module AS-Interface Power Supply Repeater
AS-Interface Power Supply
I/O Module
I/O Module
I/O Module
I/O Module
I/O Module
A repeater adds a second galvanically isolated segment to the AS-i network. Because only communication passes through the repeater a second power supply is required. Never put more than one power supply on a segment!
R FL 1 T1
LED
PWR FAULT
Indication
Off Off On (Red)
Meaning
No power supply connected Normal No communication
AS-Interface segment 1
FL T2 PW R
PW
AS-Interface segment 2
On (Green) Normal
I/O Module
one gateway/scanner, one power supply per segment, no segment with more than 100 m total cable length, no module separated from the gateway/scanner by more than two repeaters.
13
Analyzer
The network analyzer, VAZ-ANALYZER, provides information about network stability and allows detailed analysis of protocol-specic communication detail. There are two modes of operation. The rst is online statistics where the overall health of the network is read. The second is trace mode where individual AS-i telegrams are recorded, ltered, and viewed for later analysis. This mode is often used to track down specic input, output or timing problems.
Online Statistics
Advance statistics (check for) - Little or no missing telegrams - No slave telegrams without master call Consecutive errors - Make sure consecutive errors are kept to a minimum. (6x = conguration error) Network overview - Check to make sure all connected nodes are green. I/O data - Verify that the input and output data is correct. - Find out if a certain input is ickering or turning on for a short time by running a trace on that input.
Tuning Procedure
Gateway/scanner: 1. Put in conguration mode by holding mode button for 5 seconds. Tuner: 1. Rotate mode switch to 2 (tuning). 2. Press set button until LEDs strobe red, yellow, green, red....
LED
Error Warning Green
Indication
On (Red)
Meaning
Greater than 5% retries
Indication
Off
Meaning
No power or voltage below 18.5 V
4. When strobing stops (this may take several minutes), rotate mode switch to 3 (run). 14
Subject to modifications without notice Copyright Pepperl+Fuchs www.pepperl-fuchs.com Subject to modifications without notice Copyright Pepperl+Fuchs www.pepperl-fuchs.com
15
Building Networks
AS-Interface networks are easy to build with only a few guidelines. Communication between a gateway/scanner and module cannot pass through more than two repeaters. Additional network wiring restrictions are necessary if terminators or tuners are used to build even longer networks. Terminators and tuners should be located as far away from the power supply as possible within the segment. Use only VAR-G4F and VAR-KE3-TERM advanced repeaters when using terminators and tuners to extend the network. Use an AS-i analyzer to verify proper terminator and tuner operation. See Terminator and Tuner section for proper tuning procedure. Tune the segments only in conguration mode (PRJ mode LED on). Tune segments one at a time starting with segments closest to the gateway/scanner. Disconnect segments that are not already tuned.
Building Networks
AS-Interface Power Supply
Terminator
Power Supply
Terminator
Power Supply
Terminator
Power Supply
16
17
Power Supplies
Power supplies used for AS-Interface are specically designed for this network. No standard DC power supply can be used unless it rst goes through a power conditioner. Only a few wiring guidlines are required: Exactly one AS-Interface power supply is required for each segment. Some gateways have duplicate address detection. To use this feature, the power supply must be connected directly to the dedicated terminal (labeled +PWR-) on the gateway.
Power Supplies
13 14 + + GND - -
VAN-115/230AC-K21-EFD
prj mode AS-i act PWR prg enable
RS-232
mode
set
DC OK EFD Reset
AS-Interface Network 2
PE N L
13 14 + + GND - -
Dual network A-B ControlLogix scanner card connected to two power supplies with ground fault detection
RS 232
VAN-115/230AC-K21-EFD
DeviceNet connector AS-i 1 V+ (Red) 2 CAN H (White) AS-i + 3 Shield 4 CAN L (Blue) Ground 5 V- (Black)
DeviceNet connector 1 2 3 4 5 V+ (Red) CAN H (White) Shield CAN L (Blue) V- (Black) L Display
Connect AS-i segment here (Connect ground terminal to machine ground and the shield of AS-i cable if used)
PO W E MN R S CO NF U IG E AS R -i R AS -i A PR CTIV G E E PR NA J M BLE OD E
RS 232
DC OK EFD Reset
Ground fault indication LED (Red) Reset button: press < 1 s simulates ground fault, RS 232press > 2 s to reset ground fault Internal/external ground fault switch: EFD int. shuts off on ground fault, use pushbutton to reset EFT ext. automatically recovers from ground fault (default)
PE N L
PE N L
N Display
ESC
Mode
Set
OK
Mode
Set
OK
Ground
ESC
Mode Set
OK
AS-Interface Network 2
AS-Interface Network 1
AS-i Network AS-i Power Supply AS-i Network 1 AS-i Network 1 Power Supply AS-i Network 2 Power Supply AS-i Network 2
Dual network gateway with duplicate address detection connected to two standard AS-i power supplies
Subject to modifications without notice Copyright Pepperl+Fuchs www.pepperl-fuchs.com
18
19
DO
Place the AS-i power supply at one end of the network and terminator/tuner at the other end.
DONT
Dont fasten yellow AS-i and black auxiliary cable on top of each other.
0.2 m
DO
Separate the black and yellow flat cables. Outputs connected to drives or motors can cause black AUX cable to be noisy.
DONT
DO
Dont use noncompliant or out of specification Use correct wiring practices when using AS-i cable i.e., twisted, shielded, or, wrong shielded cable including cable length impedance. reduction to 80 m max. and land shield on GND terminal on power supply.
20
21
DO
Allow the AS-i signal to float properly. AS-i derives much of its noise immunity from this floating signal. Tying one lead to ground will interfere with the AS-i communication.
DONT
Dont place AS-i and noisy components next to each other in a panel.
DO
Keep the AS-i components on one side of panel and high-frequency drive components on the other. Separate them with a metal divider, if possible, and make sure cables do not exit at the same location.
DONT
Dont neglect to check the number of retries on the AS-i network.
DO
Use the AS-i analyzer to ensure that the network is error free. Capturing the network health during project buyoff can relieve machine builders of future liability if changes are made.
22
23
DO
For redundancy, use two standard 30 V power supplies connected to a power condintioner.
PE N L
Use repeaters in a star topology around the AS-i scanner/gateway, or use a terminator and tuner to maximize the network length.
RS 232
PE N L
ESC
+ASI-
Mode
Set
OK
100 m
100 m
100 m
100 m
PO W E MN R S CO NF IG AS ER -i R AS -i A PR CTIV G E E PR NA J M BLE OD E
RS 232
Terminator
PWR 1 U>26 V
Mode
PWR 2
U>28 V
Set
OK
+ + NC +30 V 0 V FE
100 m
100 m
200 m
24
25
RS 232
PE N L
Use the dual-channel power conditioner, VAN-KE2-2PE, or use two separate power supplies, one for each network.
ESC
Mode
Set
OK
PE N L
+ +
PO W E MN R S CO NF U IG E AS R -i R AS -i A PR CTIV G E E PR NA J M BLE OD E
RS 232
AS-Interface Network 2
PE N L
AS-Interface Network 1
ESC
Mode
DONT
OK
DO
Allow the AS-i module to completely power inputs connected to the module if designed to do so. If the resistance to ground is <10 M inputs should be powered externally.
Set
Dont ground input signals that are powered by the AS-i network through the I/O modules.
AS-Interface Network 2
AS-Interface Network 1
26
27
DO
Do run the AS-i conductors together preferably in the same jacket. This eliminates current loops and allows proper noise rejection to occur on the network.
Place AS-i safety modules as close as possible to safe inputs or use Safety at Work components with direct communication to AS-i. The safety sequence runs over safe input lines and any disruption of this sequence can cause nuisance shutdowns.
PE N L
PE N L
29
28
Node LEDs
PWR(AS-i) FAULT PWR(AS-i)/FAULT AUX On (Green) Off On (Green) On (Green)
What do the numbers mean on the gateways 2-digit, 7-segment display? Gateways/scanners will show AS-i addresses and error codes on the display. While in run mode, (PRJ LED off) the display should be blank. Numbers on the display that range from 1-31 are addresses of the nodes that are faulted; they are not error codes. Numbers greater than 31are gateway error codes. The two most common error codes are 40 and 41.
30
31
Contact Pepperl+Fuchs Inc. 1600 Enterprise Parkway Twinsburg, Ohio 44087 USA Tel. +1 330 486-0001 Fax +1 330 405-4710 E-mail: fa-info@us.pepperl-fuchs.com
Worldwide Headquarters Pepperl+Fuchs GmbH Mannheim Germany E-mail:fa-info@de.pepperl-fuchs.com USA Headquarters Pepperl+Fuchs Inc. Twinsburg USA E-mail: fa-info@us.pepperl-fuchs.com Asia Pacific Headquarters Pepperl+Fuchs Pte Ltd Singapore Company Registration no. 199003130E E-mail: fa-info@sg.pepperl-fuchs.com
www.pepperl-fuchs.com
Subject to modifications 2009 PEPPERL+FUCHS, INC. Printed in USA Part No. 912040 07/09 03