Home

Premium and Atrium using Unity Pro

image

Contents

1. 35006196 03 October 2005 135 Debugging the AS i bus Description The following table shows the different elements of the debug screen and their functions Address Item Function 1 Tabs The front tab indicates the mode in progress Debug for this example Each mode can be selected with the corresponding tab Possible modes are e Debug only accessible only in online mode e Diagnostics Default accessible only in Online mode e Configuration The tab I O Objects See Unity Pro Operating Modes Manual I O Objects Tab for a Module is used to presymbolize the input output objects 2 module zone Specify the abbreviated title of the module In the same field there are 3 LEDs which provide information on the operating mode of the module e RUN indicates the operating mode of the module e ERR signals an internal fault in the module O signals an external fault in the module or an application fault 3 General Specify the parameterization of the task MAST or FAST parameters configured for the AS i communication channel zone 4 AS i Displays the slave devices connected to the bus configuration Displays the status of the slave s channels and gives access to and slave the debug functions area 136 35006196 03 October 2005 Debugging the AS i bus How to access the functions of the module diagnostics and cha
2. Standard symbol Type Access Meaning Address SLAVE FLT 16A BOOL R Slave 16A faulty or absent 9eIWr m c 1 0 SLAVE FLT 17A BOOL R Slave 17A faulty or absent 9eIWr m c 1 1 SLAVE FLT 18A BOOL R Slave 18A faulty or absent 9eIWr m c 1 2 SLAVE FLT 19A BOOL R Slave 19A faulty or absent 9elIWr m c 1 3 SLAVE FLT 20A BOOL R Slave 20A faulty or absent 9elWr m c 1 4 SLAVE FLT 21A BOOL R Slave 21A faulty or absent 9elWr m c 1 5 SLAVE FLT 22A BOOL R Slave 22A faulty or absent 9eIWr m c 1 6 SLAVE FLT 23A BOOL R Slave 23A faulty or absent 9eIWr m c 1 7 SLAVE FLT 24A BOOL R Slave 24A faulty or absent 9eIWr m c 1 8 SLAVE FLT 25A BOOL R Slave 25A faulty or absent 9eIWr m c 1 9 SLAVE FLT 26A BOOL R Slave 26A faulty or absent 9eIWr m c 1 10 SLAVE FLT 27A BOOL R Slave 27A faulty or absent 9elWr m c 1 11 SLAVE FLT 28A BOOL R Slave 28A faulty or absent 9elIWr m c 1 12 SLAVE FLT 29A BOOL R Slave 29A faulty or absent 9eIWr m c 1 13 SLAVE FLT 30A BOOL R Slave 30A faulty or absent 9eIWr m c 1 14 SLAVE FLT 31A BOOL R Slave 31A faulty or absent 9elIWr m c 1 15 266 35006196 03 October 2005 Language objects of the AS i V2 bus ListofslavesOto The following table shows the meaning of the bits of the word IWr m c 2 15 of bank B in error Standard symbol Type Access Meaning Address SLAVE FLT OB BOOL R Slave OB faulty or abs
3. Illustration The figure below represents a configuration screen 1 0 3 TSX SAY 1000 E m AS interface Module V2 ecc 2 Run Em 10 v Function fit Description fi Config E Debug 6 Fault fir O objects A5 V2 AS interface V2 configuration 4 Slave 19A z r Characteristics ask IW Automatic addressing ec TES Profile o prd wo fp ww me en Std A Slaves JB Slaves Comment Actuators powered separately by their base Im IH r Parameters Ra 0 Y Unit1 flashing 2 V Unit3 flashing n Ea 7 1 V Unit 2 flashing 3 V Unit 4 flashing 15 Hn r Input Output Symbols 3 Hn Input Address Symbol 1 79 3 19 0 0 0 pc I 2 05 19 0 1 PH 3 l 3 19 0 0 2 Jm 4 1 3 19 0 0 3 Im Output Address Symbol 1 ea 2_1 Q 3 19 0 0 1 me mn 3 Q 3 19 0 0 2 4 Q 3 19 0 0 3 a 35006196 03 October 2005 205 AS i V2 bus configuration Description The following table shows the different elements of the configuration screen and their functions Address Item Function 1 Tabs The front tab indicates the mode in progress Debug for this example Each mode can be selected with the corresponding tab Possible modes are e Configuration e Debug or diagnostics only accessible in online mode e Diagnostics Default accessible
4. Illustration Premium E D gt oO pa TSX SAY 100 E AS i master AS i Bus o D gt 0 EE Supply AS i fe 7 O o o o t t e fa e g Sensors actuators Interfaces with communicating traditional sensors actuators 22 35006196 03 October 2005 Introduction to the AS i bus Main characteristics of the AS i bus General Slave Addressing Identification of Slaves Maximum Number of Inputs Outputs AS iis a system in which exchange management is ensured by a single master who calls in succession by scanning the bus each detected slave and awaits a response The serial communication frame transmits e 4 data bits DO to D3 which are the image of inputs or outputs according to the nature of the interface e 4parametering bits PO to P3 which are used to set the operating modes of the interface PO to P3 bits are used for intelligent devices including AS i ASIC specific integrated circuit Operation can be modified while it is running The address of the slave is coded on 5 bits Atthe request of the AS i master outputs are set and the inputs for AS i devices are sent in the slave s response Each slave connected to the AS i bus must have an address between 1 and 31 coding on 5 bits The slaves delivered from the factory have the address 0 the address of the slave is memorized in a non volatile for
5. Illustration Addresses AS bus slaves C asi 4E 4S 1S 2E amp 2S Slave 0 0 3 0 3j o 10 1 Slave 1 Q 2 5 0 0 0 input output L l 2 110 0 0 Q 2 3 0 0 942 310 0 0 PoQ 2 31 0 0 0 eee I 2 1 0 0 3 Q 2 3 0 0 3 l 2 31 0 0 1 Q 2 31 0 0 1 Note The physical address of an AS i slave is programmed by a console Multiple Address When one or more slaves are connected make sure that you do not assign an Settings address which is already being used by a slave on the bus If slave address is doubled then two scenarios may occur e the two slaves with identical addresses have the same profile and manage identical l O s the AS i master bus does not detect any error e the two slaves with identical addresses manage different I O s the AS i master bus can detect transmission errors when accessing the I O from one of the two slaves 35006196 03 October 2005 115 Principle of software implementation of the AS i Bus 116 35006196 03 October 2005 AS i bus configuration At a Glance Subject of this Chapter What s in this Chapter This Chapter describes the Configuration aspect for installing the AS i bus This chapter contains the following topics Topic Page How to Declare an AS i Communication Module in the PLC Rack 118 Description of the AS i communication module configuration screen 119 How to Define a Slave Device on the
6. 0 F5 Reset 0 Ht Select the required function buttons Force to 0 or Force to 1 in the field Channel Action 35006196 03 October 2005 233 Debugging the AS i V2 bus How to access the SET and RESET commands of the AS i V2 digital channels At a Glance These commands allow values 0 RESET or 1 SET to be assigned to the channels of an AS i V2 digital slave The status of the output affected by one of these commands is temporary and can be modified at any time by the project Procedure The table below shows the procedure for assigning a value of 0 or 1 to the selected AS i V2 slave s channels Step Action 1 Access the AS i V2 module s debugging screen 2 Select a slave in the AS interface V2 Configuration zone 3 Select the channel to be modified in the Slave zone table Result The channel can be modified using the buttons situated in the Channel action field zi Channel Action 1_ Channel ASi Symbol suu annel Action l EENEENEEEEEEENEENN F2 Force to 0 2 3 Not handled Shift F 2F orce to 1 4 Nothandled i Q CtrlF2 Unforce Channel AS i Symbol Statud 1 Nothandled ShiftF5 Set 2 Nothandled 3 0 F5 Reset 4 0 JM Select the required function buttonsSet or Reset in the field Channel action 234 35006196 03 October 2005 Debugging the AS i
7. 196 35006196 03 October 2005 Principle of software implementation of the AS i V2 bus Description of constituent elements The table below shows the different elements that make up the structure of a standard address slave Number Item Description 1 Input output Input data is stored by the slave and made available for the data AS i master Output data is updated by the master module 2 Parameters The parameters are used to control and switch internal operating modes to the sensor or the actuator 3 Configuration This field contains Identification e the code which corresponds to I O configuration e the slave identification codes ID ID1 ID2 4 Address Physical address of slave Note The operating parameters address configuration and identification data are saved in a non volatile memory 35006196 03 October 2005 197 Principle of software implementation of the AS i V2 bus Structure of a Standard Address AS i slave At a glance Structure illustration The extended AS i V2 bus is used to interconnect 62 extended address devices The extended address slaves each have e 4input bits e 3 output bits e 3 parametering bits The AS i V2 bus can manage a maximum of 248 Inputs and 186 Outputs from extended address slaves Each slave has its own address profile and sub profile defines variables exchange The figure below
8. Data Editor selection of FB type D GRP v Functions and types of block functions W Name F IV EFB V DFB Libraries F amilies Name Type Comment z lt Application gt E ALARM DIA lt DFB gt Er CX Libraries Ed D ACT EFB Extended locking action diagn Er 4 Base Lib En D DYN lt EFB gt Extended dynamic diagnostics HA Communication Egi D_GRP EFB Extended signal groups monito CONT CTL E F D PRE lt EFB gt Extended process requirement EH Custom Lib Ie lt j D REA lt EFB gt Extended reaction diagnostics E C3 Diagnostics EH yf EV DIA DFB 1 0 Management ei 4 MV DIA DFB f y Motion Erg NEPO DIA lt DFB gt E Obsolete Lib Hie DFB EHH System OK Cancel Select the SAFETY MONITOR DFB type in the Name column and press OK to confirm Program See Security DFB programming rules p 252 the DFB in the desired program module 35006196 03 October 2005 255 DFB AS i 256 35006196 03 October 2005 Language objects of the AS i V2 bus 18 At a glance Aim of this Chapter What s in this Chapter This chapter describes the language objects associated to the AS i V2 bus as well as the different ways of using them This chapter contains the following sections Section Topic Page 18 1 Language objects and IODDT s of the AS i V2 communication 258 18 2 Language objects and generic IODDT for all the 25
9. Parameter Type Description Enable EBOOL Activation of the DFB Cold Start if this bit is at 1 the DFB executes otherwise it is deactivated The information is only usable if Enable 0 Qo EBOOL Output variable 0 Q b e r m 0 Q1 EBOOL Output variable 1 Q b e r m 1 Q2 EBOOL Output variable 2 Q b e r m 2 Q3 EBOOL Output variable 3 Q b e r m 3 Legend r rack m module b AS i bus number e slave number The following table describes the output parameters Parameter Type Description Error EBOOL This bit is set at 1 if an error appears DFB error or security bus error at least one slave is faulty e if it is a DFB error enable 0 see Dfb_error 0 for more information In the case of a DFB error the information on the security project are no longer valid itis a case of a security project error Dfb_error 0 and Enable 1 see S1_ to find out the faulty slaves Running EBOOL This bit is set at 1 during execution of the DFB The following table describes the internal public variables Name Type Description Abort EBOOL If this bit is at 0 in one cycle and at 1 in the next all the changes between CPU and the security monitor are stopped and the DFB reinitializes All the internal data of the DFB are set at 0 Timeout INT Timeout of the data exchanges time base of 100 ms If the DFB does not rece
10. 186 35006196 03 October 2005 Language objects of the AS i bus 11 4 The IODDT type T GEN MOD applicable to all modules Details of the Language Objects of the IODDT of Type T GEN MOD At a Glance Observations List of Objects All the modules of Premium PLCs have an associated IODDT of type T GEN MOD e In general the meaning of the bits is given for bit status 1 In specific cases an explanation is given for each status of the bit e Not all bits are used The table below presents the objects of the IODDT Standard symbol Type Access Meaning Address MOD ERROR BOOL R Module error bit lr m MOD ERR EXCH_STS INT R Module exchange control word 9eMWr m MOD 0 STS IN PROGR BOOL R Reading of status words of the module in MWr m MOD 0 0 progress EXCH_RPT INT R Exchange report word MWr m MOD 1 STS_ERR BOOL R Fault when reading module status words MWr m MOD 1 0 MOD_FLT INT R Internal error word of the module MWr m MOD 2 MOD_FAIL BOOL R Internal error module failure MWr m MOD 2 0 CH_FLT BOOL R Faulty channel s MWr m MOD 2 1 BLK BOOL R Terminal block fault 9eMWr m MOD 2 2 CONF FLT BOOL R Hardware or software configuration fault MWr m MOD 2 5 NO_MOD BOOL R Module missing or inoperative MWr m MOD 2 6 EXT_MOD_FLT BOOL R Internal error word of the module Fipio MWr m MOD 2 7 extension only MOD_FAIL_EXT BOOL
11. 35006196 03 October 2005 279 Language objects of the AS i V2 bus 280 35006196 03 October 2005 Index A Add a Slave AS i Bus 121 Adding a profile AS i Bus 129 Adding a slave AS i V2 Bus 207 Adding an AS i V2 Bus profile 216 Adjustment AS i bus 140 AS i V2 bus 231 Advanced operation AS i bus 152 153 AS i V2 bus 243 244 Analog Parameters AS i V2 Bus 220 Analog Value Modification AS i V2 Bus 235 AS i Bus 105 AS i bus components 18 AS i slave AS i bus 112 AS i V2 bus 196 AS i V2 slave AS i V2 bus 198 Automatic slave addressing AS i bus 131 AS i V2 bus 218 C Characteristics AS i bus 23 AS i bus power supply units 37 55 TSX SAY 100 70 TSX SAY 1000 93 characteristics AS i V2 bus 25 Combination of parameters AS i V2 Bus 221 Command objects AS i V2 bus 277 Commands AS i bus 184 Configuration screen AS i bus 119 AS i V2 bus 205 Connecting AS i bus 134 AS i V2 bus 224 Connection TSX SAY 100 64 connection TSX SAY 1000 88 Connection of a Device AS i Bus 121 Connections TSX SUP A02 46 TSX SUP A05 48 35006196 03 October 2005 281 Index D Data exchange off mode AS i bus 153 AS i V2 bus 244 Debug AS i bus 134 AS i V2 bus 224 Debug Screen AS i V2 Bus 225 Debug screen AS i bus 135 Description TSX SUP A02 34 TSX SUP A05 35 Device Connection AS i V2 Bus 207 Diagnostic TSX SAY 100
12. KWr m c 2 n BOOL n 0 to 15 gt slaves of bank A from 16 to 31 respectively provided KWr m c 3 n BOOL n 2 0 to 15 gt slaves of bank B from 0 to 15 respectively provided KWr m c 4 n BOOL n 2 0 to 15 gt slaves of bank B from 16 to 31 respectively provided KWr m c 5 to KWr m c 36 INT Words 5 to 36 gt of the slaves of bank A from 0 to 31 respectively Byte 0 bit O to 3 configuration code for input output I O channels bit 4 to 7 identification code ID Byte 1 bit 0 to 3 identification code ID1 bit 4 to 7 identification code ID2 KWr m c 37 to KWr m c 68 INT Words 5 to 36 gt of the slaves of bank B from 0 to 31 respectively Byte 0 bit 0 to 3 configuration code for input output I O channels bit 4 to 7 identification code ID Byte 1 bit 0 to 3 identification code ID1 bit 4 to 7 identification code ID2 KWr m c 69 0 BOOL If this 1 automatic addressing is active if this 0 automatic addressing is deactivated 278 35006196 03 October 2005 Language objects of the AS i V2 bus 18 4 IODDT T GEN MOD applicable to all the modules Details of the language objects of the IODDT of the type T GEN MOD At a Glance All the modules of the Premium PLC s have an associated IODDT of the type T GEN MOD See The IODDT type T GEN MOD applicable to all modules p 187
13. At a Glance In This Chapter What s in this Part This part introduces the AS i bus on Premium and Atrium PLCs This part contains the following chapters Chapter Chapter Name Page 1 General introduction to the AS i bus 15 35006196 03 October 2005 13 AS i Bus 14 35006196 03 October 2005 General introduction to the AS i bus At a Glance Aim of this Chapter What s in this Chapter This chapter provides a general introduction to the AS i bus This chapter contains the following topics Topic Page Reminder relating to AS i and AS i V2 buses 16 Overview of AS i products from the Schneider catalog 17 Presentation of main constituent components 18 Example of AS i bus topology 22 Main characteristics of the AS i bus 23 Main Characteristics of the AS i V2 Bus 25 35006196 03 October 2005 15 Introduction to the AS i bus Reminder relating to AS i and AS i V2 buses General AS i and AS i V2 buses are field buses level 0 and can be used to connect sensors actuators They allow Discrete type information to be routed between a bus master and sensor actuator slaves The AS i V2 bus also allows for routing of analog information AS i and AS i V2 buses are made up of three major basic components e A dedicated power supply providing 30 V DC voltage e Abus master e Slaves sensors actuators
14. 14 At a Glance Aim of this chapter What s in this Chapter This Chapter describes the Debug aspect of the AS i V2 bus This chapter contains the following topics Topic Page Introduction to the Debug function 224 Description of an AS i V2 module s debug screen 225 How to access module and channel diagnostics functions on an AS i V2 227 device Displaying the slaves status 229 How to access the adjustment of the parameters of an AS i V2 device 231 How to access the AS i V2 digital channels forcing unforcing function 233 How to access the SET and RESET commands of the AS i V2 digital channels 234 How to modify the value of an analog channel 235 Automatic replacement of a faulty AS i V2 slave 236 How to insert a slave device into an existing AS i V2 configuration 237 How to modify the address of an AS i V2 device 238 35006196 03 October 2005 223 Debugging the AS i V2 bus Introduction to the Debug function At a Glance Rack Display The function Debugging makes it possible for each AS i V2 communication module present in the project e to display the slave state connection parameters etc e toaccess the adjustment function for the selected channel channel forcing etc The function also accesses module diagnostics in the event of a fault Note This function is only available in online mode Itis also possible to access
15. What s in this This section contains the following topics Section Topic Page Details of IODDT implicit exchange objects of type T COM STS GEN 170 Details of IODDT explicit exchange objects of type T COM STS GEN 171 35006196 03 October 2005 169 Language objects of the AS i bus Details of IODDT implicit exchange objects of type T COM STS GEN At a Glance The following table presents the IODDT implicit exchange objects of type T COM STS GI EN applicable to all communication protocols except Fipio Error bit The table below presents the meaning of the error bit CH ERROR lr m c ERR Standard symbol Type Access Meaning Address CH ERROR EBOOL R Communication channel error bit 9elr m c ERR 170 35006196 03 October 2005 Language objects of the AS i bus Details of IODDT explicit exchange objects of type T COM STS GEN At a Glance This section presents the T COM STS GEN type IODDT explicit exchange objects applicable to all communication protocols except Fipio It includes the word type objects whose bits have a specific meaning These objects are presented in detail below Sample Variable Declaration IODDT VAR1 of type T COM STS GEN Observations e In general the meaning of the bits is given for bit status 1 In specific cases an explanation is given for each status of the bit e Not all bits are used Execution flags The table bel
16. e Filter Selection which activates the rejection of 50 60 Hz on inputs e Channel 2 Enabling which enables the second analog channel e Peri Fit Enabling which enables peripheral faults to be displayed The parameters displayed differ according to the slave in use Please refer to slave documentation for further details Note The module TSX SAY 1000 can only manage analog slaves of the type 7 3 The following table shows the procedure for defining the parameters of an analog slave device Step Action 1 Access the AS i V2 communication module s configuration screen 2 Select the slave whose parameters are to be modified 3 Click on the Filter Selection and or Channel 2 Enabling and or Peri Fit Enabling checkboxes located in the parameters Parameters zone Result The parameters checked will be activated in the slave device Parameters 0M FilterSelection 2 Iv Peri Flt Enable llw EnableChannel 3 lv Unused 220 35006196 03 October 2005 AS i V2 bus configuration How to Modify the Parameters of an AS i V2 Slave with Combined Parameters At a Glance Some AS i V2 slaves have several pre defined combinations of parameters The user can then choose the combination of parameters required from a list The Parameters zone of the configuration screen allows the user to choose this combination of parameters called Page As the parameters differ ac
17. Chapter What s in this This chapter contains the following topics 2 Chapter Topic Page Presentation of the installation of the AS i V2 bus 192 Architecture of the TSX SAY 1000 Module 194 Structure of a Standard Address AS i 196 Structure of a Standard Address AS i slave 198 Addressing of language objects associated with the slave devices connected 200 to the AS i bus 35006196 03 October 2005 191 Principle of software implementation of the AS i V2 bus Presentation of the installation of the AS i V2 bus Introduction AS i V2 Bus The AS i V2 bus Actuator Sensor Interface Version 2 allows the interconnection on a single cable of sensor devices actuators at the lowest level of automation These sensors actuators will be defined in the documentation as slave devices To implement the AS i application you need to define the physical context of the project into which it will be built rack power supply processor modules AS i slave devices connected to the bus then ensure its software implementation The software installation of the application modules is performed from the various Unity Pro editors e in local mode e in online mode The following is the recommended order of the installation phases but it is possible to modify the order of some phases for example start with the configuration phase The AS i V2 functions are built into the TSX SAY 1000 module The AS i bus then allows e upt
18. 83 AS i V2bus 194 installation 87 TSX SAY 1000 module AS i V2 bus 194 TSX SUP A02 31 TSX SUP A05 31 U Unforcing AS i bus 141 AS i V2 Bus 233 284 35006196 03 October 2005
19. AS i test de wiring mode At a glance Access conditions The test mode of wiring which is particularly useful when starting up new installations allows the display on the front of the TSX SAY 100 module e the slaves provided and detected e the slaves not provided and not detected e the slaves provided and not detected or not provided and detected For each slave present on the bus this mode also allows display of the status of the input output bits Note Lists of LDS and LAS and the adjustment parameters of the slaves are not accessible in this mode The test mode of wiring is an AS i function that is accessible when e the TSX SAY 100 module is in no configured mode This mode is obtained when e the TSX SAY 100 module has not been declared in the project e the PLC processor is missing e each device has a separate address e address 0 is not used 35006196 03 October 2005 151 AS i operation AS i Offline Operating Mode At a glance The offline AS i bus mode is an advanced operating mode which can be used in debugging or maintenance Note The user must be thoroughly familiar with AS i communication Principle When offline mode is engaged the module first resets all the present slaves to zero and stops exchanges on the bus When in offline mode the picture of the I O s in the module is frozen in the state at the time of entering this mode When exiting
20. B slaves only An icon shows the status of the slave number Displaying slave Illustration status r AS interface V2 configuration Std A Slaves IB Slaves Faulty Slave XAL 52003 S red LED o Slave O a E valid a o HEHE tet tet tet fet HN H tt ASISAFEMON2 I8 35006196 03 October 2005 229 Debugging the AS i V2 bus When you click on the slave button a window shows the status of the slave as shown in the diagram below Slave Diagnostics x r Slave 5A r Configured P rofile 10 7 ID 0 Ip1 f ID2 f r Detected Profile io 3 ID f D1 f Ip2 f r Diagnostic Detected profile differs from configured profile The Slave Diagnostics window displays the following faults for each slave device e Aconfigured profile is specified but no slave is detected e A profile is detected but there is no configured slave profile e A profile is detected but a different profile is specified in configuration I O ID ID1 or ID2 e The peripheral fault if the slave supports it Note The Profile field in the Slave Zone in the debug screen allows you to check if the profiles of the specified Configured slave and the Detected slave are identical 230 35006196 03 October 2005 Debugging the AS i V2 bus How to access the adjustment of the
21. In this case the slaves with a watchdog set their outputs in the desired state and the others remain in position and cannot be set to 0 since the module cannot guarantee communication After voltage is applied to the TSX SAY 1000 module it expects to receive a configuration via Unity Pro If this does not occur it remains in stop mode When there is an AS i power supply fault communication stops and the slaves behave differently e slaves with a watchdog position their outputs in the defined state except if the slave draws its power from the AS i e all slave commands switch to 0 due to lack of power From a language point of view all slaves seem faulty and the absence of AS i power supply is indicated in the Channel Status There are several ways in which a break in the medium can occur 1 There is a break in the medium as it exits the module Behavior is the same as that for a power outage with all slaves disappearing and a supply fault being indicated 2 There is a break in the medium after the TSX SAY 1000 module and the AS i supply All slaves disappear and there is no indication of a supply fault 3 There is a break in the medium after the TSX SAY 1000 module the AS i supply and some slaves Slaves located after the break disappear and there is no indication of a supply fault 98 35006196 03 October 2005 TSX SAY 1000 4 4 Precautions of Use At a Glance Aim of this This Secti
22. Note A profile cannot be deleted only their name and comment can be changed A profile created and added in the catalog is closely linked to the PC on which it was created and to the programming software A project converted using Unity Pro or opened on another PC that does not have the same catalog will not display the profile s name and comment Procedure The following table presents the procedure for defining a slave profile which is not provided in the standard catalog Step Action 1 Access the AS i module s hardware configuration screen 2 Double click in a slave s host cell 1 to 31 Result the Associate Profile screen appears 3 Select Private family in the AS i family name field Result the AS i catalog linked to the selected family appears Associate Profile AS interface profile families Code AS i family name 4 4 Motor starters 9 P hotoelectric sensors 16 Safety products 12 Telefast IP 20 interfaces AS i Catalog Private family AS i Name Comment AA Capt 1E 4S Cancel 35006196 03 October 2005 129 AS i bus configuration Step Action 4 Click on the button Add Result the Define AS Interface Profile window appears Define AS Interface Profile Name I Comment Profile 10 4 w D D Parameters
23. SLAVE FLT 19B BOOL R Slave 19B faulty or absent 9elIWr m c 3 3 SLAVE FLT 20B BOOL R Slave 20B faulty or absent 9elWr m c 3 4 SLAVE FLT 21B BOOL R Slave 21B faulty or absent 9elWr m c 3 5 SLAVE FLT 22B BOOL R Slave 22B faulty or absent 9eIWr m c 3 6 SLAVE FLT 23B BOOL R Slave 23B faulty or absent 9elIWr m c 3 7 SLAVE FLT 24B BOOL R Slave 24B faulty or absent 9eIWr m c 3 8 SLAVE FLT 25B BOOL R Slave 25B faulty or absent 96IWr m c 3 9 SLAVE FLT 26B BOOL R Slave 26B faulty or absent 9eIWr m c 3 10 SLAVE FLT 27B BOOL R Slave 27B faulty or absent 9elIWr m c 3 11 SLAVE FLT 28B BOOL R Slave 28B faulty or absent 9elIWr m c 3 12 SLAVE FLT 29B BOOL R Slave 29B faulty or absent 9eIWr m c 3 13 SLAVE FLT 30B BOOL R Slave 30B faulty or absent 9eIWr m c 3 14 SLAVE FLT 31B BOOL R Slave 31B faulty or absent 9elIWr m c 3 15 268 35006196 03 October 2005 Language objects of the AS i V2 bus Details of the explicit exchange objects of the T COM ASI V2 type IODDT At a Glance This part introduces the explicit exchange objects of T COM ASI V2 type IODDTs that apply to the AS i V2 bus It concerns those word type objects whose bits have a particular meaning These objects are presented below Example of declaration of a variable IODDT VAR1 of type T COM ASI V2 Notes e The meaning of a bit is generally given for the status of the bit when set to 1 In specific cases an explanation is given for each status of the bi
24. accessing information on a profile The Unity Pro software allows access to all the information relating to an AS i device such as e the definition of a profile e the details of a profile A profile is defined by its name a comment optional identifiers IO ID a number of inputs and or outputs operation parameters The following table shows the procedure for displaying the characteristics of a slave device Step Action 1 Open the AS i module to be configured 2 Access the configuration screen by clicking on the tab Configuration 3 Double click on the required slave Result The window Associate a profile displays and highlights the device in question 4 Click on the button View to access definition information e Details to access all the information 35006196 03 October 2005 127 AS i bus configuration Details of a The Details function allows access for a given slave to all the information profile presented in the catalog file Details of a profile 128 35006196 03 October 2005 AS i bus configuration How to Define a New Slave Profile in a Private AS i Catalog At a Glance The Unity Pro software offers the possibility of defining a slave profile that is not provided in the standard catalog The new profile thus defined is added to the catalog in Private family This profile can then be used as a standard catalog profile
25. cece eee eee 240 AS i V2 prot g Mode 0 0 cece ett 242 AS i V2 Offline Operating Mode 0 0 cece ete ee 243 35006196 03 October 2005 7 Chapter 16 Chapter 17 Chapter 18 18 1 18 2 18 3 18 4 AS i V2 Data Exchange Off Operating Mode 000 eee eee 244 AS i V2 performance 200 20sec eee eee eee 245 Performances of the AS i V2 bus 0 000 cece cece eee 245 DFB for AS i Security Monitor Llese 247 Ata Glane oso ee ie Seth Abi E ES eed tea 247 Description of safety function block of the As ibuS 2 248 Operation of the AS i security function block lille esses 251 Security DFB programming rules 0 0 0 0 lel 252 How to implement a DFB function block lille 254 Language objects of the AS i V2 bus 257 Ata glancez c oup hana nae eiue p duong qui e cule ku da 257 Language objects and IODDT s of the AS i V2 communication 258 Presentation of language objects of the AS i V2 bus 258 Language objects and generic IODDT for all the communication protocols 259 Ava GIANG RP Ee 259 Details of the implicit exchange objects of the IODDT of the T COM ESTS GEN typen Re ett fe Pace RUE DARREN 260 Details of the implicit exchange objects of the IODDT of the TZGOM SIS GEN I DOe iis at or etas en ana ent RR ROS A aoe ated ne AO S ES 261 Language objects of the AS i V2 func
26. functions with a slave parametering option Note The TSX SAY 100 corresponds to the profile M2 with the additional option of reading the diagnostics information of the slaves The module includes data fields which are used to manage the lists of slaves and I O data images This information is stored in a volatile memory The figure below shows the TSX SAY 100 module architecture N o oa A hribih I O data Parameters current AS i bus Configuration Identification LDS LAS LPS 110 35006196 03 October 2005 Principle of software implementation of the AS i Bus Description of constituent elements The table below shows the different elements that make up the architecture of the TSX SAY 100 module Number Item Description 1 I O data Images of 124 inputs and 124 outputs of AS i V2 bus Current parameters Image of parameters of all slaves Configuration This field contains all the I O codes and identification Identification codes for all the detected slaves 4 LDS List of all the slaves detected on the bus LAS List of active slaves on the bus LPS List of slaves provided on the bus and configured by Unity Pro 35006196 03 October 2005 111 Principle of software implementation of the AS i Bus Structure of an AS i slave At a glance Structure illustration The AS i bus allows interconnection of 31 slave devices each
27. 146 35006196 03 October 2005 AS i operating mode At a glance Aim of this Chapter What s in this Chapter This chapter introduces the different AS i function operating modes This chapter contains the following topics Topic Page AS i Operating Mode General 148 AS i protected Mode 150 AS i tes mode of wiring 151 AS i Offline Operating Mode 152 AS i Data Exchange Off Operating Mode 153 35006196 03 October 2005 147 AS i operation AS i Operating Mode General At a Glance Mode of Functioning The AS i function allows four operating modes each one fulfilling particular needs These modes are e protected mode e wiring test mode accessible using a button positioned on the front of the module e offline mode e data exchange off mode The figure below shows the general operating diagram of the AS i bus A g Offline mode fi og 4 A Start up of the AS i master module a 2 e Activate wiring Master configured O 2 test eg Wiring test mode Offline mode Protected mode Automatic management of the AS i bus Display of slave l O s 2 1 It is possible to toggle between the protected mode and the offline See AS i Offline Operating Mode p 152 or data exchange off AS i See AS i Data Exchange Off Operating Mode p 153 modes 2 The module leaves the configurat
28. 209 AS i V2 bus configuration Configuration The configuration rules for the slaves are as follows Rules e The B Slaves column can only support extended address slaves and this on condition that the std A Slaves cell immediately to its left is not occupied by a standard address slave e The std A Slaves column can support extended address slaves This column can also support standard address slaves as long as the B Slaves cell immediately to its right is not occupied by an extended address slave A maximum of 62 extended or 31 standard address slaves can be configured A validity check is carried out during slave entry A message like the one below will be displayed if this is not possible Action impossible IN slave with an extended address is already present on B OK Note An analog slave must be configured as a standard address slave in the A Slaves column and prohibits the use of the slot immediately to its right in the B Slaves column 210 35006196 03 October 2005 AS i V2 bus configuration AS i V2 Bus Displayed in the Project Browser At a Glance When you declare a TSX SAY 1000 module on the PLC rack the AS i v2 bus is represented in the configuration directory of the project browser The number of the AS i V2 bus is calculated automatically by Unity Pro This value may be modified After having declared all the slaves on the AS i V2 bus and validated the con
29. 240V JA 30 50 Maximum it upon at 100 V As 0 06 0 17 activation 1 at 240 V As 0 08 0 17 Maximum Ptupon 8t 100 V A s 4 8 5 activation 1 at 240 V APR 4 8 5 Power factor 0 6 0 51 Harmonic 3 10 Phi 0 and 180 10 Phi 0 and 180 Efficiency at full load gt 75 gt 80 Secondary Useful power WwW 72 84 2 230 3 Peak nominal 30 V AS i A 2 4 2 8 2 5 3 4 current output 24 V output A 7 3 4 Output voltage V 30 AS i 24 30 AS i Global variation 10 C to 60 C V 29 5 to 31 6 3 29 5 to 31 6 Ripple from 10 to 500kHz mV 50 200 50 Ripple from 0 to 10kHz mV 300 240 300 Startup time on resistive load S 2 with C 15000 micro lt 2 with C 15000 micro Farads Farads Duration of mains power supply ms lt 10 lt 10 35006196 03 October 2005 55 AS i power supply units AS i power supply TSX SUP A02 TSX SUP A05 30V 2 4A AS i 24V 7A AS i amp 30V 5A AS i Protection against Short circuits fallback to 0 and limitation of current on each output and automatic reactivation overloads on disappearance of fault Overvoltage V peak clipping U gt 36 peak clipping U gt 36 Power dissipation WwW 24 60 Diagram of currents available for 30 V AS i outputs and 24 V outputs of the TSX SUP A05 power supply block 1 Values at initial power up at 25 C These items must be taken into account at start up for the dimensioning of protection devices 2 Useful power and output c
30. 28 activated 96IWr m c 3 13 BOOL R Slave 29 activated 96IWr m c 3 14 BOOL R Slave 30 activated 96IWr m c 3 15 BOOL R Slave 31 activated 35006196 03 October 2005 181 Language objects of the AS i bus Details of explicit exchange language objects for the AS i function At a Glance The tables below present language objects that provide information on all the slaves present on the AS i bus These objects are not built into the IODDT s Standard status The table below shows the meaning of the bit of word MWr m c 2 Address Type Access Meaning 9eMWr m c 2 2 BOOL R Line error power supply voltage off or terminal block fault AS i specific The table below provides the meaning of the different bits of the MWr m c 3 word status Address Type Access Meaning MWr m c 3 0 BOOL R Correct configuration MWr m c 3 1 BOOL R Slave 0 present MWr m c 3 2 BOOL R Automatic addressing active MWr m c 3 7 BOOL R Offline phase active MWr m c 3 8 BOOL R bit 1 the AS i bus is in Data exchange off mode List of slaves The table below shows the meaning of the different bits of the MWr m c 4 and detected MWr m c 5 words Address Type Access Meaning MWr m c 4 n BOOL R n 0 to 15 gt slaves 0 to 15 respectively have been detected MWr m c 5 n BOOL R n 0 to 15 gt slaves 16 to 31 respectively have been detected 182
31. 35006196 03 October 2005 Language objects of the AS i bus Configuration of slaves detected Parameters of last slave Address of last slave The table below shows the meaning of the different bits of the MWr m c 6 and MWr m c 21 words Address Type Access Meaning MWr m c 6 to MWr m c 21 INT R Words 6 to 21 gt slaves 0 1 2 3 28 29 30 31 respectively The least significant bytes refer to the slaves with an even address The most significant bytes refer to the slaves with an odd address For each byte bit O to 3 configuration code for input output I O channels bit 4 to 7 identification code ID The table below gives the meaning of the word MWr m c 22 Address Type Access Meaning MWr m c 22 INT R Contains the answer value of parameters sent of the last parametered slave This is so that the Unity Pro can check the slave has correctly received these values The table below gives the meaning of the word MWr m c 23 Address Type Access Meaning MWr m c 23 INT R Contains the address of last parametered slave 35006196 03 October 2005 183 Language objects of the AS i bus Details of explicit exchange language objects for the AS i function At a glance Operating mode object Description Parameter objects The tables b
32. 73 TSX SAY 1000 95 Diagnostic mode AS i bus 137 Diagnostics AS i bus 137 AS i V2 Bus 227 Diagnostics mode AS i Bus 139 AS i V2 Bus 227 Display TSX SAY 100 76 TSX SAY 1000 91 E Environmental characteristics AS i bus power supplies 57 External faults AS i bus 137 AS i V2 bus 227 F Fallback to 0 AS i bus 132 Faulty slave AS i bus 143 AS i V2 bus 236 Forcing AS i bus 141 AS i V2 Bus 233 G General AS i bus 16 AS i bus V2 16 I O display TSX SAY 100 77 Implementation AS i bus 108 Installation AS i V2 bus 192 TSX SAY 100 63 TSX SAY 1000 87 Internal errors AS i Bus 137 227 Introduction AS i bus power supply units 33 IODDT AS i bus 159 AS i V2bus 257 Communication 169 259 Module 187 L Language Objects Implicit Exchange 162 Language objects configuration 186 278 Explicit exchange 163 171 261 274 Explicit exchanges 177 269 Implicit exchange 170 179 260 264 271 Implicit exchanges 174 Management of exchanges 165 282 35006196 03 October 2005 Index M Maintain AS i bus 132 Master Slave AS i bus 110 AS i V2 bus 194 Methods of fixing AS i power supply bus 44 Miscellaneous objects AS i bus 182 Module selection AS i bus 118 AS i V2 bus 204 Mounting TSX SUP A02 40 TSX SUP A05 43 O Offline mode AS i bus 152 AS i V2 bus 243 Operating mode AS i bus 148 AS i V2 bus 240 Operating modes TS
33. A Slaves B Slaves r Profile MAST E 51 Configured 10 3 m f0 mf m2 f XAL 52003 A Detected oB p0 mf mf 2e Parameters 3 0 m vae p Modf PARAM 3 gl H l d Channel Action 1 5 Channel AS i Symbol Statu cz 1 F2 Forceto 0 H 2 er mA 3 Not handled ShiftF2Forceto 1 al 4 Nothandled 60 CuiF2 Unire Ch AS i Symbol Statu jr T Nothanded shines set rmi 2 Nothandled 0 F5 Reset E MSS _ 3 ASISAFEMON2 o 35006196 03 October 2005 225 Debugging the AS i V2 bus Description The following table shows the different elements of the debug screen and their functions Address Item Function 1 Tabs The front tab indicates the mode in progress Debug for this example Each mode can be selected with the corresponding tab Possible modes are e Debug only accessible only in online mode e Diagnostics Default accessible only in Online mode e Configuration The tab I O Objects See Unity Pro Operating Modes Manual I O Objects Tab for a Module is used to presymbolize the input output objects 2 module zone Specify the abbreviated title of the module In the same field there are 3 LEDs which provide information on the operating mode of the module e RUN indicates the operating mode of the module e ERR signals an internal fault in the module e I O signals an external fault in the
34. AS i Bus 121 AS i Bus Displayed in the Project Browser 124 How to modify the AS i Bus software configuration 126 How to access the description of an AS i slave 127 How to Define a New Slave Profile in a Private AS i Catalog 129 How to modify AS i slave general parameters Automatic addressing 131 How to modify AS i slave general parameters Fallback mode 132 35006196 03 October 2005 117 AS i bus configuration How to Declare an AS i Communication Module in the PLC Rack Procedure rack This operation makes it possible to insert an AS i communication module in the PLC Step Action 1 Open the hardware configuration editor 2 Select the slot where you wish to insert the module 3 Select the command New Device from the contextual menu Result the New Device window appears Address 4 Part Number Description pe Premium local drop Open up the line Premium local input output station and the line Communication by clicking on the sign Result Address E Part Number Description E Pre ocal drop B Analog teree TSX ETY 110 TCP IP ETHWAY MODULE s TSX ETY 120 TSX ETY 4103 ETHERNET ETY120 MODULE ETHERNET TCP IP BASIC WEB SERV f TSX ETY 5103 ETHERNET TCP IP CONFIGURABLE y pesos fmm TSX IBY 100 InterBus S MODULE j TSX PBY 100 PROFIBUS DP MODULE RI tena TSX SAY 100 AS interface Module
35. AS i V2 module information from the Rack display page of a Web FactoryCast sever embedded in a TSX ETY 4102 or TSX ETY 5102 module These Web pages are then accessible from an Internet navigator Refer to the Ethernet debugging See Premium and Atrium using Unity Pro Manual Ethernet network Software installation for Ethernet communication manual and the FactoryCast User Manual for more information 224 35006196 03 October 2005 Debugging the AS i V2 bus Description of an AS i V2 module s debug screen At a Glance The debug screen dynamically displays the status of the AS i V2 module and the devices which are connected to the bus It also allows access to the adjustment of the slave parameters and to the channel commands forcing the input or output value Set Reset of an output Note if in your user program you use the function READ STS to read information relating to the AS i V2 module it is important not to carry out this function more than every 5s otherwise the debug screen will not display correctly Illustration The figure below shows an example of a debug screen 1 2 AS interface Module V2 e GC Run Em 10 y Function it Description T Config m Debug Fault E 1 0 objects ASi V2 w V2 AS interface configuration Slave 4A Task Std
36. Automatic addressing See How to modify the general parameters of an AS i V2 slave Automatic addressing p 218 utility of the configuration mode is active Two options are available e The replacement slave is programmed with the same address using the pocket programmer and has the same profile and sub profile as the faulty slave It is thus automatically inserted into the list of detected slaves LDS and into the list of active slaves LAS e The replacement slave is blank address 0 A new slave and has the same profile as the faulty slave It will automatically assume the address of the replaced slave and will then be inserted into the list of detected slaves LDS and the list of active slaves LAS 236 35006196 03 October 2005 Debugging the AS i V2 bus How to insert a slave device into an existing AS i V2 configuration At a Glance Procedure It is possible to insert a device into an existing AS i V2 configuration without having to use the pocket programmer This operation is possible once e the configuration mode s Automatic addressing See How to modify the general parameters of an AS i V2 slave Automatic addressing p 218 utility is active a single slave is absent in the Unity Pro configuration the slave which is to be inserted is specified in the Unit configuration the slave has the profile and sub profile expected by the configuration the slave has the address O A The AS i V2 modul
37. CMD ERR BOOL R Command parameter exchange error MWr m c 1 1 ADJ_ERR BOOL R Adjust parameter exchange error MWr m c 1 2 Note If the explicit exchange does not last as long as the PLC task cycle time the MWr m c 0 0 bit never changes to 1 35006196 03 October 2005 177 Language objects of the AS i bus Standard The table below shows the meanings of the bits ofthe CH FLT MWr m c 2 status channel faults word Reading can be done via a READ STS IODDT VAR1 CH FLT Standard symbol Type Access Meaning Address SLAVE FLT BOOL R One or more device faulty MWr m c 2 1 ASI CONF FLT BOOL R Physical configuration different from software MWr m c 2 3 configuration INTERNAL FLT BOOL R Internal error or channel self test 9eMWr m c 2 4 CONF FLT BOOL R Hardware or software configuration fault 9eMWr m c 2 5 COM FLT BOOL R Problem communicating with the PLC 9eMWr m c 2 6 APPLI FLT BOOL R Application fault adjustment or configuration 9eMWr m c 2 7 fault AS i specific The table below presents the meanings of the MWr m c 3 status word bits status MWr m c 2 Reading can be done via a READ STS IODDT VAR1 Standard symbol Type Access Meaning Address ASI SUPPLY FLT BOOL R AS i power supply fault 9eMWr m c 3 6 178 35006196 03 October 2005 Language objects of the AS i bus Details of implicit exchange o
38. Flag Auto Address Assign TSX SAY 1000 16 4 Status Flag Get Flag Auto Prog Available bi TSX SAY 1000 16 5 Status Flag Get Flag Configuration Active TSX SAY 1000 16 6 Status Flag Get Flag Normal Operation Active TSX SAY 1000 16 7 Status Flag Get Flag APF TSX SAY 1000 16 8 Status Flag Get_Flag_Offline_Ready TSX SAY 1000 16 9 Status Flag Get Flag Periphery OK TSX SAY 1000 17 Status Set Operation Mode Mode i TSX SAY 1000 18 Status Set Offline Mode Mode TSX SAY 1000 19 Status Activate_Data_Exchange Mode TSX SAY 1000 20 Status Change_Slave_Address S_Addr1 S_Addr2 TSX SAY 1000 21 1 Status Set Auto Adress Enable Mode A TSX SAY 1000 21 2 Mode Get_Auto_Adress_Enable TSX SAY 1000 22 1 Status Resp Cmd Reset AS i Slave S Addr RESET 22 2 Status Resp Cmd Read IO Configuration S Addr CONF 22 8 Status Resp Cmd Read Identification Code S Addr IDCOD 22 4 Status Resp Cmd_Read_Status S_Addr STAT 22 5 Status Resp Cmd_Read_Reset_Status S_Addr STATRES 22 6 Status Resp Cmd Read Ext ID Code 1 S Addr IDCOD1 22 7 Status Resp Cmd Read Ext ID Code 2 S Addr IDCOD2 23 Status S List Get_ List of Periphery Faults TSX SAY 1000 24 Status Write Extended ID Code 1 S Ext ID Code 1 a TSX SAY 1000 B Integrated support of slave profiles 1 Analog slave profile S7 3 support integrated TSX SAY 1000 2 Analog slave profil
39. IO where Li label MW101 Q0 SAFETY MONITOR 1 name of instance of a DFB I0 I3 DFB inputs 96M101 DFB enable input Q0 03 variable linked with the DFB outputs M102 Error output variable 03 M102 35006196 03 October 2005 253 DFB AS i How to implement a DFB function block Reminder The AS i security DFB exists in the Diagnostics Library Use of DFBs This instance of the block is used as a standard function block in ladder diagram or as an elementary function in structured literal instruction list or function block language It can be programmed in the various tasks except in the event tasks and sections of the project 254 35006196 03 October 2005 DFB AS i Security DFB The following table describes the procedure for creating a security DFB instance instance Step Action 1 Select the Function blocks tab in the data editor window 2 Check the box marked DFB 3 Declare a DFB instance in the Name column 4 To select the DFB type double click in the Type column of the new instance and press on the button Result the Data editor window selection of FB type opens Select the Libraries directory in the lt Libraries Families gt zone In the Libraries zone select the Diagnostics directory Result the various diagnostics DFBs appear in the right hand side of the screen
40. R Internal fault module unserviceable Fipio MWr m MOD 2 8 extension only CH_FLT_EXT BOOL R Faulty channel s Fipio extension only MWr m MOD 2 9 BLK_EXT BOOL R Terminal block fault Fipio extension only MWr m MOD 2 10 CONF_FLT_EXT BOOL R Hardware or software configuration fault Fipio MWr m MOD 2 13 extension only NO_MOD_EXT BOOL R Module missing or inoperative Fipio extension MWr m MOD 2 14 only 35006196 03 October 2005 187 Language objects of the AS i bus 188 35006196 03 October 2005 Implementation of AS i V2 bus software IV At a Glance Subject of this part What s in this Part This part presents the software implementation of the AS i V2 bus with Unity Pro software This part contains the following chapters Chapter Chapter Name Page 12 Principles of the software implementation of the AS i V2 Bus 191 13 AS i V2 bus configuration 203 14 Debugging the AS i V2 bus 223 15 AS i V2 operating mode 239 16 AS i V2 performance 245 17 DFB for AS i Security Monitor 247 18 Language objects of the AS i V2 bus 257 35006196 03 October 2005 189 Implementation of AS i V2 bus software 190 35006196 03 October 2005 Principles of the software implementation of the AS i V2 Bus 1 2 At a glance Aim of this This chapter presents the principles of software implementation of the AS i V2 bus
41. TSX P57 204M The number ofthe AS i V1 bus T B 3 TSX SAY 100 E 4 TSX SAY 1000 Er Eug 2 asivi ch 2 AS I V1 input output station pF orexample the adc z input 3 of this slave MM 0 0 AS i V1 device 2 1 2 2 0 0 3 LES 5 AS I V1 input output station wees MM 0 AS i V1 device 5 E 19 AS I V1 input output station h A 3 AS iV2 BUS CJ Derived Data Types Conese 4 Derived FB Types B Variables amp FB instances B ences 7j Communication m T a slave address slave address PRENERA ee ee 522229954 aana In the project browser the AS i bus is represented by AS i V1 and the AS i V2 is represented by AS i V2 124 35006196 03 October 2005 AS i bus configuration Modifying the It is possible to modify the AS I bus number by following the below instructions Bus Number Step Acton 1 Close the AS I module configuration screen if it is open 2 In the project browser right click on the AS I module and select properties 3 In the Bus properties window select the desired bus number between 1 and 999 4 Click on OK to confirm the modification Result the addresses of the slave devices directly associated with the AS I bus module are automatically modified Note You are advised not to use the number 2 bus for the AS I bus because this number is reserved for the Fipio bus 35006196 03 Octobe
42. These various phase can also be performed in the other mode 35006196 03 October 2005 193 Principle of software implementation of the AS i V2 bus Architecture of the TSX SAY 1000 Module At a glance Illustration of the architecture The TSX SAY 1000 module operates according to the master slave mode The master only controls exchanges on the bus The AS i standard sets several operating levels offered by the master e Profile MO and MOe Minimum Master the master only puts forward the configuration of slaves connected to the bus on power up and only input output exchanges e Profile M1 and Mte Full Master this profile covers all the operating functions set by the AS i standard e Profile M2 and M2e Reduced Master this profile corresponds to profile MO operating functions with a slave parametering option The master profiles with an e support extended profiles Note The TSX SAY 1000 module has an M2e profile with the additional option of reading slave and slave channel diagnostics information The module includes data fields which are used to manage the lists of slaves and I O data images This information is stored in a volatile memory The figure below shows the TSX SAY 1000 module architecture I O data Parameters current AS i bus N iriri Configuration Identification LDS LAS LPS LPF NO 0 Ff 194 35006196 03 October 2005 Principle
43. V2 bus How to modify the value of an analog channel At a Glance Procedure This function allows the values of channels linked to an AS i V2 analog slave to be modified The following table shows the procedure for modifying the value of an AS i V2 slave s analog channel Step Action 1 Access the AS i V2 module s debug screen Select an analog slave in the AS configuration V2 interfacezone Select the channel whose value you wish to modify from the Slave zone Result the following window appears l Channel Asi Symbol Status Action channel 0 0 0 T 0 Modify the value 2 0 3 0 0 1 0 E TE 0 3 0 Format Global Unforcing 4 Click on the Change Value button Result the following window appears Analog 1 0 Ea Slave 21A Channel 0 Value in decimal 10000 5 Enter the value in decimals and click on OK Note the value is always entered as decimal but it may be displayed in a different format using the Format drop down list located at the bottom of the Slave zone 35006196 03 October 2005 235 Debugging the AS i V2 bus Automatic replacement of a faulty AS i V2 slave Principle When a slave has been declared faulty it can be automatically replaced with a slave of the same type The replacement happens without the AS i V2 bus having to stop and without particular manipulation as long as the
44. View of input output bit state for slave selected e LEDs 0 to 3 display the state of the input bits e LEDs 4 to 7 display the state of the output bits e LED on bit in state 1 e LED off bit in state 0 or not significant detected Illustration Illustration Illustration KNEE EE KE KNEES BN Kr EN Lr KB EH EJ EH KE EK E3 NH EIE EJ EN 0 KS Ea EB 0 KS E DE EIE EN ER ED EA Ee KINH KE Ed EIN EE EH L4 EA 2o CN EN EA EJ EI 12 EX ES EN EU EN EJ EB KHU EN EJ EHE EN EJ KE EIS E ES Ze ES E33 EJ EI 22 EJ EB ES EN ER KB 15 E IER 3 EX EN sl o SLV BUS dor SLV BUS SLV BUS SLV SLV SLV 10 evo G 2 N i The display mode is shown the Bus LED being on and the I O LED being off C PA M 1 The display mode is shown by Bus and I O LEDs both being off S o G The display mode is shown by the Bus LED being off and the I O LED being on 74 35006196 03 October 2005 TSX SAY 100 Moving between the different display modes Illustration This illustration shows how to move between the different display modes SLV BUS Aon SLV Display of image of the AS i bus default display VO Presence l slaves 1 to 31 9 o A PEE z m A EI velei ala eo Y Y E Nala gt 1S Hold down on TL o CO v Number CU D
45. a module is removed with the power on Should a module be removed with the power switched on communication with the X Bus stops and the processor indicates a module fault Communication with the AS i bus is also interrupted without notice In this case the slaves with a watchdog set their outputs in the desired state and the others remain in position and cannot be set to 0 since the module cannot guarantee communication After switching on the TSX SAY 100 module it waits to receive configuration from the processor or for one of the push buttons TY or to be pressed otherwise it remains at a stop When an AS i supply module fault occurs communication stops with e Slaves with a watchdog positioning their outputs in the desired state except if the slave takes its power from the AS i e Slave commands switch to 0 due to lack of power This fault is indicated by the AS i LED There are several ways in which a break in the medium can occur 1 There is a break in the medium as it exits the module Behavior is the same as that for a power outage with all slaves disappearing and a supply fault being indicated 2 There is a break in the medium after the TSX SAY 100 module and the AS i supply All slaves disappear and there is no indication of a supply fault 3 There is a break in the medium after the TSX SAY 100 module the AS i supply and some slaves Slaves located after the break disappear and there is no indication
46. and this will cut off the PLC power supply source if ground leakage if detected e For PLCs which are connected to a direct current supply source you must ensure that the supply placed upstream of the PLC is VLVS e To use certified AS i products on the bus Due to the type of technology and connection the TSX SAY 1000 module only receives 5 VDC and its OV is linked to the PLC ground 94 35006196 03 October 2005 TSX SAY 1000 4 2 AS i Bus Diagnostics Introduction to AS i Bus diagnostics General The module display panel displays the presence and operating status of each slave on the AS i bus Illustration A N N 35006196 03 October 2005 95 TSX SAY 1000 Diagnostics of Table giving diagnostics of module s standard and extended address setting slaves He AS i Bus View of standard or extended address View of extended address setting slaves setting slaves on bank A on bank B B LED off B LED on View of AS i bus image Each LED from 1 to View of AS i bus image Each LED 1 to 31 31 corresponds to a standard or extended corresponds to an extended address setting slave address on the bus slave address on the bus e LED on slave active e LED on slave present e LED off slave not expected and not e LED off slave not expected and not detected detected e LED flashes rapidly peripheral fault on e LED flashes rapidly peripheral fault on slave slave e LED flashing slowly c
47. associated with the slave devices connected tothe AS i DUSZE Eoo cu deret enc bte Plebe bre U ees bee PE ent 114 AS i bus configuration elles eese 117 Ata Glanhice cc oe iar A orn ae aa MU ENDE RIBERA a Eu 117 How to Declare an AS i Communication Module in the PLC Rack 118 Description of the AS i communication module configuration screen 119 How to Define a Slave Device on the AS i Bus 000 eee eae 121 AS i Bus Displayed in the Project Browser 0 cece eee eee 124 How to modify the AS i Bus software configuration 04 126 How to access the description of an AS i slave 00000000es 127 How to Define a New Slave Profile in a Private AS i Catalog 129 How to modify AS i slave general parameters Automatic addressing 131 How to modify AS i slave general parameters Fallback mode 132 Debugging the AS i busS 200 e cece eee eee eee 133 Ata Glance se uir hk teat Le Rasa asus iad vind ant face ORE a ES alee aes 133 Introduction to the Debug function lisse 134 Description of the debug screen of an AS i module 4 135 How to access the functions of the module diagnostics and channel diagnostics of an AS i device 2 0 ccc tte ee 137 Displaying the status of the slaves 2 2 00 c eee eee 139 How to Access Adjustment of an AS i Device s Parameters 140 How to Access the AS
48. bit The following table shows the meaning of the error bitcH ERROR lr m c ERR Standard symbol Type Access Meaning Address CH_ERROR EBOOL R Communication channel error bit lr m c ERR 260 35006196 03 October 2005 Language objects of the AS i V2 bus Details of the implicit exchange objects of the IODDT of the T COM STS GEN type At a Glance This part presents the explicit exchange objects of the IODDT of the T COM STS GEN type that applies to all the communication protocols This groups together word type objects the bits of which have a particular meaning These objects are presented in detail below Example of declaration of a IODDT VAR1 variable of type T COM STS GEN Notes e Generally the meaning of the bits is given for state 1 of each bit In certain cases each state of the bit is explained e Not all the bits are used Explicit The following table presents the meanings of the exchange control bits of the exchange channel EXCH STS MWr m c 0 indicator EXCH STS Standard symbol Type Access Meaning Address STS IN PROGR BOOL R Reading of the status words of the current channel MWr m c 0 0 CMD IN PROGR BOOL R Command parameters exchange in progress MWr m c 0 1 ADJ_IN_PROGR BOOL R Command parameters adjustment in progress MWr m c 0 2 Explicit The table below presents the meanings of the report bitsExCH_ RPT MWr m c 1 excha
49. bit of the words EXCH_STS MWr m c 0 and EXCH_RPT MWr m c 1 is Significant Bits associated with a type of parameter e Rank 0 bits are associated with the status parameters e the STS IN PROGR bit MWr m c 0 0 indicates whether a read request for the status words is in progress e the STS ERR bit 76MWr m c 1 0 specifies whether a read request for the status words is accepted by the module channel e Rank 1 bits are associated with the command parameters e the CMD IN PROGR bit MWr m c 0 1 indicates whether command parameters are being sent to the module channel e the CMD ERR bit MWr m c 1 1 specifies whether the command parameters are accepted by the module channel e Rank 2 bits are associated with the adjustment parameters e the ADJ IN PROGR bit MWr m c 0 2 indicates whether the adjustment parameters are being exchanged with the module channel via WRITE PARAM READ PARAM SAVE PARAM RESTORE PARAM e the ADJ ERR bit 76MWr m c 1 2 specifies whether the adjustment parameters are accepted by the module If the exchange is correctly executed the bit is set to O e rank 15 bits indicate a reconfiguration on channel c of the module from the console modification of the configuration parameters cold start up of the channel Note r represents the rack number andm the position of the module in the rack while c represents the channel number in the module Note Exchange and
50. bus configuration Procedure for The following table shows the procedure for displaying the characteristics of a slave accessing device information ona Step Action profile 1 Access to the hardware configuration screen of the AS i V2 module 2 Double click on the required slave Result The windowAssociate a profile displays and highlights the device in question Select the profile family and the reference for the desired slave Click on the button View to access definition information e Details to access all the information 35006196 03 October 2005 215 AS i V2 bus configuration How to define a new slave profile in the standard AS i V2 catalog At a Glance The Unity Pro software offers the possibility of defining a slave profile which was not provided in the standard catalog The new profile defined in this way is added to the catalogue in Private family This profile can then be used as a standard catalogue profile 216 35006196 03 October 2005 AS i V2 bus configuration Procedure The following table presents the procedure for defining a slave profile which is not provided in the standard catalogue Step Action 1 Access the AS i module s hardware configuration screen 2 Double click in a slave s host cell 1 to 31 A or B Result The screenAssociate a profile appears Select Private family in the field AS i Family Name Result T
51. cross section 1 5 mm or 2 5 mm Blue Brown Recommended cable product reference HO5VV F2x1 5 flat cable conforms to the DIN VDE 0281standard Wire cross section 1 5 mm 88 35006196 03 October 2005 TSX SAY 1000 Cable Routing Link up Connector Connection of Module to Bus The AS i cable and the power cables carrying higher power levels must be in separate ducts which are protected by a metal screen When using a shared route for control cables it is essential that the connections on these control links should conform to the technology rules eg the discharge diode or limiters on the terminals of self inductive elements etc A set connector cover is delivered with the module which is used to connect the module to the AS i bus This connector must be linked to the cable of the AS i bus and assembled by the user according to the procedure described later Illustration Connector To connect a module to the bus follow the procedure below 1 Connect the 2 wires of the AS i cable to the connector taking the polarities into account In the special event that a shielded cable is used this should be connected to the central terminal 35006196 03 October 2005 89 TSX SAY 1000 Mount the connector in its cover and fix the cable to it 90 35006196 03 October 2005 TSX SAY 1000 Displaying Modul
52. e Atrium See Premium and Atrium using Unity Pro Manual Processors racks and power supply modules Catalog of Atrium Processors 35006196 03 October 2005 87 TSX SAY 1000 Connections Connecting to the X Bus Connection to the AS i Bus AS i Bus Cables The module connects automatically to X BUS once it is inserted into its rack If the module is inserted into the base rack connection to the central unit and power supply module is implicit There is no particular order in which devices Power Supply Bus or Slave Master must be connected to the AS i network but the unit as a whole is not guaranteed to be operational during this installation phase The AS i network itself does not need to be grounded Power supply and PLC devices must however adhere to standard installation requirements You are advised not to place the AS i network near cables carrying high currents The network s connection system is provided for connection to a trapezoid standard multiwire AS icable 0 75mm to 2 5mm Regardless of the topology carried over the combined length of AS inetwork cabling should not exceed 100m without relay AS i bus cables carry the signals and supply the sensors and actuators connected to the bus with 30 VDC Types of AS i cables Cable type Characteristics Illustration Polarized AS i ribbon cable Color yellow Wire cross section 1 5 mm Blue Brown Standard round cable Wire
53. faulty screen accessible with the Fault tab where the fault diagnostics are described The fault is also signaled on the module through the centralized display by the dedicated language objects CH ERROR lr m c ERR and module error MOD ERROR lr m MOD ERR MWr m MOD 2 etc and the status words See Details of the Language Objects of the IODDT of type T GEN MOD p 187 35006196 03 October 2005 227 Debugging the AS i V2 bus Procedure for accessing the module diagnostics The following table presents the procedure to access the screen Module diagnostics Step Action 1 Open the AS i V2 module to be diagnosed 2 Access the configuration screen by clicking on the Fault tab Result The list of module errors appears Description rjConfig fi Debug Internal errors External errors Fault Other errors Defective slave hardware configuration error 228 35006196 03 October 2005 Debugging the AS i V2 bus Displaying the slaves status At a Glance The lower part of the communication module s debug screen is reserved for AS i V2 bus diagnostics The slave devices connected to the bus are displayed in the two columns of the AS interface V2 Configuration zone The left hand column lists standard A or extended B address slaves and the right hand column lists only extended address
54. for This operation allows the copying of a slave declared on an AS i V2 Bus copying a slave Step Action 1 Select the slave to be copied 2 Select the command Edit Copy an AS i slave 3 Select the slot of the new slave 4 Select the command Edit Paste an AS i slave 35006196 03 October 2005 213 AS i V2 bus configuration How to access the description of an AS i V2 slave At a Glance The Unity Pro software allows access to all the information relating to an AS i V2 device such as e the definition of a profile e the details of a profile Definition of a A profile is defined by profile its name e e a comment optional e identifiers IO ID ID1 ID2 e anumber of inputs and or outputs e operation parameters Note profile description for Private Family products is not accessible Details of a The Details function allows access for a given slave to all the information profile presented in the catalog file Detail of a profile Reference XZ SDA22D12 4 User module active Used to connect two sensors 100 mA max and two actuators 1A max Individual power supply to actuators through their base Version Supplier Telemecanique AS i profile 3 0 E F I O Configuration Inputs PNP type DO I 1 Signalsensor 1 pins 4 2 DI I2Signalsensor 2 pins 4 2 D2 D3 ES Wd OK 214 35006196 03 October 2005 AS i V2
55. i Bus diagnostics At a Glance Aim of this This Section deals with the diagnostics mode carried out by the Section TSX SAY 100 module What s in this This section contains the following topics ion Section Topic Page Introduction to AS i Bus diagnostics 78 Moving between the different display modes 75 Displaying slaves on the AS i bus 76 Displaying the state of the inputs outputs of each slave 77 72 35006196 03 October 2005 TSX SAY 100 Introduction to AS i Bus diagnostics General The module display panel is used for e Displaying the presence of each slave on the AS i bus Bus mode e Displaying the state of input output bits of each slave present on the bus Slave mode SLV These modes can be accessed by a combination of actions on the push buttons Nand on the TSX SAY 100 module Illustration EN KH KJ EN gt RE KE Ka EJ EN E EJ EJ n Wd EN EN KU E AUC AP EN KA EJ EJ aA 2 EN EHE EIN E N KN EINE E33 EJ 4 Nu EH EJ EB 35006196 03 October 2005 73 TSX SAY 100 Display modes Table giving the 2 display modes of the module Bus mode Slave mode SLV View of AS i bus image Each LED 1 to 31 corresponds to a slave address on the bus e LED on slave present e flashing LED slave expected and not detected or not expected and detected e LED off slave not expected and not View of selected slave address e LED on number of slave selected
56. module LED state Meaning Bus LED on I O The 32 LED display panel located at the SLV BUS AO LED off front of the module is in BUS display SLV 2 mode and displays all the slaves present Vo e on the bus e Bus LED off I O The 32 LED display panel located on the SLV BUS e LED on front of the module is in Slave display 2 sae mode SLV with display of the input T output status for a selected slave e Bus LED off I O The 32 LED display panel located on the SLV BUS e LED off front of the module is in Slave display SLV mode SLV with display of the address uo o of the slave selected e 35006196 03 October 2005 69 TSX SAY 100 Technical characteristics AS i Bus TSX SAY 100 Module Characteristic Value AS i bus maximum cycle time 5ms Maximum number of slaves on the AS i bus 31 Maximum length of AS i bus all branches 100 meters mixed without repeater Maximum number of inputs outputs 124 inputs 124 outputs Nominal supply voltage for AS i bus 30 V DC Characteristic Value Programming the TSX SAY 100 module using Unity Pro software Response time with 31 slaves 1 for a PLC cycle time of 10 ms Typically 27 ms 37 ms maximum Calculation of AS i scanning time for n slaves normal operation 156 us x n 2 if n lt 31 156 us x n1 if n 31 Power consumption 5V
57. only in Online mode The tab I O Objects See Unity Pro Operating Modes Manual l O Objects Tab for a Module is used to presymbolize the input output objects modulezone Specify the abbreviated title of the module and the status of the module in online mode There are three indicators in the same zone that provide the status of module in online e RUN indicates the operating mode of the module e ERR signals an internal fault in the module e O signals an external fault in the module or an application fault General parameterszo ne makes it possible to select the general parameters associated with the channel e Function the AS i 2 bus function is frozen grayed e Task defines the MAST or FAST task through which the channel s implicit exchange objects will be exchanged configurationf ield Makes it possible to configure the channel configuration parameters Certain choices may be frozen and appear grayed It is broken down into four fields e AS interface configuration e the selected slave characteristics the parameters applied to the chosen slave e the input and output symbols associated with a device 206 35006196 03 October 2005 AS i V2 bus configuration How to define a slave device on the AS i V2 bus At a Glance Unity Pro software offers a catalog of Schneider products which groups together all of the AS i V2 slaves that are available This catal
58. report words also exist at module level EXCH STS Y MWr m MOD and EXCH_RPT MWr m MOD 1 as per IODDT type T GEN MOD 166 35006196 03 October 2005 Language objects of the AS i bus Example Phase 1 Sending data by using the WRIT PLC memory E PARAM instruction Status parameters I O module memory or integrated specific application function memory Command parameters Status parameters Adjustment parameters Command parameters Adjustment parameters When the instruction is scanned by the PLC processor the Exchange in progress bit is set to 1 in MWr m c Phase 2 Analysis of the data by the I O module and report PLC memory I O module memory or integrated specific application function memory Status parameters Command parameters Status parameters Adjustment parameters Command parameters Adjustment parameters When the data is exchanged between the PLC memory and the module acknowledgement by the module is managed by the ADJ ERR bit MWr m c 1 2 Report 0 correct exchange 1 faulty exchange Note There is no adjustment parameter at module level 35006196 03 October 2005 167 Language objects of the AS i bus Execution The
59. slave AS interface configuration d XZ SDA22D32 PI XAL S2003 Slave no 3 Profile Parameters 3 0 Projected 3 F value TI Modif PARAMI Unforce module Detected 3f Channel action 2 F2 Force to 0 ShiftF2 Force to 1 Channel AS i symbol Status 0 0 1 LF2K09BW 4C gt eR 3 Not handled de Not handled 5 Not handled P XZ SDA22D32 si I ig REEL ShiftF2 Unforce Shift Set Click on Modif PARAM located in the Parameters field of the slave zone Result the Modify Parameters window appears Parameter Modification Slave no 1 x Parameters 0 Unused 2 Unused 1 Unused 3 3 Flash On Off Send Cancel Input Close Modify the required parameters Click on Send to recognize the new values 140 35006196 03 October 2005 Debugging the AS i bus How to Access the AS i Channels Forcing Unforcing Function At a Glance This function supports the modification of the state of the channels which are linked to a AS i slave The different commands which are available are e Fora channel e Forcing to O e Forcing to 1 e Unforcing e Forall the channels when at least one channel is forced e Unforce module Procedure
60. slaves the following may be activated e The internal watchdog upon a communication stop with the TSX SAY 1000 bus master e The output fallback position pre programmed in the slave This parameter activates the slaves output fallback when changing to STOP or when the PLC is faulty The fallback position is pre defined in the slave device Possible modes are e Fallback to 0 the outputs of AS i slaves present on the bus are set to 0 status e Maintain status AS i slave outputs remain in the state they were before STOP mode was engaged The table below shows the procedure for selecting the Watchdog and the Fallback Position assigned to the output of a slave supporting these parameters Step Action 1 Access the AS i V2 communication module s configuration screen 2 Select the slave whose parameters are to be modified 3 Click on the Watchdog checkbox and or Fallback Position checkbox located in the Parameters zone Result The watchdog and or fallback position will be activated in the slave device r Parameters 0 v Watchdog 2 v Unused l v Fallback Position 3 v Unused 35006196 03 October 2005 219 AS i V2 bus configuration How to modify the parameters of an analog AS i V2 slave At a Glance Procedure The Parameters zone of the configuration screen is used to choose whether to activate or deactivate pre defined parameters in an analog slave For example
61. supply for the connected devises are transmitted The link does not need to be twisted The cross section of wires can be from 2 x 0 75 mm 2 x 1 5 mm or 2 x 2 5 mm according to the current consumed by the devices The topology of the AS i bus is flexible It can be perfectly adapted to meet the user s needs point to point on line tree structure etc In every case the total length of all the branches of the bus must not exceed 100 meters without a relay 26 35006196 03 October 2005 Introduction to the AS i bus AS i Bus Cycle Time Reliability Flexibility This is the cycle time between slave s and the TSX SAY 1000 module The AS i system always transmits information which is the same length to each slave on the bus The AS i cycle time depends upon the number of slaves connected to the bus in the presence of functioning slaves The scan time t represents the exchange time between a master and n active slaves a maximum of 31 on A or B So for e up to 19 active slaves t 3ms e 20to 31 active slaves t 1 n 0 156ms When two slaves A and B have the same address each slave in the pair is scanned every two cycles This means that for 31 extended address setting slaves configured in A 31 extended address setting slaves configured in B the scan time will be 10 ms Maximum cycle time e maximum 5 ms for 31 standard or extended address setting slaves e maximum 10 ms for 62 extended address set
62. the exchange has been correctly executed To do this two types of information is available e information concerning the exchange in progress See Execution Indicators for an Explicit Exchange EXCH_STS p 168 e the exchange report See Explicit Exchange Report EXCH_RPT p 168 The following diagram describes the management principle for an exchange Execution of an explicit exchange Exchange in progress Exchange report 164 35006196 03 October 2005 Language objects of the AS i bus Management of Exchanges and Reports with Explicit Objects At a Glance When data is exchanged between the PCL memory and the module the module may require several task cycles to acknowledge this information All IODDTs use two words to manage exchanges e EXCH STS MWr m c 0 exchange in progress e EXCH RPT MWr m c 1 report Illustration The illustration below shows the different significant bits for managing exchanges Reconfiguration bit 15 Adjustment bit 2 Command bit 1 Status bit 0 i Status parameters Command parameters Adjustment parameters EXCH RPT MWr m c 1 EXCH STS MWr m c 0 READ STS WRITE CMD WRITE PARAM READ PARAM SAVE PARAM RESTORE PARAM 35006196 03 October 2005 165 Language objects of the AS i bus Description of Each
63. to AS i power supply units llle lees 33 Physical description of the TSX SUP A02 power supply module 34 Physical description of the TSX SUP A05 power supply block 35 Physical description of the support board liliis 36 Catalog of AS i power supply units liliis eere 37 AS i power supply specific features 2 0 0 0 00 eee 38 Installation of the AS i bus power supply units 0 00 ee ee eee 39 Ata Glance x da peu miele ion kde br ence pect ta blow BS dae 39 Dimensions mounting of the AS i TSX SUP A02 power supply unit 40 35006196 03 October 2005 2 3 2 4 Chapter 3 3 1 3 2 3 3 3 4 Chapter 4 4 1 4 2 Dimensions mounting of the TSX SUP A05 AS i power supply unit 43 Summary of methods of fixing liess 44 AS i power supply connections 00 6 45 Aba Glance us cetus durs Ita dr Vane th A aM Moi nen eek Meas E 45 TSX SUP A02 power supply connections 000 eee eee 46 TSX SUP A05 power supply connections 20 000 cece eee 48 General precautions 0 0 0 0 cette tees 52 Characteristics of AS i bus power supply units 0000 eee 54 Ata Glance uis i iiss amp aaa a A bn pU dh peti ht Davee ans 54 Electrical characteristics of AS i power supply units TSX SUP A02 A05 55 Physical characteristics of environment llle eee eee eee 57 AS i bus interface modu
64. well as the different ways of using them This chapter contains the following sections Section Topic Page 11 1 Language objects and IODDT of the AS i communication 160 11 2 The language objects and generic IODDT applicable to all 169 communication protocols 11 8 Language objects and IODDT s associated to the AS i bus 173 11 4 The IODDT type T GEN MOD applicable to all modules 187 35006196 03 October 2005 159 Language objects of the AS i bus 11 1 Language objects and IODDT of the AS i communication At a glance Aim of this This sub section presents general information on the language objects and IODDT Section associated to the AS i bus What s in this This section contains the following topics ion Section Topic Page Presentation of language objects of the AS i bus 161 Implicit exchange language objects associated with the application specific 162 function Explicit exchange language objects associated with the application specific 163 function Management of Exchanges and Reports with Explicit Objects 165 160 35006196 03 October 2005 Language objects of the AS i bus Presentation of language objects of the AS i bus General Language object types The IODDT s are predefined by the constructor and contains language objects of inputs outputs belonging to the channel of an application module AS i communication AS i has two a
65. with e 4input bits e 4 output bits e 4 parametering bits So the AS i bus is capable of managing a maximum of 248 l O s Each slave has its own address and a profile defines variables exchange The figure below shows the structure of an AS i slave AS i slave 1 i I O data Lt D3 C Do 2 i Parameters Li P3 LT PO Configuration 3 Identification AS i bus 4 d Address 112 35006196 03 October 2005 Principle of software implementation of the AS i Bus Description of constituent elements The table below shows the different elements that make up the structure of an AS i slave Number Item Description 1 Input output Input data is stored by the slave and made available for the data AS i master Output data is updated by the master module 2 Parameters The parameters are used to control and switch internal operating modes to the sensor or the actuator 3 Configuration This field contains Identification e the code which corresponds to I O configuration e the slave identification ID code 4 Address Physical address of slave Note The operating parameters address configuration and identification data are saved in a non volatile memory 35006196 03 October 2005 113 Principle of software implementation of the AS i Bus Addressing of language objects associated with the slave device
66. 0 SLAVE FLT 11 BOOL R Slave 11 faulty or absent lWr m c 0 11 SLAVE_FLT_12 BOOL R Slave 2 faulty or absent 9eIWr m c 0 12 SLAVE FLT 13 BOOL R Slave 13 faulty or absent 9eIWr m c 0 13 SLAVE FLT 14 BOOL R Slave 14 faulty or absent 9elWr m c 0 14 SLAVE FLT 15 BOOL R Slave 15 faulty or absent 9elWr m c 0 15 35006196 03 October 2005 175 Language objects of the AS i bus List of slaves 16 The following table shows the meaning of the bits of word lWr m c 1 to 31 faulty Standard symbol Type Access Meaning Address SLAVE_FLT_16 BOOL R Slave 16 faulty or absent Wr m c 1 0 SLAVE_FLT_17 BOOL R Slave 17 faulty or absent 9elWr m c 1 1 SLAVE FLT 18 BOOL R Slave 18 faulty or absent 96IWr m c 1 2 SLAVE FLT 19 BOOL R Slave 19 faulty or absent 9elIWr m c 1 3 SLAVE FLT 20 BOOL R Slave 20 faulty or absent 9elIWr m c 1 4 SLAVE FLT 21 BOOL R Slave 21 faulty or absent 9elWr m c 1 5 SLAVE FLT 22 BOOL R Slave 22 faulty or absent 9elWr m c 1 6 SLAVE FLT 23 BOOL R Slave 23 faulty or absent 9elWr m c 1 7 SLAVE FLT 24 BOOL R Slave 24 faulty or absent 9elWr m c 1 8 SLAVE FLT 25 BOOL R Slave 25 faulty or absent 9elWr m c 1 9 SLAVE FLT 26 BOOL R Slave 26 faulty or absent 9eIWr m c 1 10 SLAVE FLT 27 BOOL R Slave 27 faulty or absent 9elWr m c 1 11 SLAVE FLT 28 BOOL R Slave 28 faulty or absent 9eIWr m c 1 12 SLAVE FLT 29 BOOL R Slave 29 faulty or absent 96IWr m c 1 13 SLAVE FLT 30
67. 0 fe In C Out 0 Lo cn C Out Lk jd 2 In fe Out 2 v 3 e n fe Out 3 v OK Close 5 Enter e The name of the new profile e A comment optional 6 Select e The IO code corresponds to the input output configuration e The ID code identifier 7 For each parameter define e The system s acknowledgement box checked e Alabel optional 8 Confirm the introduction of a new profile by clicking OK 130 35006196 03 October 2005 AS i bus configuration How to modify AS i slave general parameters Automatic addressing At a Glance Procedure Each slave on the AS i bus must be assigned via configuration a unique physical address This must be the same as the one declared in Unity Pro Unity Pro software offers an automatic slave addressing utility so that an AS i console does not have to be used The automatic addressing utility which can be accessed via Unity Pro e replacing a faulty slave See Automatic replacement of a faulty AS i slave p 143 e inserting a new slave See How to insert a slave device into an existing AS i configuration p 144 Note A new configuration with automatic addressing will not be accepted if one or more slaves with a O address are on the bus In this case the Configuration refused by module message appears The table below shows the procedure for setting the Automatic addressing parameter Step Action 1 Open the AS i module
68. 005 Language objects of the AS i V2 bus ListofslavesOto The following table shows the meaning of the bits of word IWr m c 0 15 of bank A in error Standard symbol Type Access Meaning Address SLAVE FLT 0A BOOL R Slave OA faulty or absent 9elWr m c 0 0 SLAVE FLT 1A BOOL R Slave 1A faulty or absent 9elWr m c 0 1 SLAVE FLT 2A BOOL R Slave 2A faulty or absent 9elWr m c 0 2 SLAVE FLT 3A BOOL R Slave 3A faulty or absent 9elWr m c 0 3 SLAVE FLT 4A BOOL R Slave 4A faulty or absent 9elWr m c 0 4 SLAVE FLT 5A BOOL R Slave 5A faulty or absent 9elWr m c 0 5 SLAVE FLT 6A BOOL R Slave 6A faulty or absent 9elWr m c 0 6 SLAVE FLT 7A BOOL R Slave 7A faulty or absent 9elWr m c 0 7 SLAVE FLT 8A BOOL R Slave 8A faulty or absent 9elWr m c 0 8 SLAVE FLT 9A BOOL R Slave 9A faulty or absent 9elWr m c 0 9 SLAVE FLT 10A BOOL R Slave 10A faulty or absent 9elWr m c 0 10 SLAVE FLT 11A BOOL R Slave 114A faulty or absent 9elWr m c 0 11 SLAVE FLT 12A BOOL R Slave 124A faulty or absent 9elIWr m c 0 12 SLAVE FLT 13A BOOL R Slave 13A faulty or absent 9elWr m c 0 13 SLAVE FLT 14A BOOL R Slave 14A faulty or absent 9elWr m c 0 14 SLAVE FLT 15A BOOL R Slave 15A faulty or absent 9elWr m c 0 15 35006196 03 October 2005 265 Language objects of the AS i V2 bus List of slaves 16 to 31 of bank A in error The following table shows the meaning of the bits of word 6IWr m c 1
69. 35006196 03 a brand of Schneider Electric Premium and Atrium using Unity Pro AS i Bus User manual October 2005 eng Telemecanique 35006196 03 October Table of Contents Part Chapter 1 Part Il Chapter 2 2 1 2 2 Safety Information 000 e eee eee eee 9 About the Book ire kre ig Iu IRA SEE ee 11 The AS i BUS osiers e o n dee owe eres ew eee 13 Ata Glance oio a e Aes e vec qe etur e uer aded 13 General introduction to the AS i bus 15 Ata lances ie ree th deabus een quu Raed emcee tag ains 15 Reminder relating to AS i and AS i V2 buses 0 000 e eee 16 Overview of AS i products from the Schneider catalog 04 17 Presentation of main constituent components 000 eee eee 18 Example of AS i bus topology 1 0 2 6 cece ett 22 Main characteristics of the AS i bus 0 0 0 c cece eee eee 23 Main Characteristics of the AS i V2 Bus 000 00 e cece ess 25 Hardware installation for AS i power supply units and TSX SAY 100 and TSX SAY 1000 AS i bus interface Inodules iets ote One oe WE sts DERE EE hen Sopa A 29 Ata Glanice i ust exer ue Metu ba nbi qe omes 29 AS i bus power supply units 000 cee eee eee 31 At a Glance ioc ed ea ee ee cea 31 Introduction to AS i Bus power supply units l l iles esee 32 Ata Glance usce c Diete e ie a ee ee bet Tuto esto Eae cops 32 General introduction
70. 9 communication protocols 18 3 Language objects of the AS i V2 function 263 18 4 IODDT T_GEN_MOD applicable to all the modules 279 35006196 03 October 2005 257 Language objects of the AS i V2 bus 18 1 Language objects and IODDT s of the AS i V2 communication Presentation of language objects of the AS i V2 bus General The IODDT s are predefined by the constructor and contains language objects of inputs outputs belonging to the channel of an application module AS i V2 communication has two associated IODDT s T COM STS GEN which applies to all the communications protocols T COM ASI V2 specific to AS i V2 communication and the TSX SAY 1000 module Note IODDT variables can be created in two different ways e Using the I O objects See Unity Pro Operating Modes Manual I O Objects Tab for a Module tab e Data Editor See Unity Pro Operating Modes Manual Creation of an IODDT type data instance Language object Each IODDT contains a set of language objects allowing its operation to be types controlled and checked There are two types of language objects implicit exchange objects See mplicit Exchange Language Objects Associated with the Application Specific Function p 162 which are automatically exchanged at each cycle of the task associated with the module explicit exchange objects See Explicit exchange language objects associated with the application specific
71. BOOL R Slave 30 faulty or absent 9eIWr m c 1 14 SLAVE FLT 31 BOOL R Slave 31 faulty or absent 9eIWr m c 1 15 176 35006196 03 October 2005 Language objects of the AS i bus Details of the explicit exchange objects of the T COM ASI V1 type IODDT At a Glance This part presents the explicit exchange objects of T COM ASI V1 type IODDTs that apply to the AS i bus It includes word type objects whose bits have a special meaning These objects are presented below Example of declaration of a variable IODDT VAR1 of type T COM ASI V1 Notes e The meaning of a bit is generally given for the status of the bit when set to 1 In specific cases an explanation is given for each status of the bit e Not all bits are used Execution The table below shows the meaning of channel exchange control bits EXCH_STS indicators for an MWr m c 0 explicit exchange EXCH STS Standard symbol Type Access Meaning Address STS IN PROGR BOOL R Reading current channel status words 9eMWr m c 0 0 CMD IN PROGR BOOL R Command parameters exchange in progress MWr m c 0 1 ADJ IN PROGR BOOL R Adjust parameters exchange in progress 9eMWr m c 0 2 Explicit The table below shows the meaning of the exchange report bits EXCH_RPT exchangereport MWr m c 1 EXCH RPT Standard symbol Type Access Meaning Address STS ERR BOOL R Channel status words reading error 9eMWr m c 1 0
72. Ds RUN ERR COM I O which are located on the module Their state LED off flashing or on provides information on the operating mode of the module LED state LEDs ze v On G Flashing Re Off d RUN Module operating Module self testing 1 Faulty module or green normally module switched off ERR red Serious internal fault Module self testing 1 No internal error module broken down Fault system OK but e application fault or e AS i bus error COM Module self testing 1 No communication on green Communication on AS i bus AS i bus I O red Input output error Module self testing 1 Module operating normally 1 the 4 LEDs flash simultaneously during self testing mode when the module is switched on 35006196 03 October 2005 67 TSX SAY 100 Specific Display Panels on the TSX SAY 100 Module General AS i LED red View of the 3 LEDs AS i e 448 AS i LED SLV SLV BUS Q9 a Bus LED e O OLED 3 LEDs AS i Bus and I O display information specific to the TSX SAY 100 module Meaning Module operating normally Flashing LED Supply fault on the AS i bus LED off Automatic addressing initialized 68 35006196 03 October 2005 TSX SAY 100 Bus and I O LEDs These two LEDs display the view mode selected e Bus display mode or e Slave display mode Display
73. E Communication LI i d J f Li 4 LI Li Li i Y Li i LI Select the module TSX SAY 100 then confirm with the command OK 118 35006196 03 October 2005 AS i bus configuration Description of the AS i communication module configuration screen At a Glance The configuration screen is a graphics tool used to configure a module selected in a rack It gives access to the parameters associated with the module and the slave devices Illustration The figure below represents a configuration screen 1 E 0 3 TSX SAY 100 L 2 AS interface module 6 C r Run Err 10 Function fii Description Fi Config Fr Debug Fault ET 1 0 objects AS I V1 p AS interface configuration r General Parameters IESIERITSNESGHHEHNTE Task 5 W Automatic addressing Maintain 4 Fallback to 0 0 MAST ma Tn ERES r Configuration Slave 1 SSS Profile Ww Comment L Parameters F Input AS i Symbol Lal 1 B 2 3 LH ma E 4 Im Outpu AS i Symbol 1 8 2 3 LY 4 35006196 03 October 2005 119 AS i bus configuration Description The following table shows the different elements of the configuration screen and their function
74. PLC Typically 110 mA 150 mA maximum Power consumption 30 V AS i Typically 50 mA 60 mA maximum Power dissipation 2 5 W max Protection from polarity inversion on AS i bus Yes inputs Degree of protection IP20 Operating temperature 0 to 60 degrees Celsius AS i master profile M2 Standards and service conditions Compliant with those for Premium PLCs 1 Logical response time time between an AS i input activated on the bus processed in the PLC application and applied to an AS i output 70 35006196 03 October 2005 TSX SAY 100 Safety of personnel General To ensure safety of personnel it is essential e To earth the ground terminal of the PLC e To use an AS i SELV Safety Extra Low Voltage supply nominal voltage 30 V DC e For PLCs which are connected to an alternating current network a residual current circuit breaker must be placed upstream of this network and this will cut off the PLC power supply source if ground leakage if detected e For PLCs which are connected to a direct current supply source you must ensure that the supply placed upstream of the PLC is SELV e To use certified AS i products on the bus Due to the type of technology and connection used the TSX SAY 100 module can only run on 5 V DC and its OV is linked to the PLC ground 35006196 03 October 2005 71 TSX SAY 100 3 2 AS
75. S i Bus Presentation of the implementation of the AS i bus Introduction The AS i bus Actuator Sensor Interface allows the interconnection on a single cable of sensor devices actuators at the lowest level of automation These sensors actuators will be defined in the documentation as slave devices To implement the AS i application you need to define the physical context of the project into which it will be built rack power supply processor modules AS i slave devices connected to the bus then ensure its software implementation The software implementation of the application modules is performed from the various Unity Pro editors e in local mode e in online mode The following is the recommended order of the implementation phases but it is possible to modify the order of some phases for example start with the configuration phase 108 35006196 03 October 2005 Principle of software implementation of the AS i Bus AS i bus implementation principle The following table shows the different implementation phases of the AS i bus Phase Description Mode Variable Declaration of variable of the IODDT type for the project Local 1 Declarations modules and variables Programming Programming the project and functions carried out using the Local 1 AS i bus Configuring Declaration of modules and slave devices Local Configuring the module channels Entering co
76. S i communication module in the PLC Step Action 1 Open the hardware configuration editor 2 Select the slot where you wish to insert the module 3 Select the command New Device from the contextual menu Result the New Device window appears Address 4 Part Number Description pe Premium local drop Open up the line Premium local input output station and the line Communication by clicking on the sign Result Address E Part Number Description Ep Pre ocal drop B Analog Z Communication teree TSX ETY 110 TCP IP ETHWAY MODULE treme TSX ETY 120 ETHERNET ETY120 MODULE TSX ETY 4103 ETHERNET TCP IP BASIC WEB SERV haaa TSX ETY 5103 ETHERNET TCP IP CONFIGURABLE InterBus S MODULE PROFIBUS DP MODULE L TSX IBY 100 TSX PBY 100 De allio TSX SAY 100 AS interface Module Loss TSX SAY 1000 AS interface Module V2 y 4 Select the module TSX SAY 1000 then confirm with the command OK 204 35006196 03 October 2005 AS i V2 bus configuration Description of the configuration screen of an AS i V2 communication module At a Glance The configuration screen of the AS i V2 module gives access to the parameters associated with the module and the slave devices
77. Security Monitor Section What s in this This chapter contains the following topics 2 Chapter Topic Page Description of safety function block of the As i bus 248 Operation of the AS i security function block 251 Security DFB programming rules 252 How to implement a DFB function block 254 35006196 03 October 2005 247 DFB AS i Description of safety function block of the As i bus Description of the function Representation in FBD Description of the parameters This DFB allows data processed by the security monitor to be obtained Representation of the security DFB IO Input Il Input I2 Input I3 Input Enable Output QO Output Q1 Output Q2 Output Q3 Output Safety Monitor 1 SAFETY MONITOR I0 Error Il Running 12 13 Enable Enable Q0 Q0 Ql Ql Q2 Q2 Q3 Q3 I Error Output Running Output Enable Output QO0 Output QI Output Q2 Output Q3 Output The following table describes the input parameters Parameter Type Description I0 EBOOL Input variable 0 lI b e r m 0 Il EBOOL Input variable 1 l b e r m 1 I2 EBOOL Input variable 2 l b e r m 2 13 EBOOL Input variable 3 l b e r m 3 Legend e slave number r rack m module b AS i bus number 248 35006196 03 October 2005 DFB AS i The following table describes the input output parameters
78. The following table shows the procedure to follow to force or unforce the channels linked to an AS i slave Step Action for one channel Action for a group of channels Open the AS i module to be parameterized Access the diagnostics screen by clicking on theDebug tab Select a slave in the AS interface configuration area Select the channel to modify in the slave zone table Click on the button Global unforcing found Result the channel can be modified using the buttons in the in the slave zone Channel action field AJOJN Slave no 3 Profile Parameters 3 0 men Projected 31 value T Modif PARAM Unforce module Detected 3 f Channel AS i symbol Status Action voie 2 0 Ll o oee ot handled ShiftF2 Forceto 1 3 Not handled ShiftF2 Unforce 0 Nothandled Q LL Not handled Shift Set n u F5 Reset 5 Select the required function buttons Force to 0 or Force to 1 in the Channel Action field 35006196 03 October 2005 141 Debugging the AS i bus How to Access the SET and RESET Commands of the AS i Channels At a Glance These commands allow the assignment of the values 0 RESET or 1 SET to the channels of an AS i slave The status of the output affected by one of these commands is temporary and can be modified at any time by the project Proced
79. X SAY 100 79 TSX SAY 1000 97 P Parameter Modification AS i V2 Bus 219 Parameter objects AS i V2 bus 277 Parameters AS i bus 184 Performances AS i bus 155 AS i V2 bus 245 Physical description TSX SAY 100 61 TSX SAY 1000 85 Precautions 52 Profile AS i bus 110 AS i V2 bus 194 Project browser AS i bus 124 AS i V2 bus 211 prot g mode AS i V2 bus 242 prot g mode AS i bus 150 R RESET AS i bus 142 AS i V2 bus 234 S Safety TSX SAY 100 71 SAFETY_MONITOR AS i bus 248 Bus AS i V2 248 Security Device AS i V2 Bus 222 SET AS i bus 142 AS i V2 bus 234 Slave Address Modification AS i V2 Bus 238 Slave configuration AS i bus 119 AS i V2 bus 205 Slave Insertion AS i V2 Bus 237 Slave number AS i Bus 123 AS i V2 bus 209 Slaves AS i bus 139 AS i V2 Bus 229 Slaves status AS i V2 Bus 229 Status of the slaves AS i bus 139 35006196 03 October 2005 283 Index Structure of a standard address AS i V2 AS i V2 bus 196 Structure of an AS i slave AS i bus 112 Structure of an extended address AS i V2 slave AS i V2 bus 198 Support board TSX SUP A02 36 T T COM ASI V1 AS i bus 174 177 T COM ASI2 AS i bus 264 AS i V2 bus 269 T COM STS GEN 170 171 260 261 T GEN MOD 187 test de cablage mode AS i bus 151 TSX SAY 100 59 Addressing of I O s 114 200 AS i bus 110 Display 67 TSX SAY 100 module AS i bus 110 TSX SAY 1000
80. X SAY 1000 Module 92 Technical characteristics of As i V2 bus 93 Personnel Safety 94 84 35006196 03 October 2005 TSX SAY 1000 Physical description General The TSX SAY 1000 module comes as a standard format module Illustration TSX SAY1000 PWR OKO FAULTO AB 9 MODE ig MAE o Oak w N Front panel 35006196 03 October 2005 85 TSX SAY 1000 Reference table The following table describes the diagrams above using the numbers shown Number Description 1 A display panel consisting of 4 LEDs for displaying the operating modes of the module e RUNLED green when lit this indicates normal functioning of the module e ERR LED red when lit this indicates a module error e BLED green displays standard or A address setting slaves e I O LED red when lit this indicates an AS i bus error Display panel consisting of 32 LEDs 0 to 31 which enable AS i bus diagnostics and display the state of each slave connected to the bus PWR OK LED green when lit this indicates that power supply is compliant FAULT LED red when lit this indicates faults associated with the AS i bus The A B push button can be used to determine the state of devices on the bus by switching from bank A to B MODE push button a prolonged press on this button causes the slav
81. a security DFB instance only once in the project In order for a security DFB to execute it is necessary that e the DFB is called the program element to which it is assigned must execute e the Enable input is at 1 Representation SAFETY MONITOR 1 SAFETY MONITOR I0 Input jo Error Error Output IH Input p Running Running Output I2 Input 1 rp I3 Input 3 Enable Output Enable Enable Enable Output Q0 Output Q0 Q0 QO Output Q1 Output QI Ql Q1 Output Q2 Output Q2 Q2 Q2 Output Q3 Output Q3 Q3 Q3 Output 252 35006196 03 October 2005 DFB AS i Programming in The security DFB function block is inserted in a contacts network The programming ladder diagram consists of linking these inputs outputs SAFETY MONITOR 1 l 2 31 0 0 0 0 l 2 31 0 0 1 M l 2 31 0 0 2 12 l 2 31 0 0 3 13 M101 Enable Q 2 31 0 0 0 QO Q 2 31 0 0 1 Q1 Q 2 31 0 0 2 Q2 Q 2 31 0 0 3 Q3 SAFETY_MONITOR Error Running Enable Qo Q1 Q2 Q3 M102 M101 Q 2 31 0 0 0 Q 2 31 0 01 Q 2 31 0 0 2 Q 2 31 0 0 3 Representation Representation in IL CAL SAFETY MONITOR 1 ED es I3 MW101 Q0 03 M102 Programming in The programming syntax is as follows structured text Li label language SAFETY MONITOR 1
82. alues of slaves 1 to 31 respectively 35006196 03 October 2005 185 Language objects of the AS i bus Details of configuration objects for the AS i function At a Glance Configuration objects KWr m c d configuration constants are accessible in read only mode and correspond to the configuration parameters entered using the Configuration editor The table below shows constant objects on the AS i bus Address Type Access Meaning 9eKWr m c O INT R When byte 0 10 this shows that AS i is master KWr m c 1 n BOOL n 0 to 15 gt slaves 0 to 15 respectively KWr m c 2 n BOOL n O to 15 gt slaves 16 to 31 respectively KWr m c 3 to KWr m c 18 INT R R R Words 3 to 18 gt slaves 0 to 31 respectively Byte 0 bit O to 3 configuration code for input output I O channels of slave 0 bit 4 to 7 identification code ID of slave 0 Byte 1 bit O to 3 configuration code for input output I O channels of slave 1 bit 4 to 7 identification code ID of slave 1 KWr m c 19 INT Byte 0 bit 0 0 if the output fallback is set to 0 bit O 1 if outputs are maintained on fallback bit 1 0 automatic addressing disabled bit 1 1 automatic addressing enabled KWr m c 20 to KWr m c 51 INT Catalog information word 20 catalogue identifier slave 0 word 51 catalogue identifier slave 31
83. and others The main types 1 Communication sensors actuators of sensors With a built in AS i function they link up directly to the AS i bus via a passive actuators distributor or a T piece connection 2 Conventional and IP65 sensors actuators They connect to the bus via an AS i interface active distributor or Telefast IP20 discrete input output bus interface These interfaces are used to connect conventional sensors and actuators to the AS i bus and provide them with capacity for dialog on the bus Illustration Active distributor Passive distributor T piece connection AS i Bus Built in AS i function Built in AS i function AS i function via interface Conventional product Communicating product Communicating product AS i 124 Bus maximum of 124 AS i Bus 31 products sensors or actuators products 124 inputs and 124 outputs AS i V2 Bus maximum of 62 slaves AS i V2 Bus maximum of 434 I Os maximum of 31 standard or 62 extended slaves 248 inputs and 186 outputs AS i Bus You can only connect standard slaves to the AS i bus AS i V2 Bus You can connect standard slaves and extended slaves to the AS i V2 bus 16 35006196 03 October 2005 Introduction to the AS i bus Overview of AS i products from the Schneider catalog General Non exhaustive list of AS i products from the Schneid
84. ar IP 67 M12 interfaces Catalog of AS interface profiles Comment Add Modify Details 3 In the AS i Family Name field select the required family Result The Profile catalog linked to the selected family appears Associate a profile x Families of AS interface profiles AS i Family Name Inductive sensors 3 Modular IP 67 M12 interfaces Compactible IP 20 interfaces AS i catalog IP 67 Distributors AS i Name Comment 0 0 F F XZ SDA40D2 std 41100 mA User Module 0 0 F F XZ S5DA40D3 std 41200 mA User Module ASIME4IE AIB 4 input extended addr Module 0 A 0 0 ASIMMO4IE AIB Mini mod 4 input extended addr 3 0 F F XZ 5DA22D11 std 21 20 rel M12 User Module Column Legend std standard address slave for configuration in column A A B extended address slave for configuration in columns A or B 208 35006196 03 October 2005 AS i V2 bus configuration Step Action 4 In the Profile catalogue select the required device 5 Confirm the selection with OK Result The slave device is defined in its slot the reference of the connected device appears opposite the number of the slave r AS interface V2 configuration Iv Automatic addressing Std A Slaves B Slaves Li PETERET L Ls La Bal Bul anu Teil LJ mo n Bw Sci L dna 6 To connect other slave devices to the AS i V2 bus repeat the procedure from step 2 35006196 03 October 2005
85. at either end is only proportional to 2 5A where the power consumption on each of the two sections of the bus is equal If there is no slave with high power consumption it is advisable to position the power supply at the center of the installation Conversely if the installation has one or more high power consumers it is advisable to position the power supply close to these devices Note Where high power consumption actuators contactors solenoid coils etc the TSX SUP A05 power supply can provide the auxiliary 24 V DC isolated from the AS i line 35006196 03 October 2005 51 AS i power supply units General precaut Introduction Important Rule 1 ions Itis essential when installing the yellow AS i cable to place it in a separate cableway to the power cables It is also preferable to place it flat and to avoid twisting in order to optimize the symmetry between the two wires of the AS i cable The installation of the AS i cable on a surface connected to the electrical potential of the machine the frame for example is recommended in order to comply with the requirements of the EMC Electro Magnetic Compatibility directive The cable end or ends for a bus in star configuration must be protected by connecting it to a T piece or by ensuring that it does not protrude from the last connection point Itis essential to distribute the power evenly over the AS i bus so that each accessory conne
86. ated application specific interface The module inputs l and IW are updated in the PLC memory at the start of the task the PLC being in RUN or STOP mode The outputs Q and 6QW are updated at the end of the task only when the PLC is in RUN mode Note When the task occurs in STOP mode either of the following are possible depending on the configuration selected e Outputs are set to fallback position fallback mode e Outputs are maintained at their last value maintain mode The following diagram shows the operating cycle of a PLC task cyclical execution y Internal processing Y Acquisition of inputs RUN STOP Y Execution of the program Y Update of outputs 162 35006196 03 October 2005 Language objects of the AS i bus Explicit exchange language objects associated with the application specific function At a Glance Explicit exchanges are exchanges performed at the user program s request and using instructions READ STS See Unity Pro I O Management Manual READ STS read status words WRITE CMD See Unity Pro I O Management Manual WRITE CMD write command words WRITE PARAM See Unity Pro I O Management Manual WRITE PARAM write adjustment parameters READ PARAM See Unity Pro I O Management Manual READ PARAM read adjustment parameters SAVE PARAM See Unity Pro I O Manageme
87. bank B cannot be selected where there is a standard address slave 4 Select the required address in the list of Available addresses use the scroll bar if necessary 5 Confirm the selection with OK 238 35006196 03 October 2005 AS i V2 operating mode 15 At a Glance Aim of this This chapter introduces the different AS i V2 function operating modes chapter What s in this This chapter contains the following topics Chapter Topic Page AS i V2 Operating Mode General 240 AS i V2 protected Mode 242 AS i V2 Offline Operating Mode 243 AS i V2 Data Exchange Off Operating Mode 244 35006196 03 October 2005 239 AS i V2 operation AS i V2 Operating Mode General At a Glance The extended AS i V2 function allows three operating modes each one fulfilling particular needs These modes are e protected mode e offline mode e data exchange off mode Mode of The figure below shows the general operating diagram of the AS i V2 Functioning A g Offline mode x og Mom A Y Start up of the AS i master module ao 2 3 Awaiting receipt of o9 MAJ M P Master configured Gs configuration n 9 o Protected mode tandara management of Y AS i V2 slaves 1 It is possible to toggle between the protected mode and the offline See AS i V2 Offline Operating Mode p 243 or data exchange off See AS i V2 Data Exchange Off Operatin
88. bjects of the AS i V2 bus Details of explicit exchange objects of the AS i V2 function At a Glance The tables below present the different explicit exchange word objects These word objects are not built into T CoM ASI V2 type lODDTs Exchange The following table shows the meaning of the channel exchange control bit control bit MWr m c 0 Address Type Access Meaning MWr m c 0 15 BOOL R Configuration in progress Exchange report The table below shows the meaning of the report bit MWr m c 1 bit Address Type Access Meaning MWr m c 1 15 BOOL R Error in last configuration action Mots The table below shows the meaning of the bits of words MWr m c 3 TOMUS Address Type Access Meaning 9eMWr m c 3 0 BOOL R Correct configuration MWr m c 3 1 BOOL R Slave 0 present on the bus MWr m c 3 2 BOOL R Automatic addressing MWr m c 3 3 BOOL R Automatic addressing authorized MWr m c 3 4 BOOL R Operation in AS i configuration mode MWr m c 3 6 BOOL R Operation in normal mode MWr m c 3 6 BOOL R Faulty AS i power supply MWr m c 3 7 BOOL R Offline mode active 9eMWr m c 3 8 BOOL R Data exchange inactive 9eMWr m c 3 9 BOOL R Peripheral fault on a bus device 274 35006196 03 October 2005 Language objects of the AS i V2 bus Words MWr m c 0 4 to MWr m c 0 7 Words MWr m c 0 8 to MWr m c 0 71 The tab
89. bjects of the AS i function At a Glance Discrete input channel bits Discrete output channel bits The tables below present the different implicit exchange word objects These word objects are not built into T COM ASI V1 type IODDTs The table below shows the meaning of the discrete input channel bits Address Type Access Meaning l b e r m c EBOOL R Indicates that the input channel c 0 to 3 of slave number e e 1 to 31 is activated Examples l b 0 r m c EBOOL R Indicates that the input channel c 0 to 3 of slave number 0 is activated b 31 r m c EBOOL R Indicates that the input channel c 31 to 3 of slave number 0 is activated The table below shows the meaning of the discrete output channel bits Address Type Access Meaning Q b e r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number e e 1 to 31 is activated Examples Q b 0 r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number 0 is activated Q b 31 r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number 31 is activated 35006196 03 October 2005 179 Language objects of the AS i bus List of slaves 0 to 15 activated The following table shows the meaning of the bits of the word lWr m c 2 Address Type Access Meaning 9elW
90. bus Procedure for The following table presents the procedure to access the screen Diagnostics of the accessing the AS i channel and module diagnostics Step Action 1 Open the AS i module to be diagnosed 2 Access the configuration screen by clicking on the Fault tab Result The list of module errors appears Description mConfig fm Debug Fault Internal errors r External errors 4 r Other errors Defectveslave hardware configuration error 138 35006196 03 October 2005 Debugging the AS i bus Displaying the status of the slaves At a Glance The lower part of the communication module s debugging screen is reserved for the diagnostics of the AS i bus The slave devices connected to the bus are displayed in the AS interface configuration field On each side of the slave number two different icons are displayed which show that the slave was specified or detected Displaying slave For each slave device one of the following four cases can occur status Case Illustration Explanation 1 Slave status The slave P specified in configuration and the detected slave D are identical AS interface configuration PIS 00 I 2 Slave status The slave P specified in configuration and the detected slave D are not AS interface configurati
91. by the master This exchanges data on each cycle with each slave device configured on the bus in ascending order of slave address number Scanning time t represents the exchange time between the master and n slaves 31 maximum So for e t 156 microseconds x n 2 if n lt 31 e t 156 microseconds x n1 if n 31 So the scanning time cannot exceed 5 ms The response time T represents the AS i cycle time This includes e the bus scanning time e the update of the AS i module internal memory e the PLC cycle The table below shows three examples of T response time for a PLC task lasting 10 ms 30 ms and 60 ms This T time is for a bus loaded with 31 slaves operating normally with no link faults PLC task Typical response time Maximum response time 10 ms 35 ms 56 ms 30 ms 65 ms 96 ms 60 ms 110 ms 156 ms 35006196 03 October 2005 155 AS i performance 156 35006196 03 October 2005 DFB for AS i Security Monitor 10 AS i security monitor DFBs At a Glance The DFBs for the AS i bus security monitor are described in the section on AS i V2 See DFB for AS i Security Monitor p 247 35006196 03 October 2005 157 DFB AS i 158 35006196 03 October 2005 Language objects of the AS i bus 11 At a glance Aim of this Chapter What s in this Chapter This chapter describes the language objects associated to the AS i bus as
92. cable product reference HO5VV F2x1 5 conforms to the DIN VDE 0281standard Wire cross section 1 5 mm The AS i cable and the power cables carrying higher power levels must be in separate ducts which are protected by a metal screen When using a shared route for control cables it is essential that the connections on these control links should conform to the technology rules e g the discharge diode or limiters on the terminals of self inductive elements etc A set connector cover is delivered with the module which is used to connect the module to the AS i bus This connector must be linked to the cable of the AS i bus and assembled by the user according to the procedure described later Illustration Connector Cover 64 35006196 03 October 2005 TSX SAY 100 Connection of To connect a module to the bus follow the procedure below Module to Bus Step Action 1 Connect the 2 wires of the AS i cable to the connector taking the polarities into account In the special event that a shielded cable is used this should be connected to the central terminal 2 Mount the connector in its cover and fix the cable to it 35006196 03 October 2005 65 TSX SAY 100 Step Action Mount the assembled unit on the module 66 35006196 03 October 2005 TSX SAY 100 Displaying module states General This is carried out with 4 LE
93. click on the AS I module and select properties 3 In the Bus properties window select the desired bus number between 1 and 999 4 Click on OK to confirm the modification Result the addresses of the slave devices directly associated with the AS I bus module are automatically modified Note You are advised not to use the number 2 bus for the AS I bus because this number is reserved for the Fipio bus 212 35006196 03 October 2005 AS i V2 bus configuration How to modify the AS i V2 Bus software configuration At a Glance From the AS i V2 module s configuration screen Unity Pro software offers a group of functions which allow you to easily modify in local mode the software configuration of the AS i V2 bus Note standard Windows keyboard shortcut keys Del Ctrl X Ctrl C Ctrl V are also available for the following operations Procedure for This operation allows the deletion of a slave declared on an AS i Bus deleting a slave Step etlon 1 Select the slave to be deleted 2 Select the commandEdit Delete an AS i slave Procedure for This operation allows a slave declared on an AS i V2 Bus to be moved moving a slave Step Action 1 Select the slave to be moved 2 Select the commandEdit Cut an AS i slave 3 Select the new required slot 4 Select the command Edit Paste an AS i slave Procedure
94. consume very little power Note The maximum length without repeaters of all the segments making up the AS i bus is 100 meters The lengths of cable connecting a slave to a passive distributor must be taken into account 35006196 03 October 2005 53 AS i power supply units 2 4 Characteristics of AS i bus power supply units At a Glance Aim of this This section describes the electrical characteristics of AS i bus power supply units Section What s in this This section contains the following topics Section z Topic Page Electrical characteristics of AS i power supply units TSX SUP A02 A05 55 Physical characteristics of environment 57 54 35006196 03 October 2005 AS i power supply units Electrical characteristics of AS i power supply units TSX SUP A02 A05 Table of characteristics The following table describes the electrical characteristics of the power supply units TSX SUP A02 A05 micro cuts 5 AS i power supply TSX SUP A02 TSX SUP A05 30V 2 4A AS i 24V 7A AS i amp 30V 5A AS i Primary Nominal input voltage V AC 100 120 200 240 AC 100 120 200 240 Threshold input voltage V AC 85 132 170 264 AC 85 132 170 264 Network frequency Hz 47 63 360 440 47 63 360 440 Nominal input current U 100V A 1 3 5 Maximum inrush at 100 V A 30 50 current 1 at
95. cording to the slave in use please refer to slave documentation for further details Procedure The table below shows the procedure for selecting the parameters of the slave devices with combined parameters Step Action 1 Access the AS i V2 communication module s configuration screen 2 Select the slave whose parameters are to be modified 3 Select a combination of parameters page in the List of values zone Result The list of parameters selected will be activated in the slave device Parameters List of Values Pages 112 to 127 v 35006196 03 October 2005 221 AS i V2 bus configuration AS i V2 security device issues At a Glance Precautions of Use The TSX SAY 1000 module supports AS i security devices on its bus The addresses of these devices can be configured by the Unity Pro software The AS i security product consists of a Monitor and one or more slaves The bus master sees these devices as standard address slaves but with a special profile There is a Security Module family on the Configuration Screen See How to define a slave device on the AS i V2 bus p 207 Input Output objects from these devices should not be used in the project program as their values are not significant The diagnostics information on the Security Monitor may however be utilized by the DFB supplied with this product 222 35006196 03 October 2005 Debugging the AS i V2 bus
96. cted to the bus is supplied with sufficient voltage to ensure that it operates correctly To achieve this it is necessary to observe the following rules Choose a power supply with a rating suited to the total power consum ption of the AS i segment The available are ratings 2 4 A TSX SUP A02 and 5A TSX SUP A05 A rating of 2 4 A is generally sufficient for an average power consumption of 65 mA per slave for a segment comprising a maximum of 31 slaves 52 35006196 03 October 2005 AS i power supply units Rule 2 To minimize the effects of voltage drops and to reduce cable costs it is necessary to determine the optimum power supply position on the bus and also the minimum cable cross section appropriate for the distribution of power The voltage drop should not exceed 3V between the master and the last slave on the bus The table below lists the elements necessary for choosing the cross section of the AS i cable Table of characteristics AS i cable cross section 9 75 mm 1 5 mm 2 5 mm Linear resistance 52 milli Onms meter 27 milli Onms 16 milli Ohms meter meter Voltage drop for 1A over 100 5 2V 2 7V 1 6V meters The cable that meets the requirements for the majority of applications is the cable with a 1 5 mm cross section It is the standard model for the AS i bus cable proposed by the SCHNEIDER catalog Cables of smaller cross section can be used where the sensors
97. ction and its associated IODDT What s in this This section contains the following topics ion Section Topic Bags Details of the implicit exchange objects of T COM ASI V2 type IODDTs 264 Details of the explicit exchange objects of the T COM ASI V2 type IODDT 269 Details of implicit exchange objects of the AS i V2 function 271 Details of explicit exchange objects of the AS i V2 function 274 Details of the objects managing the mode of operation for the AS i V2 function 277 Details of configuration objects for the AS i V2 function 278 35006196 03 October 2005 263 Language objects of the AS i V2 bus Details of the implicit exchange objects of T COM ASI V2 type IODDTs At a Glance The tables below present the implicit exchange objects of T COM ASI V2 type IODDTs that apply to AS i V2 communication Error bit The following table shows the meaning of the CH_ERROR lr m c ERR error bit Standard symbol Type Access Meaning Address CH_ERROR BOOL R Communication channel error bit 9elr m c ERR Validity bit The following table shows the meaning of the VALID IN lr m c 0 validity bit Standard symbol Type Access Meaning Address VALID IN EBOOL R Indicates that all inputs are valid 9elr m c O Note when this bit is on O it indicates that at least one input is invalid offline data exchange off or channel error mode 264 35006196 03 October 2
98. d MWr m c 72 word Address Type Access Meaning MWr m c 72 INT R Contains the answer value of parameters sent of the last parametered slave This is so that the Unity Pro can check the slave has correctly received these values MWr m c 0 73 The table below gives the meaning of the word MWr m c 73 Word Address Type Access Meaning MWr m c 73 INT R Contains the address of last parametered slave Byte 0 Address of the slave 1 to 31 Byte 1 Slave bank 0 bank A 1 bank B 276 35006196 03 October 2005 Language objects of the AS i V2 bus Details of the objects managing the mode of operation for the AS i V2 function At a Glance Operating mode object Description Parameter objects Description The tables below present the language objects allowing management of the operating mode of the AS i V2 function and the parameters of the slaves present on the AS i V2 bus These objects are not built into the IODDT s This word type object is used to manage the switch to Offline mode See AS i V2 Offline Operating Mode p 243 or Data Exchange Off mode See AS i V2 Data Exchange Off Operating Mode p 244 of the AS i master Note Use of this object requires a thorough knowledge of AS i V2 communication principles The table below presents the different states of the MWr m c 74 word givi
99. d This information must not be taken into account in the security only the security monitor provides security outputs 250 35006196 03 October 2005 DFB AS i Operation of the AS i security function block General operation Step by step description of operation All the information used in the AS security DFB is obtained from language objects associated to the AS i TSX SAY 100 and AS i V2 TSX SAY 1000 modules The table below describes step by step the operation of the security DFB Step Action 1 The bus master sends the request to test the monitor 2 The bus master sends the request for the monitor to copy its state to the static memory The bus master analyses the data from the monitor Recovery of the data of all the security devices 35006196 03 October 2005 251 DFB AS i Security DFB programming rules General Rules Programming in FBD The security DFB the implementation of which is identical to that of a DIAG AS i DFB can be programmed in any program module Main SR or section in Ladder Diagram LD Structured Text ST Functional Block DFB and Instruction List IL languages It is available systematically in Unity Pro See p 255 read and write protected dedicated to a single security monitor It is preferable to run the security DFB in the MAST task for performance reasons It is strongly recommended to program
100. d by the bus standard address setting slaves 124 inputs 124 outputs extended address setting slaves 248 inputs 186 outputs Nominal bus supply voltage 30 V DC TSX SAY 1000 Technical Characteristics Module Characteristic Value Programming the TSX SAY 1000 module Unity Pro Response time with 31 slaves 1 fora PLC cycle time of 10 ms Typically 27 ms 37 ms maximum Power consumption 5V PLC Typically 100 mA 150 mA maximum Power consumption on 30 V AS i AS i Typically 50 mA 60 mA maximum Power dissipation 2 5 W max Protection against polarity inversion on bus inputs Yes Degree of protection IP20 Isolated voltage 500 V DC Operating temperature 0 to 60 degrees Celsius AS i master profile M2e Standards and service conditions Compliant with those for Premium PLCs See installation manual for Premium Atrium PLCs application and applied to an AS i output 1 Logical response time time between an AS i input activated on the bus processed in the PLC 35006196 03 October 2005 93 TSX SAY 1000 Personnel Safety General To ensure personnel safety it is essential e To earth the ground terminal of the PLC e To use an AS i VLSV very low safety voltage supply nominal voltage 30 VDC e For PLCs which are connected to an alternating current network a differentiel circuit breaker must be placed upstream of this network
101. dify the parameters of an AS i V2 slave 0 020 08 219 How to modify the parameters of an analog AS i V2 slave 220 How to Modify the Parameters of an AS i V2 Slave with Combined Parameters c scooter iba bare Be ao ie hee a Ee 221 AS i V2 security device issues 0 0 eee 222 Chapter 14 Debugging the AS i V2 bus cee eee eee eee 223 Ata Glance i oi onsto e ede Gees een cee eben hg e eie bI ee 223 Introduction to the Debug function lille 224 Description of an AS i V2 module s debug screen 0000e0 eae 225 How to access module and channel diagnostics functions on an AS i V2 p EXT 227 Displaying the slaves status llle 229 How to access the adjustment of the parameters of an AS i V2 device 231 How to access the AS i V2 digital channels forcing unforcing function 233 How to access the SET and RESET commands of the AS i V2 digital Channels secede aed Wie he VEMM SH DP edu DE RC 234 How to modify the value of an analog channel 20 0 eee 235 Automatic replacement of a faulty AS i V2 slave 0 00000 ee eee 236 How to insert a slave device into an existing AS i V2 configuration 237 How to modify the address of an AS i V2 device 0005 238 Chapter 15 AS i V2 operating mode 00 c eee eee eee 239 Ata Glance esce 5 aa a ped devel bide wnat ene et Guin andes 239 AS i V2 Operating Mode General 0 00
102. ds for bank A slaves 1 to 31 and bank B slaves 101 to 131 Address Type Access Meaning QW b e r m c INT R Value of the analog channel c 0 to 3 output word of slave number e For bank A e 1 to 31 For bank B e 101 to 131 272 35006196 03 October 2005 Language objects of the AS i V2 bus Word objects The table below shows the meaning of the different implicit exchange word objects Address Type Access Meaning 96IWr m c 4 n BOOL R n 0 to 15 standard address slave A 0 to 15 LAS respectively with peripheral fault LPF 96IWr m c 5 n BOOL R n 0 to 15 standard address slave A 16 to 31 LAS respectively with peripheral fault LPF 96IWr m c 6 n BOOL R n 0 to 15 extended address slave B 0 to 15 LAS respectively with peripheral fault LPF 96IWr m c 7 n BOOL R n 0 to 15 extended address slave B 16 to 31 LAS respectively with peripheral fault LPF 96IWr m c 8 n BOOL R n 0 to 15 standard address slave A 0 to 15 LAS respectively active 96IWr m c 9 n BOOL R n 0 to 15 standard address slave A 16 to 31 LAS respectively active 96IWr m c 10 n BOOL R n 0 to 15 extended address slave B 0 to 15 LAS respectively active 96IWr m c 11 n BOOL R n 20 to 15 extended address slave B 16 to 31 LAS respectively active 35006196 03 October 2005 273 Language o
103. e At a Glance Principle Procedure The Offline AS i V2 mode is an advanced operating mode which can be used in debugging or maintenance Note The user must be thoroughly familiar with AS i V2 communication When Offline mode is engaged the module first resets all the present slaves to zero and stops exchanges on the bus During Offline mode the outputs are forced to zero Note The Offline mode is also used to exploit the infrared addressing function on the slaves which support this function The Offline operating mode is accessible from the Unity Pro application software by acting on bits O and 1 of the word MWr m 0 74 Reminder Bit 7 of word MWr m 0 3 set on 1 indicates that the AS i bus is in Offline mode 35006196 03 October 2005 243 AS i V2 operation AS i V2 Data Exchange Off Operating Mode At a glance The Data Exchange Off AS i V2 mode is an advanced operating mode which can be used in debugging or maintenance Note The user must be thoroughly familiar with AS i V2 communication Principle When the Data Exchange Off mode is engaged exchanges on the bus continue to function but data is no longer refreshed Procedure The Data Exchange Off operating mode can be accessed from the Unity Pro application software by acting on bits 2 and 3 of the word MWr m c 74 244 35006196 03 October 2005 AS i V2 performance 16 Performanc
104. e S7 4 support integrated not implemented functions implemented functions 35006196 03 October 2005 103 TSX SAY 1000 104 35006196 03 October 2005 AS i Bus software implementation At a Glance In This Chapter What s in this Part This part presents the software implementation of the AS i bus with Unity Pro software This part contains the following chapters Chapter Chapter Name Page 5 Principles of the software implementation of the AS i Bus 107 6 AS i bus configuration 117 7 Debugging the AS i bus 133 8 AS i operating mode 147 9 AS i performance 155 10 DFB for AS i Security Monitor 157 11 Language objects of the AS i bus 159 35006196 03 October 2005 105 AS i Bus software implementation 106 35006196 03 October 2005 Principles of the software implementation of the AS i Bus 5 At a glance Aim of this This chapter presents the principles of software implementation of the AS i Bus Chapter What s in this This chapter contains the following topics Chapter Topic Page Presentation of the implementation of the AS i bus 108 Architecture of TSX SAY 100 Module 110 Structure of an AS i slave 112 Addressing of language objects associated with the slave devices connected 114 to the AS i bus 35006196 03 October 2005 107 Principle of software implementation of the A
105. e States Overview This is carried out with 4 LEDs RUN ERR A B I O which are located on the module Their state LED off flashing or on provides information on the operating mode of the module LED state LEDs ie vig On Me Flashing f oj RUN Module OK and configured Awaiting configuration Module failure or green self test fault ERR Serious non rectifiable module Rectifiable module fault Module OK red fault Unity Pro configuration AS i power supply B B configured extended address A configured slaves green settings slaves display display yo AS i bus fault Fault or awaiting user AS i Bus OK red configuration 0to 31 Slave number OK projected Slave Number OK Slave number not green present and active projected and absent all LEDs flash during module self tests a slave is declared OK when one of the conditions required for correct operation is not satisfied regardless of the error level e Error Level 1 e Slave declared but not detected e Slave detected but not declared e Error Level 2 e Slave has different profile from declared slave e Slave profile incompatible with address e Slave with incorrect subprofile e Error Level 3 e Slave refuses parameters Slave has auxiliary power supply fault Analog data fault channel fault Other faults linked to analog slave characteristics Input Output or auxiliary power supply overload Ext
106. e will therefore automatically assign to the slave the value predefined in the configuration The following table shows the procedure for making the automatic insertion of a new slave effective Step Action 1 Add the new slave in the configuration screen in local mode 2 Carry out a configuration transfer to the PLC in connected mode 3 Physically link the new slave with address 0 A to the AS i V2 bus Note A project can be modified by carrying out the above manipulation as many times as necessary 35006196 03 October 2005 237 Debugging the AS i V2 bus How to modify the address of an AS i V2 device At a Glance This command allows the movement of the selected AS V2 device to another available address This address modification can only be done on the slave and not in configuration thus physical configuration and software configuration are different Procedure The following table shows the procedure for modifying the address of an AS i V2 slave device Step Action 1 Access the TSX SAY 1000 module s debug screen 2 Select a slave in the AS interface V2 configuration then execute the command Edit Modify the address of an AS i slave Result The selection screen for a new address is displayed Current address 48 Bank selection Addresses available 0 1 2 3 4 5 6 7 OK Cancel 5 3 Select bank A or B in the Bank Selection list Note
107. ecific f nctlon 2 5 seek eit eh he Raph oe eid Oe ete elieie eye erige 162 Explicit exchange language objects associated with the application specific TUNCHON is cre aa sce te a eae Ee ae ee ae ee I E 163 Management of Exchanges and Reports with Explicit Objects 165 The language objects and generic IODDT applicable to all communication protocols ors aree IR RR EPIS ee Gu Sass ieee RERO 169 Pic m n e a a a A EE a e EN ATE 169 Details of IODDT implicit exchange objects of type T COM STS GEN 170 Details of IODDT explicit exchange objects of type T COM STS GEN 171 Language objects and IODDT s associated to the AS i bus 173 Ata glanGes Rv ahh ea bee cal Rae a ha NOEs 173 Details of the implicit exchange objects of T COM ASI V1 type IODDTs 174 Details of the explicit exchange objects of the T COM ASI V1 type lODDT 177 Details of implicit exchange objects of the AS i function 179 Details of explicit exchange language objects for the AS i function 182 Details of explicit exchange language objects for the AS i function 184 Details of configuration objects for the AS i function 5 186 The IODDT type T GEN MOD applicable to all modules 187 Details of the Language Objects of the IODDT of Type T GEN MOD 187 Implementation of AS i V2 bus software 189 Ata Glance sete ueber eme ee Se Sire ae pede 189 Principles of the sof
108. ed for e replacing a faulty slave See Automatic replacement of a faulty AS i V2 slave p 236 e inserting a new slave See How to insert a slave device into an existing AS i V2 configuration p 237 Note A new configuration with automatic addressing will not be accepted if one or more slaves with a O address are on the bus In this case the Configuration refused by module message appears The table below shows the procedure for setting the Automatic addressing parameter Step Action 1 Access the AS i V2 communication module s configuration screen 2 Click on the Automatic addressing check box found in the AS interface V2 configuration zone Result The Automatic addressing utility will be activated box checked or disabled box not checked AS interface V2 configuration Iv Automatic addressing Std A Slaves B Slaves C 0 IPT AsimEuE 1 Note By default the Automatic addressing parameter has been selected in the configuration screen 218 35006196 03 October 2005 AS i V2 bus configuration How to modify the parameters of an AS i V2 slave At a Glance Example of parameters Procedure The Parameters zone of the configuration screen enables the user to choose whether or not to activate the parameters of certain slaves The parameters displayed differ according to the slave in use please refer to slave documentation for further details On certain
109. ed to 230 W 2 Manufacturer s specifications in accordance with IEC 950 IEC 1131 2 standards guaranteeing user safety for the 24 V output in terms of insulation between primary and secondary maximum overvoltage on output wires and protection via ground circuit 35006196 03 October 2005 37 AS i power supply units AS i power supply specific features General The simultaneous transmission of information and power over the same cable requires that data transmission be filtered from the power supply This is the why the AS i bus features a decoupling filter able to withstand the maximum direct current delivered by the power supply The power supply has an impedance which is standardized relative to the data transmission frequencies 38 35006196 03 October 2005 AS i power supply units 2 2 Installation of the AS i bus power supply units At a Glance Aim of this This section describes the installation procedure for the AS i bus power supply units Section What s in this This section contains the following topics Section Topic Page Dimensions mounting of the AS i TSX SUP A02 power supply unit 40 Dimensions mounting of the TSX SUP A05 AS i power supply unit 43 Summary of methods of fixing 44 35006196 03 October 2005 39 AS i power supply units Dimensions mounting of the AS i TSX SUP A02 power supply unit Dimensions Illustration TSX SUP A02 Mountin
110. elow present the language objects allowing management of the operating mode of the AS i function and the parameters of the slaves present on the AS i bus These objects are not built into the IODDT s This word type object is used to manage the switch to Offline mode See AS i Offline Operating Mode p 152 or Data Exchange Off mode See AS i Data Exchange Off Operating Mode p 153 of the AS i master Note Use of this object requires a thorough knowledge of AS i communication principles The table below presents the coding of bits 0 to 3 of the MWr m c 24 word providing access to the various modes Bit3 Bit2 Bit1 BitO Function 0 0 0 0 Normal Operating Mode 0 0 0 1 Activation of offline mode 0 0 1 0 Deactivation of offline mode 0 0 1 1 Ineffective 0 1 0 0 Activation of data exchange off mode 1 0 0 0 Deactivation of data exchange off mode 1 1 1 1 Ineffective Note Offline mode has priority over Data Exchange Off These objects are used to manage the parameters of slave devices They can be modified without stopping the AS i function 184 35006196 03 October 2005 Language objects of the AS i bus Description The table below provides the meaning of the different bits of words MWr m c 25 to MWr m c 56 Number Type Access Indicates MWr m c 25 INT R W Not significant MWr m c 26 to 56 INT R W Contain the parameter v
111. ent 9elWr m c 2 0 SLAVE FLT 1B BOOL R Slave 1B faulty or absent 9elWr m c 2 1 SLAVE FLT 2B BOOL R Slave 2B faulty or absent 96IWr m c 2 2 SLAVE FLT 3B BOOL R Slave 3B faulty or absent 9elWr m c 2 3 SLAVE FLT 4B BOOL R Slave 4B faulty or absent 9elIWr m c 2 4 SLAVE FLT 5B BOOL R Slave 5B faulty or absent 9elWr m c 2 5 SLAVE FLT 6B BOOL R Slave 6B faulty or absent 9elWr m c 2 6 SLAVE FLT 7B BOOL R Slave 7B faulty or absent 9elWr m c 2 7 SLAVE FLT 8B BOOL R Slave 8B faulty or absent 9elWr m c 2 8 SLAVE FLT 9B BOOL R Slave 9B faulty or absent 9elWr m c 2 9 SLAVE FLT 10B BOOL R Slave 10B faulty or absent 96IWr m c 2 10 SLAVE FLT 11B BOOL R Slave 11B faulty or absent 9elWr m c 2 11 SLAVE FLT 12B BOOL R Slave 12B faulty or absent 96IWr m c 2 12 SLAVE FLT 13B BOOL R Slave 13B faulty or absent 9eIWr m c 2 13 SLAVE FLT 14B BOOL R Slave 14B faulty or absent 9eIWr m c 2 14 SLAVE FLT 15B BOOL R Slave 15B faulty or absent 96IWr m c 2 15 35006196 03 October 2005 267 Language objects of the AS i V2 bus List of slaves 16 to 31 of bank B in error The following table shows the meaning of the bits of the word lWr m c 3 Standard symbol Type Access Meaning Address SLAVE FLT 16B BOOL R Slave 16B faulty or absent 9eIWr m c 3 0 SLAVE FLT 17B BOOL R Slave 17B faulty or absent 9elIWr m c 3 1 SLAVE FLT 18B BOOL R Slave 18B faulty or absent 9eIWr m c 3 2
112. er catalog Man machine dialog Actuators Sensors m AS i AS i Start up Detector Inductive Button Keyboard motor photo proximity box 12 keys electric detector Distributor Distributor Bus interface active passive Telefast AS i bus interface discrete input output E e4 2 VY 40 For connection by M12 ports ae 8 I O 4l 40 g of sensors actuators units of P dialog and signaling standards 4 channels for AS i o e inductive sensors sensors actuators RM 2 e capacity switches connection equipped with 2 e photoelectric barriers M12 sockets For connection by screw or pull out S e end of run terminals of dialog sensors g e LEDs actuators units of dialog and e relays signaling standards g e solenoid valve e 2 or 3 wire inductive sensors e capacity switches e end of run e LEDs e relays e contactors e solenoid valve e resistance 35006196 03 October 2005 17 Introduction to the AS i bus Presentation of main constituent components Cable This transmits data and carries the power It can be made up from e either an unshielded polarized twin wire AS i ribbon cable e Ora standard round shielded or unshielded twin wire cable Illustration Polarized Ln ribbon cable Round cable Active IP67 sealed interfaces for connecting sensors actuators using M12 connectors distributors These distributors are used to connect traditional non comm
113. ernal error thermal relay slave self tests NOK The user must connect his her programming tool to access detailed information on the faulty slave The local display can only show a malfunction in its related slave 35006196 03 October 2005 91 TSX SAY 1000 Specific Display Panels on the TSX SAY 1000 Module General PWR OK LED green FAULT LED Red 2 LEDs PWR OK and FAULT give specific information on the TSX SAY 1000 module View of the 2 LEDs TSX SAY 1000 ma Ae PWR OK LED T Fault LED B QO MODE AS i AS i LED state Meaning Power Supply consistent LED on Power Supply inconsistent LED off LED state Meaning V d AS i bus faults LED on No faults LED off 92 35006196 03 October 2005 TSX SAY 1000 Technical characteristics of As i V2 bus AS i V2 Bus Technical Characteristics Characteristic Value Maximum cycle time of bus e 1to 19 slaves 3ms e 20 to 62 slaves 1 n 156s where n number of active slaves 5 ms for 31 standard or extended address setting slaves 10 ms for 62 extended address setting slaves Maximum number of slaves on the bus 31 standard address setting slaves or 62 extended address setting slaves Maximum length of AS i bus cables all branches without repeater with two repeaters 100 meters 300 meters Maximum number of I O manage
114. es of the AS i V2 bus Introduction AS i V2 Scanning Time AS i V2 Response Time Example The AS i V2 bus is independently managed by the master This exchanges data on each cycle with each slave device configured on the bus in ascending order of slave address number Scanning time t represents the exchange time between the master and n slaves 81 maximum on A and or B So for e up to 19 active slaves t 3ms e from 20 to 31 active slaves t 1 number of active slaves 0 156 ms When two slaves A and B have the same address each slave in the pair is scanned every two cycles Thus for 31 extended address slaves in A 31 extended address slaves in B the scanning time will be 10ms The response time T represents the AS i V2 cycle time This includes e the bus scanning time e the update of the AS i V2 module internal memory e the PLC cycle The table below shows three examples of T response time for a PLC task lasting 10 ms 30 ms and 60 ms This T time is for a bus loaded with 31 slaves operating normally with no link faults PLC task Typical response time Maximum response time 10 ms 35 ms 56 ms 30 ms 65 ms 96 ms 60 ms 110 ms 156 ms 35006196 03 October 2005 245 AS i V2 performance 246 35006196 03 October 2005 DFB for AS i Security Monitor 17 At a Glance Aim of this This DFB describes the DFB for the AS i
115. es to be reset and the module to switch to OFF LINE mode This then allows the slaves to be programmed via an infra red interface The new diagnostics pocket console can also be connected to the bus To return to normal mode simply press the button once again for a prolonged period CANNON SUB D connector for connection to AS i bus 86 35006196 03 October 2005 TSX SAY 1000 Assembly installation General Number of Modules per Station The module TSX SAY 1000 can be assembled in any position of a main segment rack of the X bus except those positions dedicated to the processor and power supply CAUTION Forbidden in a remote rack This cannot operate in a remote rack distance gt 100m and absolutely must be assembled in a main segment rack of the X bus Failure to follow this precaution can result in injury or equipment damage The module should be inserted and extracted using a flat or cross tipped screwdriver These operations can be carried out whether the power is on or off with no adverse effects on the module or the rack holding it Example of mounting a TSX SAY 1000 module Note The module can be mounted and removed with both PLC and AS i bus power switched on Number of application specific channels supported e Premium See Premium and Atrium using Unity Pro Manual Processors racks and power supply modules Catalog of TSX 57 Processors
116. ety products Interface Profile Catalog AS i Name Comment View Add Modify Details Cancel 122 35006196 03 October 2005 AS i bus configuration Step Action 4 In the Profile Families area select the required family Result The Profile Catalog linked to the selected family appears Associate Profile AS Interface Profile Families Code Family Name 5 Keyboards 4 Motor starters Private family 6 Safety products Catalog of AS i Profiles Photoelectric Sensors Name Comment XUJ K063539AS Photoelectric Sensors Reflex l XUJ K103534AS Photoelectric Sensors Barrier 1 1 XUJ K123538AS Photoelectric Sensors P roximi A XUJ K703538AS Photoelectric Sensors P roximity Cancel Note It is normal that the following products have been removed since they are no longer manufactured nor marketed Code 7 Signaling and control Code 11 Inductive proximity detector Code 3 Modular IP67 M12 Interface Code 10 IP67 M12 Interface Code 15 IP67 M8 Interface Code 5 Keyboard Code 9 Photo electric Detector Code 6 Only old XVA S102s have been removed The products are still listed but can no longer be accessed via the families this having been removed I
117. figuration the AS i V2 slaves also appear on the AS i V2 bus of the project browser Each slave appears with its address number Displaying the AS i V2 bus and slaves enables you to know at a glance their topological addressing The following illustration shows the AS i V2 bus and slaves in the project browser Project browser Pa Structural View XC Station i ErF En 0 X Bus r MM 0 TSX RKY 6EX bowen P TSX PSY 2600M TR 1 TSX P57 204M SEE 1 TSX SAY 100 The number ofthe AS i V2 bus as fen E 4 TSX SAY 1000 2 AS i V1 dd fsl h i apes For example the ad address of slave wit AS V2i j a BEN e 2 AS I V2 input output station input 3 of this slave q Bee Nl 0 ASIME41E I 3 2 0 0 3 address of slave with HO 106 AS I V2 input output station extended addressing type B 109 AS I V2 input output station b esae Derived Data Types eumd 7 Derived FB Types H 7 Variables amp FB instances Er C Communication mi 4 1 Pranram In the project browser the AS i V2 bus is represented by AS i V2 and the AS i bus is represented by AS i V1 35006196 03 October 2005 211 AS i V2 bus configuration Modifying the It is possible to modify the AS I bus number by following the below instructions Pus Number Step Action 1 Close the AS I module configuration screen if it is open In the project browser right
118. figuration fault MWr m c 2 5 COM_FLT BOOL R Problem communicating with the PLC MWr m c 2 6 APPLI_FLT BOOL R Application fault adjustment or configuration MWr m c 2 7 fault Specific status The table below presents the meanings of the 76MWr m c 3 status word bits AS i V2 MWr m c 2 Reading can be done via a READ STS IODDT VAR1 Standard symbol Type Access Meaning Address ASI SUPPLY FLT BOOL R AS i power supply fault MWr m c 3 6 270 35006196 03 October 2005 Language objects of the AS i V2 bus Details of implicit exchange objects of the AS i V2 function At a Glance The tables below present the different implicit exchange word objects These word objects are not built into T COM ASI V2 type lODDTs Discrete input The table below shows the meaning of the Discrete input channel bits for bank A channel bits slaves 1 to 31 and bank B slaves 101 to 131 Address Type Access Meaning l b e r m c EBOOL R Indicates that the input channel c 0 to 3 of slave number e is activated For bank A e 1 to 31 For bank B e 2101 to 131 Examples l b 0 r m c EBOOL R Indicates that the input channel c 0 to 3 of slave number 0 is activated l b 1 r m c EBOOL R Indicates that the input channel c 1 to 3 of slave number 0 is activated l b 110 r m c EBOOL R Indicates that the input channel c 110 to 3 of slave number 0 is activated b 131 r m c EBOOL R Indica
119. from the module if the list of present slaves LPS is equal to the list of detected slaves LDS the system restarts Otherwise a fault is generated and the diagnostics or configuration mode must be referred to Procedure The offline operating mode is accessible either e from the Unity Pro application software by acting on bits 0 and 1 of the MWr m 0 24 word e or automatically on detection of an AS i supply fault Reminder Bit 7 of word MWr m 0 3 set on 1 indicates that the AS i bus is in offline mode 152 35006196 03 October 2005 AS i operation AS i Data Exchange Off Operating Mode At a glance The data exchange off AS i mode is an advanced operating mode which can be used in debugging or maintenance Note The user must be thoroughly familiar with AS i communication Principle When the data exchange off mode is engaged exchanges on the bus continue to function but data is no longer refreshed Procedure The data exchange off operating mode can be accessed from Unity Pro application software by acting on bits 2 and 3 of the word MWr m 0 24 Reminder Bit 8 of word MWr m 0 3 set on 1 indicates that the AS i bus is in data exchange off mode 35006196 03 October 2005 153 AS i operation 154 35006196 03 October 2005 AS i performance Performances of the AS i bus Introduction AS i Scanning Time AS i Response Time Example The AS i bus is independently managed
120. function p 163 which are exchanged when requested to do so by the project using explicit exchange instructions Note when using explicit exchange objects with the READ STS function it is important not to carry out this function more than every 5s otherwise the debug screen of the module TSX SAY 1000 will not display in Online mode Implicit exchanges concern the states of the modules communication signals slaves and so on Explicit exchanges allow module parametering and diagnostics 258 35006196 03 October 2005 Language objects of the AS i V2 bus 18 2 Language objects and generic IODDT for all the communication protocols At a Glance Object of this This sub chapter presents the language objects and the generic IODDT that apply sub chapter What s in this Section to all the communication protocols This section contains the following topics Topic Page Details of the implicit exchange objects of the IODDT of the 260 T COM STS GEN type Details of the implicit exchange objects of the IODDT of the 261 T COM STS GEN type 35006196 03 October 2005 259 Language objects of the AS i V2 bus Details of the implicit exchange objects of the IODDT of the T COM STS GEN type At a Glance The following table presents the implicit exchange objects of the IODDT of the T COM STS GEN type that applies to all the communication protocols Error
121. g Mode p 244 modes 240 35006196 03 October 2005 AS i V2 operation Correspondence between PLC operating modes and the AS i bus The table below shows the correspondence between Premium PLC operating modes and those of the AS i V2 bus PLC AS i Bus configured mode 1 Protected mode non configured mode 1 configuration mode Legend 1 These PLC notions configured non configured concern the declaration of the module and slave devices in the Unity Pro project hardware configuration screen 35006196 03 October 2005 241 AS i V2 operation AS i V2 protected Mode At a glance Principle of activating a slave The AS i V2 prot g operating mode is the mode generally used for a project which is running It assumes that the AS i V2 module is configured in Unity Pro This e continually checks that the list of detected slaves is the same as the list of provided slaves e monitors the power supply In this mode a slave will only be activated if it has been declared in the configuration and been detected The diagram below shows the principle of activating AS i V2 slaves Unity Pro AS i V2 module List of provided List of detected slaves LPS slaves LDS Comparison y List of active slaves LAS 242 35006196 03 October 2005 AS i V2 operation AS i V2 Offline Operating Mod
122. g support 16 8 72 56 T T r1 d 4 lO amp 5 JE 8 se o e re 1 Lo n Ji Y M y 3 ES L 120 2 J 36 5 73 aes 17 72 Dimensions in millimeters igi Mounting on an Each power supply module is supplied mounted on a support enabling this type of AM1 DE200 or mounting AM1 DP200 mounting rail or Illustration on an AM1 PA mounting plate iu DU i ANNI ONANI i j 147 2 1 136 7 2 WA 1 147 2 mm AM1 DE200 139 7 mm AM1 DP200 2 136 7 mm AM1 PA 40 35006196 03 October 2005 AS i power supply units Mounting on an AM1 De200 mounting rail Mounting on an AM1 PA mounting plate Mounting the module on the support Carry out the following steps Step Action 1 Check that the module is mounted on the support 2 Mount the module support on the mounting rail Carry out the following steps Step Action 1 Remove the module from its support 2 Mount the support on the AM1 PA mounting plate 3 Mount the module on its support Each power supply module comes as standard with a support which allows it to be mounted directly on a DIN mounting rail 1 TSX SUP A02 power suppl
123. he AS i bus Identification of Slaves Maximum Number of Inputs Outputs AS i Cable Topology and Maximum Length of AS i Bus All standard address setting slaves connected to the AS i bus are identified by e An I O Code input output distribution code e An identification code which completes the functional identification of the slave All extended address setting slaves connected to the AS i bus are identified by e An I O Code input output distribution code e An identification code which completes the functional identification of the slave e An ID1 code which defines the internal functions of the slave e An identification code ID2 which completes the functional identification of the slave These identifications allow the AS i master to recognize the configuration which is present on the bus These different profiles have been developed by the AS i Association They are used to distinguish between input output and mixed modules intelligent device families etc On the same bus an AS i bus can support a maximum of e 31 4l and or 4O standard address setting slaves with addresses from 1 to 31 e 62 extended address setting slaves with 4l and or 3O using addresses from 1 A B to 31 A B This makes it possible to manage a maximum of 248 inputs 186 outputs thus 434 inputs outputs when all extended slaves have 4 inputs and 3 outputs The AS i cable is a twin wire link on which communications and power
124. he AS i bus is flexible It can be perfectly adapted to meet the user s needs point to point on line tree structure etc In every case the total length of all the branches of the bus must not exceed 100 meters without a repeater This is the cycle time between slave s and the TSX SAY 100 module The AS i system always transmits information which is the same length to each slave on the bus The AS i cycle time depends on the number of slaves connected to the bus In the presence of 31 functioning slaves this time period will be a maximum of 5 ms Reliable operation is ensured by the transmission process used Manchester current and coding modulation The master monitors the line supply voltage and the data sent It detects transmission errors as well as slave failures and sends the information to the PLC Exchanging or connecting a new slave during operation does not disturb communications between the master and the other slaves 24 35006196 03 October 2005 Introduction to the AS i bus Main Characteristics of the AS i V2 Bus General Slave Addressing AS i is a system in which exchange management is ensured by a single master which by scanning the bus calls each slave in succession and awaits a response Communication series frame for slaves with standard AS i address settings e 4 data bits DO to D3 which are the image of inputs or outputs according to the type of interface e 4parametering b
125. he AS i catalog linked to the selected family appears Associate a profile x Families of AS interface profiles AS i Family Name 9 Phototronic sensors l Privatefamiy 16 Security products 12 Connection interfaces IP20 13 Variable speed controllers AS i catalog Private family View AS i Name Comment Add 1 1 F0 1 Sens 1140 std Special Sensor 1 A 1 1 Test AlB Test Modify Delete Details Ok Cancel WEE T Click on the buttonAdd A new AS interface profile definition window opens Enter e the name of the new profile acomment optional Select e the IO code corresponds to the input output configuration e the ID code identifier plus ID1 and for an extended type For each parameter define e the system s acknowledgement box checked e a label optional Confirm the introduction of a new profile using Confirm 35006196 03 October 2005 217 AS i V2 bus configuration How to modify the general parameters of an AS i V2 slave Automatic addressing At a Glance Procedure Each slave on the AS i bus must be assigned via configuration a unique physical address This must be the same as the one declared in Unity Pro The Unity Pro software offers an automatic slave addressing utility so that an AS i console does not have to be used The automatic addressing utility which can be accessed via Unity Pro is us
126. he meaning of the CH_ERROR lr m c ERR error bit Standard symbol Type Access Meaning Address CH_ERROR EBOOL R Communication channel error bit 9elr m c ERR Validity bit The following table shows the meaning of the VALID IN lr m c 0 validity bit Standard symbol Type Access Meaning Address VALID IN EBOOL R Indicates that all inputs are valid 9elr m c O Note when this bit is on O it indicates that at least one input is invalid offline data exchange off or channel error mode 174 35006196 03 October 2005 Language objects of the AS i bus List of slaves 0 to 15 faulty The following table shows the meaning of the bits of word lWr m c 0 Standard symbol Type Access Meaning Address SLAVE FLT 0 BOOL R Slave 0 faulty or absent 9eIWr m c 0 0 SLAVE FLT 1 BOOL R Slave 1 faulty or absent 9elWr m c O 1 SLAVE FLT 2 BOOL R Slave 2 faulty or absent 9elIWr m c 0 2 SLAVE FLT 3 BOOL R Slave 3 faulty or absent 9elWr m c 0 3 SLAVE FLT 4 BOOL R Slave 4 faulty or absent 9elWr m c 0 4 SLAVE FLT 5 BOOL R Slave 5 faulty or absent 9elWr m c 0 5 SLAVE FLT 6 BOOL R Slave 6 faulty or absent 9eIWr m c 0 6 SLAVE FLT 7 BOOL R Slave 7 faulty or absent 9elWr m c 0 7 SLAVE FLT 8 BOOL R Slave 8 faulty or absent 9eIWr m c 0 8 SLAVE FLT 9 BOOL R Slave 9 faulty or absent 9eIWr m c 0 9 SLAVE FLT 10 BOOL R Slave 10 faulty or absent 9elIWr m c 0 1
127. he numbers on the above diagram Numbers Description 1 Three 5 5mm diameter holes enabling the support board to be fixed to a panel orto an AM1 PA perforated mounting plate with a mounting distance of 140mm the standard mounting distance for Micro PLCs Four 6 5mm diameter holes enabling the support board to be fixed to a panel or to an AM1 PA perforated mounting plate with a mounting distance of 88 9mm the standard mounting distance for Premium PLCs Two M4 screws enabling the TSX SUP A02 power supply to be fixed in place Slots for fixing the pins situated at the bottom and to the rear of the module 36 35006196 03 October 2005 AS i power supply units Catalog of AS i power supply units Selection table The following table lists the main characteristics of AS i power supplies Input characteristics 100 120 V AC or 200 240 V AC Nominal voltage Threshold values 85 132 V AC or 170 264 V AC Frequency threshold 47 63Hz or 360 440Hz Nominal input current 1 3A 5A Output characteristics 72W 230W Useful power Output voltage direct 30 V DC AS i 30V DC AS i 24V DC Nominal current 2 4A 5A 1 7A 1 Auxiliary functions Yes SELV safety 1 Parallelization 2 No Redundancy 4 No Yes Product references TBX SUP A02 TSX SUP A05 1 Maximum current for each output The sum of the power values is limit
128. he procedure to follow is the same as above but the window looks like this W Parameter Modification x Parameters of slave 15 combination 5 lv Send Cancel Select a combination of parameters from the drop down list 232 35006196 03 October 2005 Debugging the AS i V2 bus How to access the AS i V2 digital channels forcing unforcing function At a Glance This function allows the status of channels linked to an AS i V2 digital slave to be modified The different commands which are available are e fora channel e forcing to O e forcing to 1 e unforcing e for all the channels when at least one channel is forced e global unforcing Procedure The table below shows the procedure to follow to force or unforce the channels linked to an AS i V2 slave Step Action for one channel Action for a group of channels 1 Access the AS i V2 module s debugging screen 2 Select a slave in the AS interface V2 Configuration zone 3 Select the channel to modify in the slave zone table Click on the button Global unforcing found Result The channel can be modified using the buttons in the slave zone situated in the Channel action field l Channel Action 1 Channel AS i Symbol Statu 1 eee F2 Foreto0 2 3 Nothandled Shift F2Force to 1 4 Nothandled Ctrl F2 Unforce Q Channel AS i Symbol Statug 1 Nothandled ShitF5 Set Not handled
129. i Channels Forcing Unforcing Function 141 How to Access the SET and RESET Commands of the AS i Channels 142 Automatic replacement of a faulty AS i Slave 0 0 0 eee eee 143 How to insert a slave device into an existing AS i configuration 144 How to modify the address of an AS i device llli lees 145 35006196 03 October 2005 Chapter 8 Chapter 9 Chapter 10 Chapter 11 11 1 Part IV Chapter 12 AS i operating mode llllleseees see 147 At a glance o exevpurotee RI EROS IA epis eS 147 AS i Operating Mode General eere 148 AS i prot g Mode lssessssessseeee enne 150 AS i test de c blage mode 1 0 0 tte 151 AS i Offline Operating Mode issssses eese 152 AS i Data Exchange Off Operating Mode sssesls eee eee eee 153 AS i performance 20 cee e ee eee eee 155 Performances of the AS i bus 6 6 2 ects 155 DFB for AS i Security Monitor Luess 157 AS i security monitor DFBs ilssesseseeee eee 157 Language objects of the AS i bus ss 159 Ata glance ii ng enk ikaw tit bats Bake Gow eELUEX DUAE Eb PU 159 Language objects and IODDT of the AS i communication 160 Ata glance oer det e EEROLRE EM ae eee ieget ueque 160 Presentation of language objects of the AS i bus 5 161 Implicit exchange language objects associated with the application sp
130. ion parameters etc e to access the adjustment function for the selected channel channel forcing etc The function also accesses module diagnostics in the event of a fault Note This function is only available in online mode 134 35006196 03 October 2005 Debugging the AS i bus Description of the debug screen of an AS i module At a Glance The debug screen dynamically displays the status of the AS i module and the devices which are connected to the bus It also allows access to the adjustment of the slave parameters and to the channel commands forcing the input or output value Set Reset of an output Illustration The figure below shows an example of a debug screen 1 AS interface module CC ZB Run Em 10 v Function fi Description fi Config f Debug Fault fi 1 0 objects AS I V1 r AS interface configuration p Slave No 3 Task Y r Profile Parameters 3 0 WAST EN Projected 3f value fit _Modify PARAM SLD eURADIOIEING HH Detected 3 f DW2WP APEIF ASII Action channel 2 HIKE AS i Symbol j Status 1 1 F2 Force to 0 H E Pec ShiftF2 Force to 1 51 3 Nothandled Cale lae 1 0 Nothandled tL 3 EI mE Q 1 Nothandled ShiftF5 Set 5 m 3 F5 Reset
131. ion mode and goes into protected mode if it receives a configuration 148 35006196 03 October 2005 AS i operation Correspondence The table below shows the correspondence between Premium or Atrium PLC between PLC operating modes and those of the AS i V2 bus operating modes PLC AS i Bus and the AS i bus configured mode 1 Protected mode non configured mode 1 Wiring test mode Configuration mode Legend 1 These PLC notions configured non configured concern the declaration of the module and slave devices in the Unity Pro project hardware configuration screen 35006196 03 October 2005 149 AS i operation AS i protected Mode At a glance Principle of activating a slave The AS i protected operating mode is the mode generally used for a project which is running It assumes that the AS i module is configured in Unity Pro This e continually checks that the list of detected slaves is the same as the list of provided slaves e monitors the power supply In this mode a slave will only be activated if it has been declared in the configuration and been detected The diagram below shows the principle of activating AS i slaves Unity AS i module List of provided List of detected slaves LPS slaves LDS Comparison y List of active slaves LAS 150 35006196 03 October 2005 AS i operation
132. isplay of address of the selected slave c W BDEDDE Change slave Short press on 16 IL BB gt 1S ER NEN KIN H EN A old down ES EH EN KN EIN ED KH Display of bits 1S of I O of the slave Change direction selected Short press on TY SLV BUS ot SLV BUS SLV SLV VO j On VO e o Off o Off 35006196 03 October 2005 75 TSX SAY 100 Displaying slaves on the AS i bus General This mode is displayed by default when the module is switched on and is used to display e The expected and detected slaves LED permanently on e The unexpected and undetected slaves LEDs off e The expected and undetected slaves LEDs flashing Illustration gt KN NEN EG E33 Li KN EA l N EB 0 E EJ Display EKERl UEO panels 3 4 KP E13 RS EN KJ EN EJ a KS EX j A EJ E Bus Display i LEDs SLV BUS Sp showing the SLV mode vo o displayed e The image of the AS i network is displayed on the entire display panel Each LED represents an AS i bus slave address You can move between the different modes by a combination of actions on the push buttons 1 and see Moving between the different display modes p 75 Two LEDs Bus and I O indicate the current display mode In the current example the BUS LED is on and the I O LED is off which indicates that the display is in Bus mode In the illustrati
133. its PO to P3 which are used to set the operating modes of the interface Communication series frame for slaves with extended address settings e 3or4 data bits which are the image of inputs 4 bits DO to D3 or outputs 3 bits DO to D2 depending on the type of interface e 3 parametering bits PO to P2 which are used to set the operating modes of the interface All slave devices connected to the AS i bus are identified by at least one I O Code and one ID code which completes the functional identification of the slave Some slaves have an ID1 code which defines the internal functions of the slave on analog slaves for example ID1 shows the slave s analog channel number Note The frame base is the same for analog slaves as it is for TOR slaves There is ascending compatibility between AS i and AS i V2 This means that all slaves on the market are supported by SAY 1000 Each slave connected to the AS i bus must have an address which lies between 1 and 31 either with Bank A or with Bank B for extended address settings The slaves delivered from the factory have the address 0 the address of the slave is memorized in a non volatile format Addresses are programmed using a specialized addressing terminal Note When replacing a faulty slave whose address has been set the address of the slave to be replaced can be updated automatically 35006196 03 October 2005 25 Introduction to t
134. ive a correction before this period the transaction is cancelled the DFB is deactivated and the error bit is set at 1 Dfb stat and fb err are updated 35006196 03 October 2005 249 DFB AS i Searching for a security slave that has been activated Name Type Description Moni err EBOOL this bit is at 1 if the monitor is faulty Out 1 EBOOL this bit is at 1 if the OUT1 contact is closed Out 2 EBOOL this bit is at 1 if the OUT2 contact is closed SI ready DINT each bit corresponds to the index of the security device that is in a test or read state SI off DINT each bit corresponds to the index of the security device that is deactivated SI error DINT each bit corresponds to the index of the security device that is faulty Dfb stat INT this is the state of the DFB this variable allows the user to check the progress of the DFB See Operation of the AS i security function block p 251 Dfb err INT This word gives the error type e 16390 the reply sent by the monitor is invalid e 16491 the DFB has been deleted by the user 16392 the exchange has stopped on a Timeout the DFB cannot receive data The search for the address of a security slave that has been activated can be facilitated by taking into account inputs I3 I2 11 10 of the slave These inputs are equal to 0 0 0 0 if the slave is activated and different from 0 0 0 O if the slave is not activate
135. l self testing MWr m c 2 4 CONF_FLT BOOL R Different hardware and software configurations MWr m c 2 5 COM_FLT BOOL R Problem communicating with the PLC MWr m c 2 6 APPLI_FLT BOOL R Application error adjustment or configuration error MWr m c 2 7 172 35006196 03 October 2005 Language objects of the AS i bus 11 3 Language objects and IODDT s associated to the AS i bus At a glance Aim of this sub section What s in this Section This sub section presents the language objects and the IODDT s that are associated to the AS i bus This section contains the following topics Topic Page Details of the implicit exchange objects of T COM ASI V1 type IODDTs 174 Details of the explicit exchange objects of the T COM ASI V1 type IODDT 177 Details of implicit exchange objects of the AS i function 179 Details of explicit exchange language objects for the AS i function 182 Details of explicit exchange language objects for the AS i function 184 Details of configuration objects for the AS i function 186 35006196 03 October 2005 173 Language objects of the AS i bus Details of the implicit exchange objects of T COM ASI V1 type IODDTs At a Glance The tables below present the implicit exchange objects of T COM ASI V1 type IODDTs that apply to AS i communication Error bit The following table shows t
136. le ERR LED red when lit this indicates a module error COM LED green when lit this indicates data exchanges on the AS i network I O LED red when lit this indicates an external input output error on the AS i bus 2 Display panel consisting of 32 LEDs 0 to 31 which enable AS i bus diagnostics and display the state of each slave connected to the bus AS i LED red when lit this indicates an AS i power supply fault Bus LED green when lit this indicates that display panel2 is in BUS display mode display of slaves on the bus 5 1 0 LED green when lit this indicates that display panel 2 is in Slave SLV display mode displays status of input output bits for a selected slave 6 Push button TL designed for local diagnostics of the AS i bus You can move between the different AS i bus diagnostic modes by pressing this button long or short presses combined with the push button 7 Push button designed for local diagnostics of the AS i bus You can move between the different AS i diagnostics modes by pressing this button long or short presses combined with the TL push button 8 CANNON SUB D connector for connection to AS i bus 62 35006196 03 October 2005 TSX SAY 100 Mounting installation General Number of Modules per Station The TSX SAY 100 module can be mounted in any position on the TSX RKY rack except for those positions dedicated t
137. le TSX SAY 100 59 Ata Glance uode exe ea gehen aod eI ote rth DUE SV E eT E 59 Description of the TSX SAY 100 Module nananana nananana 60 Ata Glance MD E 60 Physical description mI RESI See Ee a Sea PME 61 Mounting installation 0 0 cette eee 63 Connections eure Due ee este Bala eat ERE e EXIRET NS 64 Displaying module states ilie 67 Specific Display Panels on the TSX SAY 100 Module 68 Technical characteristics lille 70 Safety of personnel 0 0 71 AS i Bus diagnostics saarni i ae a a ara AE ren 72 Ata Glalice ao a aa a a ped deer pie A io bb eee ew bes 72 Introduction to AS i Bus diagnostics llle eee 73 Moving between the different display modes 0 000 eee eee 75 Displaying slaves on the AS i DUS 1 tee 76 Displaying the state of the inputs outputs of each slave 4 77 Operating modes of the TSX SAY 100 module illulllllulsu 79 Operating modes of the TSX SAY 100 module 02 00055 79 Precautions of S d ha seeto nen ere ele m n 81 24 V auxiliary supply 6 teens 81 AS i V2 bus interface module TSX SAY 1000 83 Ata Glance 2 00 seein tite ied ohn be Ge Py eens ee eet 83 Description of the TSX SAY 1000 Module 2000 eee cence 84 Ata Glance 2 e iore elu beet RUE Eme RARE V eee e 84 Physical description eies cleRiEIA CER es
138. le below shows the meaning of the bits of words MWr m c 4 to MWr m c 7 Address Type Access Meaning 96MWr m c 4 n BOOL R n 0 to 15 gt slaves of bank A from 0 to 15 respectively detected 96MWr m c 5 n BOOL R n 0 to 15 gt slaves of bank A from 16 to 31 respectively detected 96MWr m c 6 n BOOL R n 0 to 15 slaves of bank B from 0 to 15 respectively detected 96MWr m c 7 n BOOL R n 0 to 15 gt slaves of bank B from 16 to 31 respectively detected The table below shows the meaning of the bits of words MWr m c 8 to MWr m c 71 Address Type Access Meaning MWr m c 8 to MWr m c 39 BOOL R W Words 8 to 39 gt of the slaves of bank A from 0 to 31 respectively Byte 0 bit O to 3 configuration code for input output I O channels bit 4 to 7 identification code ID Byte 1 bit 0 to 3 identification code ID1 bit 4 to 7 identification code ID2 MWr m c 40 to MWr m c 71 BOOL R W Words 8 to 39 gt of the slaves of bank B from 0 to 31 respectively Byte 0 bit O to 3 configuration code for input output I O channels bit 4 to 7 identification code ID Byte 1 bit 0 to 3 identification code ID1 bit 4 to 7 identification code ID2 35006196 03 October 2005 275 Language objects of the AS i V2 bus MWr m c 0 72 The table below gives the meaning of the wor
139. lowing topics Section Topic Page TSX SUP A02 power supply connections 46 TSX SUP A05 power supply connections 48 General precautions 52 35006196 03 October 2005 45 AS i power supply units TSX SUP A02 power supply connections Illustration Diagram of connections 1 AS i shielded cable screen if in disturbed EMC 30 VCC AS 2 4A X environment Fu External protection fuse 100 120 200 240 VCA on phase Fu 4A 250V time delay Synoptic of The TSX SUP A02 power supply unit is designed to supply the AS i bus and the connections connected slaves connected to 30V DC 2 4A output TSX 57 i 3 ly TSX SUP A02 i ES TSX SAY 100 g mo AS i master t3 fl pom L gt 30 V DC ASiBus m3 m3 oi Le o i ei la rx 000 e D A e L 4 100 120 as 200 240 V AC 46 35006196 03 October 2005 AS i power supply units Connection rules Primary observe wiring requirements for the phase and the neutral when wiring WARNING To switch off the power supply to the AS i bus we recommend you fit a POWER OFF device to the primary power supply to the AS i This method will let you switch off all components
140. mat Addresses are programmed using a specialized addressing terminal Note When replacing a faulty slave whose address has been set the address of the slave to be replaced can be updated automatically All slave devices connected to the AS i bus are identified by e An I O Code input output distribution code e An identification code which completes the functional identification of the slave These identifications allow the AS i master to recognize the configuration which is present on the bus These different profiles have been developed by the AS i Association They are used to distinguish between input output and mixed modules intelligent device families etc An AS i bus can support a maximum of 31 slaves Each slave can have a maximum of 4 inputs and or 4 outputs This makes it possible to manage a maximum of 124 inputs 124 outputs or 240 discrete inputs outputs when all active devices have 4 inputs and outputs 35006196 03 October 2005 23 Introduction to the AS i bus AS i Cable Topology and Maximum Length of AS i Bus AS i Bus Cycle Time Reliability Flexibility The AS i cable is a twin wire link on which communications and power supply for the connected devices are transmitted The link does not need to be twisted The cross section of wires can be from 2 x 0 75 mm 2 x 1 5 mm or 2 x 2 5 mm according to the current consumed by the devices The topology of t
141. module or an application fault 3 General Specify the parameterization of the task MAST or FAST parameters configured for the AS i communication channel zone 4 AS i Displays the slave devices connected to the bus configuration Displays the status of the slave s channels and gives access to and slave the debug functions area 226 35006196 03 October 2005 Debugging the AS i V2 bus How to access module and channel diagnostics functions on an AS i V2 device At a Glance The functions of the module or channel diagnostics display the current errors in which are classed according to their category internal errors internal software errors communication error with the processor configuration parameterization or command error external faults slave device failed AS i power supply switched off terminal error difference between physical configuration and Unity Pro configuration other errors module absent or switched off A faulty module and channel become apparent when certain lights change to red such as in the rack configuration screen by the presence of a red square in the position of the faulty AS i module in all the module level screens Description and Default tabs e in the module zone with the LED I O in all the channel level screens Description Config Debug and Default tabs e in the module zone with the O LED e in the channel zone with the LED of channel fault in the
142. mounting rail The TSX SUP A05 power supply block can be mounted on a panel an AM1 PA mounting plate or a DIN rail Drilling diagram dimensions in millimeters 1 The diameter of the screw holes must be suitable for M6 screws Fix the power supply block in place using M6x25 screws washers and AF1 EA6 clip nuts dimensions in millimeters AF1 EA6 Fix the power supply block in place using 4 M6x25 screws and AF1 CF56 1 4 turn sliding nuts dimensions in millimeters AF1 CF56 AM1 ED e eo eo V 1 1 207 3 mm 35006196 03 October 2005 43 AS i power supply units Summary of methods of fixing Summary table of fixing methods The following table provides a summary of the different fixing methods available for AS i power supply units Power supply TSX SUP TSX SUP reference A02 A05 Telequick AM1 PA X X mounting plate AM1 DE200 DP200 X central DIN rail AM1 ED DIN rail X 140mm mounting distance TSX 37 PLC AM1 ED DIN rail 88 9 X X mm mounting distance Premium PLC Premium TSX RKY X rack Key X available unavailable 44 35006196 03 October 2005 AS i power supply units 2 3 AS i power supply connections At a Glance Aim of this This section outlines the principles to be followed when making AS i power supply Section connections What s in this This section contains the fol
143. nce Primary secondary Mega Ohms gt 100 Primary ground Mega Ohms gt 100 Leakage current I lt 3 5 mA EN 60950 Immunity to electrostatic discharges 6 kV on contact 8 kV in air compliant with IEC 1000 4 2 Electrical Fast Transient 2 kV series mode and common mode commun on input and output Influence of electromagnetic field 10 V m 80MHz at 1GHz Rejected electromagnetic disturbances compliant with FCC 15 A and EN 55022 class A Test conditions nominal U and l resistive load cable 1 meter horizontal 0 8 meter vertical Shock wave Input 4KV MC 2kV MS Outputs 2kV MF 0 5 kV MS compliant with IEC 1000 4 5 Vibration 2 1 mm 3 Hz at 13 2 Hz 2g 57 Hz at 150 Hz compliant with IEC 68 2 6 FC test 35006196 03 October 2005 57 AS i power supply units AS i power supply TSX SUP A02 A05 module block Degree of protection IP 20 5 MTBF at 40 C 100 000 Lifetime at 50 C 30 000 at nominal voltage and at 80 of nominal power 1 10 C 55 C for TSX SUP A02 A05 power supply with product index II 01 2 compliant with IEC 68 2 6 FC test with module or block mounted on plate or panel 58 35006196 03 October 2005 AS i bus interface module TSX SAY 100 At a Glance Aim of this Chapter What s in this Chapter This Chapter only deals with hardware installation of the TSX SAY 100 inte
144. nection to Connection to Connection of 24V DC and 200 240 V AC 100 120 V AC 30 V AS i outputs 1 Connection to be made when using a 100 120V AC power supply network 2 External protection fuse on phase Fu 6 3A 250V time delay 3 AS i shielded cable screen if in disturbed EMC environment 48 35006196 03 October 2005 AS i power supply units Synoptic of connections The TSX SUP A05 power supply unit is designed to supply the AS i bus and the connected slaves connected to 30 V 5A output It is also equipped with an auxiliary 24 VDC 7A power supply for high power consumption sensors actuators this is to be connected using the black AS i ribbon cable Principle diagram JRE TSX SUP A05 100 120 200 240 VCA 35006196 03 October 2005 49 AS i power supply units Connection rules Primary observe wiring requirements for the phase and the neutral when wiring WARNING To switch off the power supply to the AS i bus we recommend you fit a POWER OFF device to the primary power supply to the AS i This method will let you switch off all components of the AS i bus power supply bus master and AS i slaves Failure to follow this precaution can result in death serious injury or equipment damage DANGER Safety of personnel To ensure the safety of personnel it is essential to connect the ground terminal of the module to the protective earth using a green
145. nfiguration parameters Association Association of IODDT s with the configured modules Local 1 variables editor Generation Generation analysis and editing of links of the project Local Transfer Transfer of the project to the PLC Connected Adjust and Debugging the project from debug screens animation tables Connected Debug Modification of the program and the adjustment parameters Documentation Building the documentation file and printing of the various Connected information concerning the project 1 Operation Display of the various information necessary for conducting Connected Diagnostics the project Project and modules diagnostics Legend 1 These various phases can also be performed in the other mode 35006196 03 October 2005 109 Principle of software implementation of the AS i Bus Architecture of TSX SAY 100 Module At a glance Illustration of the architecture The TSX SAY 100 module operates according to the master slave mode The master only controls exchanges on the bus The AS i standard sets several operating levels offered by the master e Profile MO Minimum Master the master only puts forward the configuration of slaves connected to the bus on power up and only input output exchanges e Profile M1 Full Master this profile covers all the operating functions set by the AS i standard e Profile M2 Reduced Master this profile corresponds to profile MO operating
146. ng access Address Type Access Meaning 96MWr m c 74 0 BOOL R W Switching to Offline mode 9eMWr m c 74 1 BOOL R W Exit from offline mode MWr m c 74 2 BOOL R W Data exchange inactive MWr m c 74 3 BOOL R W Data exchange active Note Offline mode has priority over Data Exchange Off These objects are used to manage the parameters of slave devices They can be modified without stopping the AS i V2 function The table below provides the meaning of the different words MWr m c 75 to MWr m c 138 Address Type Access Meaning MWr m c 75 to INT R W Contain the parameter values of slaves 0 to 31 MWr m c 106 respectively of bank A MWr m c 107 to INT R W Contain the parameter values of slaves 0 to 31 MWr m c 138 respectively of bank B 35006196 03 October 2005 277 Language objects of the AS i V2 bus Details of configuration objects for the AS i V2 function At a Glance Configuration objects KWr m c d configuration constants are accessible in read only mode and correspond to the configuration parameters entered using the Configuration editor The table below shows constant objects on the AS i V2 extended bus Address Type Access Meaning KWr m c 0 INT R When byte 0 10 this shows that AS i is master KWr m c 1 n BOOL R n 0to 15 gt slaves of bank A from 0 to 15 respectively provided
147. nge report EXCH RPT Standard symbol Type Access Meaning Address STS_ERR BOOL R Channel status words reading error MWr m c 1 0 CMD_ERR BOOL R Fault during a command parameters exchange MWr m c 1 1 ADJ_ERR BOOL R Fault during an adjustment parameters exchange MWr m c 1 2 35006196 03 October 2005 261 Language objects of the AS i V2 bus Standard The table below presents the meanings of the status word bitsCH_FLT channels faults MWr m c 2 The reading is performed by a READ STS IODDT VAR1 CH FLT Standard symbol Type Access Meaning Address NO DEVICE BOOL R No device is working on the channel MWr m c 2 0 1_DEVICE_FLT BOOL R A device on the channel is faulty MWr m c 2 1 BLK BOOL R Terminal strip error not connected MWr m c 2 2 TO_ERR BOOL R Timeout error faulty wiring MWr m c 2 3 INTERNAL_FLT BOOL R Internal fault or channel self test MWr m c 2 4 CONF_FLT BOOL R Different hardware and software configurations MWr m c 2 5 COM_FLT BOOL R Problem communicating with the PLC MWr m c 2 6 APPLI_FLT BOOL R Application fault adjustment or configuration fault MWr m c 2 7 262 35006196 03 October 2005 Language objects of the AS i V2 bus 18 3 Language objects of the AS i V2 function At a Glance Aim of this This section provides general information on the language objects of the AS i V2 Section fun
148. nnel diagnostics of an AS i device At a Glance The functions of the module or channel diagnostics display the current errors in which are classed according to their category e internal errors internal software errors communication error with the processor configuration parametering or command error e external faults slave device failed AS i power supply switched off terminal error difference between physical configuration and Unity Pro configuration e other errors module absent or switched off A faulty module and channel become apparent when certain lights change to red such as e in the rack configuration screen by the presence of a red square in the position of the faulty AS i module e in all the module level screens Description and Default tabs e in the module zone with the LED I O e in all the channel level screens Description Config Debug and Default tabs e in the module zone with the I O LED e in the channel zone with the LED of channel fault e in the faulty screen accessible with the Fault tab where the fault diagnostics are described The fault is also signaled e onthe module through the centralized display e by the dedicated language objects CH ERROR lr m c ERR and module error MOD ERROR lr m MOD ERR MWr m MOD 2 etc and the status words See Details of the Language Objects of the IODDT of type T GEN MOD p 187 35006196 03 October 2005 137 Debugging the AS i
149. nt Manual SAVE PARAM save adjustment parameters RESTORE PARAM See Unity Pro I O Management Manual RESTORE PARAM restore adjustment parameters These exchanges apply to a set of 99 MW objets of the same type status commands or parameters that belong to a channel Note These objects provide information about the module e g type of channel fault etc can be used to command them e g switch command and to define their operating modes save and restore adjustment parameters in the process of application 35006196 03 October 2005 163 Language objects of the AS i bus General principle The diagram below shows the different types of explicit exchanges that can be made for using explicit between the processor and module instructions PLC processor Communication module Communication channel MWr m c objects or MWr m MOD r objects 1 Status parameters e HEAD SIS Status parameters Command parameters WRITE CMD Command parameters WRITE_PARAM x Current adjustment READ PARAM parameters in SAVE PARAM Ju a d Current adjustment parameters PH X Initial adjustment RESTORE PARAM parameters 1 Only with READ STS and WRITE CMD instructions Managing During an explicit exchange it is necessary to check its performance in order that exchanges data is only taken into account when
150. o 62 standard and or extended address slaves e upto 248 inputs and 186 outputs e upto 124 analog values integrated in the master AS i e acycle time of 10ms maximum 192 35006196 03 October 2005 Principle of software implementation of the AS i V2 bus AS i V2 bus installation principle The following table shows the different implementation phases of the AS i V2 Phase Description Mode Variable Declaration of variable of the IODDT type for the project Local 1 Declarations modules and variables Programming Programming the project and functions carried out using the Local 1 AS i V2 bus Configuring Declaration of modules and slave devices Local Configuring the module channels Entering configuration parameters Association Association of IODDT s with the configured modules Local 1 variables editor Generation Generation analysis and editing of links of the project Local Transfer Transfer of the project to the PLC Connected Adjust and Debugging the project from debug screens animation tables Connected Debug Modification of the program and the adjustment parameters Documentation Building the documentation file and printing of the various Connected information concerning the project 1 Operation Display of the various information necessary for conducting Connected Diagnostics the project Project and modules diagnostics Legend 1
151. o processors and the power supply Note In the event where the module is mounted on a remote X Bus rack the maximum allowed distance from the processor must be 175 meters minus the length of the X Bus max 100 m The mounting and removal See Premium and Atrium using Unity Pro Manual Discrete I O modules Fitting of discrete IO modules procedure is identical to the mounting and removal procedure for other modules Example of mounting a TSX SAY 100 module Note The module can be mounted and removed with both PLC and AS i bus power switched on Number of application specific channels supported e Premium See Premium and Atrium using Unity Pro Manual Processors racks and power supply modules Catalog of TSX 57 Processors e Atrium See Premium and Atrium using Unity Pro Manual Processors racks and power supply modules Catalog of Atrium Processors 35006196 03 October 2005 63 TSX SAY 100 Connections AS i Bus Cables Cable Routing Connector AS i bus cables carry the signals and supply the sensors and actuators connected to the bus with 30 V DC Types of AS i cables Cable type Specifications Illustration Polarized AS i ribbon Color yellow Wire cross section 1 5 cable mm 9 D AS i AS i Blue Brown Standard round cable Wire cross section 1 5 mm or 2 5 mm AS i AS i Blue Brown Recommended
152. oduct name TSX SAY 1000 Order No Release Master profile Date List of implemented functions No List of implemented functions Mark Remark Profile implemented by A Functions or calls at host interface 1 Image Status Read IDI TSX SAY 1000 2 Status Write OD Image TSX SAY 1000 3 Status Set Permanent Parameter S Addr S Param i TSX SAY 1000 4 S_Param Status Get_Permanent_Parameter S_Addr 2 TSX SAY 1000 5 Status RS Param Write Parameter S Addr S Param j TSX SAY 1000 6 Status S_Param Read_Parameter S_Addr TSX SAY 1000 7 Status Store Actual Parameters TSX SAY 1000 8 Status Set Permanent Configuration S Addr S Config TSX SAY 1000 9 S Param Status Get Permanent Parameter S Addr 10 Status Store Actual Configuration 11 Status S Config Read Actual Configuration S Addr TSX SAY 1000 12 Status Set LPS S List TSX SAY 1000 13 Status S List Get LPS E TSX SAY 1000 14 Status S List Get LAS t TSX SAY 1000 15 Status S List Get LDS TSX SAY 1000 16 0 Status Flags Get Flags ii TSX SAY 1000 16 1 Status Flag Get Flag Config OK b TSX SAY 1000 16 2 Status Flag Get Flag LDS O 7 TSX SAY 1000 102 35006196 03 October 2005 TSX SAY 1000 No List of implemented functions Mark Remark Profile implemented by 16 3 Status Flag Get
153. of a supply fault 80 35006196 03 October 2005 TSX SAY 100 3 4 Precautions of use 24 V auxiliary supply Recommen When slaves use a 24 V auxiliary supply the disappearance of this supply is not dations managed by the TSX SAY 100 module Information on the disappearance of this supply can be accessed by using a 24 V input 35006196 03 October 2005 81 TSX SAY 100 82 35006196 03 October 2005 AS i V2 bus interface module TSX SAY 1000 4 At a Glance Aim of this This chapter deals with hardware installation of the TSX SAY 1000 interface module Chapter AS i V2 bus master on a Premium Atrium PLC What s in this This chapter contains the following sections Chapter Section Topic Page 4 1 Description of the TSX SAY 1000 Module 84 4 2 AS i Bus Diagnostics 95 4 3 Operating Modes of the TSX SAY 1000 Module 97 4 4 Precautions of Use 99 4 5 AS i V2 Certification 102 35006196 03 October 2005 83 TSX SAY 1000 4 1 Description of the TSX SAY 1000 Module At a Glance Aim of this This Section deals with hardware installation and the characteristics of the Section TSX SAY 1000 module What s in this This section contains the following topics ion Section Topic Page Physical description 85 Assembly installation 87 Connections 88 Displaying Module States 91 Specific Display Panels on the TS
154. of software implementation of the AS i V2 bus Description of constituent elements The table below shows the different elements that make up the architecture of the TSX SAY 1000 module Number Item Description 1 I O data Images of 248 inputs and 186 outputs of AS i V2 bus 2 Current parameters Image of parameters of all slaves 3 Configuration This field contains all the I O codes and identification Identification codes for all the detected slaves LDS List of all the slaves detected on the bus LAS List of active slaves on the bus LPS List of slaves provided on the bus and configured by Unity Pro 7 LPF List of slaves having a device fault 35006196 03 October 2005 195 Principle of software implementation of the AS i V2 bus Structure of a Standard Address AS i At a glance Structure illustration The AS i V2 bus is used to interconnect 31 standard address devices The standard address slaves each have e 4input bits e 4 output bits e 4 parametering bits The AS i V2 bus can manage a maximum of 124 standard address slave Inputs and 124 Outputs Each slave has its own address and a profile defines variables exchange The figure below shows the structure of a standard address slave AS i slave Lt D3 1 I O data m CY DO Lj P3 2 Parameters _ cr PO 3 Configuration Identification AS i bus ers 4 d Address
155. of the AS i bus power supply bus master and AS i slaves Failure to follow this precaution can result in death serious injury or equipment damage DANGER Safety of personnel To ensure the safety of personnel it is essential to connect the ground terminal of the module to the protective earth using a green yellow wire Failure to follow this precaution will result in death serious injury or equipment damage To comply with isolation requirements for a 24 V SELV isolated voltage the following wiring is used e an operating voltage gt 600V AC with a 1 5mm cross section for the mains connection e an operating voltage gt 300V AC with a cross section of 25mm for the 24 V outputs and the ground It is necessary to use a shielded cable for the AS i bus only in cases where the installation is subject to very high levels of disturbance in terms of EMC Electro Magnetic Compatibility 35006196 03 October 2005 47 AS i power supply units TSX SUP A05 power supply connections Illustration Diagram of connections 1 424yo gt Selo amp a Selc Selc 24 VDC 7 A i r i 1 i 0V O Fu 2 Fu 2 Lo 0VO L a 1 a 1 1 eu 200 0 240 V 100 120V ShdC NO 4 i NO 4 i l u i ale e BM E Es EE NE 30 V AS i 5 A i o AS i lt aren ae Con
156. offline mode Carry out a configuration transfer to the PLC in online mode Physically link the new slave with address 0 to the AS i bus Note A project can be modified by carrying out the above manipulation as many times as necessary 144 35006196 03 October 2005 Debugging the AS i bus How to modify the address of an AS i device At a Glance This command allows the movement of the selected AS i device to another available address This address modification can only be done online and not in configuration thus physical configuration and software configuration are different Note This function is only operational for the TSX SAY 100 modules in a version higher than 02 Procedure The following table shows the procedure for modifying the address of an AS i slave device Step Action 1 Access the debug screen of the TSX SAY 100 module 2 Select a slave in the zone AS interface configuration then execute the command Edit gt Modify the AS i slave address Result The selection screen for a new address is displayed Modify the address Current address 27 Addresses available 0 a 1 2 3 4 5 6 7 F OK Cancel 3 Select the required address in the list of Available addresses use the scroll bar if necessary 4 Confirm the selection with OK 35006196 03 October 2005 145 Debugging the AS i bus
157. og is currently structured according to the following families Keyboards Illuminated columns Command and signaling AS i modules and interfaces Motor starters Inductive sensors Phototronic sensors Private family IP20 linkage interfaces Position switches Analog modules Security modules Logical modules IP67 Distributors Variable speed controllers Selecting Private family enables the user to enhance the Unity Pro catalog with specific AS i products via his programming terminal Note A project using AS i products from the Private Family catalog is always linked to the usage of the same Private Family catalog of the workstation on which the catalog was created 35006196 03 October 2005 207 AS i V2 bus configuration Procedure This operation enables the declaration of a slave device on the AS i V2 bus Step Action 1 Access the AS i module s hardware configuration screen 2 In the AS interface V2 configuration field double click in the cell corresponding to the new slave s host slot number 1A to 31A or 1B to 31B or select this cell then execute the command Edit gt Add an AS i slave Result The screen Associate a profile appears Associate a profile x Families of AS interface profiles Code AS i Family Name Command and signaling 8 AS i Modules and Interfaces 6 Illuminated columns 1 Inductive sensors 3 Modul
158. on i identical The slave is declared faulty 1 XAL S2003 3 Slave status Aslave P is specified at configuration but no slave is detected The slave is AS interface configuration declared faulty 1 1 AL S200 4 2 4 Slave status An additional slave not specified at configuration is connected to the bus AA ay The slave is declared faulty 1 DHL 1 EJ 3 4 Key 1 When a slave is faulty the icons situated beside the number turn to red Note The Profile field in the Slave zone of the debugging screen allows you to check if the profiles of the specified Projected slave and the Detected slave are really identical 35006196 03 October 2005 139 Debugging the AS i bus How to Access Adjustment of an AS i Device s Parameters At a Glance The debug screen of an AS i module allows amongst other things access to modification of a slave s parameters Procedure The following table shows the procedure for modifying the parameters of a slave device declared faulty Step Action 1 Open the AS i module to be parameterized 2 Access the diagnostics screen by clicking on theDebug tab Select the faulty slave in the AS interface configuration area Result in the slave zone of the debug screen it is possible to read all the information relating to the selected
159. on above the display panel indicates that e Slaves 1 4 10 and 20 LEDs on are present e Slave 11 flashing LED is present and not expected or expected and missing 76 35006196 03 October 2005 TSX SAY 100 Displaying the state of the inputs outputs of each slave General bits for each slave present on the bus In this mode Slave SLV the display panel is used to view the state of input output Procedure to be To access the state of input output bits for a slave from BUS mode proceed as followed follows Order Action Result 1 Press for more than one second on the The display switches to Slave SLV button TL mode 2 Press quickly on the button The display of the slave address goes up from 1 to 31 3 Press quickly on the button 14 The direction of the slave address scan is reversed 4 Press quickly on the button The display of the slave address goes down from 31 to 1 5 Pressfor more than one second on the e LEDs 0 to 3 display the state of input button bits for the slave selected 1 e LEDs4to7 display the state of output bits for the slave selected 1 6 Press quickly on the button The state of inputs outputs for the following slave is displayed 7 Press quickly on the button TY The direction of the slave address scan is reversed 8 Press quickly on the button The state of input outputs for the previous slave is dis
160. on deals with the precautions to be taken when installing an AS i bus Section What s in this This section contains the following topics Section Topic Page 24 VDC Auxiliary Supply 100 Multiple Address Settings 101 35006196 03 October 2005 99 TSX SAY 1000 24 VDC Auxiliary Supply Recommen When slaves use a 24 VDC auxiliary supply the disappearance of this supply is not dations managed by the TSX SAY 1000 module Information on the disappearance of this supply can be accessed by using a 24 VDC input 100 35006196 03 October 2005 TSX SAY 1000 Multiple Address Settings Recommen When one or more slaves are connected make sure that you do not assign an dations address which is already being used by a slave on the bus WARNING Double slave addressing The two slaves with identical addresses have the same profile and manage identical I Os the AS i master bus does not detect any error The two slaves with identical addresses manage different I Os the AS i master bus can detect transmission errors when accessing the I O from one of the two slaves Failure to follow this precaution can result in death serious injury or equipment damage 35006196 03 October 2005 101 TSX SAY 1000 4 5 AS i V2 Certification AS i V2 Certification Description Header Vendor Pr
161. on level Illustration Man machine e Button boxes interface These are made up of dialog tools which are perfectly adapted to exchanging products information between the operator and machine e Keyboards Man machine dialog tools these have 12 touch sensitive keys The information delivered is coded in BCD on 4 bits They offer an IP65 protection level Illustration Signaling e Illuminated indicator banks elements Optical or sound signaling elements 20 35006196 03 October 2005 Introduction to the AS i bus Bus Master AS i Power Supply Connecting and branching accessories The AS i bus master manages all data exchanges on the AS i bus In a Premium Atrium PLC station it is possible to integrate the TSX SAY 100 module for the AS i bus or the TSX SAY 1000 module for the AS i V2 bus Illustration TSX SAY100 Premium Atrium station or TSX SAY 1000 AS i dedicated power supply designed to supply the components connected to the AS i bus The distribution of this power supply uses the same medium as that used for data exchange Illustration T piece connectors are used to make connections to the AS i bus These are designed to connect to AS i ribbon cables or to ribbon round cable branches Illustration T piece for Ribbon Round cable ribbon cable branch 35006196 03 October 2005 21 Introduction to the AS i bus Example of AS i bus topology General
162. on the Fallback to 0 Maintain state check box found in the General parameters zone in the Fallback mode on failure field Result The fallback mode selected will therefore be assigned to the slave device General parameters Fallback mode on failure E AUDACIA maintain OFalback oo 132 35006196 03 October 2005 Debugging the AS i bus At a Glance Subject of this Chapter What s in this Chapter This Chapter describes the Debug aspect of the AS i bus This chapter contains the following topics Topic Page Introduction to the Debug function 134 Description of the debug screen of an AS i module 135 How to access the functions of the module diagnostics and channel 137 diagnostics of an AS i device Displaying the status of the slaves 139 How to Access Adjustment of an AS i Device s Parameters 140 How to Access the AS i Channels Forcing Unforcing Function 141 How to Access the SET and RESET Commands of the AS i Channels 142 Automatic replacement of a faulty AS i slave 143 How to insert a slave device into an existing AS i configuration 144 How to modify the address of an AS i device 145 35006196 03 October 2005 133 Debugging the AS i bus Introduction to the Debug function At a Glance The Debug function is used for each AS i communication module present in the project e to display the slave state connect
163. onfiguration fault on e LED flashing slowly configuration fault on slave slave Diagnostics example with 5 slaves addressed at 1 4 10 11 20 EB EN ES ERN 25 EB 0 E L4 KP 28 EN EJ KN E EJ In brief e LEDs for slaves 1 4 10 20 are lit therefore these slaves are active e slave 11 s LED is flashing so it is faulty e the other LEDs are off because no slaves are expected or detected at these addresses 96 35006196 03 October 2005 TSX SAY 1000 4 3 Operating Modes of the TSX SAY 1000 Module Operating modes of the TSX SAY 1000 module Output Fallback Position Automatic Slave Addressing Communication Fault Module Fault Since some AS i V2 slaves have an internal watchdog based on a communication shutdown when there is a fallback the module will function in the following way e fault detection PLC stop CPU fault module fault e bus automatically switched OFF LINE by bus master Consequences for slaves present on the bus e old generation slaves outputs maintained e new generation slaves preprogrammed fallback positions are implemented in the slave When this function is enabled in the module configuration it allows the replacement of a faulty slave with a slave of the same type without stopping the AS i bus and without the need for special action e Ifthe replacement slave is programmed with the same address and has the same profile it will be automatically inserted in
164. ow shows the meaning of channel exchange control bits from channel of an explicit EXCH STS MWr m c 0 exchange EXCH STS Standard symbol Type Access Meaning Address STS IN PROGR BOOL R Reading of channel status words in progress MWr m c 0 0 CMD_IN_PROGR BOOL R Current parameter exchange in progress MWr m c 0 1 ADJ IN PROGR BOOL R Adjustment parameter exchange in progress MWr m c 0 2 Explicit The table below presents the meaning of the exchange report bits EXCH_RPT exchangereport MWr m c 1 EXCH_RPT Standard symbol Type Access Meaning Address STS_ERR BOOL R Reading error for channel status words MWr m c 1 0 CMD_ERR BOOL R Error during command parameter exchange MWr m c 1 1 ADJ_ERR BOOL R Error during adjustment parameter exchange MWr m c 1 2 35006196 03 October 2005 171 Language objects of the AS i bus Standard The table below shows the meaning of the bits of the status word CH FLT channel faults MWr m c 2 Reading is performed by a READ STS IODDT VAR1 CH FLT Standard symbol Type Access Meaning Address NO DEVICE BOOL R No device is working on the channel MWr m c 2 0 1_DEVICE_FLT BOOL R A device on the channel is faulty 9eMWr m c 2 1 BLK BOOL R Terminal block fault not connected MWr m c 2 2 TO_ERR BOOL R Time out error defective wiring MWr m c 2 3 INTERNAL_FLT BOOL R Internal error or channe
165. parameters of an AS i V2 device At a Glance The debug screen of an AS i V2 module allows the user amongst other things to modify a slave s parameters Procedure The table below shows the procedure for modifying the parameters of a slave Step Action 1 Access the AS i V2 module s debug screen 2 Selectthe slave in the AS interface V2 Configuration zone Result In the slave zone of the debug screen it is possible to read all the information relating to the selected slave Slave 4A Profile Configured 10 3 m 0 m f 2 f Detected 10 3 ID 0 11 Ff 2 ff Parameters 3 0 Value 1111 Modif PARAM l Channel Action 1_ Channel AS i Symbol Statu 1 F2 Forceto 0 2 J Sanaa 3 Nothandled ShiftF2Forceto 1 4 jNothandled Q CtrlF2 Unforce Channel AS i Symbol Statug _ 1 Nothandled ShitF5 Set 2 Nothandled 3 F5 Reset cys i 3 Click on Modif PARAM located in the Parameters field of the slave zone Result The windowParameter modificationappears Modify parameters slave no 40 Parameters 0 Unused 2 Unused 1l Unused 3 v Unused Send Cancel Input Close Selecting and omitting parameters Click on Send to recognize the new values 35006196 03 October 2005 231 Debugging the AS i V2 bus Parameter Lists Where a slave can support parameter lists t
166. played 9 Pressfor more than one second on the The display shows again the number of button the slave selected 1 LED on bit at 1 LED off bit at 0 or no input or output 35006196 03 October 2005 77 TSX SAY 100 Illustration Slave Number example 10 State of bits example l 2 10 0 0 0 and N m m jx N EN m o Change direction Change slave Short press on TY Short press on Slave Display SLV BUS SLV eoe e Status of output bits example Q 2 10 0 0 2 and Q 2 10 0 0 3 1 Channel Display SLV BUS SLV 78 35006196 03 October 2005 TSX SAY 100 3 3 Operating modes of the TSX SAY 100 module Operating modes of the TSX SAY 100 module Output Fallback Position Automatic Slave Addressing Processor Fault The fallback mode is defined in the configuration and can be read from the word KWr m 0 19 0 e KWr m 0 19 0 1 fallback to 0 e KWr m 0 19 0 0 maintain state r rack address m module address Operation When the AS i channel changes to STOP e With fallback to 0 option outputs are forced to 0 then communication stops on the medium e With maintain state option outputs are maintained then communication stops on the medium When this function is enabled in the module configuration it allows the replacement of a faulty slave with a slave of the same type without s
167. put O of bus number 2 of slave TOR B 131 and implicitly rack 0 and module 0 of the TSX SAY 1000 module 96IWV2 380 0 0 indicates input O of bus number 2 of slave ANA A 38 and implicitly rack 0 and module 0 of the TSX SAY 1000 module Illustration Slave AS i bus slaves C 38 4E 4S 1S 2E amp 2S Slave 0 0 3 0 3j 0 1 1 Sie Q 2 5 0 0 0 input output l 2 1 0 0 0 Q 2 131 0 0 0 I W 2 38 0 0 0 addresses Hl 2 1 0 0 3 Q 2 131 0 0 3 IW 2 38 0 0 1 QW 2 38 0 0 1 Note The physical address of an AS i slave is programmed by a console An analog slave is configured only on slot A The number of an extended TOR B slave lies between 101 and 131 The number of a standard TOR A slave or an ANA slave which is always standard lies between 1 and 31 When a standard address setting slave is set at A an extended address setting slave at B cannot have the same address Only two extended address setting slaves can have the same address at A and B When one or more slaves are connected make sure that you do not assign an address which is already being used by a slave on the bus If slave address is doubled then two scenarios may occur e the two slaves with identical addresses have the same profile and manage identical l O s the AS i master bus does not detect any error e the two slaves with identical addresses manage different I O s the AS i master bu
168. r 2005 125 AS i bus configuration How to modify the AS i Bus software configuration Introduction The Unity Pro software offers from the module s configuration screen a group of functions which allow you to easily modify in local mode the software configuration of the AS i bus Note Standard Windows keyboard shortcut keys Del Ctrl X Ctrl C Ctrl V are also available for the following operations Procedure for This operation allows the deletion of a slave declared on an AS i Bus deleting a slave Step Action 1 Select the slave to be deleted 2 Select the command Edit Delete an AS i slave Procedure for This operation allows the movement of a slave declared on an AS i Bus moving a slave Step Xon 1 Select the slave to be moved 2 Select the command Edit gt Cut an AS i slave 3 Select the new required slot 4 Select the command Edit Paste an AS i slave Procedure for This operation allows the copying of a slave declared on an AS i Bus copying a slave Step Action s Select the slave to be copied Select the command Edit gt Copy an AS i slave Select the slot of the new slave AJOIN Select the command Edit Paste an AS i slave 126 35006196 03 October 2005 AS i bus configuration How to access the description of an AS i slave At a Glance Definition of a profile Procedure for
169. r m c 2 0 BOOL R Slave 0 activated 9elWr m c 2 1 BOOL R Slave 1 activated 9elWr m c 2 2 BOOL R Slave 2 activated 9elWr m c 2 3 BOOL R Slave 3 activated 9elWr m c 2 4 BOOL R Slave 4 activated 9elWr m c 2 5 BOOL R Slave 5 activated 9elWr m c 2 6 BOOL R Slave 6 activated 9elWr m c 2 7 BOOL R Slave 7 activated 9elWr m c 2 8 BOOL R Slave 8 activated 9elWr m c 2 9 BOOL R Slave 9 activated 9elWr m c 2 10 BOOL R Slave 10 activated 9elWr m c 2 11 BOOL R Slave 11 activated 9elWr m c 2 12 BOOL R Slave 12 activated 9elWr m c 2 13 BOOL R Slave 13 activated 9elWr m c 2 14 BOOL R Slave 14 activated 9elWr m c 2 15 BOOL R Slave 15 activated 180 35006196 03 October 2005 Language objects of the AS i bus List of slaves 16 The following table shows the meaning of the bits of the word 96IWr m c 3 to 31 activated Address Type Access Meaning 9eIWr m c 3 0 BOOL R Slave 16 activated 9elIWr m c 3 1 BOOL R Slave 17 activated 96IWr m c 3 2 BOOL R Slave 18 activated 96IWr m c 3 3 BOOL R Slave 19 activated Wr m c 3 4 BOOL R Slave 20 activated IWr m c 3 5 BOOL R Slave 21 activated 9eIWr m c 3 6 BOOL R Slave 22 activated 96lIWr m c 3 7 BOOL R Slave 23 activated 9elIWr m c 3 8 BOOL R Slave 24 activated 96IWr m c 3 9 BOOL R Slave 25 activated 96IWr m c 3 10 BOOL R Slave 26 activated 96IWr m c 3 11 BOOL R Slave 27 activated 96IWr m c 3 12 BOOL R Slave
170. re and software installation procedures for the AS i bus The data and illustrations found in this documentation are not binding We reserve the right to modify our products in line with our policy of continuous product development The information in this document is subject to change without notice and should not be construed as a commitment by Schneider Electric Schneider Electric assumes no responsibility for any errors that may appear in this document If you have any suggestions for improvements or amendments or have found errors in this publication please notify us No part of this document may be reproduced in any form or by any means electronic or mechanical including photocopying without express written permission of Schneider Electric All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to ensure compliance with documented system data only the manufacturer should perform repairs to components When controllers are used for applications with technical safety requirements please follow the relevant instructions Failure to observe this product related warning can result in injury or equipment damage We welcome your comments about this document You can reach us by e mail at techpub schneider electric com 35006196 03 October 2005 11 About the Book 12 35006196 03 October 2005 The AS i Bus
171. re carried out automatically This occurs at the start and end of each cycle respectively of the task in which the TSX SAY 100 module is configured The user program has access to these inputs and outputs via the language objects Addressing is defined in the following way 96 I QGUIWQW be maz c Symboi Type of Bus N of Foelton channel object and rack of slave number module Syntax The table below describes the different elements that make up addressing Family Item Values Indicates Symbol 96 Object type l 2 Picture of the All or Nothing input of the module Q 5 Picture of the All or Nothing output of the module IW Picture of the analog input of the module QW Picture of the analog output of the module This information is exchanged automatically each cycle of the task to which they are attached Bus and slave b 2 to 999 Bus number No e 1to 31 Slave number for bank A 101 to 131 Slave number for bank B offset of 100 in relation to the slave number of bank A Rack number r 0 Virtual rack number Module position m 0 Virtual module position Channel C 0to6 Input or output number 200 35006196 03 October 2005 Principle of software implementation of the AS i V2 bus Example Multiple Address Settings l 2 1 0 0 3 indicates input 3 of bus number 2 of slave TOR A 1 and implicitly rack 0 and module 0 of the TSX SAY 1000 module 96QV2 13110 0 0 indicates out
172. rface module AS i bus master on a Premium Atrium PLC This chapter contains the following sections Section Topic Page 3 1 Description of the TSX SAY 100 Module 60 3 2 AS i Bus diagnostics 72 3 3 Operating modes of the TSX SAY 100 module 79 3 4 Precautions of use 81 35006196 03 October 2005 59 TSX SAY 100 3 1 Description of the TSX SAY 100 Module At a Glance Aim of this This Section deals with hardware installation and the characteristics of the Section TSX SAY 100 module What s in this This section contains the following topics Section z Topic Page Physical description 61 Mounting installation 63 Connections 64 Displaying module states 67 Specific Display Panels on the TSX SAY 100 Module 68 Technical characteristics 70 Safety of personnel 71 60 35006196 03 October 2005 TSX SAY 100 Physical description General The TSX SAY 100 module comes as a standard format module Illustration TSX SAY100 NO UAOO N Front panel 35006196 03 October 2005 61 TSX SAY 100 Reference table The following table describes the diagrams above using the numbers shown Number Description 1 A display panel consisting of 4 LEDs for displaying the operating modes of the module RUN LED green when lit this indicates normal functioning of the modu
173. s Address Item Function 1 Tabs The front tab indicates the mode in progress Configuration for this example Each mode can be selected with the corresponding tab Possible modes are e Configuration e Debug or diagnostics only accessible in online mode e Diagnostics Default accessible only in Online mode The tab I O Objects See Unity Pro Operating Modes Manual I O Objects Tab for a Module is used to presymbolize the input output objects module zone Specify the abbreviated title of the module and the status of the module in online mode There are three indicators in the same zone that provide the status of module in online e RUN indicates the operating mode of the module e ERR signals an internal fault in the module e I O signals an external fault in the module or an application fault General parameters zone makes it possible to select the general parameters associated with the channel e Function the Bus AS i function is frozen grayed e Task defines the MAST or FAST task through which the channel s implicit exchange objects will be exchanged configuration field Makes it possible to configure the channel configuration parameters Certain choices may be frozen and appear grayed It is broken down into four fields e AS interface configuration e the selected slave characteristics e the parameters applied to the chosen slave e the input and outp
174. s 2 Chapter Section Topic Page 2 1 Introduction to AS i Bus power supply units 32 2 2 Installation of the AS i bus power supply units 39 2 8 AS i power supply connections 45 2 4 Characteristics of AS i bus power supply units 54 35006196 03 October 2005 31 AS i power supply units 2 1 Introduction to AS i Bus power supply units At a Glance Aim of this This section introduces AS i bus power supply units Section What s in this This section contains the following topics ion Section Topic Page General introduction to AS i power supply units 33 Physical description of the TSX SUP A02 power supply module 34 Physical description of the TSX SUP A05 power supply block 35 Physical description of the support board 36 Catalog of AS i power supply units 37 AS i power supply specific features 38 32 35006196 03 October 2005 AS i power supply units General introduction to AS i power supply units General Presentation table The AS i power supply blocks and modules TSX SUP A02 and TSX SUP A05 are designed to provide a 30V DC power supply to devices connected to an AS i field bus This power supply is distributed over the same wires as those used for data exchange The fixing system for these products has been specially designed to meet the particular mounting distance and fixing specifications for Premium PLCs and TBX products All the prod
175. s can detect transmission errors when accessing the I O from one of the two slaves 35006196 03 October 2005 201 Principle of software implementation of the AS i V2 bus 202 35006196 03 October 2005 AS i V2 bus configuration 13 At a Glance Subject of this Chapter What s in this Chapter This Chapter describes the Configuration aspect for installing the AS i V2 bus This chapter contains the following topics Topic Page How to declare an AS i V2 communication module in the PLC Rack 204 Description of the configuration screen of an AS i V2 communication module 205 How to define a slave device on the AS i V2 bus 207 AS i V2 Bus Displayed in the Project Browser 211 How to modify the AS i V2 Bus software configuration 213 How to access the description of an AS i V2 slave 214 How to define a new slave profile in the standard AS i V2 catalog 216 How to modify the general parameters of an AS i V2 slave Automatic 218 addressing How to modify the parameters of an AS i V2 slave 219 How to modify the parameters of an analog AS i V2 slave 220 How to Modify the Parameters of an AS i V2 Slave with Combined Parameters 221 AS i V2 security device issues 222 35006196 03 October 2005 203 AS i V2 bus configuration How to declare an AS i V2 communication module in the PLC Rack Procedure rack This operation makes it possible to insert an A
176. s connected to the AS i bus At a glance Acquisition of inputs and update of slave device outputs connected to the AS i bus are carried out automatically This occurs at the start and end of each cycle respectively of the task in which the TSX SAY 100 module is configured The user program has access to these inputs and outputs via the language objects Addressing is defined in the following way 96 LG be i me c Symboi Type of Bus N of Position channel object and rack of slave number module Syntax The table below describes the different elements that make up addressing Family Item Values Indicates Symbol Object type l Picture of the physical input of the module Q 5 Picture of the physical output of the module This information is exchanged automatically each cycle of the task to which they are attached Bus and slave b 2 to 999 Bus number No e 1to31 Slave Number Rack number r 0 Virtual rack number Module position m 0 Virtual module position Channel c Oto3 Input or output number 114 35006196 03 October 2005 Principle of software implementation of the AS i Bus Example 96M 10 0 3 indicates input 3 of bus number 4 of slave 1 and implicitly rack 0 and module 0 of the TSX SAY 100 module Q 8 31 0 0 0 indicates output 0 of bus number 8 of slave 31 and implicitly rack 0 and module 0 of the TSX SAY 100 module
177. s symbol to avoid possible injury or death A DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death serious injury or equipment damage This is the safety alert symbol It is used to alert you to potential personal A WARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death serious injury or equipment damage N CAUTION CAUTION indicates a potentially hazardous situation which if not avoided can result in injury or equipment damage 35006196 03 October 2005 Safety Information PLEASE NOTE All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to ensure compliance with documented system data only the manufacturer should perform repairs to components When controllers are used for applications with technical safety requirements please follow the relevant instructions No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material This document is not intended as an instruction manual for untrained persons Schneider Electric 2005 All rights reserved 10 35006196 03 October 2005 About the Book Z At a Glance Document Scope Validity Note Product Related Warnings User Comments This manual describes hardwa
178. shows the structure of an extended address slave AS i slave 1 4 I O data 2 i Parameters Configuration 3 Identification 4 d Address Input bit onl Ll pap d LL DO P2 LI PO AS i bus 198 35006196 03 October 2005 Principle of software implementation of the AS i V2 bus Description of constituent elements The table below shows the different elements that make up the structure of an extended address slave Number Item Description 1 Input output Input data is stored by the slave and made available for the AS i data master Output data is updated by the master module 2 Parameters The parameters are used to control and switch internal operating modes to the sensor or the actuator 3 Configuration This field contains Identification e the code which corresponds to I O configuration e the slave identification ID code e the slave identification codes ID1 and ID2 4 Address Physical address of slave Note The operating parameters address configuration and identification data are saved in a non volatile memory 35006196 03 October 2005 199 Principle of software implementation of the AS i V2 bus Addressing of language objects associated with the slave devices connected to the AS i bus At a glance Acquisition of inputs and updates of slave device outputs connected to the AS i bus a
179. ssociated IODDT s e T COM STS GEN which applies to all the communications protocols e T COM ASI V1 specific to AS i communication and the TSX SAY 100 module Note IODDT variables can be created in two different ways e Using the I O objects See Unity Pro Operating Modes Manual I O Objects Tab for a Module tab e Data Editor See Unity Pro Operating Modes Manual Creation of an IODDT type data instance Each IODDT contains a set of language objects allowing its operation to be controlled and checked There are two types of language objects e implicit exchange objects which are automatically exchanged at each cycle of the task associated with the module e explicit exchange objects which are exchanged when requested to do so by the project using explicit exchange instructions Implicit exchanges concern the states of the modules communication signals slaves and so on Explicit exchanges allow module parametering and diagnostics 35006196 03 October 2005 161 Language objects of the AS i bus Implicit exchange language objects associated with the application specific function At a Glance Reminders Figure An integrated application specific interface or the addition of a module automatically enhances the language objects application used to program this interface or module These objects correspond to the input output images and software data of the module or integr
180. stration Numbered diagram 2 7 1 x TE al 5 al 4 Do NE Reference table The following table provides descriptions for each of the numbers on the above diagram Numbers Description 1 Display panel with an ON LED orange lit when the power supply is switched on 2 Display panel with e a24V LED green lit when the 24V DC output voltage is present and correct e an AS i LED green lit when the 30V DC output voltage is present and correct Protective flaps for terminal blocks Screw terminal block for connecting to the AC power supply network Screw terminal block for connecting the AS i 24V DC and 30V DC outputs Hole for threading of cable tie NIOO B Four screw holes for M6 screws 35006196 03 October 2005 35 AS i power supply units Physical description of the support board Introduction Each TSX SUP A02 power supply module is supplied mounted on a supporting board that enables the power supply to be fixed either onto a DIN AM1 DE200 or AM1 DP200 DIN mounting rail or onto a Telequick AM1 PA perforated mounting plate Each support board can be fitted with one TSX SUP A02 module Illustration Numbered diagram Reference table The following table provides descriptions for each of t
181. t e Not all bits are used Execution The table below shows the meaning of channel exchange control bits EXCH_STS indicators for an MWr m c 0 explicit exchange EXCH STS Standard symbol Type Access Meaning Address STS_IN_PROGR BOOL R Reading current channel status words MWr m c 0 0 CMD_IN_PROGR BOOL R Command parameters exchange in progress MWr m c 0 1 ADJ IN PROGR BOOL R Adjust parameters exchange in progress MWr m c 0 2 Explicit The table below shows the meaning of the exchange report bits EXCH_RPT exchangereport MWr m c 1 EXCH_RPT Standard symbol Type Access Meaning Address STS_ERR BOOL R Channel status words reading error MWr m c 1 0 CMD_ERR BOOL R Command parameter exchange error MWr m c 1 1 ADJ_ERR BOOL R Adjust parameter exchange error MWr m c 1 2 35006196 03 October 2005 269 Language objects of the AS i V2 bus Standard The table below shows the meanings of the bits ofthe CH_FLT MWr m c 2 status channel faults word Reading can be done via a READ STS IODDT VAR1 CH FLT Standard symbol Type Access Meaning Address SLAVE FLT BOOL R One or more device faulty 9eMWr m c 2 1 ASI CONF FLT BOOL R Physical configuration different from software 9eMWr m c 2 3 configuration INTERNAL FLT BOOL R Internal error or channel self test 9eMWr m c 2 4 CONF FLT BOOL R Hardware or software con
182. t is no longer possible to add the above products but if the application was using them then these products should appear on the configuration screen no blanks and everything will operate normally In the AS Interface Profile Catalog select the required device Confirm the selection withOK Result The slave device is defined in its slot the reference of the connected device appears opposite the number of the slave AS Interface Configuration H 4 2 XU K123538AS A Lal 7 To connect other slave devices to the AS i bus repeat the procedure from step 3 35006196 03 October 2005 123 AS i bus configuration AS i Bus Displayed in the Project Browser At a Glance When you declare a TSX SAY 100 module on the PLC rack the AS i bus is represented in the configuration directory of the project browser The number of the AS i bus is calculated automatically by Unity Pro This value may be modified After having declared all the slaves on the AS i bus and validated the configuration the AS i slaves also appear on the AS i bus of the project browser Each slave appears with its address number Displaying the AS i bus and slaves enables you to know at a glance their topological addressing The following illustration shows the AS i bus and slaves in the project browser Project Browser Te Structural View RON C3 Station 8 EF e Lr 0 Bus X i Er MM 0 TSX RKY 6EX eee P TSX PSY 2600M lg 0 1
183. t slave is programmed with the same address using the pocket programmer and has the same profile as the faulty slave It will then be automatically inserted into the list of detected slaves LDS and list of active slaves LAS e The replacement slave is blank address 0 new slave and has the same profile as the faulty slave It will automatically assume the address of the replaced slave and will then be inserted into the list of detected slaves LDS and the list of active slaves LAS 35006196 03 October 2005 143 Debugging the AS i bus How to insert a slave device into an existing AS i configuration At a Glance Procedure It is possible to insert a device into an existing AS i configuration without having to use the pocket programmer This operation is possible once The configuration mode s Automatic addressing See How to modify AS i slave general parameters Automatic addressing p 131 utility is active A single slave is absent in the physical configuration The slave which is to be inserted is specified in the Unity Pro configuration The slave has the profile expected by the configuration The slave has the address 0 The AS i module will therefore automatically assign to the slave the value predefined in the configuration The following table shows the procedure for making the automatic insertion of a new slave effective Step Action 1 Add the new slave in the configuration screen in
184. table below shows the control bits of the explicit exchanges EXCH_STS Indicators for an MWr m c 0 zia Standard symbol Type Access Meaning Address EXCH STS STS IN PROGR BOOL R Reading of channel status 9eMWr m c 0 0 B words in progress CMD IN PROGR BOOL R Command parameters MWr m c 0 1 exchange in progress ADJ_IN_PROGR BOOL R Adjust parameters exchange MWr m c 0 2 in progress RECONF IN PROGR BOOL R Reconfiguration of the module MWr m c 0 15 in progress Note If the module is not present or is disconnected explicit exchange objects Read_Sts for example are not sent to the module STS IN PROG MWr m c 0 0 0 but the words are refreshed Explicit The table below shows the report bits EXCH_RPT MWr m c 1 Sara Standard symbol Type Access Meaning Address EXCH RPT STS_ERR BOOL R Error reading channel status MWr m c 1 0 words 1 failure CMD_ERR BOOL R Error during a command MWr m c 1 1 parameter exchange 1 failure ADJ_ERR BOOL R Error during an adjust MWr m c 1 2 parameter exchange 1 failure RECONF_ERR BOOL R Error during reconfiguration of MWr m c 1 15 the channel 1 failure 168 35006196 03 October 2005 Language objects of the AS i bus 11 2 The language objects and generic IODDT applicable to all communication protocols At a Glance Aim of this This Section presents the language objects and generic IODDT applicable to all Section communication protocols
185. tes that the input channel c 131 to 3 of slave number 0 is activated 35006196 03 October 2005 271 Language objects of the AS i V2 bus Discrete output channel bits Analog input channel words Analog output channel words The table below shows the meaning of the Discrete output channel bits for bank A slaves 1 to 31 and bank B slaves 101 to 131 Address Type Access Meaning Q b e r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number e is activated For bank A e 1 to 31 For bank B e 2101 to 131 Examples Q b 0 r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number 0 is activated Q b 1 r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number 1 is activated Q b 110 r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number 110 is activated Q b 131 r m c EBOOL R Indicates that the output channel c 0 to 3 of slave number 131 is activated The table below shows the meaning of the analog channel input words for bank A slaves 1 to 31 and bank B slaves 101 to 131 Address Type Access Meaning IW b e r m c INT R Value of the analog channel c 0 to 3 input word of slave number e For bank A e 1 to 31 For bank B e 101 to 131 The table below shows the meaning of the analog channel output wor
186. the list of slaves detected then activated If this is not the case the ERR and AS i LEDs will flash simultaneously e f the new slave has never been used address 0 new slave and has the same profile the slave automatically takes on the address of the replaced slave and is therefore in the list of detected slaves and the list of active slaves If this is not the case the ERR and AS i LEDs will flash simultaneously These actions are only possible if one and only one slave is faulty in the configuration If there is a break in communication with the CPU following a CPU watchdog where the TSX SAY 1000 module is located in the main rack or a retraction of the X Bus cable where the TSX SAY 1000 module is located in the extension rack the module switches to security mode and stops communication on the AS i bus In the event of a serious fault on the TSX SAY 1000 module faulty component etc the module stops communicating with the X Bus and with the AS i Bus The same type of behavior occurs when a module is removed with the power on 35006196 03 October 2005 97 TSX SAY 1000 Removing a Module with Power Switched On Inserting a Module with Power Switched On AS i Supply Fault Break in the AS i Medium Should a module be removed with the power switched on communication with the X Bus stops and the processor indicates a module fault Communication with the AS i bus is also interrupted without notice
187. ting slaves Reliable operation is ensured by the transmission process used Manchester current and coding modulation The master monitors the line supply voltage and the data sent It detects transmission errors as well as slave failures and sends the information to the PLC Exchanging or connecting a new slave during operation does not disturb communications between the master and the other slaves 35006196 03 October 2005 27 Introduction to the AS i bus 28 35006196 03 October 2005 Hardware installation for AS i power supply units and f TSX SAY 100 and TSX SAY 1000 AS i bus interface modules At a Glance In This Chapter What s in this Part This part deals with the hardware installation of AS i power supply units and TSX SAY 100 and TSX SAY 1000 AS i bus master interface modules This part contains the following chapters Chapter Chapter Name Page 2 AS i bus power supply units 31 3 AS i bus interface module TSX SAY 100 59 4 AS i V2 bus interface module TSX SAY 1000 83 35006196 03 October 2005 29 Hardware installation for AS i power supply units and TSX SAY 100 and TSX SAY 1000 AS i bus interface modules 30 35006196 03 October 2005 AS i bus power supply units At a Glance Aim of this This chapter introduces AS i bus power supply units Chapter What s in this This chapter contains the following section
188. tion 0000e eee eee 263 ALa Glalice7 oho ores oe cece eae a Mau eat E e chc eid ae Tee 263 Details of the implicit exchange objects of T COM ASI V2 type IODDTs 264 Details of the explicit exchange objects of the T COM ASI V2 type IODDT 269 Details of implicit exchange objects of the AS i V2 function 271 Details of explicit exchange objects of the AS i V2 function 274 Details of the objects managing the mode of operation for the AS i V2 TUNGOR s Rem rra A uy eee Yita IB TEE E 277 Details of configuration objects for the AS i V2 function 278 IODDT T GEN MOD applicable to all the modules 279 Details of the language objects of the IODDT of the type T GEN MOD 279 rrt rrr 281 35006196 03 October 2005 Safety Information Z Important Information NOTICE Read these instructions carefully and look at the equipment to become familiar with the device before trying to install operate or maintain it The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure that an electrical hazard exists which will result in personal injury if the The addition of this symbol to a Danger or Warning safety label indicates instructions are not followed injury hazards Obey all safety messages that follow thi
189. to be configured 2 Access the configuration screen by clicking on the tab Configuration 3 Click on the Automatic addressing check box found in the General parameters zone Result The Automatic addressing utility will be activated box checked or disabled box not checked General parameters Fallback mode on failure matic addressing Maintain Fallback to 0 Note By default the Automatic addressing parameter has been selected in the configuration screen 35006196 03 October 2005 131 AS i bus configuration How to modify AS i slave general parameters Fallback mode At a Glance This parameter sets the fallback mode which slave outputs take on while switching to STOP mode or if there is a PLC fault Possible modes are e Fallback to 0 AS i slave outputs which are present on the bus are set to 0 Q objects are not modified e Maintain state AS i slave outputs remain in the state they were before STOP mode was engaged Note The fallback mode for slaves which do not have a watchdog AS i bus monitoring function is not guaranteed in case of an AS i bus fault or AS i power supply failure For slaves with a watchdog the fallback position is preset within the device Procedure The table below shows the procedure for setting the Fallback mode assigned to slave device outputs Step Action 1 Access the AS i communication module s configuration screen 2 Click
190. topping the AS i bus and without the need for special action e Ifthe replacement slave is programmed with the same address and has the same profile it will be automatically inserted in the list of slaves detected then activated If this is not the case the ERR and AS i LEDs will flash simultaneously e lf the new slave has never been used address 0 new slave and has the same profile the slave automatically takes on the address of the replaced slave and is therefore in the list of detected slaves and the list of active slaves If this is not the case the ERR and AS i LEDs will flash simultaneously These actions are only possible if one and only one slave is faulty in the configuration If there is a communication break with the processor the module switches to OFFLINE mode Communication breaks are caused by the following e Triggering of the processor watchdog if the TSX SAY 100 module is positioned in the rack holding the processor e Disconnection of the X Bus cable if the TSX SAY 100 module is positioned in an extension rack 35006196 03 October 2005 79 TSX SAY 100 Module Fault Removing a Module with Power Switched On Inserting a module with power switched on AS i Supply Fault Break in the AS i Medium In the event of a serious fault on the TSX SAY 100 module faulty component etc the module stops communicating with the X Bus and with the AS i Bus The same type of behavior occurs when
191. tt eee bere eee 85 Assembly installation csseeeeeeee RR n 87 Connections i2 ree d herr rs ted a eate Pe eee 88 Displaying Module States 0 0 eect tees 91 Specific Display Panels on the TSX SAY 1000 Module 92 Technical characteristics of As i V2 bus 0 cee eee ee 93 Personnel Safety cius DRE RARE ete YR ee ae 94 AS i Bus Diagnostics 0 n 95 35006196 03 October 2005 4 3 4 4 4 5 Part Ill Chapter 5 Chapter 6 Chapter 7 Introduction to AS i Bus diagnostics llle esee 95 Operating Modes of the TSX SAY 1000 Module 005 97 Operating modes of the TSX SAY 1000 module 2 00 97 Precautions of USe exis a ER DEEP Wa Y RR GO pO e Egg 99 Ata Glance ebore reb Ge Seeding gehen TIG EK E eK n PERS 99 24 VDC Auxiliary Supply lsssssesesee I 100 Multiple Address Settings llle 101 AS i V2 Certification llle ren 102 AS i V2 Certification lees en 102 AS i Bus software implementation 105 Ata Glance atr wlth epi at ee aaa areata dang dag Rata dads ET E D 105 Principles of the software implementation of the AS i Bus 107 Ata glance sici nr been a SoM ee De hee See hes 107 Presentation of the implementation of the AS i bus 108 Architecture of TSX SAY 100 Module lisse esee 110 Structure of an AS i slave ees 112 Addressing of language objects
192. tware implementation of the AS i V2 BUS cus RR RE I RERREGOS EROGO GG RA EE eee 191 Ata glance sess EIER ACA A REED pa P dI 191 35006196 03 October 2005 Presentation of the installation of the AS i V2 bus 0005 192 Architecture of the TSX SAY 1000 Module 0 e eee eee 194 Structure of a Standard Address AS i 6 0 2 cece eee 196 Structure of a Standard Address AS i slave a n 000 c eee eee eee 198 Addressing of language objects associated with the slave devices connected t tie AS i DUS ioc anes md Seen ad Rata ade ARE ER ROLE IR ate 200 Chapter 13 AS i V2 bus configuration 20 cee e eee eee 203 Ata Glatice cds aretha bmc dbi atl te Banden e REO Ped 203 How to declare an AS i V2 communication module in the PLC Rack 204 Description of the configuration screen of an AS i V2 communication module Eheo2tRBRMOEIG DET i i a pev at uper e ND e 205 How to define a slave device on the AS i V2 bus 0 000 207 AS i V2 Bus Displayed in the Project Browser 000 eee eens 211 How to modify the AS i V2 Bus software configuration 213 How to access the description of an AS i V2 slave 2 0005 214 How to define a new slave profile in the standard AS i V2 catalog 216 How to modify the general parameters of an AS i V2 slave Automatic addressing o ss Shea ie bp ise Tarde Dad Bear heed had e geil reto ERE 218 How to mo
193. ucts are mounted e ona Telequick AM1 PA board e onacentral AM1 DP200 DE200 DIN rail This table presents the different AS i power supplies AS i Bus power supply 100 120 V AC or 200 240 V AC network voltage 30 V DC AS i 2 4 A 30V DC AS i 5A amp 24V DC 35006196 03 October 2005 33 AS i power supply units Physical description of the TSX SUP A02 power supply module Illustration Numbered diagram amp 5 amp amp amp amp i a pat i x A oa Reference table The following table provides descriptions for each of the numbers on the above diagram Numbers Description 1 Support board enabling the power supply module to be fitted directly onto an AM1 DE200 DP200 type DIN rail or to a Telequick AM1 PA mounting plate Display panel comprising e an AS i LED green lit if the internal and output voltages are correct Protective flap for terminal block Screw terminal block for connection to AC power supply network e ofthe 30V DC AS i output Hole for threading of cable tie 110 220 V voltage selector switch On delivery the selector is set at 220V 34 35006196 03 October 2005 AS i power supply units Physical description of the TSX SUP A05 power supply block Illu
194. unicating sensors actuators Illustration Active distributor Active distributor for for ribbon cable round cable 18 35006196 03 October 2005 Introduction to the AS i bus Passive IP67 sealed interfaces for connecting sensors actuators using M12 connectors distributors These distributors do not have any electronics and can therefore be used to connect the communicating sensors actuators Illustration Passive distributor Passive distributor for ribbon cable for round cable SB2 Telefast IP20 sealed interface with built in AS i function It enables connection to all types of discrete inputs traditional non communicating sensors actuators via screw terminal blocks outputs bus Illustration interface AS i actuators The direct motor starters and toggle switches in sealed boxes IP54 and IP65 ensure electrical motors are controlled and protected up to 4KW at 400 V AC Illustration ooo OO 19 35006196 03 October 2005 Introduction to the AS i bus AS i sensors e Photo electric detectors They ensure that all kinds of objects opaque reflective etc are detected with 5 basic systems barrier reflex polarized reflex proximity and proximity with background blanked out They offer an IP67 protection level e Inductive proximity detectors They detect all metal objects and provide information for the functions used to check whether an object is present or not They offer an IP67 protecti
195. ure The following table presents the procedure for assigning a value of 0 or 1 to the selected AS i slave s channels Step Action Open the AS i module to be debugged Access the debug screen by clicking on theDebug tab Select a slave in the AS interface configuration area AJOIN Select the channel to be modified in the Slave zone table Result the channel can be modified using the buttons in the Channel action field Slave no 3 Profile Parameters 3 0 3 Projected 3 f value ur Modif PARAM Unforce module Detected 3 f Channel AS i symbol Status Action voie 2 Z 00 Blaine ShiftF2 Force m1 0 Nothandled ShiftF2 Unforce Q LI Not handled Shift Set Jemen r F5 Reset Select the required function Set or Reset buttons in the Channel action field 142 35006196 03 October 2005 Debugging the AS i bus Automatic replacement of a faulty AS i slave Principle When a slave has been declared faulty it can be automatically replaced with a slave of the same type This happens without the AS i bus having to stop and without any particular manipulation as long as the Automatic addressing See How to modify AS i slave general parameters Automatic addressing p 131 utility of the configuration mode is active Two options are available e The replacemen
196. urrent for an ambient temperature of 60 C Value between transient useful power 3 Useful power and output current for a maximum ambient temperature of 55 C if product index Il 01 60 C if product index II gt 01 4 See diagram showing the distribution of current for each output on the next page 5 Acceptable duration at nominal voltage for a repetition period of 1Hz The maximum power delivered by the power supply is 230 W If the consumption is 5 Aon the 30 V AS i the possible load on the 24 V output is only 3A see diagram below Diagram I OUT 24 VDC A BOO N IOUT AS i A 4 4 56 35006196 03 October 2005 AS i power supply units Physical characteristics of environment Table of characteristics The following table describes the electrical characteristics of TSX SUP A02 A05 power supplies AS i power supply module block TSX SUP A02 A05 Connection to screw terminals A02 1 output terminal A05 2 terminals output 24 V DC and 1 terminal output 30 V DC AS i max capacity per terminal mm 2 x 1 5 with cable end or 1 x 2 5 Temperature Storage C 25 to 70 Operation C 10 to 60 1 Relative humidity 5 95 Cooling By natural convection User safety SELV EN 60950 and IEC1131 2 Dielectric strength Primary secondary V rms 3500 Primary ground V rms 2200 Secondary ground V rms 500 Insulation resista
197. ut symbols associated with a device 120 35006196 03 October 2005 AS i bus configuration How to Define a Slave Device on the AS i Bus At a Glance The Unity Pro software offers a catalog including all of the slaves that are available This catalogue is structured in families e g inductive detectors The list of slave device families features two specific elements e Non specialized products e Private family Selecting a non specialized product enables you to choose an AS i profile from 240 possibilities Selecting Private Family enables you to manage a specific AS i device catalogue file via its programming terminal Note A project using the AS i products from the Private Family catalog is always linked to the usage of this same private family catalog 35006196 03 October 2005 121 AS i bus configuration Procedure This operation is used to declare a slave device on the AS i bus Step Action 1 Open the AS i module to be configured 2 Access the configuration screen by clicking the Configuration tab 3 In the AS interface configuration area double click in the cell corresponding to the new slave s host slot number 1 to 31 or select the cell then click Edit gt Add an AS i Slave Result The screen Associate Profile appears Associate Profile AS Interface Profile Families Code AS i Family name Keyboards Motor starters Private family Saf
198. y module can be fitted to the support Carry out the following steps into contact with the support Step Action Illustration 1 Position the pins situated at the rear of Steps 1 and 2 the module on the inside in the TSX SUP 10 1 A02 corresponding slots of the support 2 Pivot the module upwards to bring it 35006196 03 October 2005 41 AS i power supply units Step Action Illustration 3 Tighten the screw situated on the Step 3 upper part of the module in order to fix it to the support TSX SUP 10 1 A02 Illustration 1 module TSX SUPA02 The TSX SUP A02 power supply module can be mounted in any position on the TSX RKY rack with the exception of the PS position reserved for the power supply module of the rack In this case the support is not used and should be removed These modules are mounted using the same procedure as for processor See Premium and Atrium using Unity Pro Manual Processors racks and power supply modules How to mount processor modules modules Mounting on TSX RKY rack 42 35006196 03 October 2005 AS i power supply units Dimensions mounting of the TSX SUP A05 AS i power supply unit Introduction Mounting on a panel Mounting on a Telequick AM1 PA perforated mounting plate Mounting on a 35mm wide DIN
199. yellow wire Failure to follow this precaution will result in death serious injury or equipment damage The AC power supply network terminal and 24V and 30 V DC AS i terminals are protected by a flap allowing access to the wiring terminals The wiring outputs descend vertically and can be held in place by a cable tie Secondary To comply with isolation requirements for a 24 V SELV isolated voltage the following wiring is used e an operating voltage gt 300V AC with a 1 5mm or 2 5mm cross section for connection to the mains e an operating voltage gt 300V AC with a cross section of 2 5mm for the 24 V outputs and the ground e wire the two 24V terminals in parallel or distribute the loads between the two 24V outputs when the total current to be delivered is greater than 5A It is necessary to use a shielded cable for the AS i bus only in cases where the installation is subject to very high levels of disturbance in terms of EMC Electro Magnetic Compatibility 50 35006196 03 October 2005 AS i power supply units Given the high level of current this power supply can generate its position on the bus is of great importance If the power supply is positioned at one end of the bus it provides its nominal current for example 5A for the entire bus and the voltage drop at the other end of the bus is therefore proportional to the 5A delivered If it is positioned in the middle of the bus the voltage drop

Download Pdf Manuals

image

Related Search

Related Contents

B-SA4 丁腰  La technologie du GPS en agriculture  131025 - SCE - Accion especial SIMATIC NOVIEMBRE 2013  BOXLIGHT CP-15t Projector User Manual  BellSouth 2 Wire ISDN BRI User's Manual  ONYX® Deskset HD  AUTO-TUNE 4  2.4GHz 帯無線通信モジュール ZB24FM- Z25xx - 日本電気  Félix Gomes 3560 _TESE - Repositório Científico do Instituto  JVC KS-FX385 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file