Actuator Sensor Interface
Transcription
Actuator Sensor Interface
H1271gti.fm Seite 1 Dienstag, 23. November 1999 4:21 16 Hardware and Engineering CM 4-505-GS1 AS-Interface Master: Gateway for Suconet K – Actuator Sensor Interface 09/96 AWB 27-1271-GB 1st edition 9/96 © Moeller GmbH, Bonn Authors: Dieter Bauernfeind, Olaf Dung, Johann Skupin Editor Barbara Petrick Translators: Terence Osborn, Karin Klinke Caution! Dangerous electrical voltage! Before commencing the installation ● Disconnect the power supply of the device. ● Ensure that the device cannot be accidentally restarted. ● Verify isolation from the supply. ● Earth and short circuit. ● Cover or enclose neighbouring units that are live. ● Follow the engineering instructions (AWA) of the device concerned. ● Only suitably qualified personnel may work on this device/system. ● Before installation and before touching the device ensure that you are free of electrostatic charge. ● Connecting cables and signal lines should be installed so that inductive or capacitive interference do not impair the automation functions. ● Install automation devices and related operating elements in such a way that they are well protected against unintentional operation. ● Suitable safety hardware and software measures should be implemented for the I/O interface so that a line or wire breakage on the signal side does not result in undefined states in the automation devices. IBM is a registered trademark of International Business Machines Corporation. All other brand and product names are trademarks or registered trademarks of the owner concerned. ● Ensure a reliable electrical isolation of the low voltage for the 24 volt supply. Only use power supply units complying with IEC 60 364-4-41 or HD 384.4.41 S2. ● Deviations of the mains voltage from the rated value must not exceed the tolerance limits given in the specifications, otherwise this may cause malfunction and dangerous operation. ● Emergency stop devices complying with IEC/EN 60 204-1 must be effective in all operating modes of the automation devices. Unlatching the emergency-stop devices must not cause uncontrolled operation or restart. ● Devices that are designed for mounting in housings or control cabinets must only be operated and controlled after they have been installed with the housing closed. Desktop or portable units must only be operated and controlled in enclosed housings. ● Measures should be taken to ensure the proper restart of programs interrupted after a voltage dip or failure. This should not cause dangerous operating states even for a short time. If necessary, emergency-stop devices should be implemented. All rights reserved, including those of the translation. No part of this manual may be reproduced in any form (printed, photocopy, microfilm or any otherprocess) or processed, duplicated or distributed by means of electronic systems without written permission of Moeller GmbH, Bonn. Subject to alterations without notice. as-igb.ivz Seite 1 Donnerstag, April 24, 1997 4:57 PM 09/96 AWB 27-1271-GB Contents 1 Introduction To The Actuator Sensor Interface AS-Interface system from Klöckner-Moeller System features of the Actuator Sensor Interface Topology, cable length Features of the AS-Interface 4 7 11 2 Hardware Device overview Mounting the device Installing the device Connecting the interface 13 13 15 16 16 3 Engineering Setup of the control cabinet Ventilation Arranging the device in the control cabinet Power supply Connection to the Suconet K field bus Screening Preventing interferences Lightning protection 19 19 19 20 21 22 22 26 29 4 Operating the AS-Interface Master Setting the Suconet K address LEDs of the AS-Interface master LCD display of the AS-Interface master Startup of the master Configuration mode Protected operating mode Address programming in configuration mode Address programming with configuration errors 31 31 32 34 36 37 37 38 3 3 39 1 as-igb.ivz Seite 2 Donnerstag, April 24, 1997 4:57 PM Contents 43 43 44 45 46 49 51 6 Error Messages and Error Handling Suconet K error messages Error messages via device LEDs Error messages via the AS-Interface flags Error messages of the LCD display 65 65 67 69 69 7 Example Programs Example 1: Addressing the inputs/outputs Example 2: Evaluation of error messages Example 3: Setting parameters for proximity switches 71 71 73 Appendix Technical data Index of figures Index of tables Index 83 83 84 85 87 77 09/96 AWB 27-1271-GB 2 5 Operation Via Suconet K Brief description of Suconet K Location of the data in the Suconet K range Format of data in the read and write range bytes 0 to 15 Control and status data Handshake AS-Interface master ↔ PLC Function overview and function description as-igb.rfa Seite 3 Donnerstag, April 24, 1997 4:59 PM 1 Introduction To The Actuator Sensor Interface The Actuator Sensor Interface, or AS-Interface, is designed for the connection of actuators and sensors in the lowest field level. Cable harnesses are no longer necessary since the AS-Interface transfers the Actuator Sensor information serially via a twowire cable. – The AS-Interface optimizes the connection of the sensors and actuators with the M12 plug connector. – The AS-Interface reduces the installation work required through the use of a bus cable with an isolation displacement technology design. – The AS-Interface reduces the cabling required by transferring the power supply for sensors and actuators and the information on one cable at the same time. 09/96 AWB 27-1271-GB The AS-Interface has been specified by the ASI association (Verein zur Förderung busfähiger Interfaces für Sensoren und Aktuatoren), which is responsible for the specification, standardization and certification of the AS-Interface system, and the distribution of the AS-Interface application. The mechanical and electrical characteristics have been defined, published and made available to companies that are interested in them. The AS-Interface is a multivendor product. AS-Interface system from Klöckner-Moeller Klöckner-Moeller offers a complete AS-Interface System for all Klöckner-Moeller programmable controllers with a Suconet K connection. The 3 as-igb.rfa Seite 4 Donnerstag, April 24, 1997 4:59 PM Introduction To The Actuator Sensor Interface Klöckner-Moeller AS-Interface products are certified by the AS-Interface association where necessary. This manual describes the AS-Interface master. You will find further required components such as the AS-Interface power supply unit, the AS-Interface user modules with digital inputs and outputs as well as accessories in the appropriate Klöckner-Moeller catalogues. System features of the Actuator Sensor Interface Technical specifications have been laid down for the electrical features, the protocol and the cabling of the AS-Interface. Standard connection design features include the isolation displacement technology of the AS-Interface cable and the M12 plug connector. A standard slave interface in the form of an ASIC ensures that all certified AS-Interface slaves can be connected to an AS-Interface master irrespective of the manufacturer of the device concerned. Cables, mechanical coding When defining the AS-Interface, not only the electrical values were specified, but also the cables and the connection design. A two-wire cable with a cross-section of 2 × 1.5 mm2 can be used. Twisting as with twisted-pair cables or screening is not necessary. Profile flat cables ensure user-friendly wiring by means of the isolation displacement design and also the reverse voltage protection of the connection. 4 as-igb.rfa Seite 5 Donnerstag, April 24, 1997 4:59 PM System features of the Actuator Sensor Interface Figure 1: Flat cable AS-Interface Power, data, auxiliary power With the AS-Interface the data and the required power for the slave connection to the sensors and low-power actuators is transferred via the two-wire cable. The power supply of the AS-Interface has an integrated decoupling circuit. Additional power supply requirements can be provided via a separate 24 V DC supply for the actuators. The actuators can thus be integrated in the Emergency-Stop circuit and the AS-Interface does not have to be switched off as well. Master slave access 09/96 AWB 27-1271-GB The AS-Interface is a “single-master system”. There is one master and one supply unit for each AS-Interface line. The master controls the data exchange with the slaves. The length of the AS-Interface message is always the same. All configured and active slaves are addressed with every poll cycle. During the poll of the master, data e. g. output data, is transferred to the addressed slave. The slave responds with return data, e. g. inputs. 5 as-igb.rfa Seite 6 Donnerstag, April 24, 1997 4:59 PM Introduction To The Actuator Sensor Interface Master pause Master request Slave response Slave pause Ø SB A4 A3 A2 A1 AØ I4 I3 I2 I1 IØ PB 1 Ø I3 I2 I1 I0 PB 1 ST ST EB EB Figure 2: AS-Interface message 6 ST Start bit SB Control bit A4...A0 Address of the slave I4...I0 Information from master to slave and from slave to master PB Parity bit EB End bit as-igb.rfa Seite 7 Donnerstag, April 24, 1997 4:59 PM Topology, cable length Topology, cable length The AS-Interface allows the configuration of bus and tree topologies. The maximum length of all AS-Interface lines must not exceed 100 m. 300 m is possible using repeaters. Master Slave 1 Slave 2 Slave 3 Slave 4 Slave 5 Slave 6 Slave 7 Master Slave 1 Slave 2 Slave 6 Slave 3 Slave 7 Slave 5 Slave 4 09/96 AWB 27-1271-GB Figure 3: AS-Interface topology 7 as-igb.rfa Seite 8 Donnerstag, April 24, 1997 4:59 PM Introduction To The Actuator Sensor Interface Data volume, parameters Up to 124 inputs and 124 outputs with up to 31 slaves can be connected to an AS-Interface line. The combinations of four inputs, two inputs/two outputs and four outputs (depending on the slave) are possible in unipolar operation for each AS-Interface. With bi-directional operation a user data volume of four inputs and four outputs is possible. With each poll cycle of the master this data volume is transferred cyclically to the slave and back to the master. Special slaves are also able to modify the parameters. The “switching contact” (input) of a proximity initiator can be a make contact or a break contact. The data width of the parameters is 4 bit as with the data. The parameters of a slave can be written and read out with each poll cycle of the master. Slave profile The “slave profile” has been described with the AS-Interface specification to identify an AS-Interface slave. A slave profile consists of an ID code (defined by the AS-Interface association) and the I/O code (defined by the manufacturer). The profile is permanently stored in the slave (EEPROM). 8 as-igb.rfa Seite 9 Donnerstag, April 24, 1997 4:59 PM Topology, cable length Table 1: Slave profile AS-Interface profile I/ O C o d e 0 1 2 3 4 5 6 7 8 9 A B C D E F I,I,I,I I,I,I,O I,I,I,B I,I,O,O I,I,B,B I,O,O,O I,B,B,B B,B,B,B O,O,O,O O,O,O,I O,O,O,B O,O,I,I O,O,B,B O,I,I,I O,B,B,B T,T,T,T ID Code 0 1 0.1 1.1 2 3 4 5 6 7 8 9 A B C D E F N o X.O Reserved R X.O R B.1 X.O R D.1 X.O P r o f i l e X.F Not assigned V I = input, O = output, B = bidirectional, T = tristate; Profile: V = virgin/, R = reserved – I/O=X. ID= – I/O=X. ID=0 – I/O=0. ID=1 – I/O=1. ID=1 09/96 AWB 27-1271-GB – I/O=B. ID=1 – I/O=D. ID=1 Free profiles Remote I/O ports Two dual-signal sensors Single sensor with extended control Dual sensor with feedback Single actuator with monitoring 9 as-igb.rfa Seite 10 Donnerstag, April 24, 1997 4:59 PM Introduction To The Actuator Sensor Interface Cycle time With the maximum number of 31 slaves the AS-Interface master requires 5 ms to poll all slaves. The cycle time is reduced by approx. 0.15 ms per slave. Address To address an AS-Interface slave it must have an unambiguous address. The manufacturer’s default address of each slave is “0”. Only the addresses “1” to “31” are permissible during operation on the AS-Interface line. The slaves can be addressed via an AS-Interface addressing device or via the AS-Interface master. A slave can be changed and addressed automatically via the slave profile and the default address “0” during operation. Security The AS-Interface has several data security functions. The alternate pulse modulation (sin² signal) guarantees a high level of operational security. The AS-Interface master monitors the cable voltage and the transferred data. The master also recognises the failure of slaves and indicates any possible faults. The AS-Interface telegram is short and has a fixed length. All telegrams are checked for possible transfer errors by the receiver in the slave and by the master. A faulty telegram is repeated in the poll cycle immediately. 10 as-igb.rfa Seite 11 Donnerstag, April 24, 1997 4:59 PM Features of the ASInterface 09/96 AWB 27-1271-GB Features of the AS-Interface Topology Line or tree (as usual in the electrical installation) Transfer medium Unscreened two-wire cable for data and power Cable length 100 m; 300 m with two repeaters Number of slaves Max. 31 per line Number of sensors/ Max. 124 sensors or actuators actuators, bipolar max. 124 sensors and 124 actuators Addressing Fixed address via master or addressing device Messages Single address message of the master with direct slave response Net data rate 4 bits per slave , bipolar 4 bits sensor (input), 4 bits actuator (output) Cycle time 5 ms with 31 slaves Error control Identification and repetition of faulty telegrams Master functions Cyclical scanning of all stations (polling), cyclical data transfer to Suconet K line Manager function Initialisation of the network, of the master identification of the stations, acyclic assignment of parameter values to the stations, diagnostic of the data transfer and the AS-Interface slaves, error messages to the controller, addressing of slaves 11 12 09/96 AWB 27-1271-GB as-igb.rfa Seite 12 Donnerstag, April 24, 1997 4:59 PM as-igb.rfa Seite 13 Donnerstag, April 24, 1997 4:59 PM 2 Device overview Hardware The CM 4-505-GS1 is a Gateway Suconet K/ AS-Interface and was developed as AS-Interface master M1. The user data is transmitted to the AS-Interface master via a Suconet K cable. The CM 4-505-GS1 transfers the data to the AS-Interface. Figure 4 shows an overview of the operator and display elements of the CM 4-505-GS1. 09/96 AWB 27-1271-GB Warning! Ensure that you are free of electrostatic charge before touching the device. Electrostatic discharges may destroy the device. 13 as-igb.rfa Seite 14 Donnerstag, April 24, 1997 4:59 PM Hardware a b Suconet K power mode Suconet config err h U ASi ASi aktiv prg enable set prj mode + ASi + CM4-505-GS1 - c d g f e d Figure 4: Device overview a Mode button b Set button c Sub D Suconet K connection d Function earth connection e LCD display f AS-Interface connection g 30 V DC power supply connection (from AS-Interface supply unit) h Status LEDs 14 as-igb.rfa Seite 15 Donnerstag, April 24, 1997 4:59 PM Mounting the device Mounting the device 1. 3. 2. Figure 5: Mounting on top-hat rail acc. EN 50 022 1. Locate the device on the top-hat rail so that the upper edge of the top-hat rail snaps into position. 2. Push the device against the top-hat rail. 3. Let the device snap into position. M4 M4 + - + - 09/96 AWB 27-1271-GB Figure 6: Screw mounting 15 as-igb.rfa Seite 16 Donnerstag, April 24, 1997 4:59 PM Hardware The device can be installed vertically and horizontally. + - Installing the device + - - - + + Figure 7: Possible mounting options Connecting the interface 1. +2. + 2. Figure 8: Connecting the Suconet K interface 1. Fit the Sub D plug connector on the Suconet K interface. 2. Tighten the screws. 16 as-igb.rfa Seite 17 Donnerstag, April 24, 1997 4:59 PM Connecting the interface Warning! The valid safety and accident prevention regulations must be observed. Machines and plants which are equipped with the CM 4-505-GS1 are subject to the relevant EN and IEC standards (also VDE 0200, Part 410). Warning! Ensure that the low voltage is reliably isolated when using 24 V DC supplies. Only supply units produced according to IEC 364-4-41 (also VDE 0200, Part 410) must be implemented. Warning! Emergency-stop devices must be functional in all operating modes according to EN 60 204/ IEC 204 (VDE 0113). Unlocking the EmergencyStop device must not cause an uncontrolled or undefined restart. 09/96 AWB 27-1271-GB The AS-Interface power supply must meet the PELV protection measure in accordance with IEC 364-4-41. 17 18 09/96 AWB 27-1271-GB as-igb.rfa Seite 18 Donnerstag, April 24, 1997 4:59 PM as-igb.rfa Seite 19 Donnerstag, April 24, 1997 4:59 PM 3 Setup of the control cabinet Engineering The arrangement of the components in the control cabinet has an essential influence on the error-free functioning of plants and machines. When planning and designing the system ensure that the power section and control section are located separately. The power section includes – contactors – coupling modules – transformers – frequency inverters – current converters – DC supply units For effective protection against electromagnetic interference, arrange the components separately, according to their interference behaviour and power rating. Use dividers to reduce interference in small control cabinets. Ventilation Keep a distance of at least 5 cm between the CM 4-505-GS1 and the enclosure to ensure sufficient ventilation of the device 09/96 AWB 27-1271-GB The values stated in the Technical data (see Appendix) must be observed. 19 as-igb.rfa Seite 20 Donnerstag, April 24, 1997 4:59 PM Engineering Arranging the device in the control cabinet a b a c Figure 9: Horizontal arrangement a At least 5 cm clearance b Power section c Cable duct a a a b c Figure 10: Vertical arrangement a At least 5 cm clearance b Power section c Cable duct 20 as-igb.rfa Seite 21 Donnerstag, April 24, 1997 4:59 PM Power supply Power supply The CM 4-505-GS1 is supplied by the AS-Interface power supply. L1 N PE 2.5 mm2 max. 20 cm K1 F1 K1 CM 4-505-GS1 L1 G1 SN 4-024-DA7 L1 N G2 Screen A1 ASi + N PE 24 V DC ASi – + - + ØV - max. 1 m K2 K3 K4 AS-Interface Auxiliary power Outputs Figure 11: CM 4-505-GS1 supply and AS-Interface connection, auxiliary power of the outputs with EmergencyStop disconnection 09/96 AWB 27-1271-GB K2, 3, 4 Enable control voltage Emergency-Stop 21 as-igb.rfa Seite 22 Donnerstag, April 24, 1997 4:59 PM Engineering Connection to the Suconet K field bus If the CM 4-505-GS1 is connected as first or last device on the Suconet K bus, implement a bus terminating resistor of 120 Ω/0.25 W between TA/RA and TB/RB. GND 5 4 TA/RA 3 2 120 9 8 7 TB/RB 6 1 Figure 12: Bus terminating resistor Screening 22 Connect the Suconet K screen via a contact clip, e. g. ZB 4-102-KS1, to the earth potential. The distance between the earthing point and the CM 4-505-GS1 plug connector must be as short as possible. Figures 13 to 15 show the possible mounting options when using the contact clip. as-igb.rfa Seite 23 Donnerstag, April 24, 1997 4:59 PM Screening 1. a b 15 mm e mod er pow t ne CO SU err ig conf Si UA tiv i ak AS able en prg ode m i prj AS set 4-5 CM -G 05 S1 c d 2. 3. e M4 Figure 13: Screening of Suconet K via contact clip on mounting plate 1. Remove 15 mm of the cable sheath 2. Open the contact clip 3. Fit the contact clip, press together and screw on mounting plate a Mounting plate 09/96 AWB 27-1271-GB b CM 4-505-GS1 c Suconet K cable d Suconet K screen connection (ZB 4-102-KS1 contact clip) on metallic (galvanized) mounting plate e Earth connection mounting plate 23 as-igb.rfa Seite 24 Donnerstag, April 24, 1997 4:59 PM Engineering 1. 2. a b 15 mm e mod er pownet CO SU err ig conf Si UA tiv i ak le S A ab en prg e mod prj ASi d c set 15 mm Cu 2,5 mm 2 M4 4. f e Figure 14: Screening Suconet K via contact clip to earth terminal (top-hat rail) 1. 2. 3. 4. Remove 15 mm of the cable sheath Open the contact clip Screw contact clip with the cable lug Fit earth terminal a Mounting plate b CM 4-505-GS1 c Suconet K cable d Suconet K screen connection (ZB 4-102-KS1) e Earth connection mounting plate f Earth terminal 24 as-igb.rfa Seite 25 Donnerstag, April 24, 1997 4:59 PM Screening 1. a 2. b 15 mm e mod er pow t ne CO SU err ig confASi U tiv i ak AS able en prg ode m Si A prj d set 4-5 CM -G 05 S1 c f e Figure 15: Screening for Suconet K using contact clip and snap fastener 1. 2. 3. 4. Remove 15 mm of the cable sheath Open contact clip Screw contact clip with snap fastener Snap on top-hat rail a Mounting plate b CM 4-505-GS1 09/96 AWB 27-1271-GB c Suconet K cable d Suconet K screen connection (ZB 4-102-KS1) e Earth connection mounting plate f Snap fastener BT 432 25 as-igb.rfa Seite 26 Donnerstag, April 24, 1997 4:59 PM Engineering Preventing interferences Cabling and wiring Cables are divided into the following categories: – Power cables (e. g. power cables which carry high currents, or cables connected to current transformers, contactors, solenoid valves) – Control and signal cables (e. g. digital input cables) – Measuring and signal cables (e. g. field bus cables) Attention! The distance between power/control and signal cables must always be as large as possible. This will prevent capacitive and inductive coupling interference. If separate cable routing is not possible, always screen the interference cable. Ensure that the cables are routed correctly inside and outside the control cabinet to keep interference to a minimum: E Avoid long, parallel sections of different power levels. E Always separate AC cables from DC cables. E Keep the following distances: – at least 10 cm between power and signal cables – at least 30 cm between data and analogue cables 26 as-igb.rfa Seite 27 Donnerstag, April 24, 1997 4:59 PM Preventing interferences E Lay incoming and outgoing cables of one circuit in parallel so that the sum of all currents is zero. The fields will be compensated due to the inverse current flow. c a b Figure 16: Separated cable ducts for AC and DC voltage a The greater the distance the better the effect b Cable duct for 24 V DC 09/96 AWB 27-1271-GB c Cable duct for 230 V, 400 V AC 27 as-igb.rfa Seite 28 Donnerstag, April 24, 1997 4:59 PM Engineering a b c d e f a g bde f Figure 17: Separated cable routing of power and signal cables 28 as-igb.rfa Seite 29 Donnerstag, April 24, 1997 4:59 PM Lightning protection Legend of Figure 17: a Cover b Communication cables c Cable duct d Measuring cables, analogue cables e Control cables f Power cables g Continuous divider Suppression of interference sources Always observe the following principle: Implement all suppressor circuits as close as possible to the interference source (contactor, relay, solenoids). Note! All switched inductive loads should always be provided with a suppressor circuit. Lightning protection External lightning protection 09/96 AWB 27-1271-GB All cables routed outside a building must be screened. Metallic conduits are recommended for this. Use protection elements against overvoltages, such as for example varistors or other overvoltage arresters. These measures should be implemented as close as possible to the point where the cables concerned enter the building but at least at the entry to the control cabinet. 29 as-igb.rfa Seite 30 Donnerstag, April 24, 1997 4:59 PM Engineering Internal lightning protection The internal lightning protection includes all measures that reduce the effects of the lightning current and its electrical and magnetic fields on metallic components and electrical installations inside buildings. These are: – lightning protection potential equalisation – screening – use of overvoltage protection devices Note! You will find further information in the guidebook TB 27-001-GB, “Electromagnetic Compatibility (EMC) of Automation Systems”. 30 as-igb.rfa Seite 31 Donnerstag, April 24, 1997 4:59 PM 4 Setting the Suconet K address Operating the AS-Interface Master The two buttons “set” and “mode” are located on the front plate of the CM 4-505-GS1. The use of these buttons is described in the following chapters. Setting the Suconet address Press set and mode > 5s Display current address Address OK? yes Press mode > 5s no set => Address = Address + 1 Selected address = program. Address and Suconet connection OK yes End no config err Suconet LCD = 40 09/96 AWB 27-1271-GB Figure 18: Setting the Suconet K address 31 as-igb.rfa Seite 32 Donnerstag, April 24, 1997 4:59 PM Operating the AS-Interface Master The Suconet K address is set as shown in Figure 18. Pressing the “mode” and “set” buttons simultaneously for more than 5 s initiates the address setting mode. The current bus address appears on the LCD display. The default address of the CM 4-505-GS1 is “2”. Press the “set” button to increase the address by one value. If the required address has been reached, it can be accepted and saved retentively by pressing the “mode” button for more than 5 s. The LCD display goes out and the address setting is completed if Suconet K is connected and ready for operation and the set address matches the address programmed in the master. If one of the requirements is not met, this is indicated by the number “40” in the LCD display and the red LED “config err” going on. The green “Suconet” LED flashes at a frequency of 2 Hz if there is a difference between the address programmed in the master and the address set in the CM 4-505-GS1. The green “Suconet” LED does not flash regularly if Suconet is not connected or not ready for operation. LEDs of the AS-Interface master 32 The CM 4-505-GS1 has the following LEDs on the front plate: power The master is sufficiently supplied with voltage. Suconet The communication via the serial interface to Suconet K is active. as-igb.rfa Seite 33 Donnerstag, April 24, 1997 4:59 PM LEDs of the AS-Interface master config err A configuration error is present: – At least one configured slave is missing, or – at least one slave which has not been configured was detected on the AS-Interface or 09/96 AWB 27-1271-GB – the actual configuration does not match the set configuration with at least one configured and detected slave (inverted AS-Interface flag “Config OK”) U ASi The AS-Interface line is sufficiently supplied with voltage (inverted AS-Interface flag “APF/not APO”) ASi active Normal operation is active (AS-Interface flag “Normal Operation Active”) prg enable Automatic address programming is possible (AS-Interface flag “Auto Address Available”) Exactly one slave is missing in the protected operating mode. If this slave is replaced by a slave with the same configuration with the address “Zero”, the master programs this slave to the new address and the configuration error is rectified. prj mode The master is in Configuration mode (AS Interface flag “Configuration Active”) 33 as-igb.rfa Seite 34 Donnerstag, April 24, 1997 4:59 PM Operating the AS-Interface Master LCD display of the AS-Interface master When in its basic setting, the configuration mode shows the addresses of all detected AS-Interface slaves at a rate of two addresses each second. An empty display means an empty list of the detected slaves (LDS = List of detected slaves). In the basic state of the protected operating mode the display is empty or shows the address of an incorrect assignment. The display of a slave address has a different meaning when programming addresses manually (see sections Setting the Suconet address or Address programming in configuration mode). All displays that are higher than 31 and thus cannot be interpreted as a slave address are status or error messages of the master. They have the following meaning: 34 40 The AS-Interface master is in offline phase. 41 The AS-Interface master is in the detection phase. 42 The AS-Interface master is in activation phase. 43 The AS-Interface master starts protected operation. 66 Faulty I/O length. 70 Hardware error: The EEPROM in the AS-Interface master cannot be written. 72 Hardware error: The Interrupt flag of the PIC processor cannot be deleted. 73 Hardware error: The Interrupt flag of the PIC processor is not set. 74 Hardware error: Checksum error in the EPROM as-igb.rfa Seite 35 Donnerstag, April 24, 1997 4:59 PM 09/96 AWB 27-1271-GB LCD display of the ASInterface master 80 A slave with the address “Zero” is detected. The attempt was made to exit the configuration mode with connected slave “Zero”. 81 General error when modifying a slave address. 82 Operation via the buttons on the front plate has been locked. Accesses to the master are only possible from the host computer via the serial interface until the next restart of the master. 88 Display test when addressing the AS-Interface master. 90 A slave with address “Zero” is not present. This error occurred when programming slave addresses manually (see section Address programming in the configuration mode). 91 The destination address is already assigned. The error occurred during address programming in the configuration mode (see section Programming/Deleting slave address). 92 The new slave address could not be set. 93 The new address could only be saved temporarily in the slave. 94 The slave has faulty configuration data. The error occurred with address programming in the protected operating mode (see section Address programming with configuration errors). 35 as-igb.rfa Seite 36 Donnerstag, April 24, 1997 4:59 PM Operating the AS-Interface Master 95 The target address has already been assigned. The error occurred in the protected operating mode. The attempt was made to program a slave with address “Zero” to the address displayed as configuration error. This error, however, was caused by a redundant slave but not by a missing slave. Error messages see chapter 6, Error messages and error handling. Startup of the master 36 After the startup all segments of the digital display and all LEDs are switched on for approx. 1 second (self-test). The LEDs then show the status of the corresponding flags. The status of the master is shown on the LCD display after the AS-Interface master specification. The following applies: 40 Offline phase: The AS-Interface master is initialised and no data exchanges on the AS-Interface takes place. The master remains in the offline phase if the AS-Interface circuit is not sufficiently supplied with voltage (“U ASi” not lit). 41 Detection phase: Startup operation is initiated by searching for the slave on AS-Interface. The master remains in the detection phase until at least one slave is detected. 42 Activation phase: Status at the end of the startup operation where the parameters are transferred to all connected and detected AS-Interface slaves. The access to the data connections in the AS-Interface slaves is thus enabled. as-igb.rfa Seite 37 Donnerstag, April 24, 1997 4:59 PM Configuration mode 43 Configuration mode Starting normal operation: In normal operation the AS-Interface master can exchange data with all active slaves. The master transfers management telegrams, searches and activates recently connected slaves. During normal operation the maximum cycle time is 5. All detected slaves are activated in the configuration mode, even when the set and actual configurations are different. The master is switched to the configuration mode by pressing the “mode” button for at least five seconds. The yellow “prj mode” LED is lit during the configuration mode. All slaves entered in the LDS (List of detected slaves) are displayed in succession on the LCD display at a rate of two a second. An empty display means an empty LDS, i. e. no slaves were detected. All detected slaves, except the “Zero” slave are activated in the configuration mode. 09/96 AWB 27-1271-GB Protected operating mode Changing to protected operating mode Exit the configuration mode by pressing the “mode” button. The master exits the configuration mode by pressing the button for more than five seconds. The actual configuration is copied into the set configuration at the same time. A shorter press of the button will activate protected mode without copying the actual configuration into the set configuration. 37 as-igb.rfa Seite 38 Donnerstag, April 24, 1997 4:59 PM Operating the AS-Interface Master The configuration mode cannot be exited if a slave with address “Zero” is detected on the AS-Interface. In the protected mode only those slaves are activated which are entered into the List of projected slaves, the LPS, and whose set configuration data matches the actual configuration data. Configuration errors in protected operating mode The digital display is not activated in protected mode if there are configuration errors. Otherwise, in the case of a faulty assignment, the lowest address will be indicated. A faulty assignment is present if a slave is detected or configured, i. e. if the slave is entered in the LDS or LPS, but cannot be activated. Pressing the “set” button briefly will display the next higher address on the digital display with a faulty assignment. Address programming in configuration mode Programming slave address (assigning a free address to a slave with address “Zero” ) In the configuration mode the addresses of all detected slaves are indicated in succession. Pressing the “set” button briefly will display the next higher free operating address. Each further press of this button shows the next free address accordingly. Pressing the button for more than five seconds will select the currently displayed address as destination address. This address will then flash. The master is in programming status. Press the “set” button again to reprogram the connected slave with address “Zero” to the currently flashing address. 38 as-igb.rfa Seite 39 Donnerstag, April 24, 1997 4:59 PM Address programming with configuration errors If an error occurs, it is indicated with the appropriate error code as described in chapter 6, Error messages and error handling, otherwise the LDS is indicated. Delete slave address (assigning a “Zero” address to a detected slave) The addresses of all detected slaves are indicated in the configuration mode in succession. Pressing the “set” button briefly will cause the master to indicate the next free address. If the button is pressed for more than five seconds, the “00” display will appear and the previously displayed slave will be reprogrammed to address “Zero”. The LDS is shown again when the button is released. Address programming with configuration errors Automatic address programming If a slave fails due to a fault, it can be replaced with a device of the same design that has been assigned the address “Zero”. The automatic address programming of the AS-Interface master detects the faulty slave and programs the new slave automatically to the address of the faulty device. The following requirements must be fulfilled for automatic programming: 1. The AS-Interface master must be in the protected operating mode 2. The enable flag “auto prog” must be set. 09/96 AWB 27-1271-GB 3. No more than one slave cannot be detected. 39 as-igb.rfa Seite 40 Donnerstag, April 24, 1997 4:59 PM Operating the AS-Interface Master The AS-Interface indicates whether these conditions have been fulfilled via the “prg enable” LED. If it detects a slave with the address “zero”, it changes its operating address to that of the faulty slave. Automatic address programming is not possible if the two slaves have different configuration data, i. e. have different designs. Manual address programming Several slaves cannot be replaced automatically by the AS-Interface master if they fail. In this case, the addresses of the new slaves must be set manually. If this cannot be carried out via the serial interface, the slave addresses can be modified using the buttons and display. In protected operating mode incorrect address allocations are indicated (see chapter 6, Error signals and Error Handling). Pressing the “set” button quickly several times will cause all incorrect allocations to be displayed in succession. Holding this button depressed for at least five seconds will cause the currently displayed address to be selected as the potential destination address and the display starts to flash. If the faulty slave (flashing address) was replaced by a slave with the address “zero”, the new slave can be programmed to the flashing address by pressing the appropriate button. For this the configuration data of the slave concerned must match the configuration data entered for the flashing address. 40 as-igb.rfa Seite 41 Donnerstag, April 24, 1997 4:59 PM Address programming with configuration errors 09/96 AWB 27-1271-GB If the change of address is successfully completed, the next faulty allocation is displayed and the display is cleared. An error code will otherwise be displayed, as described in chapter 6, Error Messages of the LCD Display. 41 42 09/96 AWB 27-1271-GB as-igb.rfa Seite 42 Donnerstag, April 24, 1997 4:59 PM as-igb.rfa Seite 43 Donnerstag, April 24, 1997 4:59 PM 5 Brief description of Suconet K Operation Via Suconet K Suconet K is the name of the field bus system of Klöckner-Moeller. This system uses the cyclical master/slave polling procedure. The protocol allows the transfer of data at speeds of 187.5 or 375 Kbaud depending on the stations used. The system uses the RS 485 bus interface. Suconet K uses a line topology and twisted pair twowire cables as the transmission medium, allowing up to 8 or 30 slaves per bus line depending on the master configured. The permissible telegram length for each slave is fixed. With different slaves, however, this may vary. Data security can be implemented using vertical or horizontal parity, and either a CRC 16 or 32 data security procedure can be implemented, depending on the master used. The maximum length of the line depends on the baud rate configured: 187.5 Kbaud: 600 m 375 Kbaud: 300 m 09/96 AWB 27-1271-GB With Suconet K the data volume of the slaves may be variable. The CM 4-505-GS1 requires 20 bytes of read data, 20 bytes of write data and 1 byte (Read) for the Suconet K status byte. 43 as-igb.rfa Seite 44 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Location of the data in the Suconet K range The CM 4-505-GS1 is set as an active Suconet K slave with 20 bytes of read data, 20 bytes of write data and one status byte. Data access to the first 16 read/write data 0 ... 15 bytes can be implemented via the operands I.. or Q.. (bit, byte or word), as well as the operands SD... or RD... (PS 4-201-MM1). The read or write bytes 16 to 19 are only addressable via the operands RD.. or SD.. (bit, byte or word). The following protocol specifications apply to the transfer of AS-Interface data via Suconet K: From the point of view of the Suconet-K master the AS-Interface sensor is an input and is therefore addressed as a read byte in which bits 0 to 3 have valid data. The AS-Interface actuator is a write byte in which bits 00 to 3 contain output data. Example: The following operands are set for a CM 4-505-GS1connected to Suconet K line 1 with station address 1: Output data, data to the AS-Interface actuators: SD, SDB 1.1.0.0(.0), SDW 1.1.0.0 to SD, SDB, 1.1.0.15(.0), SDW 1.1.0.14 and/or QB, QW 1.1.0.0(.0) to Q, QB 1.1.0.15(.0), QW 1.1.0.14 44 as-igb.rfa Seite 45 Donnerstag, April 24, 1997 4:59 PM Format of data in the read and write range bytes 0 to 15 Input data, data from the AS-Interface sensors: RD, RDB, RDW 1.1.0.0(.0) to RD, RDB, RDW 1.1.0.15(.0) and/or. I, IB, IW 1.1.0.0(.0) to I, IB, IW 1.1.0.15(.0) Control and status data for the AS-Interface master must be written to the operand addresses SD, SDB 1.1.0.16(.0...7) to 19(.0...7); the acknowledge data of the AS-Interface master to the PLC is available under RD, RDB 1.1.0.16(.0...7) to 19(.0...7). The data and control addressing for other AS-Interface masters is defined in the same way. Remember that the first two operand indices always specify the Suconet K line and station address: 09/96 AWB 27-1271-GB Format of data in the read and write range bytes 0 to 15 The CM 4-505-GS1 AS-Interface master is responsible for the data exchange between up to 31 AS-Interface slaves. Since the actual user data volume per AS-Interface slave must not exceed 4 bits, the input/output data is packed for optimum utilisation of the transmission protocol. This is shown in the following diagram: 45 as-igb.rfa Seite 46 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Table 2: Packing diagram for the input/output data Bit Input Output IB-/QB Byte Control and status data AS-i AS-i 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 I4 Q4 6 5 4 I3 I2 I1 Q3 Q2 Q1 Slave 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 free 3 I4 Q4 2 1 I3 I2 Q3 Q2 Slave 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 Bytes 16 and 19 have the following meanings depending on the communication direction involved: Send direction PLC → CM 4-505-GS1 Byte 16, Flag Function 18, 19, 21 and “Disable operation”: 46 0 I1 Q1 as-igb.rfa Seite 47 Donnerstag, April 24, 1997 4:59 PM Control and status data SDBx. x. x. 16 AS-Interface master is Online = 0. Master running with data exchange= 0. Bit 2 Automatic addressing possible = 0 Bit 3 Operation of pushbutton not disabled = 0 Byte 17, Function Bit 0...4: Function number: see Function Overview and Function Description. Bit 0 Bit 1 Byte 18, AS-Interface slave address Bit 0...4: Address with function 3, 4, 5, 6, 8, 9, 11, 20, 22 09/96 AWB 27-1271-GB Byte 19, AS-Interface slave parameters, address, data, config Bit 0...3: Parameter P0...P3 with function 3, 5, 8, 20, 22 47 as-igb.rfa Seite 48 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Receive direction PLC ← CM 4-505-GS1 Byte 16, Flags of sequence control (1 = active) Bit 0 Config_OK: No configuration error present. Bit 1 LES.0: Slave with address zero present. Bit 2 Auto_prog: Automatic programming permitted. Bit 3 Auto_prog_available: Automatic programming possible. Bit 4 Config_active: Configuration mode active. Bit 5 Normal mode_active: Normal operation active. Bit 6 APF/not APO: Voltage drop on AS-Interface. Bit 7 Offline_ready: Offline phase active. Byte 17, Handshake function Bit 0...4: Function number see Function Overview and Function Description Bit 7: Status bit 0 = executed, 1 = not executed Byte 18: Address of slave as acknowledge Bit 0...4 Byte 19: Parameter acknowledge, Configuration data Bit 0...3 Acknowledge according to selected function 48 as-igb.rfa Seite 49 Donnerstag, April 24, 1997 4:59 PM Handshake AS-Interface master ↔ PLC Handshake AS-Interface master ↔ PLC The AS-Interface master can initiate several different functions. The standard setting is for reading and writing input and output data respectively. Other functions are described in the following section. Suconet K acts as the logical interface between the AS-Interface master and the PLC. All functions are handled via the 2 × 20 byte data range. The PLC is used to initiate the function required. The standard functions such as read and write jobs for I/O data (byte 0 to 15 in the read/write range) as well as the reading of the AS-Interface flag on byte 16 are transferred without any function being selected. Other functions such as setting parameters must be initiated. Only one of these functions can be processed at any time. Bytes 17, 18, 19 in the read/ write range are reserved for these separate functions. The time characteristics of the handshake sequence is shown in Figure 19. The PLC specifies the number of the required function via the Write byte 17 (numbers are shown in Table 3, AS-Interface functions). Write byte 18 and 19 contain the address and the parameters (when necessary). 09/96 AWB 27-1271-GB The AS-Interface master recognises the function and indicates the execution of the function via Read bytes 17, 18, 19. Read byte 17 always shows the function number. If bit 7 of this byte is set to 1 (value = 128 dec.), this means that the function was not executed correctly. The data indicated is thus invalid. The time behaviour is edge-triggered. 49 as-igb.rfa Seite 50 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Write byte 17: Function Write byte 18: Address Write byte 19: Parameter Read byte 17: Function + Status bit 7 Read byte 18: Address Read byte 19: Parameter t Figure 19: Time characteristics of the handshake PLC ↔ CM4-505-GS1 50 as-igb.rfa Seite 51 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Function overview and function description The following description is an overview of the AS-Interface functions available. (Source: Complete ASI-Specification V 2.0) Table 3: AS-Interface functions Number of function 0, 5 0, 5 3 4 5 6 7 8 9 10 09/96 AWB 27-1271-GB 11 Request Data transfer/ purpose Image, Status=Read_IDI ( ) Status=Write=_ODI Status=Set_Permanent_Parameter (Addr, Param) Param, Status=Get_Permanent_ Parameter (Addr) Status, RParam=Write_Parameter (Addr, Param) Status, Param=Read_Parameter (Addr) Status=Store_Actual_Parameter ( ) Status=Set_Permanent_ Configuration (Addr, Config) Status.Config=Get_Permanent_ Configuration (Addr) Status=Store_Actual_Configuration ( ) IDI → Host Host → ODI Host → PP [x] 12 13 14 15 0,5 17 Status, Config=Read_Actual_ Configuration (Addr) Status=Set_LPS (List 31) Status, List 31=Get_LPS ( ) Status, List 31=Get_LAS ( ) Status, List 32=Get_LDS ( ) Status, Flags=Get_Flags ( ) Status=Set_Operation_Mode (Mode) 18 Status=Set_Offline_Mode (Mode) 19 Status=Set_Data_Exchange_Active (Mode) Status=Change_Slave_Address (Addr 1, Addr 2) 20 Only Each slave in slave LAS x x Config mode x x x PP [x] → Host x Host → PI [x] - x → Slave [x] PI [x] → Host PI → PP Host → PCD [x] PCD [x] → Host x x x CDI → PCDLDS → LPS CDI [x] → x x Host Host → LPS LPS → Host LAS → Host LDS → Host Flags → Host Host → OfflineFlag Host → OfflineFlag Host → DE-Flag Host → Slave Always x x x x x x x x x 51 as-igb.rfa Seite 52 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Number Request of function 21a Status=Set_Auto_Address_ Enable (Mode) 21b Mode=Get_Auto_Address_Enable ( ) 22 Status, response=Execute_ Command (Addr, Info) Data transfer/ purpose Only Each slave in slave LAS Config mode Always Host → AE-Bit Host ← AE-Bit Host → Slave x Abbreviations: IDI HOST ODI PP PI PCD CDI PCD LDS LPS LAS LDS DE-Flag AE-Bit Input Data Image here: PLC Output Data Permanent Parameter Parameter Image Permanent Configuration Data Configuration Data Image Permanent Configuration Data List of Detected Slaves List of Projected Slaves List of Activated Slaves List of Detected Slaves Data Exchange Flag Address Enable Bit The AS-Interface specification V 2.0 provides function M1 for the AS-Interface master used here. The following paragraphs describe the functions of the AS-Interface. 52 as-igb.rfa Seite 53 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Functions 1 and 2: Fulfilled implicitly Function 3: Set permanent parameter This function causes the AS-Interface master, to retentively save in the permanent parameter field the parameter value in byte 19 under the address specified in byte 18. The address from byte 18 specifies the field offset that corresponds at the same time to the AS-Interface slave address. Command: PLC → CM 4-505-GS1 Byte 17: 3 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] Byte 19: Parameter for AS-Interface slave 09/96 AWB 27-1271-GB Acknowledge: CM 4-505-GS1 → PLC Byte 17: 3 = Command executed 1 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete 53 as-igb.rfa Seite 54 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Function 4: Fetch permanent parameter The PLC requests from the AS-Interface master the parameter value stored in the permanent parameter field under the address specified in byte 19. Command: PLC → CM 4-505-GS1 Byte 17: 4 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] Byte 19: 0 Acknowledge: CM 4-505-GS1 → PLC Byte 17 4 = Command executed 132 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete Byte 19: Parameter of the AS-Interface slave [1 ≤ Addr. ≤ 31] Function 5: Write parameter The PLC supplies the AS-Interface master with the parameter value in byte 19. On the one hand this should be stored in the parameter image (PI = Parameter Image) under the address specified in byte 18, and then passed on to the corresponding AS-Interface slave. This function can be used for slaves that are detected as active and are as such entered in the list of active slaves (LAS = List of active slaves). Command: PLC → CM 4-505-GS1 54 Byte 17: 5 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] as-igb.rfa Seite 55 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Byte 19: Parameter for AS-Interface slave Acknowledge: CM 4-505-GS1 → PLC Byte 17: 5 = Command executed 133 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete Byte 19: Parameter of the AS-Interface slave [1 ≤ Addr. ≤ 31] Function 6: Read parameter The PLC requests from the AS-Interface master the parameter value of the PI with an offset address specified in byte 18. Command: PLC → CM 4-505-GS1 Byte 17: 6 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] Byte 19: 0 09/96 AWB 27-1271-GB Acknowledge: CM 4-505-GS1 → PLC Byte 17: 6 = Command executed 134 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete Byte 19: Parameter of the AS-Interface slave [1 ≤ Addr. ≤ 31] 55 as-igb.rfa Seite 56 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Function 7: Save current parameter The PLC causes the AS-Interface master to transfer the content of the PI to the Permanent parameter list (PP) and thus to declare it as retentive. The default values of the PP of a new AS-Interface master is FF(16). Command: PLC → CM 4-505-GS1 Byte 17: 7 Byte 18, 19 not required Acknowledge: CM 4-505-GS1 → PLC Byte 17: 7 Command executed 135 = Command invalid Function 8: Set permanent configuration The PLC causes the AS-Interface master to transfer the configuration of an AS-Interface slave specified in byte 18 to the permanent data list (PCD) and save retentively. The default value of the PCD of a new AS-Interface master is FF(16). Command: PLC → CM 4-505-GS1 Byte 17: 8 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] Byte 19: Configuration data Acknowledge: CM 4-505-GS1 → PLC 56 Byte 17: 8 = Command executed 136 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete Byte 19: Configuration data, Echo as-igb.rfa Seite 57 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Function 9: Fetch permanent configuration The PLC requests from the AS-Interface master the retentive configuration data for the address specified in byte 18. This data comes from the PCD field. Command: PLC → CM 4-505-GS1 Byte 17: 9 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] Acknowledge: CM 4-505-GS1 → PLC Byte 17: 9 = Command executed 137 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete Byte 19: Configuration data The configuration data of the AS-Interface slave consists of two parts: the identification code and the I/O configuration. Since both parts only require 4 bits, they are transferred together in one byte with the lower nibble containing the I/O configuration and the upper nibble the identification code. 7 6 5 09/96 AWB 27-1271-GB ID code 00 to 0F(16) 4 3 2 1 0 I/O configuration 00 to 0F(16) 57 as-igb.rfa Seite 58 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Function 10: Save current configuration The PLC causes the AS-Interface master to transfer the content of the current configuration data image (CDI) without a value for slave 0 to the PCD field and transfer the LAS to the LPS. The parameter data value is set to the default value F(16) for all slaves not in the LPS. This function can only be executed in the configuration mode (see function 17) Command: PLC → CM 4-505-GS1 Byte: 10 Byte 18, 19 not required Acknowledge: CM 4-505-GS1 → PLC Byte 17: 10 = Command executed 138 = Command invalid Function 11: Read current configuration The PLC requests from the AS-Interface master the parameter value that is located under the address specified in byte 18 in the CDI of the AS-Interface master. Command: PLC → CM 4-505-GS1 Byte 17: 11 Byte 18: AS-Interface slave address [1 ≤ Addr. ≤ 31] Acknowledge: CM 4-505-GS1 → PLC 58 Byte 17: 11 = Command executed 139 = Command invalid Byte 18: Sent address as acknowledge, otherwise handshake incomplete Byte 19: Configuration data as-igb.rfa Seite 59 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Function 12: Send list of configured slaves (LPS) The PLC sends the 15-byte list of configured slaves to the AS-Interface master which stores them retentively. This function can only be executed in configuration mode (see function 17). When the AS-Interface master has accepted the list, it switches to offline mode in order to reset all slaves concerned. The default value for the LPS of a new AS-Interface master is 0. Command: PLC → CM 4-505-GS1 Byte 17 ⇒ 12 Byte 0–15 per nibble: no slave 00(16): Configure odd slave numbers 0F(16): Configure even slave numbers F0(16): Configure all slave numbers FF(16): Acknowledge: CM 4-505-GS1 → PLC 09/96 AWB 27-1271-GB Byte 17: 12 = Command executed 140 = Command invalid 59 as-igb.rfa Seite 60 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Function 13: Fetch the list of configured slaves (LPS) The PLC requests the LPS from the AS-Interface master. The AS-Interface master sends this list in nibble format packed in bytes 0 to 15 of the input data range. Command: PLC → CM 4-505-GS1 Byte 0–15: Output values from user program cycle Byte 17: 13 Acknowledge: CM 4-505-GS1 → PLC Byte 17: 13 = Command executed 141 = Command invalid Byte 0–15: List of configured slaves Function 14: Fetch list of active slaves (LAS) The PLC requests the LAS from the AS-Interface master. The AS-Interface master sends this list in nibble format packed in bytes 0 to 15 of the input data range. If there are no configuration errors, i. e. bit 0 of the flag (Byte 16) in the input range = 1, LPS and LAS are identical. Command: PLC → CM 4-505-GS1 Byte 0–15: Output values from user program cycle Byte 17: 14 Acknowledge: CM 4-505-GS1 → PLC 60 Byte 17: 14 = Command executed 142 = Command invalid Byte 0–15: List of active slaves as-igb.rfa Seite 61 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Function 15: Fetch list of detected slaves (LDS) The PLC requests the list of detected slaves (LDS) from the AS-Interface master. The AS-Interface master sends the list in nibble format packed in bytes 0 to 15 of the input data range. Command: PLC → CM 4-505-GS1 Byte 0–15: Output values from the user program cycle Byte 17: 15 Acknowledge: CM 4-505-GS1 → PLC Byte 17: 15 = Command executed 143 = Command invalid Byte 0–15: List of detected slaves Function 16: Fetch flags 09/96 AWB 27-1271-GB This function is fulfilled implicitly, i. e. a current flag (byte 16) is always present in the input range of the Suconet K data flow. 61 as-igb.rfa Seite 62 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Function 17: Set operating mode This function enables the PLC to switch the AS-Interface master to protected mode (Byte 19 = 0) or configuration mode (Byte 19 = 1). Functions 8, 10, 12, 20 and 22 can only be executed in configuration mode. Command: PLC → CM 4-505-GS1 Byte 17: 17 Byte 19: = 0: protected mode ≠ 0: configuration mode Acknowledge: CM 4-505-GS1 → PLC Byte 17: 17 = Command executed 145 = Command invalid Byte 19: = 0: protected mode ≠ 0: configuration mode Function 18, 19 and 21 are flag related and can be initiated without any special calls: Function 18 Byte 16, Bit 0 = 0: Online mode = 1: Offline mode Function 19 Byte 16, Bit 1= 0: data exchange between AS-Interface master and slave active = 1: data exchange between AS-Interface master and slave inactive. Caution! Outputs retain their last value. 62 as-igb.rfa Seite 63 Donnerstag, April 24, 1997 4:59 PM Function overview and function description Function 21a Byte 16, Bit 2= 0: Automatic addressing possible = 1: Automatic addressing not possible Function 21b Byte 16, Bit 3= 0: Operation of both buttons on the AS-Interface master enabled = 1: Operation of both buttons on the AS-Interface master disabled Function 20: Change slave address The PLC causes the AS-Interface master to change the address specified in byte 18 to the new slave address specified in byte 19. Command: PLC → CM 4-505-GS1 Byte 17: 20 Byte 18: Old, previous AS-Interface slave address Byte 19: New AS-Interface slave address to be assigned Acknowledge: CM 4-505-GS1 → PLC Byte 17: 20 = Command executed 148 = Command invalid 09/96 AWB 27-1271-GB Byte 19: New AS-Interface slave address or error code to be assigned 63 as-igb.rfa Seite 64 Donnerstag, April 24, 1997 4:59 PM Operation Via Suconet K Functions of write byte 16 These functions are generated by simply manipulating byte 16 and have no independent function code in byte 17. Function 18 Bit 0 of byte 16: Switch AS-Interface master to operating mode 0 = Online 1 = Offline Acknowledge, read byte 16: Bit 5 = 0, Bit 7 = 1 Function 19 Bit 1 of byte 16: 0 = Master running with data exchange 1 = Master stops data exchange Acknowledge: none Function 21 Bit 2 of byte 16: 0 = Automatic addressing possible 1 = Automatic addressing not possible Acknowledge, read byte 16: Bit 2 = 0, Bit 3 = 0 Bit 3 of byte 16: 0 = Operation of both buttons on AS-Interface master enabled 1 = Operation of both buttons on AS-Interface master disabled Bit 4...7 free 64 as-igb.rfa Seite 65 Donnerstag, April 24, 1997 4:59 PM 6 Suconet K error messages Error Messages and Error Handling Suconet K provides a number of different error messages so that it can be monitored online. The status of the Suconet K master can be read according to the type used. Example: PS 4-201-MM1 The PS 4-201-MM1 diagnostics bit contains the “Diagnostics remote configuration” bit (DDK; Bit 2) L S IS 0.2 M 100.1 "DDKerror "Error in Suconet K section detected 09/96 AWB 27-1271-GB For more accurate troubleshooting the diagnostics bits on the CM 4-505-GS1 can also be scanned. 65 as-igb.rfa Seite 66 Donnerstag, April 24, 1997 4:59 PM Error Messages and Error Handling The following bits of the CM 4-505-GS1 are accessible: Table 4: Explanation of diagnostics bits Bit 1 2 4 5 6 7 Status 0 1 0 1 0 1 0 1 0 1 0 1 Description CM 4-505-GS1 in Run (Suconet K end). CM 4-505-GS1 in Halt (Suconet K end). No input length error. Input length error. Device OK CM 4-505-GS1 has a hardware error (Suconet K end). CM 4-505-GS1 in normal operation CM 4-505-GS1 is not on normal operation. Connection OK No connection Device identification OK. Device identification not OK Example: PS 4-201-MM1 Line 1 Slave 1 LE No. 0 Byte 0 Bit 1 or 7 Program scan whether Suconet K reports an error in range of Slave 1: 66 as-igb.rfa Seite 67 Donnerstag, April 24, 1997 4:59 PM Error messages via device LEDs L O O O O O S IS 1.1.0.0.1"CM 4-505-GS1 is in HALT "(Slave 1). IS 1.1.0.0.2"Input length error (Slave 1) IS 1.1.0.0.4"Hardware error (Slave 1) IS 1.1.0.0.5"No normal operation (Slave 1) IS 1.1.0.0.6"No connection (Slave 1) IS 1.1.0.0.7"Device identification incorrect (Slave 1) M 100.0" Fault Suconet K (Slave 1) Other line or slave addresses must be adapted accordingly. Error messages via device LEDs power Master has sufficient power supply. If the LED goes out, the power supply to the master is not sufficient. Measure: Check the voltage on the AS-Interface connection of the CM 4-505-GS1. The master requires a voltage of 26.5 V. A power supply overload may be the cause of the fault. 09/96 AWB 27-1271-GB Suconet Communication via the serial Suconet K is active. If the LED flashes at a regular frequency of 2 Hz, the hardware connection to the master is established but there is no data transfer. The cause of this error may, for example, be a Suconet address programmed in the master that is not the same as the Suconet address set in the CM 4-505-GS1. If the LED does not flash at regular intervals, this means that the hardware connection to the Suconet master is faulty. 67 as-igb.rfa Seite 68 Donnerstag, April 24, 1997 4:59 PM Error Messages and Error Handling config err A configuration error is present. – At least one configured slave is missing or – at least one slave that was not configured was detected on the AS-Interface, or – on at least one configured and detected slave the actual configuration does not match the set configuration (inverted AS-Interface flag “Config OK”). U ASi 68 The power supply for the AS-Interface connection is sufficient (inverted AS-Interface flag “APF/not APO”). as-igb.rfa Seite 69 Donnerstag, April 24, 1997 4:59 PM Error messages via the ASInterface flags Error messages via the AS-Interface flags 09/96 AWB 27-1271-GB Error messages of the LCD display Byte 16: Flags of the sequence control (1 = active) Bit 0 Config_OK: No configuration error Bit 1 LES.0: Slave present with address Zero Bit 2 Auto_prog: Automatic programming permitted Bit 3 Auto_prog_available: Automatic programming possible Bit 4 Configuration_active: Configuration mode is active Bit 5 Normal operation_active: Normal operation active Bit 6 APF/not APO: Voltage failure on AS-Interface Bit 7 Offline_ready: Offline phase is active 70 Hardware error: The EEPROM in the AS-Interface master cannot be written. 72 Hardware error: Interrupt flag of PIC processor cannot be cleared 73 Hardware error: Interrupt flag of PIC processor cannot be set. 74 Hardware error: Checksum error in EPROM 80 Slave with address Zero detected. Attempt was made to leave the configuration mode with a connected Zero slave. 81 General error when modifying a slave address. 69 as-igb.rfa Seite 70 Donnerstag, April 24, 1997 4:59 PM Error Messages and Error Handling 70 90 A slave with Zero address is not present. This error occurred when manually programming slave addresses (see chapter 4, Address Programming in Configuration Mode). 91 Destination address already assigned. The error occurred when programming an address in Configuration mode (see chapter 4, Programming/Deleting Slave Addresses). 92 The new slave address could not be set. 93 The new address could only be saved non-retentively in the slave. 94 The slave has incorrect configuration data.The error occurred when programming an address in protected operating mode (see chapter 4, Address Programming With Configuration Errors) 95 Destination address already assigned. The error occurred in protected mode. An attempt was made to program a slave with the address “Zero” to the address displayed as a configuration error. This error, however, was caused by an additional slave rather than a missing one. as-igb.rfa Seite 71 Donnerstag, April 24, 1997 4:59 PM 7 Example Programs The following three examples are provided to illustrate the user-friendly handling of the AS-Interface. Example 1: Addressing the inputs/outputs The following example illustrates the addressing of inputs and outputs. 09/96 AWB 27-1271-GB A PS 4-201-MM1 is used as the Suconet K master. The Gateway CM 4-505-GS1 is implemented as the AS-Interface master for the coupling between the AS-Interface and Suconet K. 71 as-igb.rfa Seite 72 Donnerstag, April 24, 1997 4:59 PM Example Programs The following topology is used: SN 4-024-DA7 PS 4-201-MM1 CM 4-505-GS1 AS-Interface power supply + - + - A B C D E F GH + - Suconet K AS-Interface 1 10 20 User modules Figure 20: Example topology for addressing inputs and outputs 72 as-igb.rfa Seite 73 Donnerstag, April 24, 1997 4:59 PM Example 2: Evaluation of error messages The AS-Interface CM 4-505-GS1 is the first slave in the Suconet K line 1. The following AS-Interface slaves are to be addressed: Slave 1 with 4 inputs Slave 10 with 2 inputs and 2 outputs Slave 20 with 4 outputs Slave 1 I 1.1.0.0.0 I 1.1.0.0.1 I 1.1.0.0.2 I 1.1.0.0.3 Input Input Input Input 1 2 3 4 Slave 10 I 1.1.0.4.4 I 1.1.0.4.5 Q 1.1.0.4.6 Q 1.1.0.4.7 Input 1 Input 2 Output 1 Output 2 Slave 20 Q 1.1.0.9.4 Q 1.1.0.9.5 Q 1.1.0.9.6 Q 1.1.0.9.7 09/96 AWB 27-1271-GB Example 2: Evaluation of error messages Output 1 Output 2 Output 3 Output 4 As with the AS-Interface, the trouble-free operation of bus systems must also be ensured. The Gateway CM 4-505-GS1 provides several AS-Interface status messages via Suconet K. 73 as-igb.rfa Seite 74 Donnerstag, April 24, 1997 4:59 PM Example Programs SN 4-024-DA7 PS 4-201-MM1 CM 4-505-GS1 AS-Interface power supply + - + - A B CDE F GH + - Suconet K AS-Interface Figure 21: Example topology to illustrate the error messages The AS-Interface status information is provided continuously on the Suconet K input communication byte 16. The following bits should be scanned for possible error messages when running machines or plants in Automatic mode. Bit 0: Config OK This bit is set to 0 in the event of a configuration error. Possible causes: 74 – A slave is missing that was configured during commissioning. – A slave that was not configured was detected on the AS-Interface. – The actual configuration (ID code) of at least one configured and detected slave does not match the set configuration. as-igb.rfa Seite 75 Donnerstag, April 24, 1997 4:59 PM Example 2: Evaluation of error messages Bit 4: Configuration mode OK The AS-Interface-Gateway CM 4-505-GS1 is in Configuration mode. Note! In Configuration mode all detected slaves are activated even if the set and actual configuration is different. This output is set, if, for example, the outputs are set of the PLC (Host) which, with the AS-Interface Gateway in protected mode, are to address slaves that are not in the set configuration. Configuration mode is active if bit 4 is set to 1. Bit 5: Normal operation is active The cyclical data exchange with the AS-Interface slaves is active. If bit 5 is 0, the cyclical data exchange is not active. Bit 6: AS-Interface voltage drop Bit 6 is 1 if the voltage of the AS-Interface is too low to ensure correct operation. 09/96 AWB 27-1271-GB Bit 7: Offline phase is active Bit 7 is 1 if the AS-Interface master is in the initialisation phase. No data exchange is present on the AS-Interface. 75 as-igb.rfa Seite 76 Donnerstag, April 24, 1997 4:59 PM Example Programs Program section for evaluating error messages "Printout of file c:asiflag1.q42" 00000 001 002 00001 001 00002 001 002 003 00003 001 002 003 004 005 006 007 008 009 010 011 00004 001 002 003 004 00005 001 76 MATCH CONFIG WATT_ESS ERROR RESET BYE_BYE "Start L I 0.2 I_Start JCN RESET "Incorporating the configuration file #include "asiflag1.k42" "Scan flags L RDB1.1.0.16 = MB100 "The errors are bundled here. L M 100.7 AS-Interface Offline phase O M 100.6 AS-Interface voltage drop ON M 100.5 AS-Interface normal operation S M 10.0 AS-Interface not ready L M 10.0 O M 100.4 ON M 100.0 S M 10.1 AS-Interface AS-Interface AS-Interface AS-Interface JP BYE_BYE "Reset faults L K 1 R M 10.0 R M 10.1 AS-Interface not ready AS-Interface fault Automatic "End of program EP not ready Configuration mode Config OK faults Automatic as-igb.rfa Seite 77 Donnerstag, April 24, 1997 4:59 PM Example 3: Setting parameters for proximity switches Marker 10.0 indicates whether there is no data exchange on the AS-Interface. If this message is present, both the inputs and outputs of the AS-Interface must not be used. Marker 10.1 indicates a fault that should be scanned during Automatic mode. Example 3: Setting parameters for proximity switches The function of certain AS-Interface slaves can be set for particular requirements. For example, the switch output ATI 1DN-ASI and ATI 2DN-ASI proximity switches can be set to operate either as a make contact or break contact. These proximity switches have a standard setting for make contact operation. Break contact operation can be implemented by changing the parameters accordingly. The parameters are modified via the AS-Interface master No. 5 “Write Parameters”. Other functions are described in the section, Function overview and function description, chapter 5. 09/96 AWB 27-1271-GB The AS-Interface Gateway is slave 1 in the Suconet K line. A PS 4-201-MM1 is used as the master. The AS-Interface slave 10 is an ATI 1DN-ASI proximity switch. The switch output is to operate as a break contact. 77 as-igb.rfa Seite 78 Donnerstag, April 24, 1997 4:59 PM Example Programs Data assignment of the proximity switch: Signal assignment of the AS-Interface Slave Input PS 4-201-MM1 D0 = D1 = D2 = D3 = I 1.1.0.4.4 I 1.1.0.4.5 I 1.1.0.4.6 I 1.1.0.4.7 Switch output Unreliable range Ready for operation N.B. Parameters P0 = not assigned P1 = 1 = Make/0 = Break P2 = not assigned P3 = not assigned Note! The following program section only shows the part required for setting parameters. 78 as-igb.rfa Seite 79 Donnerstag, April 24, 1997 4:59 PM Example 3: Setting parameters for proximity switches Program flow diagram START no SET CYC_P10 = 1 FUNC_P10 = 5 TIM_P10 = 1 CYC_P10 ? yes REC_P10 = 5 ? yes no REC_P10 = 133 ? no yes TIMQ_P10 = 1 ? no yes ERR_P10 = 1 RESET CYC_P10 = 0 FUNC_P10 = 0 TIM_P10 = 0 09/96 AWB 27-1271-GB BYE_BYE 79 as-igb.rfa Seite 80 Donnerstag, April 24, 1997 4:59 PM Example Programs The program for the PS 4-201-MM1: " Printout of the c:asipara1.q42" 00000 START "Start of program 001 L I 1.1.0.4.4 I_prox. switch slave AS-i 10 002 = M 4.4 Controller 003 004 005 "Transfer slave address 006 L KHB 0A 007 = 'ADDR_P10 QMB_Address slave AS-i 10 008 009 "Define required parameters 010 L KHB 00 011 = 'PARA_P10 QMB_Parameter slave AS-i 10 012 013 L I 0.2 I_Start of parameter entry 014 = 'STRT_P10 Start of parameter entry 015 00001 CONFIG "Incorporate configuration file 001 002 # include "asipara1.k42" 003 00002 BEORNOT "Check whether to edit parameters 001 LN 'STRT_P10 Start of parameter entry 002 O 'END_P10 M_End of cycle 003 JC BYE_BYE 004 00003 INPUT "Include Suconet K input data 001 L RDB1.1.0.17 IB_function byte AS-i master 002 = 'REC_P10 IMB_Function Receive 003 00004 PAR10_5 "Start of parameter cycle 001 L 'CYC_P10 M_Cycle 002 JC PAR10_15 003 00005 PAR10_10 "Set cycle, function, watchdog 001 L 'STRT_P10 Start of parameter 002 S 'CYC_P10 M_Cycle running 003 004 L KHB 5 005 = 'FUNC_P10 QMB_Function master AS-i 006 00006 PAR10_15 "Cycle correctly executed? 001 L 'REC_P10 IMB_Function Receive 80 as-igb.rfa Seite 81 Donnerstag, April 24, 1997 4:59 PM 09/96 AWB 27-1271-GB Example 3: Setting parameters for proximity switches 002 003 004 005 00007 001 002 003 004 005 00008 001 002 003 004 00009 001 002 003 00010 001 002 003 004 005 006 007 008 00011 001 002 003 004 005 006te 007 008 009 00012 001 002 003 004 005 006 007 008 CP KHB 5 BE RESET10 PAR10_20 "Cycle correctly executed? L 'REC_P10 IMB_Function Receive CP KHB 85 BE ERROR10 PAR10_25 "Scan whether watchdog signalled ? L 'TIMQ_P10 M_Watchdog here P 10 JC ERROR10 JP OUTPUT10 ERROR10 "Evaluate error flag L K 1 S 'ERR_P10 M_Error parameter entry "Reset all L K 1 R 'CYC_P10 S 'END_P10 M_Cycle running M_End of cycle L KHB 0 = 'FUNC_P10 = 'PARA_P10 QMB_Function master AS-i QMB_Parameter slave AS-i 10 RESET10 OUTPUT10 BYE_BYE "Transfer output data on Suconet K L 'FUNC_P10 QMB_Function master AS-i = SDB1.1.0.17 QB_Function master AS-i L 'ADDR_P10 = SDB1.1.0.18 QMB_Address slave AS-i 10 QB_Address slave AS-i L 'PARA_P10 = SDB1.1.0.19 QMB_Parameter slave AS-i 10 QB_Parameter slave AS-i "Program ends here "Program re-initialised "by zero reset ’STRT_P10. TR10 -MS [ ] S: 'CYC_P 10 [ ] R: [ ] STOP: Watchdog parameters M_Cycle running 81 as-igb.rfa Seite 82 Donnerstag, April 24, 1997 4:59 PM Example Programs 009 010 011 012 013 014 015 016 017 [w] I: KW 1000 [ ] EQ: 'TIMQ_P 10 [w] Q: M_Watchdog here P 10 LN 'STRT_P10 R 'END_P10 R 'ERR_P10 Start of parameter entry M_End of cycle M_Error parameter entry EP Reference file for the above program: " Printout of file c:asipara1.z42" Symbols STRT_P10 CYC_P10 TIMQ_P10 END_P10 ERR_P10 PARA_P10 ADDR_P10 FUNC_P10 REC_P10 82 Operands I 0.2 I 1.1.0.4.4 RDB1.1.0.17 SDB1.1.0.17 SDB1.1.0.18 SDB1.1.0.19 M 4.4 M 10.0 M 10.1 M 10.2 M 10.3 M 10.7 MB20 MB21 MB22 MB23 TR10 C Terminals Operand comment I_Start of parameter entry I_Prox. switch slave . AS-i 10 IB_Byte function master AS-i QB_Function master AS-i QB_Address slave AS-i QB_Parameter slave AS-i Controller Start of parameter entry M_Cycle running M_Watchdog here P 10 M_End of cycle M_Error parameter entry QMB_Parameter slave AS-i 10 QMB_Address slave AS-i 10 QMB_Function master AS-i IMB_Function Receive Watchdog parameters as-igb.rfa Seite 83 Donnerstag, April 24, 1997 4:59 PM Appendix Technical data Rated operational voltage 30 V DC (18–32 V DC) Rated operational current 300 mA Operating temperature 0 °C to +55 °C Storage temperature –25 °C to +85 °C Dimensions H ×W ×D 75 × 100 × 119 mm Weight 0.33 kg Degree of protection Housing IP 40, Terminals IP 20 Max. Suconet K address Suconet K Slave 09/96 AWB 27-1271-GB Interference suppression 31 (30th station) Active slave 20 Read and 20 Write byte plus 1 Read byte for Suconet K status message Limit class A acc. EN 50 081-2 Electromagnetic radiation IEC 801-3 Electrostatic Discharge IEC 801-2 Interference pulses IEC 801-4 83 as-igb.avz Seite 84 Donnerstag, April 24, 1997 5:04 PM 84 Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Flat cable AS-Interface 5 AS-Interface message 6 AS-Interface topology 7 Device overview 14 Mounting on top-hat rail acc. EN 50 022 15 Figure 6: Screw mounting 15 Figure 7: Possible mounting options 16 Figure 8: Connecting the Suconet K interface 16 Figure 9: Horizontal arrangement 20 Figure 10: Vertical arrangement 20 Figure 11: CM 4-505-GS1 supply and AS-Interface connection, auxiliary power of the outputs with EmergencyStop disconnection 21 Figure 12: Bus terminating resistor 22 Figure 13: Screening of Suconet K via contact clip on mounting plate 23 Figure 14: Screening Suconet K via contact clip to earth terminal (top-hat rail) 24 Figure 15: Screening for Suconet K using contact clip and snap fastener 25 Figure 16: Separated cable ducts for AC and DC voltage 27 Figure 17: Separated cable routing of power and signal cables 28 Figure 18: Setting the Suconet K address 31 Figure 19: Time characteristics of the handshake PLC ↔ CM4-505-GS1 50 Figure 20: Example topology for addressing inputs and outputs 72 Figure 21: Example topology to illustrate the error messages 74 09/96 AWB 27-1271-GB Index of figures as-igb.tvz Seite 85 Donnerstag, April 24, 1997 5:04 PM Index of tables 09/96 AWB 27-1271-GB Index of tables Table 1: Slave profile Table 2: Packing diagram for the input/ output data Table 3: AS-Interface functions Table 4: Explanation of diagnostics bits 9 46 51 66 85 86 09/96 AWB 27-1271-GB as-igb.tvz Seite 86 Donnerstag, April 24, 1997 5:04 PM as-igb.six Seite 87 Dienstag, April 29, 1997 11:28 AM Index A Activation phase ................................................... 36 Address ................................................................ 10 Address programming, Automatic ....................... 33 Address setting ..................................................... 32 Address setting mode .......................................... 32 Addressing ............................................................ 11 Addressing device ................................................ 10 Addressing, Manual .............................................. 34 Alternate pulse modulation ................................... 10 AS-Interface ............................................................ 3 Addressing device .................................. 10 ASI association ......................................... 3 Line .....................................................7, 10 Master ..................................................... 10 Master specification ................................ 36 Power supply .......................................... 17 Power supply unit ..................................... 4 Status information ................................... 74 Telegram ................................................. 10 User modules ............................................ 4 AS-Interface line .................................................7, 8 Assignment errors ..........................................38, 40 B 09/96 AWB 27-1271-GB Bi-directional operation .......................................... 8 Bus terminating resistors ...................................... 22 87 as-igb.six Seite 88 Dienstag, April 29, 1997 11:28 AM Index C Cable clip .............................................................. 22 Cable length ......................................................... 11 Cable routing ........................................................ 26 Communication direction ..................................... 46 Configuration data ................................................ 35 Configuration data image ..................................... 58 Configuration errors ........................................ 38, 68 Configuration mode ........................................ 34, 37 Connection AS-Interface ............................................ 14 Function earth ......................................... 14 Power supply .......................................... 14 Sub D Suconet K .................................... 14 Control and status data ........................................ 45 Control cabinet ..................................................... 19 Cycle time ....................................................... 10, 11 D Data assignment ................................................... 78 Data security ......................................................... 43 Data width .............................................................. 8 Default address .................................................... 10 Default values ....................................................... 56 Destination address .............................................. 38 Detection phase ................................................... 36 Diagnostics bit ...................................................... 65 Diagnostics remote configuration ........................ 65 Electromagnetic interference ............................... 19 Emergency-stop circuit .......................................... 5 Emergency-stop devices ...................................... 17 Error control .......................................................... 11 Error messages .............................................. 74, 76 88 09/96 AWB 27-1271-GB E as-igb.six Seite 89 Dienstag, April 29, 1997 11:28 AM Index F Front plate ............................................................ 31 Function ................................................................ 52 G Gateway Suconet K/AS-Interface ........................ 13 H Handshake ............................................................ 49 I I/O configuration ................................................... 57 Identification code ................................................ 57 Isolation displacement technology ......................... 3 L LCD display .......................................................... 14 Lightning protection .............................................. 29 List of configured slaves (LPS) ............................. 38 List of detected slaves (LDS) ................................ 34 M 09/96 AWB 27-1271-GB M12 plug connector ............................................... 3 Manager function of the master ........................... 11 Marker .................................................................. 77 Master/slave procedure ........................................ 43 Messages ............................................................. 11 Minimum clearances .......................................19, 26 Mode button ......................................................... 14 Mounting options .................................................. 22 89 as-igb.six Seite 90 Dienstag, April 29, 1997 11:28 AM Index N Net data rate ......................................................... 11 Network structure ................................................. 11 Number of Sensors/Actuators .................................. 11 Slaves ..................................................... 11 O Offline phase ........................................................ 36 P PELV protection .................................................... 17 Permanent configuration ...................................... 56 Permanent parameter field ................................... 53 Permanent parameter list (PP) .............................. 56 PI parameter Image .............................................. 54 Poll cycle ................................................................ 5 Power and control section ................................... 19 Power supply requirement ..................................... 5 Profile ..................................................................... 8 Protected operating mode ................................... 37 Protection elements ............................................. 29 Proximity initiator .................................................... 8 Proximity switches ............................................... 77 R 90 09/96 AWB 27-1271-GB Receive direction .................................................. 48 Reference file .................................................. 82, 83 Repeaters ............................................................... 7 as-igb.six Seite 91 Dienstag, April 29, 1997 11:28 AM Index S Safety and accident prevention regulations ......... 17 Send direction ...................................................... 46 Services of the master .......................................... 11 Set button ............................................................. 14 Single-master system ............................................. 5 Slave profile ......................................................8, 10 Status LEDs .......................................................... 14 Suconet K address ............................................... 31 Suppressor circuit ................................................ 29 Switch contact ........................................................ 8 Switch output ....................................................... 77 T Time characteristics ............................................. 50 Top-hat rail ........................................................... 15 Topology ................................................................. 7 Transfer medium ................................................... 11 Transmission protocol .......................................... 45 Two-wire cable ...................................................4, 5 U Unipolar operation .................................................. 8 User data volume ................................................. 45 V Varistors ................................................................ 29 Ventilation ............................................................. 19 W 09/96 AWB 27-1271-GB Wiring .................................................................... 26 91 92 09/96 AWB 27-1271-GB as-igb.six Seite 92 Dienstag, April 29, 1997 11:28 AM