Schneider Electric TSXPBY100 PROFIBUS-DP Module Referenzhandbuch

Modicon Premium PLCs TSX PBY 100 PROFIBUS-DP Module PROFIBUS-DP-Anschaltmodul Module PROFIBUS-DP Quick reference guide Kurzanleitung Instruction de service Edition June 2009 2 PROFIBUS-DP TSX PBY 100 Module 4 Presentation Physical Description Connections Module Setup Characteristics Standards Characteristics Module Display Installation of the TSX PBY 100 module under PL7 PROFIBUS-DP Language Objects TSX PBY 100 Module Language Objects I/O Error Codes (%IWm.0.253) Master Module Error Codes (%IWm.0.252) Diagnostic Command List of Diagnostics Installation of the TSX PBY 100 module under Unity Pro Implicit exchange object of the IODDT of the T_COM_STS_GEN type Explicit exchange object of the IODDT of the T_COM_STS_GEN type Implicit exchange objects of the IODDT of the T_COM_PBY type Implicit exchange language objects for a Profibus DP function Language objects associated with the configuration Error codes of the TSX PBY 100 module IODDT T_GEN_MOD applicable to all modules 4 4 5 6 7 7 7 8 9 9 10 11 12 13 14 17 17 17 19 22 22 23 24 1 ENGLISH Specific part. Common part. Contents General safety advice for users ENGLISH General Safety Advice for Users 1 General This manual is intended for personnel technically qualified to install, operate and maintain the products which are described herein. However, for advanced use of our products please contact your nearest sales office for additional information. The contents of this manual are not contractual and cannot under any circumstance extend or restrict warranty clauses. 2 Qualification of personnel Only qualified personnel are authorized to install, operate or maintain the products. Any work performed by an unqualified person or non-observance of the safety instructions in this document or attached to the equipment may risk the safety of personnel and/or cause irreparable damage to equipment. 3 Warnings Warnings serve to prevent specific risks encountered by personnel and/or equipment. They are indicated in the documentation and on the products by various warning signals : Attention Indicates that not following instructions or ignoring the warning may cause serious personal injury, death and/or serious damage to equipment. Important or ! Indicates that not following a specific instruction may lead to minor injury and/or damage to equipment. Note Highlights important information relating to the product, its operation or its accompanying documentation. 4 Conformity of use The products described in this manual conform to the European Directives(*) to which they are subject (CE marking). However, they can only be used correctly in the context of the applications for which they are intended (described in the various documents) and when connected to approved third party products. (*) EMC and LV directives concerning Electromagnetic Compatibility and Low Voltage. 5 Installing and setting up equipment It is important to observe the following rules when installing and starting up equipment. In addition, if the installation contains digital links, it is essential to follow the basic wiring rules given in the user guide, reference TSX DG KBL. • Safety instructions must be followed meticulously. These instructions are in the documentation or on the equipment being installed and set up. • The type of equipment defines the way in which it should be installed : - A flush-mounting device (for example, an operator terminal) must be flush-mounted. - A device which is to be built in (for example, a PLC) must be placed in a cabinet or an enclosure. - The casing of a laptop or portable device (for example, a programming terminal or notebook) must remain closed. 2 6 Equipment operation The operational safety and availability of a device represents its ability to avoid the appearance of faults and to minimize their effects if they occur. A fault inside the control system is known as : • Passive, if it results in an open output circuit (no command is sent to the actuators) • Active, if it results in a closed output circuit (a command is sent to the actuators) From a safety point of view, a given fault may or may not be dangerous depending on the type of command given during normal operation. A passive fault is dangerous if the normal command is the operation of an alarm. An active fault is dangerous if it maintains or activates an undesirable command. The system designer must use devices external to the PLC to protect against active faults inside the PLC, whether signalled or not. 7 Electrical and thermal characteristics Details of the electrical and thermal characteristics of devices are given in the associated technical documentation (installation manuals, quick reference guides). 8 Maintenance Troubleshooting procedure • Control system equipment should only be repaired by qualified personnel (after sales service engineer or technician approved by Schneider Automation). Only certified replacement parts or components should be used. • Before performing any operation on equipment, always cut the power supply and mechanically lock any moving parts. Replacement and recycling of used batteries Use batteries of the same type and dispose of defective batteries in the same way as toxic waste. 3 ENGLISH General Safety Advice for Users • If the device is permanently connected, its electrical installation must include a device to isolate it from the power supply and a circuit-breaker to protect it against overcurrents and isolation faults. If this is not the case, the power socket must be grounded and easily accessible.The device must be connected to the protective ground. • If the device is supplied with 24 or 48 VDC, the low voltage circuits must be protected. Only use power supplies which conform to the standards currently in force. • Check that the supply voltages remain within the tolerance ranges defined in the technical characteristics of the devices. • All measures must be taken to ensure that any power return (immediate, warm or cold) does not lead to a dangerous state which may risk personnel or the installation. • Emergency stop devices must remain effective in all device operating modes, even those which are abnormal (for example, when a wire becomes disconnected). Resetting these devices must not cause uncontrolled or improper restarts. • Cables which carry signals must be located where they do not cause interference with the control system by capacitative, inductive or electromagnetic interference. • Control system equipment and their control devices must be installed in such a way that they are protected against unintentional operation. • Appropriate safety measures must be taken for the inputs and outputs to prevent improper states in the control system device if no signal is received. PROFIBUS-DP TSX PBY 100 Module ENGLISH Presentation The TSX PBY 100 module is a PROFIBUS-DP master communication module on Premium TSX/ PMX/PCX57•• 2 SV3.0 or later,TSX/PCI 57•• 3 , or TSX/PCI 57•• 4. The TSX PBY 100 module can be installed on a standard or extendable PREMIUM rack. The module can operate with the following PLCs : • • • • • • • TSX 57-20/25 (only one module possible) TSX/PMX/PCX 573•2/4•2/5•2 from version V3.3 or later (2 modules possible) TSX/PCX573•3/4•3/5•3 (2 modules possible) TSX/PCI 572•4/2634 (only one module possible) TSX/PCI 57 3•4/3634 (3 modules possible) TSX/PCI 57454/4634 (4 modules possible) TSX/PCI 57554/5634 (5 modules possible) The installation of other devices such as I/O modules is described under the following categories and references : • compact Classic TIO slaves : "classic" discrete I/O • DEA203 modular slaves • Momentum modular slaves : - discrete inputs - discrete outputs - discrete I/O - analog I/O Physical Description Communication with PROFIBUS-DP fieldbus devices is possible using : • a TSX PBY 100 module (1) comprising : - an indicator block with 5 LEDs (2) - a slot for receiving a PCMCIA card (3) • a PROFIBUS-DP PCMCIA card (4) • a 0.6 m cable (5) for connection to a TAP • a PROFIBUS-DP TAP (6), interface for connecting to the PROFIBUS-DP bus 4 PROFIBUS-DP TSX PBY 100 Module ENGLISH Connections PROFIBUS-DP bus connection (RS485 type female 9-pin Sub-D connector) : 1 2 3 4 5 6 7 8 9 shielding M24 : ground for the 24V output voltage RxD/TxD-P : data transmission positive (RD+ / TD+) CNTR-P : repeater control signal positive (direction control) : not used DGND : ground for the data transmission VP : line terminator bias voltage P24 : 24 V output voltage RxD/TxD-N : data transmission negative (RD- / TD-) CNTR-N : repeater control signal negative (direction control) : not used Note : The RxD/TxD-P, DGND, VP, RxD/TxD-N signals are compulsory. The other signals are optional. 5 PROFIBUS-DP TSX PBY 100 Module ENGLISH Module Setup 3 2 1 1 Locate the pins on the rear of the module in the centering holes at the bottom of the rack (1). 3 Fix the module firmly onto the rack by tightening the screw at the top of the module (3). 2 Swivel the module bringing it into contact with the rack (2). 5 4 4 Insert the card in the slot provided (4). 6 Connect the cable to the TAP (6). 5 Screw in the card to prevent it from being handled and to ensure correct operation (5). 7 Screw in the connector to prevent it from being handled and to ensure correct connection (7). The communication card cannot be inserted or removed while the reception module is power up. The TAP cannot be connected or disconnected while the reception module is power up. 6 Characteristics ENGLISH Standards The TSX PBY 100 communication module conforms to the following international standards : EC standards IEC 1131-2 / CENELEC (50081-2) US standards UL508 Canadian standards CSA C22.-142 It is designed to conform to the following standards : Marine classification Germanischer Lloyd Det Norsk Veritas Bureau Veritas Lloyds register US standards FM, Class 1.Div.II. Characteristics VDC logic power supply 5 VDC supplied via rack power supply Current drawn at 5 V 400 mA Operating temperature 0°C to +60°C (IEC 1131-2 = +5°C to +55°C) Humidity (without condensation) 30% to 95% Operating altitude <2000 m Mechanical withstand Immunity to vibrations conforming to standard IEC 68-2-6, Fc test Immunity to shocks conforming to standard IEC 68-2-27, Ea test Electrostatic discharge withstand Immunity to electrostatic discharges conforming to standard IEC 1000-4-2, level 3 HF interference withstand Immunity to radiated electromagnetic fields conforming to standard IEC 1000-4-3, level 3 Immunity to bursts of rapid transients conforming to standard IEC 1000-4-4, level 3 LF interference withstand 1131-2 Immunity to damped oscillatory waves conforming to standard IEC 1000-4-12, level 3 conforming to the requirements of standard IEC 7 Display ENGLISH Module Display The display unit on the front of the module shows the status of the module and the PROFIBUS-DP network. LEDs On RUN TSX PBY 100 ready : - self-diagnostic tests completed - PROFIBUS-DP ready green ERR red I/O red CH0 yellow 8 Bus fault or configuration fault or TSX PBY 100 module fault RUN ERR CH0 I/O Flashing Off Module not initialized (awaiting configuration) Module awaiting configuration or loading in progress (if RUN is off) or communication fault with the PLC CPU (if RUN is on) No fault indicated Fault on one or more slave peripheral devices No fault indicated (all slaves active) I/O data exchange No I/O data exchange Installation of the TSX PBY 100 module under PL7 Objects %Im.0.ERR %IWm.0.0 to 241 %IWm.0.242 Function Meaning I I Channel fault DP inputs Bit set to 1 when there is a channel fault 242 DP input words I PBY status x0 = 1 x8 = 1 %IWm.0.244 I Bitmap diagnostics x0..x15 If x8=1 or x9=1 or x10=1, channel fault Master module operating fault (DP_error) PCMCIA card operating fault (IOM_error) Master module configuration fault (CM_error) Configuration fault Communication fault : no communication with the PLC Address of the last diagnosed slave Bus hardware fault (line terminator, wiring, connections, TAP, etc) Master module operating I/O fault (one or more faulty slaves) New master module diagnostics available New diagnostics available for one slave (address given by x0..x6) New diagnostics for several slaves received Last management event code (bus offline, communication fault between master devices, etc) Status bits for slaves 0 to 15 %IWm.0.245 I x0..x15 Status bits for slaves 16 to 31 %IWm.0.246 I x0..x15 Status bits for slaves 32 to 47 %IWm.0.247 I x0..x15 Status bits for slaves 48 to 63 %IWm.0.248 I x0..x15 Status bits for slaves 64 to 79 %IWm.0.249 I Bitmap diagnostics Bitmap diagnostics Bitmap diagnostics Bitmap diagnostics Bitmap diagnostics x0..x15 Status bits for slaves 80 to 95 x9 = 1 x10 = 1 x13 = 1 x14 = 1 %IWm.0.243 I PBY status x0..x6 x7 x8 = 1 x9 = 1 x10 = 1 x11 = 1 x12 = 1 x13..x15 ENGLISH PROFIBUS-DP Language Objects 9 ENGLISH Installation of the TSX PBY 100 module under PL7 Objects %IWm.0.250 I %IWm.0.251 I %IWm.0.252 I %IWm.0.253 I %QWm.0.0 I to 241 %QWm.0.242 I to 253 %MWm.0.0 %MWm.0.1 %MWm.0.2 %KWm.0.0 %KWm.0.1 %KWm.0.2 Function Bitmap diagnostics Bitmap diagnostics CM_error code IOM_error code DP outputs Meaning x0..x15 Status bits for slaves 96 to 111 x0..x12 x14 Status bits for slaves 112 to 124 Transfer of module inputs to the PLC CPU x15 Transfer of PLC CPU outputs to the module Master module error code (consult the error code list) I/O error code (consult the error code list) 242 DP output words Reserved Exchange in progress Reserved Reserved PBY function block %IW and %QW size 242) Configuration bits x15 = 1 Reconfiguration in progress x0..x15 PBY 100 function code Number of updated %IW and %QW (32, 64, 128, x0 = 0 x0 = 1 Output set to zero Output maintained I : Implicit exchange (automatic updating at the start of the task for inputs and automatic updating at the end of the task for outputs) E : Explicit exchange (updating after execution of a user request) TSX PBY 100 Module Language Objects Objects %Im.MOD.ERR I %MW m.MOD.0 E %MWm.MOD.1 E 10 Function Module fault Exchange in progress Reserved Meaning Bit set to 1 when there is a module fault (at least one faulty channel, etc) x0 = 1 Read current status Function Module status E Meaning x0 = 1 Module faulty x1 = 1 Operating fault (communication fault between the CPU and the module, command, adjustment or configuration value not accepted, etc) x5 = 1 Hardware or software configuration fault (the module present is not the one declared in the configuration, the sub-modules are not compatible) x6 = 1 Module missing I : Implicit exchange (automatic updating at the start of the task for inputs and automatic updating at the end of the task for outputs) E : Explicit exchange (updating after execution of a user request) I/O Error Codes (%IWm.0.253) Symbol E_OK E_INIT E_NO_CONFIG E_INVALID_CONFIG E_INVALID_PARAM E_INVALID_STATE Value 0 1 2 3 4 5 E_ACCESS E_NO_RESOURCES E_SEND E_RECEIVE E_STATE E_SERVICE 6 7 8 9 10 11 Description No fault Initialization fault No configuration data Invalid configuration data Invalid parameters The slave state does not allow the request to be performed No exchange on Bus X No resources available Cannot send a message to the PCMCIA card Cannot receive a message from the PCMCIA card Invalid state Invalid service code (invalid UNI-TELWAY request and service) 11 ENGLISH Installation of the TSX PBY 100 module under PL7 Objects %MWm.MOD.2 Installation of the TSX PBY 100 module under PL7 ENGLISH Master Module Error Codes (%IWm.0.252) Symbol E_CFG_DATA_SIZE E_CFG_IO_IMAGE_SIZE E_CFG_N_SLAVES E_CFG_MASTER_ADDRESS E_CFG_BAUD_RATE E_CFG_BUS_PARAM E_CFG_NODE_ID E_CFG_SLAVE_IN_SIZE E_CFG_SLAVE_OUT_SIZE E_CFG_AAT_DATA E_CFG_AAT_OVERLAP E_CFG_CNF_TIMEOUT E_CFG_INIT_FMB E_CFG_INIT_MASTER E_CFG_LOAD_BUSPAR E_CFG_SET_OPMODE E_CFG_LOAD_SLAVE E_CFG_MASTER_DIAG E_CFG_DUP_ADDR E_CFG_TAP_FAULT 12 Value 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 Description Invalid configuration data block size Invalid I/O image size Invalid number of slaves Invalid master module address Invalid transmission speed Invalid bus parameters Address invalid or exists already Invalid slave input data size Invalid slave output data size Invalid I/O data size / offset combination I/O data overlap Confirmation waiting time exceeded PCMCIA card cannot be initialized Master module cannot be initialized Module bus parameters cannot be loaded Cannot change to operating mode Cannot load slave configuration Cannot read master module diagnostics Bus address already exists Fault between the PCMCIA card and the TAP Installation of the TSX PBY 100 module under PL7 ENGLISH Diagnostic Command A diagnostic command is sent using the SEND_REQ function block. SEND_REQ(ADR#rm.v, 16#0031, %MWi:3, %MWj:L, %Mwk:4) r m v 16#0031 %MWi:3 %MWi:x9 %MWi:x10 %MWi:x11 %MWi:x12 Rack number Module number Channel number (0 for PROFIBUS-DP) Request code Request parameters % M W iType of diagnostics %MWi:x0..x8 0..125 Slave x diagnostics 126 List of available diagnostics 127 Compressed diagnostics of all slaves 128 Master module diagnostics 129 Total diagnostics counters 130 Faulty exchange counters 131 Unavailability counters 132 Invalid response counters reserved reserved reserved if activated, reads the configuration data of the slave selected by %MWi:x0..x8 if activated, reads the slave data selected %MWi:x13 by %MWi:x0..x8 %MWi:x14 if activated, resetting of the list of available diagnostics or of the counters specified by %MWi:x0..x8 (=126, 129 to 132) %MWi:x15 if activated, reading of the list of available diagnostics or counters specified by %MWi:x0..x8 (=126, 129 to 132) without resetting to zero %MWi+1 Start address in the diagnostics table (1) %MWi+2 Length of the diagnostics to be read %MWj:L PL7 control words where the responses are stored Number of the first word j L Number of words %MWk:4 Four words identifying the PL7 data address used to control the function k Exchange status (1) Default value 0. To gain partial access to the diagnostics table, it is possible to specify a start word in the table (Start offset). 13 Installation of the TSX PBY 100 module under PL7 ENGLISH List of Diagnostics Master diagnostics Bytes Structure 0/1 Operating_mode Description Operating mode of the master (byte 0 : low order byte; byte 1 : high order byte) Values : 00h offline (initialization) 40h stop (ready to receive the configuration) 80h output fallback (outputs reset to zero, clear) C0h operating 2/3 PNO_identifier Master identification code according to the PROFIBUS code (byte 2 : low order byte; byte 3 : high order byte) 1654h for the PBY 100 module 4 PC card PCMCIA card hardware version according to the PROFIBUS code hardware version Values : 10h version V1.0 XYh version VX.Y FFh no card or card invalid 5 PC card PCMCIA card hardware version according to the PROFIBUS code firmware version Values : 10h version V5.02E 11h version V5.02F XYh version V5.XY FFh no card or card invalid 6 PBY Hardware version of the TSX PBY 100 module hardware version Values : 10h version V1.0 XYh version VX.Y 7 PBY Software version of the TSX PBY 100 module firmware version Values : 10h version V1.0 XYh version VX.Y 8 PBY IE Software upgrade index of the TSX PBY 100 module version Values : 04h version IE 04 XYh version IE XY 9..15 PC card firmware Software version of the PCMCIA card in ASCII mode version (ASCII) 14 Installation of the TSX PBY 100 module under PL7 This table provides the activity bits. There is one bit per slave. These bits provide information about the availability of new diagnostics from the slaves. Bytes 0 1 2 3 4 5 6 7 Structure x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x13 x14, x15 Description new diagnostics concerning slaves 0 to 15 new diagnostics concerning slaves 16 to 31 new diagnostics concerning slaves 32 to 47 new diagnostics concerning slaves 48 to 63 new diagnostics concerning slaves 64 to 79 new diagnostics concerning slaves 80 to 95 new diagnostics concerning slaves 96 to 111 new diagnostics concerning slaves 112 to 124 not used Compact diagnostics of all the slaves This table shows the main diagnostics for each slave. The size of this table is always 126 bytes, with byte 0 corresponding to slave 1 and byte 126 corresponding to slave 125. Each byte corresponds to a slave address and shows the same diagnostic information. Bytes 0..125 Structure Description x0 : not_reachable x0=1 if slave x is not connected or off x1 : not_ready x1=1 if slave x is not ready for data exchange x2 : config_fault x2=1if configuration fault on slave x when the test is requested x3: prm_required x3=1if slave x needs to be reconfigured and the parameters reset x4 : inactive x4=1 if slave x is inactive (excluded from processing) x5 : invalid_rsp x5=1 if there is a fault in the last slave x response x6 : param_fault x6=1 if there is a fault in the last slave x parameter message x7 : master_lock x7=1if the slave x parameters have already been set by another master module 15 ENGLISH List of the diagnostics available Installation of the TSX PBY 100 module under PL7 ENGLISH Slave diagnostics Only the first six diagnostic bytes are standardized and compulsory. A slave can supply up to 244 diagnostic bytes. For extended diagnostics (byte 7 equals ff in hexadecimal format), bit x3 of byte 0 is at value 1 (x3=1) to indicate the extended diagnostics. Bytes 0 Description x0=1 if the slave is not connected or off x1=1 if the slave is not ready for data exchange x2=1 if slave configuration fault when the test is requested x3=1 if extended diagnostics (byte 7 at ff in hexadecimal format) x4 : not_suppported x4=1 if the function is not supported by the slave x5 : invalid_rsp x5=1 if there is a fault in the last slave response x6 : param_fault x6=1 if there is a fault in the last slave parameter message x7 : master_lock x7=1 if the slave parameters have already been set by another master module 1 x0 : prm_required x0=1 if the slave needs to be reconfigured and the parameters reset x1 : diag_data_rdy x1=1 if slave has generated a diagnostic item to be processed by the master x2 : is_slave_diag x2=0 if the diagnostics have been created by the master x2=1 if the diagnostics have been created by the slave x3 : wdt-active x3=1 if the slave watchdog is active x4 : freeze_mode x4=1 if the inputs of the selected slave are frozen x5 : sync_mode x5=1 if the outputs of the selected slave are frozen x6 not used x7 : inactive x7=1 if the slave is inactive (excluded from processing) 2 x0.. x6 not used x7 : diag_overflow x7=1 if the number of diagnostics is greater than the size of the reception words 3 master_address Address of the master module which sets the slave parameters 4/5 PNO_identifier Slave identification code 6..244 specific_diag Optional specific diagnostic data 16 Structure x0 : not_reachable x1 : not_ready x2 : config_fault x3 : ext_diag Installation of the TSX PBY 100 module under Unity Pro ENGLISH Implicit exchange object of the IODDT of the T_COM_STS_GEN type Meaning of the CH_ERROR error bit (r= rack N°, m=position of the module on the rack, c=channel N°) Standard symbol CH_ERROR Type Access Description EBOOL R Communication channel error bit Number %Ir.m.c.ERR Explicit exchange object of the IODDT of the T_COM_STS_GEN type Explicit exchange execution flags: EXCH_STS Standard symbol STS_IN_PROGR Type Access Description BOOL R CMD_IN_PROGR BOOL R ADJ_IN_PROGR BOOL R Reading of the channel status words in progress. Command parameters exchange in progress. Adjust parameters exchange in progress. Number %MWr.m.c.0.0 %MWr.m.c.0.1 %MWr.m.c.0.2 Explicit exchange report: EXCH_RPT Standard symbol STS_ERR Type Access Description CMD_ERR BOOL R ADJ_ERR BOOL R BOOL R Channel status words reading error. Error during a command parameters exchange. Error during an adjust parameters exchange. Number %MWr.m.c.1.0 %MWr.m.c.1.1 %MWr.m.c.1.2 17 ENGLISH Installation of the TSX PBY 100 module under Unity Pro Channel symbol faults, CH_FLT NO_DEVICE 1_DEVICE_FLT BLK TO_ERR INTERNAL_FLT CONF_FLT BOOL BOOL BOOL BOOL BOOL BOOL COM_FLT APPLI_FLT BOOL R BOOL R 18 R R R R R R No device operating on channel. A device on the channel is faulty. Terminal block fault (not connected). Time out error (faulty wiring). Internal fault or channel self-test. Different hardware and software configurations. Problem communicating with the PLC. Application fault (adjust or configuration fault). %MWr.m.c.2.0 %MWr.m.c.2.1 %MWr.m.c.2.2 %MWr.m.c.2.3 %MWr.m.c.2.4 %MWr.m.c.2.5 %MWr.m.c.2.6 %MWr.m.c.2.7 Installation of the TSX PBY 100 module under Unity Pro ENGLISH Implicit exchange objects of the IODDT of the T_COM_PBY type Meaning of the CH_ERROR error bit Standard symbol CH_ERROR Type Access Description EBOOL R Communication channel error bit. Number %Ir.m.0.ERR Meaning of the status word bits (%IWr.m.0.242) Standard symbol CHAN_FLT Type Access Description MAST_OP_FLT BOOL R BOOL R bit 0 = 1: if bit 8 = 1 or bit 9 = 1 or bit 10 = 1, channel error. bit 8 = 1 Master module operating error (DP_ERROR). bit 9 = 1 PCMCIA card operating error (IOM_ERROR). bit 10 = 1 master module configuration error (CM_ERROR). bit 13 = 1 configuration error. bit 14 = 1 communication error: no communication with the programmable controller. PCMCIA_OP_FLT BOOL R MAST_CONF_FLT BOOL R CONF_FLT COM_FLT BOOL R BOOL R Number %IWr.m.0.242.0 %IWr.m.0.242.8 %IWr.m.0.242.9 %IWr.m.0.242.10 %IWr.m.0.242.13 %IWr.m.0.242.14 Meaning of the status word bits STS_243 (%IWr.m.0.243) Standard symbol BUS_FLT Type Access Description BOOL R MAST_MOD_OP BOOL R IO_FLT BOOL R NEW_MAST_DIAG BOOL R NEW_SLAVE_DIAG BOOL R NEW_SLAVES_DIAG BOOL R bit 7 = 1: hardware fault on the bus (line termination, cabling, connectors, TAP, etc). bit 8 = 1: master module operating. bit 9 = 1: inputs/outputs error (one or more slaves faulty). bit 10 = 1: new diagnostics available for the master module. bit 11 = 1: New diagnostics available for a slave (address provided by bits 0 to 6). bit 12 = 1: new diagnostics received for several slaves. Number %IWr.m.0.243.7 %IWr.m.0.243.8 %IWr.m.0.243.9 %IWr.m.0.243.10 %IWr.m.0.243.11 %IWr.m.0.243.12 19 ENGLISH Installation of the TSX PBY 100 module under Unity Pro Meaning of the diagnostics word bits (%IWr.m.0.244) Standard symbol STS_SLAVE_0 STS_SLAVE_1 STS_SLAVE_n STS_SLAVE_15 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.244.0 %IWr.m.0.244.1 %IWr.m.0.244.n %IWr.m.0.244.15 Status bit of slave 0. Status bit of slave 1. Status bit of slave n. Status bit of slave 15. Meaning of the diagnostics word bits (%IWr.m.0.245) Standard symbol STS_SLAVE_16 STS_SLAVE_17 STS_SLAVE_n STS_SLAVE_31 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.245.0 %IWr.m.0.245.1 %IWr.m.0.245.i %IWr.m.0.245.15 Status bit of slave 16. Status bit of slave 17. Status bit of slave n. Status bit of slave 31. Meaning of the diagnostics word bits (%IWr.m.0.246) Standard symbol STS_SLAVE_32 STS_SLAVE_33 STS_SLAVE_n STS_SLAVE_47 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.246.0 %IWr.m.0.246.1 %IWr.m.0.246.i %IWr.m.0.246.15 Status bit of slave 32. Status bit of slave 33. Status bit of slave n. Status bit of slave 47. Meaning of the diagnostics word bits (%IWr.m.0.247) Standard symbol STS_SLAVE_48 STS_SLAVE_49 STS_SLAVE_n STS_SLAVE_63 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.247.0 %IWr.m.0.247.1 %IWr.m.0.247.i %IWr.m.0.247.15 Status bit of slave 48. Status bit of slave 49. Status bit of slave n. Status bit of slave 63. Meaning of the diagnostics word bits (%IWr.m.0.248) Standard symbol STS_SLAVE_64 STS_SLAVE_65 STS_SLAVE_n STS_SLAVE_79 20 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.248.0 %IWr.m.0.248.1 %IWr.m.0.248.i %IWr.m.0.248.15 Status bit of slave 64. Status bit of slave 65. Status bit of slave n. Status bit of slave 79. Meaning of the diagnostics word bits (%IWr.m.0.249) Standard symbol STS_SLAVE_80 STS_SLAVE_81 STS_SLAVE_n STS_SLAVE_95 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.249.0 %IWr.m.0.249.1 %IWr.m.0.249.i %IWr.m.0.249.15 Status bit of slave 80. Status bit of slave 81. Status bit of slave n. Status bit of slave 95. Meaning of the diagnostics word bits (%IWr.m.0.250) Standard symbol STS_SLAVE_96 STS_SLAVE_97 STS_SLAVE_n STS_SLAVE_111 Type Access Description Number BOOL BOOL BOOL BOOL R R R R %IWr.m.0.250.0 %IWr.m.0.250.1 %IWr.m.0.250.i %IWr.m.0.250.15 Status bit of slave 96. Status bit of slave 97. Status bit of slave n. Status bit of slave 111. Meaning of the diagnostics word bits (%IWr.m.0.251) Standard symbol STS_SLAVE_112 STS_SLAVE_113 STS_SLAVE_n STS_SLAVE_124 MOD_INP_TRANS Type Access Description Number BOOL BOOL BOOL BOOL BOOL R R R R R %IWr.m.0.251.0 %IWr.m.0.251.1 %IWr.m.0.251.i %IWr.m.0.251.12 Status bit of slave 112. Status bit of slave 113. Status bit of slave n. Status bit of slave 124. Transfer of inputs from the module to the PLC processor. Transfer of outputs from the PLC processor to the module. CPU_OUTP_TRANS BOOL R %IWr.m.0.251.14 %IWr.m.0.251.15 Meaning of the MAST_ERR_COD (%IWr.m.0.252) and IO_ERR_COD (%IWr.m.0.253) words Standard symbol MAST_ERR_COD IO_ERR_COD Type Access Description Number INT INT R R %IWr.m.0.252 %IWr.m.0.253 Master module error codes. Inputs/outputs error codes. 21 ENGLISH Installation of the TSX PBY 100 module under Unity Pro Installation of the TSX PBY 100 module under Unity Pro ENGLISH Implicit exchange language objects for a Profibus DP function List of the implicit exchange objects Number %IWr.m.0.0 to %IWr.m.0.241 %QWr.m.0.0 to %QWr.m.0.241 Type Access Meaning INT R 242 DP input words INT R 242 DP output words Language objects associated with the configuration Internal constants Object %KWr.m.0.0 Type INT Access R Meaning bit 0 to bit 15: function code of the TSX PBY 100 module. %KWr.m.0.1 %KWr.m.0.2 INT INT R R Number of %IW and %QW updated (32,64,128,242). - bit 0 = 0 : outputs set to zero, - bit 0 = 1: maintained outputs. 22 Installation of the TSX PBY 100 module under Unity Pro ENGLISH Error codes of the TSX PBY 100 module Master module (MAST_ERR_COD) Symbol E_CFG_DATA_SIZE E_CFG_IO_IMAGE_SIZE E_CFG_N_SLAVES E_CFG_MASTER_ADDRESS E_CFG_BAUD_RATE E_CFG_BUS_PARAM E_CFG_NODE_ID E_CFG_SLAVE_IN_SIZE E_CFG_SLAVE_OUT_SIZE E_CFG_AAT_DATA E_CFG_AAT_OVERLAP E_CFG_CNF_TIMEOUT E_CFG_INIT_FMB E_CFG_INIT_MASTER E_CFG_LOAD_BUSPAR E_CFG_SET_OPMODE E_CFG_LOAD_SLAVE E_CFG_MASTER_DIAG E_CFG_DUP_ADDR E_CFG_TAP_FAULT Value 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 Description Size of configuration data block invalid Size of I/O images invalid Number of slaves invalid Address of master module invalid Transmission speed invalid Bus parameters invalid Address invalid or already exists Slave input data size invalid Slave output data size invalid Size/offset combination of I/O data invalid I/O data overlap Timeout on confirmation waiting time Cannot initialize PCMCIA card Cannot initialize master module Cannot load module bus parameters Cannot switch into operating mode Cannot load slave configuration Cannot read master module diagnostics Bus address already exists Fault between the PCMCIA card and the TAP Managing the TSX PBY 100 module inputs/outputs Symbol E_OK E_INIT E_NO_CONFIG E_INVALID_CONFIG E_INVALID_PARAM E_INVALID_STATE E_ACCESS E_NO_RESSOURCES E_SEND E_RECEIVE E_STATE E_SERVICE Value 0 1 2 3 4 5 6 7 8 9 10 11 Description No error Initialization error No configuration data Invalid configuration data Invalid parameters Slave state does not allow the request to be carried out No exchange on X Bus No resources available Cannot send message to PCMCIA card Cannot receive message from PCMCIA card Invalid state Invalid service code (Uni-telway request and facility) 23 ENGLISH Installation of the TSX PBY 100 module under Unity Pro IODDT T_GEN_MOD applicable to all modules IODDT objects Standard symbol MOD_ERROR EXCH_STS STS_IN_PROGR EXCH_RPT STS_ERR Type Access Meaning Number EBOOL INT BOOL INT EBOOL R R R R R %Ir.m.MOD.ERR %MWr.m.MOD.0 %MWr.m.MOD.0.0 %MWr.m.c.1 MOD_FLT MOD_FAIL CH_FLT BLK CONF_FLT INT EBOOL EBOOL EBOOL EBOOL R R R R R NO_MOD EBOOL R 24 Module error bit. Channel exchange control word. Upcount channel error bit. Exchange report word. Error during reading of channel status words. Module internal error word. Internal fault, module failure. Channel(s) faulty. Terminal block fault. Hardware or software configuration fault. Module missing or off. %MWr.m.MOD.1.0 %MWr.m.MOD.2 %MWr.m.MOD.2.0 %MWr.m.MOD.2.1 %MWr.m.MOD.2.2 %MWr.m.MOD.2.5 %MWr.m.MOD.2.6 Spezifischer Teil. Gemeinsamer Teil. Inhaltsverzeichnis Allgemeine Sicherheitsvorschriften für den Benutzer 2 Modul PROFIBUS-DP PBY 100 4 Kenndaten Normkonformität Stromversorgung/Betriebsbedingungen Anzeigebaustein Beschreibung Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Sprachobjekte PROFIBUS-DP Sprachobjekte Modul TSX PBY 100 Fehlercodes der Ein-/Ausgänge Fehlercodes des Master-Moduls Diagnosebefehle Liste der Diagnosen Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Objekt mit implizitem Austausch des IODDT des Typs T_COM_STS_GEN Objekte mit explizitem Austausch des IODDT des Typs T_COM_STS_GEN Objekte mit implizitem Austausch des IODDT des Typs T_COM_PBY Sprachobjekte mit implizitem Austausch für eine Profibus-DP-Funktion Mit der Konfiguration verbundene Sprachobjekte Fehlercodes des Moduls TSX PBY 100 L’IODDT T_GEN_MOD auf alle Module anwendbar 4 4 5 6 7 7 7 8 8 9 9 10 11 12 13 14 17 17 17 19 22 22 23 24 1 DEUTSCH Beschreibung Beschreibung der Hardware Belegung der Steckbuchse Einbau des Moduls Allgemeine Sicherheitsvorschriften für den Benutzer DEUTSCH 1 Allgemeines Diese Dokumentation wendet sich an Personen, die die erforderliche technische Qualifikation für die Inbetriebnahme, den Betrieb und die Wartung der nachfolgend beschriebenen Produkte besitzen. Zusätzliche Informationen für spezielle Einsatzformen der Produkte sind über die nächstliegende ASA-Niederlassung erhältlich. Der Inhalt der vorliegenden Dokumentation hat keinen vertragsmäßigen Charakter und kann in keinem Fall die vertraglich festgelegten Garantieklauseln erweitern oder einschränken. 2 Qualifizierung des Personals Nur qualifiziertes Personalist zur Inbetriebnahme, zum Betrieb oder zur Wartung der Produkte befugt. Der Eingriff einer nicht qualifizierten Person oder das Nichtbeachten der in diesem Dokument enthaltenen oder an den Geräten angebrachten Sicherheitsvorschriften kann schwerwiegende Folgen für die Sicherheit des Betriebspersonals und der Anlagen nach sich ziehen. 3 Warnungen Warnungen weisen auf besondere Risiken hin, denen das Bedienungspersonal oder die Geräte ausgesetzt sein können. Sie werden in der Dokumentation und auf den Produkten durch ein Warnungszeichen hervorgehoben: Vorsicht bedeutet, daß die Nichtanwendung der Vorschrift oder das Nichtbeachten der Warnung zu schweren körperlichen, unter Umständen lebensgefährlichen Verletzungen und/oder beträchtlichem Materialschaden führt oder führen kann. Wichtig oder ! weist auf eine besondere Vorschrift hin, deren Nichtanwendung leichte körperliche Verletzungen und/oder Materialschäden herbeiführen kann. Hinweis hebt eine wichtige Information hervor, die das Produkt, seine Handhabung oder seine begleitende Dokumentation betrifft. 4 Konformität der Verwendung Die in dieser Dokumentation beschriebenen Produkte entsprechen den Anforderungen der einschlägigen europäischen Richtlinien (*) (CE-Siegel). Ihre korrekte Anwendung beschränkt sich auf die in den verschiedenen Dokumentationen beschriebenen Applikationen, für die sie entwickelt wurden, und nur in Verbindung mit genehmigten Fremdprodukten. (*) Richtlinien bezüglich der elektromagnetischen Kompatibilität und der Auslegung von Niederspannungsgeräten. 5 Installation und Inbetriebnahme der Geräte Bei Installation und Inbetriebnahme der Geräte müssen die nachfolgend beschriebenen Regeln beachtet werden. Außerdem müssen, wenn die Installation digitale Signalverbindungen enthält, die im Benutzerhandbuch Bestellnr. TSX DG KBLG erläuterten elementaren Verkabelungsregeln befolgt werden. • Die Sicherheitsvorschriften in der Dokumentation oder auf den zu installierenden oder in Betrieb zu nehmenden Geräten müssen genauestens eingehalten werden. • Die Art der Installation hängt vom jeweiligen Gerätetyp ab: - ein für Schalttafelmontage vorgesehenes Gerät (zum Beispiel ein Bedienterminal) muß in eine Schalttafel eingebaut werden, - ein einbaubares Gerät (zum Beispiel eine programmierbare Steuerung) muß in einen Schaltschrank oder ein Gehäuse eingebaut werden, - ein Tischgerät oder ein tragbares Gerät (zum Beispiel ein Programmiergerät oder ein Notebook) muß in seinem geschlossenen Gehäuse bleiben. 2 • Wenn das Gerät permanent angeschlossen ist, muß in der elektrischen Installation eine Vorrichtung für die Versorgungstrennung und ein Sicherungsschalter zum Schutz vor Überströmen und Isolierfehlern vorgesehen werden. Andernfalls ist der Netzstecker zu erden und leicht zugänglich zu machen.Das Gerät muß an die Schutzerde angeschlossen werden. • Bei einer 24- oder 48-V-Gleichstromversorgung des Geräts müssen die Niederspannungs-schaltkreise geschützt werden. Es dürfen nur Versorgungen verwendet werden, die den bestehenden Normen entsprechen. • Es muß sichergestellt werden, daß die Versorgungsspannungen innerhalb der in den technischen Kenndaten der Geräte definierten Toleranzbereiche liegen. • Es müssen alle erforderlichen Maßnahmen getroffen werden, um zu verhindern, daß bei Netzwiederkehr (Sofort-, Warm- oder Kaltstart) ein Gefahrenzustand für das Bedienpersonal oder für die Anlage eintritt. • Die Not-Ausschaltkomponenten müssen in allen Betriebsarten des Geräts, selbst in Störungssituationen (zum Beispiel Drahtbruch) funktionsfähig bleiben. Das Wiedereinschalten dieser Komponenten darf keine unkontrollierten oder undefinierten Neustarts hervorrufen. • Die Signalkabel müssen so verlegt werden, daß die Steuerungsfunktionen nicht durch kapazitive, induktive oder elektromagnetische u.a. Einflüsse gestört werden. • Die Steuerungsgeräte und ihre Bedienungselemente müssen so installiert werden, daß sie vor versehentlicher Betätigung geschützt sind. • Um zu vermeiden, daß eine Unterbrechung der Geber-/Stellsignale undefinierte Zustände in der Steuerungsanlage hervorruft, sind entsprechende Sicherheitsvorkehrungen für die Ein- und Ausgänge zu treffen. 6 Betrieb der Geräte Die Funktionssicherheit einer Anlage charakterisiert sich durch ihre Fähigkeit, Ausfälle weitestgehend zu vermeiden und deren Auswirkungen nach ihrem eventuellen Auftreten einzuschränken. Steuerungsinterne Fehler werden folgendermaßen klassifiziert: • Passive Fehler, wenn sie einen Ausgang ausschalten (den Stellgliedern wird keinerlei Befehl erteilt). • Aktive Fehler, wenn sie einen Ausgang einschalten (den Stellgliedern wird ein bestimmter Befehl erteilt). Das mit dem jeweiligen Fehlertyp verbundene Sicherheitsrisiko ist eine Funktion der Art des bei Normalbetrieb gegebenen Befehls. Ein passiver Fehler ist gefährlich, wenn der normale Befehl eine Alarmaktion darstellt; ein aktiver Fehler ist gefährlich, wenn er einen unerwünschten Befehl enthält oder aktiviert. Bei Systementwurf muß steuerungsinternen aktiven (signalisierten oder nicht signalisierten) Fehlern durch außerhalb der programmierbaren Steuerung installierte Sicherheitsfunktionen vorgebeugt werden. 7 Elektrische und thermische Kenndaten Detaillierte elektrische und thermische Kenndaten der Geräte finden sich in den jeweiligen technischen Dokumentationen (Inbetriebnahmehandbuch, Bedienungsanleitung). 8 Wartung Reparaturen • Die Reparaturen an einem Steuerungsgerät dürfen nur durch qualifiziertes Personal ausgeführt werden (Kundendiensttechniker oder autorisierter Techniker von Schneider-Automation). Beim Ersatz von Teilen oder Komponenten sind ausschließlich Originalteile zu verwenden. • Vor dem Eingriff bei einem Gerät müssen in jedem Falle dessen Versorgung unterbrochen und die beweglichen Anlagenteile mechanisch durch eine Sperre arretiert werden. Auswechseln und Recycling gebrauchter Batterien • Verwendet werden sollen Batterien vom gleichen Typ wie die Originalbatterien. Defekte Batterien müssen als Giftmüll entsorgt werden. 3 DEUTSCH Allgemeine Sicherheitsvorschriften für den Benutzer Modul PROFIBUS-DP TSX PBY 100 Beschreibung Das Modul TSX PBY 100 ist ein Anschaltmodul PROFIBUS-DP-Master für Steuerungen der Reihe Premium TSX/PMX/PCX57•• 2 (ab Version V3.0),TSX/PCX57•• 3 oder TSX/PCI 57•• 4. DEUTSCH Das Modul TSX PBY 100 belegt einen Steckplatz in einem Standardrack oder in der Erweiterung einer Steuerungsstation vom Typ PREMIUM. Es funktioniert mit folgenden Steuerungen: • • • • • • • TSX 57-20/25 (nur ein Modul möglich), TSX/PMX/PCX 573•2/4•2/5•2 (ab Version V3.3 zwei Module möglich), TSX/PCX573•3/4•3/5•3 (2 Module möglich), TSX/PCI 572•4/2634 (nur ein Modul möglich), TSX/PCI 57 3•4/3634 (3 Module möglich), TSX/PCI 57454/4634 (4 Module möglich), TSX/PCI 57554/5634 (5 Module möglich). Folgende Baugruppentypen (E/A-Module) können an den PROFIBUS-DP angeschaltet werden: • Kompakte Slaves der Reihe Classic TIO: klassische digitale Ein-/Ausgänge • Modulare Slaves der Reihe DEA203, • Modulare Slaves der Reihe Momentum: - digitale Eingänge, - digitale Ausgänge, - digitale Ein-/Ausgänge, - analoge Ein-/Ausgänge. Beschreibung der Hardware Der Datenaustausch mit den Baugruppen des Feldbusses PROFIBUS-DP erfolgt unter Verwendung folgender Komponenten: • dem Modul TSX PBY 100 (1) mit: - einem Anzeigebaustein mit 5 LEDs (2), - einem freien Steckplatz für eine PCMCIAKarte (3), • einer PCMCIA-Karte für den PROFIBUSDP (4), • einem Verbindungskabel (Länge 0,6 m) für den Anschluß an eine Abzweigdose (5), • einer Abzweigdose PROFIBUS-DP TAP (6) für die Anbindung an den PROFIBUS-DP. 4 Modul PROFIBUS-DP TSX PBY 100 Belegung der Steckbuchse Pinbelegung des PROFIBUS-DP-Busses (9pol. Steckbuchse Sub-D, Typ RS485): Abschirmung M24: Masse der Ausgangsspannung 24V RxD/TxD-P: Pluspol Datentransfer (RD+ / TD+) CNTR-P: Pluspol Kontrollsignal Repeater (Richtungskontrolle): nicht benutzt DGND: Masse Datentransfer VP: Polarisierungsspannung des Abschlußwiderstands P24: 24-V-Ausgangsspannung RxD/TxD-N: Minuspol Datentransfer (RD- / TD-) CNTR-N: Minuspol Kontrollsignal Repeater (Richtungskontrolle): nicht benutzt DEUTSCH 1 2 3 4 5 6 7 8 9 Hinweis: Die Signale RxD/TxD-P, DGND, VP, RxD/TxD-N sind obligatorisch, die anderen optional. 5 Modul PROFIBUS-DP TSX PBY 100 Einbau des Moduls 3 DEUTSCH 2 1 1 Die Haken an der Rückseite des Moduls in die unteren Zentrierlöcher des Racks einsetzen ( 1 ). 3. Das Modul mittels der oberen Schraube am Rack festschrauben ( 3 ). 2 Anschließend das Modul nach oben und an das Rack heranschwenken ( 2 ). 5 4 4 Die Karte in den hierfür vorgesehenen Steckplatz einsetzen ( 4 ). 6 Kabel an die Abzweigung TAP anbringen ( 6 ). 5 Karte festschrauben, um eine einwandfreie Funktion zu gewährleisten und evtl. Eingriffen vorzubeugen ( 5 ). 7 Stecker festschrauben, um eine einwandfreie Verbindung sicherzustellen und evtl. Eingriffen vorzubeugen ( 7 ). Die Kommunikationskarte darf nicht gesteckt oder gezogen werden, solange das Trägermodul mit Strom versorgt wird. Der TAP darf nicht angeschlossen oder entfernt werden, solange das Trägermodul mit Strom versorgt wird. 6 Kenndaten Normkonformität Das Modul TSX PBY 100 entspricht folgenden internationalen Normen und Standards: EG-Normen IEC 1131-2 / CENLEC (50081-2) US-Normen UL508 KANADISCHE Normen CSA C22.-142 DEUTSCH Es wurde in Konformität mit folgenden Standards entwickelt: Klassifizierung Germanischer Lloyd Handelsmarine Det Norsk Veritas Bureau Veritas Lloyds register US-Normen FM, Class 1.Div.II. Stromversorgung / Betriebsbedingungen Versorgung VDC 5 VDC über Stromversorgung des Racks Stromaufnahme bei 5 V 400 mA Betriebstemperatur 0°C bis +60°C (IEC 1131-2=+5°C bis +55°C) Rel. Luftfeuchte (nicht kondensierend) 30% bis 95% Betriebshöhe <2000 m Immunität gegenüber Vibrationen entsprechend der Norm IEC 68-2-6, Test Fc Elektrostatische Entladungen HF-Störungen Erschütterungen entsprechend der Norm IEC 68-2-27, Test Ea Immun. gegenüber elektrostatischen Entladungen entsprechend der Norm IEC 1000-4-2, Niveau 3 Immun. gegenüber elektromagnetischen Feldern entsprechend der Norm IEC 1000-4-3, Niveau 3 Immun. gegenüber kurzzeitiger Überspannung entsprechend der Norm IEC 1000-4-4, Niveau 3 NF-Störungen Immun. gegenüber gedämpften Wellen entsprechend der Norm IEC 1000-4-12, Niveau 3 entsprechend den Richtlinien der Norm IEC 1131-2 7 Anzeigebaustein Beschreibung Der Anzeigebaustein an der Frontseite des Moduls informiert über den Status des Geräts und des Netzwerkes PROFIBUS-DP. ERR I/O DEUTSCH RUN CH0 LEDs Leuchtet RUN Modul TSX PBY 100 bereit: - Selbstdiagnose-Tests erfolgreich - PROFIBUS-DP bereit Modul nicht initialisiert (wartet auf Konfiguration) Störung des Bus Modul wartet auf oder Konfiguration oder Konfigurationsfehler lädt (falls RUN oder erloschen) Störung des Moduls TSX PBY 100 Kommunikationsfehler mit CPU der Steuerung (falls RUN leuchtet) Störung bei einer oder mehreren SlaveBaugruppen Keine Fehler (alle Slaves aktiv) E/A-Datenaustausch Kein E/A-Datenaustausch grün ERR rot I/O rot CH0 gelb 8 Blinkt Erloschen oder Keine Fehler Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Sprachobjekte PROFIBUS-DP Funktion Kanalfehler DP-Eingangsworte Status PBY Bedeutung Bit auf 1 bei Kanalfehler 242 DP-Eingangsworte x0 = 1 x0..x15 Wenn x8=1 oder x9=1 oder x10=1, Kanalfehler Funktionsstörung des Master-Moduls (DP_error) Funktionsstörung der PCMCIA-Karte (IOM_error) Konfigurationsfehler des Master-Moduls (CM_error) Konfigurationsfehler Kommunikationsstörung: keine Kommunikation mit der SPS Adr. des zuletzt diagnostizierten Slaves Störung Bus-Hardware (Abschlußwiderstand, Verkabelung, Anschlüsse, Abzweigung,...) Master-Modul in Betrieb E/A-Fehler (ein/mehrere Slaves fehlerhaft) Neue Diagnose des Master-Moduls verfügbar Neue Diagnosedaten eines Slaves verfügbar (Adr. gegeben durch x0..x6) Neue Diagnosedaten von mehreren Slaves empfangen Code des letzten Verwaltungsereignisses (Bus off-line, Kommunikationsstörung zwischen Master-Baugruppen,...) Statusbits der Slaves 0 bis 15 x0..x15 Statusbits der Slaves 16 bis 31 x0..x15 Statusbits der Slaves 32 bis 47 x0..x15 Statusbits der Slaves 48 bis 63 x0..x15 Statusbits der Slaves 64 bis 79 x0..x15 Statusbits der Slaves 80 bis 95 x8 = 1 x9 = 1 x10 = 1 x13 = 1 x14 = 1 %IWm.0.243 I Status PBY x0..x6 x7 x8 = 1 x9 = 1 x10 = 1 x11 = 1 x12 = 1 x13..x15 %IWm.0.244 I %IWm.0.245 I %IWm.0.246 I %IWm.0.247 I %IWm.0.248 I %IWm.0.249 I Diagnosticsbitmap Diagnosticsbitmap Diagnosticsbitmap Diagnosticsbitmap Diagnosticsbitmap Diagnosticsbitmap 9 DEUTSCH Objekte %Im.0.ERR I %IWm.0.0 bis I 241 %IWm.0.242 I Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Objekte %IWm.0.250 DEUTSCH %IWm.0.251 I I %IWm.0.252 I %IWm.0.253 I %QWm.0.0 I bis 241 %QWm.0.242 I bis 253 %MWm.0.0 %MWm.0.1 %MWm.0.2 %KWm.0.0 %KWm.0.1 %KWm.0.2 Funktion Diagnosticsbitmap Diagnosticsbitmap Bedeutung x0..x15 Statusbits der Slaves 96 bis 111 Statusbits der Slaves 112 bis 124 Transfer der Eingänge des Moduls zur CPU der Steuerung x15 Transfer der Ausgansdaten des Prozessors an das Anschaltmodul CM_error Fehlercode des Master-Moduls Code (siehe Liste der Fehlercodes) IOM_error Fehlercode der Ein-/Ausgänge Code (siehe Liste der Fehlercodes) DP-Ausgangs- 242 DP-Ausgangsworte worte reserviert Austausch läuft reserviert reserviert Funktionsbaustein PBY Größe %IW und %QW Konfigurationsbits x0..x12 x14 x15 = 1 Neukonfiguration läuft x0..x15 Funktionscode PBY 100 Anzahl aktualisierter %IW und %QW (32, 64, 128, 242) x0 = 0 Ausgang auf null setzen x0 = 1 Ausgang halten I : impliziter Datenaustausch (autom. Aktualisierung der Eingänge bei Taskbeginn und autom. Aktualisierung der Ausgänge bei Taskende ) E : expliziter Datenaustauch (Aktualisierung nach Benutzer-Request) Sprachobjekte Modul TSX PBY 100 Objekte %Im.MOD.ERR I %MW m.MOD.0 E %MWm.MOD.1 E 10 Funktion Störung Modul Austausch läuft reserviert Bedeutung Bit bei Modulstörung auf 1 gesetzt (mind. ein Kanal fehlerhaft, ...) x0 = 1 Status wird gelesen Objekte %MWm.MOD.2 E Funktion Modulstatus Bedeutung x0 = 1 Modul defekt x1 = 1 Funktionsfehler (Kommunikationsfehler zwischen Prozessor und Modul (Befehls-, Einstell- oder Konfigurationswert wird nicht akzeptiert,...) x5 = 1 Hardware- oder Softwarefehler (das vorhandene Modul entspricht nicht dem der Konfiguration, Inkompatibilität der Module) x6 = 1 Modul nicht vorhanden I: impliziter Datenaustausch (autom. Aktualisierung der Eingänge bei Taskbeginn und autom. Aktualisierung der Ausgänge bei Taskende ) E: expliziter Datenaustauch (Aktualisierung nach Benutzer-Request) Fehlercodes der Ein-/Ausgänge (%IWm.0.253) Symbole E_OK E_INIT E_NO_CONFIG E_INVALID_CONFIG E_INVALID_PARAM E_INVALID_STATE E_ACCESS E_NO_RESSOURCES E_SEND E_RECEIVE E_STATE E_SERVICE Wert 0 1 2 3 4 5 6 7 8 9 10 11 Beschreibung Kein Fehler Initialisierungsfehler Keine Konfigurationsdaten vorhanden Ungültige Konfigurationsdaten Ungültige Parameter Der Slave-Status läßt kein Request zu Kein Datenaustausch auf BusX Keine Ressourcen verfügbar Keine Übertragung zur PCMCIA-Karte möglich Kein Empfang von der PCMCIA-Karte möglich Ungültiger Status Ungültiger Service-Code (ungültiger UNI-TELWAYRequest und -Dienst) 11 DEUTSCH IInbetriebnahme des Moduls TSX PBY 100 unter PL7 Inbetriebnahme des Moduls TSX PBY 100 unter PL7 DEUTSCH Fehlercodes des Master-Moduls (%IWm.0.252) Symbole E_CFG_DATA_SIZE E_CFG_IO_IMAGE_SIZE E_CFG_N_SLAVES E_CFG_MASTER_ADDRESS E_CFG_BAUD_RATE E_CFG_BUS_PARAM E_CFG_NODE_ID E_CFG_SLAVE_IN_SIZE E_CFG_SLAVE_OUT_SIZE E_CFG_AAT_DATA Wert 101 102 103 104 105 106 107 108 109 110 E_CFG_AAT_OVERLAP E_CFG_CNF_TIMEOUT E_CFG_INIT_FMB E_CFG_INIT_MASTER E_CFG_LOAD_BUSPAR 111 112 113 114 115 E_CFG_SET_OPMODE 116 E_CFG_LOAD_SLAVE E_CFG_MASTER_DIAG 117 118 E_CFG_DUP_ADDR E_CFG_TAP_FAULT 12 119 120 Beschreibung Ungültige Größe der Konfigurationsdatenblöcke Ungültige Größe der E/A-Abbilder Ungültige Anzahl Slaves Adresse des Master-Moduls ungültig Ungültige Übertragungsrate Ungültige Busparameter Ungültige oder bereits vorhandene Adresse Ungültige Eingangsdatengröße des Slaves Ungültige Ausgangsdatengröße des Slaves Ungültige Kombination Größe/Offset der E/ADaten Überschneidung der E/A-Daten Überschreitung der Wartezeit zur Bestätigung Initialisierung der PCMCIA-Karte nicht möglich Initialisierung des Master-Moduls nicht möglich Bus-Parameter des Moduls können nicht geladen werden Keine Umschaltung in den Betriebsmodus möglich Slave-Konfiguration kann nicht geladen werden Diagnosen des Master-Moduls können nicht gelesen werden Bus-Adresse bereits vorhanden Störung zwischen PCMCIA-Karte und Abzweigdose TAP Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Diagnosebefehle Das Senden eines Diagnosebefehls erfolgt mittels des FunktionsbausteinsSEND_REQ. SEND_REQ( ADR#rm.v, 16#0031, %MWi:3, %MWj:L, %Mwk:4) %MWi:x14 %MWi:x15 %MWj:L j L %MWk:4 Nummer des Racks Nummer des Moduls Nummer des Kanals (0 für PROFIBUS-DP) Code für den Request Parameter des Requests % M W iDiagnosetyp %MWi:x0..x8 0..125 Diagnose des Slaves x 126 Liste der verfügbaren Diagnosen 127 Kurzdiagnose aller Slaves 128 Diagnose des Master-Moduls 129 Zähler Diagnosen insgesamt 130 Zähler fehlerhafte Datenaustausche 131 Nichtverfügbarkeitszähler 132 Zähler ungültige Antworten %MWi:x9 reserviert %MWi:x10 reserviert %MWi:x11 reserviert %MWi:x12 wenn aktiviert, Lesen der durch %MWi:x0..x8 ausgewählten Konfigurationsdaten des Slaves %MWi:x13 wenn aktiviert, Lesen der durch %MWi:x0..x8 ausgewählten Informationen des Slaves wenn aktiviert, Reinitialisierung der Liste der verfügbaren Diagnosen oder der durch %MWi:x0..x8 (=126, 129 bis 132) spezifizierten Zähler wenn aktiviert, Lesen der Liste der verfügbaren Diagnosen oder der durch %MWi:x0..x8 (=126, 129 bis 132) spezifizierten Zähler ohne Zurücksetzen auf null %MWi+1 Startadresse in der Diagnosetabelle (1) %MWi+2 Länge der zu lesenden Diagnose PL7-Kontrollwörter, in denen die Antworten gespeichert werden Nummer des ersten Wortes Anzahl der Wörter Vier Wörter, welche die Adresse der PL7-Daten kennzeichnen, die zur Steuerung der Funktion dienen k Status des Datenaustauschs DEUTSCH r m v 16#0031 %MWi:3 (1)Standardwert 0. Für den Zugriff auf einen bestimmten Teil der Diagnosetabelle kann in der Tabelle ein Anfangswort angegeben werden (Start-Offset). 13 Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Liste der Diagnosen DEUTSCH Diagnosedaten des Masters Bytes Struktur 0/1 Operating_mode null, clear) 2/3 Beschreibung Betriebsart des Masters (Byte 0: niederwertig; Byte 1: hochwertig) Werte: 00h off-line (Initialisierung) 40h stop (bereit für Empfang der Konfiguration) 80h Fehlermodus Ausgänge (Ausg. auf C0h in Betrieb PNO_identifier Identifikations-Code des Masters gemäß PROFIBUSCode (Byte 2: niederwertig; Byte 3: hochwertig) 1654h für das Modul PBY 100 4 PC card Hardwareversion der PCMCIA-Karte gemäß hardware version PROFIBUS-Code Werte: 10h Version V1.0 XYh Version VX.Y FFh keine oder ungültige Karte 5 PC card Softwareversion der PCMCIA-Karte gemäß firmware version PROFIBUS-Code Werte: 10h Version V5.02E 11h Version V5.02F XYh Version V5.XY FFh keine oder ungültige Karte 6 PBY Hardwareversion des Moduls TSX PBY 100 hardware version Werte: 10h Version V1.0 XYh Version VX.Y 7 PBY Softwareversion des Moduls TSX PBY 100 firmware version Werte: 10h Version V1.0 XYh Version VX.Y 8 PBY IE Aktualisierungsindex der Modul-Software TSX PBY 100 version Werte: 04h Version IE 04 XYh Version IE XY 9..15 PC card firmware Softwareversion der PCMCIA-Karte im ASCII-Modus version (ASCII) 14 Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Liste der verfügbaren Diagnosen Diese Tabelle listet die Diagnosebits auf. Ein Bit pro Slave gibt jeweils Auskunft über die Verfügbarkeit neuer Diagnosdaten seitens der Slaves. Struktur x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x13 x14, x15 Beschreibung neue Diagnosdaten der Slaves 0 bis 15 neue Diagnosdaten der Slaves 16 bis 31 neue Diagnosdaten der Slaves 32 bis 47 neue Diagnosdaten der Slaves 48 bis 63 neue Diagnosdaten der Slaves 64 bis 79 neue Diagnosdaten der Slaves 80 bis 95 neue Diagnosdaten der Slaves 96 bis 111 neue Diagnosdaten der Slaves 112 bis 124 nicht benutzt DEUTSCH Bytes 0 1 2 3 4 5 6 7 Kurzdiagnose aller Slaves Diese Diagnosetabelle enthält die wichtigsten Diagnosedaten für jeden Slave. Die Größe dieser Tabelle beträgt stets 126 Bytes, wobei Byte 0 Slave 1 und Byte 126 Slave 125 entspricht. Jedes Byte entspricht der Adresse eines Slaves und gibt die gleichen Diagnoseinformationen wieder. Bytes 0..125 Struktur x0: not_reachable x1: not_ready x2: config_fault x3: prm_required x4 : inactive x5 : invalid_rsp x6 : param_fault x7 : master_lock Beschreibung x0=1: Slave x ausgeschaltet oder nicht angeschlossen x1=1: Slave x für den Datenaustausch nicht bereit x2=1: Konfigurationsfehler des Slaves x bei Testanforderung x3=1: Slave x muß erneut konfiguriert und parametriert werden x4=1: Slave x ist inaktiv (von der Verarbeitung ausgeschlossen) x5=1: Fehler während der letzten Antwort von Slave x x6=1: Fehler während der letzten Parametrierung des Slaves x x7=1: Slave x wurde bereits durch ein anderes Master-Modul parametriert 15 Inbetriebnahme des Moduls TSX PBY 100 unter PL7 Diagnosdaten der Slaves Lediglich die ersten sechs Diagnosebytes sind standardisiert und obligatorisch. Ein Slave kann bis zu 244 Diagnosebytes senden. Im Falle einer erweiterten Diagnose (Byte 7 gleich ff in hexadezimal) wird dies durch das Bit x3 von Byte 0 angezeigt, indem es den Wert 1 (x3=1) annimmt. DEUTSCH Bytes 0 Struktur x0 : not_reachable x1 : not_ready x2 : config_fault x3 : ext_diag x4 : not_supported x5 : invalid_rsp x6 : param_fault x7 : master_lock 1 x0 : prm_required x1 : diag_data_rdy x2 : is_slave_diag x3 : wdt_active x4 : freeze_mode x5 : sync_mode x6 x7 : inactive 2 x0.. x6 x7 : diag_overflow 3 4/5 6..244 master_address PNO_identifier specific_diag 16 Beschreibung x0=1: Slave ist ausgeschaltet oder nicht angeschlossen x1=1: Slave für den Datenaustausch nicht bereit x2=1 Konfigurationsfehler des Slaves bei Testanforderung x3=1 erweiterte Diagnose (Byte 7 gleich ff in hex.) x4=1: Funktion vom Slave nicht unterstützt x5=1: Fehler bei der letzten Antwort des Slaves x6=1: Fehler bei der letzten Parametrierung des Slaves x7=1: Slave wurde bereits durch ein anderes MasterModul parametriert x0=1: Slave muß neu konfiguriert und parametriert werden x1=1: Slave hat eine für den Master bestimmte Diagnose generiert x2=0: Diagnose wurde durch den Master erstellt x2=1: Diagnose wurde durch den Slave erstellt x3=1: Watchdog des Slaves aktiv x4=1: Eingänge des ausgewählten Slaves sind eingefroren x5=1: Ausgänge des ausgewählten Slaves sind eingefroren nicht benutzt x7=1: Slave inaktiv (von der Verarbeitung ausgeschlossen) nicht benutzt x7=1: die Anzahl der Diagnosen die Größe der Empfangswörter überschreitet Adresse des Master-Moduls, das den Slave parametriert Identifikations-Code des Slaves Spezifische optionale Diagnosedaten Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Objekt mit implizitem Austausch des IODDT des Typs T_COM_STS_GEN Bedeutung des Fehlerbits CH_ERROR (r = Racknummer, m = Modulpsoition im Rack, c = Kanalnummer) Typ Zugriff Beschreibung EBOOL R Fehlerbit des Kommunikationskanals Variable %Ir.m.c.ERR Objekte mit explizitem Austausch des IODDT des Typs T_COM_STS_GEN Ausführungsindikator eines expliziten Austausches: EXCH_STS Standardsymbol STS_IN_PROGR Typ Zugriff Beschreibung BOOL R CMD_IN_PROGR BOOL R ADJ_IN_PROGR BOOL R Statuswörter des Kanals werden ausgetauscht. Befehlsparameter werden ausgetauscht. Einstellparameter werden ausgetauscht. Variable %MWr.m.c.0.0 %MWr.m.c.0.1 %MWr.m.c.0.2 Rückmeldung des expliziten Austausches: EXCH_RPT Standardsymbol STS_ERR Typ Zugriff Beschreibung CMD_ERR BOOL R ADJ_ERR BOOL R BOOL R Lesefehler der Statuswörter des Kanals Fehler beim Austausch der Befehlsparameter Fehler beim Austausch der Einstellparameter Variable %MWr.m.c.1.0 %MWr.m.c.1.1 %MWr.m.c.1.2 17 DEUTSCH Standardsymbol CH_ERROR Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Standardkanalfehler, CH_FLT NO_DEVICE BOOL R 1_DEVICE_FLT BOOL R BLK BOOL R DEUTSCH TO_ERR BOOL R INTERNAL_FLT BOOL R CONF_FLT BOOL R COM_FLT BOOL R APPLI_FLT BOOL R 18 Kein funktionierendes Gerät am Kanal %MWr.m.c.2.0 Fehler eines Gerätes am Kanal %MWr.m.c.2.1 Klemmleistenfehler (nicht angeschlossen) %MWr.m.c.2.2 Timeout-Fehler (schadhafte Verdrahtung) %MWr.m.c.2.3 Interner Fehler oder Fehler beim Autotest des Kanals %MWr.m.c.2.4 Unterschiedliche Hardware- und Software-konfigurationen %MWr.m.c.2.5 Konfigurationsfehler mit der Steuerung %MWr.m.c.2.6 Anwendungsfehler (Einstellungsoder Konfigurationsfehler) %MWr.m.c.2.7 Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Objekte mit implizitem Austausch des IODDT des Typs T_COM_PBY Standardsymbol CH_ERROR Typ Zugriff EBOOL R Beschreibung Variable Fehlerbit des Kommunikations -kanals %Ir.m.0.ERR Bedeutung der Bits des Statuswortes (%IWr.m.0.242) Standardsymbol CHAN_FLT Typ Zugriff Beschreibung MAST_OP_FLT BOOL R BOOL R Bit 0 = 1: wenn Bit 8 = 1 oder Bit 9 = 1 oder Bit 10 = 1, Kanalfehler Bit 8 = 1 Fehler beim Betrieb des Master-Moduls (DP_error) Bit 9 = 1 Fehler beim Betrieb der PCMCIA-Karte (IOM_error) Bit 10 = 1 Konfigurationsfehler des Master-Moduls (CM_error) Bit 13 = 1 Konfigurationsfehler Bit 14 = 1 Kommunikationsfehler: keine Kommunikation mit der SPS PCMCIA_OP_FLT BOOL R MAST_CONF_FLT BOOL R CONF_FLT COM_FLT BOOL R BOOL R Variable %IWr.m.0.242.0 %IWr.m.0.242.8 %IWr.m.0.242.9 %IWr.m.0.242.10 %IWr.m.0.242.13 %IWr.m.0.242.14 Bedeutung der Bits des Statuswortes STS_243 (%IWr.m.0.243) Standardsymbol BUS_FLT Typ Zugriff Beschreibung BOOL R MAST_MOD_OP IO_FLT BOOL R BOOL R NEW_MAST_DIAG BOOL R NEW_SLAVE_DIAG BOOL R NEW_SLAVES_DIAG BOOL R Variable Bit 7 = 1: Hardwarefehler am Bus (Abschlusswiderstände, Verkabelung, Anschlüsse, TAP, ...) %IWr.m.0.243.7 Bit 8 = 1: Master-Modul in Betrieb %IWr.m.0.243.8 Bit 9 = 1: Eingangs-/Ausgangsfehler (ein oder mehrere Slaves defekt) %IWr.m.0.243.9 Bit 10 = 1: Neue Diagnose des Master-Moduls verfügbar %IWr.m.0.243.10 Bit 11 = 1: Neue Diagnosen eines Slaves verfügbar (Adresse von den Bits 0 bis 6 geliefert) %IWr.m.0.243.11 Bit 12 = 1: Neue Diagnosemehrerer Slaves empfangen %IWr.m.0.243.12 19 DEUTSCH Bedeutung des Fehlerbits CH_ERROR Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro DEUTSCH Bedeutung der Bits des Diagnoseworts (%IWr.m.0.244) Standardsymbol STS_SLAVE_0 STS_SLAVE_1 STS_SLAVE_n STS_SLAVE_15 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.244.0 %IWr.m.0.244.1 %IWr.m.0.244.n %IWr.m.0.244.15 Statusbit des Slaves 0 Statusbit des Slaves 1 Statusbit des Slaves n Statusbit des Slaves 15 Bedeutung der Bits des Diagnoseworts (%IWr.m.0.245) Standardsymbol STS_SLAVE_16 STS_SLAVE_17 STS_SLAVE_n STS_SLAVE_31 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.245.0 %IWr.m.0.245.1 %IWr.m.0.245.i %IWr.m.0.245.15 Statusbit des Slaves 16 Statusbit des Slaves 17 Statusbit des Slaves n Statusbit des Slaves 31 Bedeutung der Bits des Diagnoseworts (%IWr.m.0.246) Standardsymbol STS_SLAVE_32 STS_SLAVE_33 STS_SLAVE_n STS_SLAVE_47 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.246.0 %IWr.m.0.246.1 %IWr.m.0.246.i %IWr.m.0.246.15 Statusbit des Slaves 32 Statusbit des Slaves 33 Statusbit des Slaves n Statusbit des Slaves 47 Bedeutung der Bits des Diagnoseworts (%IWr.m.0.247) Standardsymbol STS_SLAVE_48 STS_SLAVE_49 STS_SLAVE_n STS_SLAVE_63 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.247.0 %IWr.m.0.247.1 %IWr.m.0.247.i %IWr.m.0.247.15 Statusbit des Slaves 48 Statusbit des Slaves 49 Statusbit des Slaves n Statusbit des Slaves 63 Bedeutung der Bits des Diagnoseworts (%IWr.m.0.248) Standardsymbol STS_SLAVE_64 STS_SLAVE_65 STS_SLAVE_n STS_SLAVE_79 20 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.248.0 %IWr.m.0.248.1 %IWr.m.0.248.i %IWr.m.0.248.15 Statusbit des Slaves 64 Statusbit des Slaves 65 Statusbit des Slaves n Statusbit des Slaves 79 Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Standardsymbol STS_SLAVE_80 STS_SLAVE_81 STS_SLAVE_n STS_SLAVE_95 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.249.0 %IWr.m.0.249.1 %IWr.m.0.249.i %IWr.m.0.249.15 Statusbit des Slaves 80 Statusbit des Slaves 81 Statusbit des Slaves n Statusbit des Slaves 95 Bedeutung der Bits des Diagnoseworts (%IWr.m.0.250) Standardsymbol STS_SLAVE_96 STS_SLAVE_97 STS_SLAVE_n STS_SLAVE_111 Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL R R R R %IWr.m.0.250.0 %IWr.m.0.250.1 %IWr.m.0.250.i %IWr.m.0.250.15 Statusbit des Slaves 96 Statusbit des Slaves 97 Statusbit des Slaves n Statusbit des Slaves 111 Bedeutung der Bits des Diagnoseworts (%IWr.m.0.251) Standardsymbol STS_SLAVE_112 STS_SLAVE_113 STS_SLAVE_n STS_SLAVE_124 MOD_INP_TRANS Typ Zugriff Beschreibung Variable BOOL BOOL BOOL BOOL BOOL R R R R R %IWr.m.0.251.0 %IWr.m.0.251.1 %IWr.m.0.251.i %IWr.m.0.251.12 CPU_OUTP_TRANS BOOL R Statusbit des Slaves 112 Statusbit des Slaves 113 Statusbit des Slaves n Statusbit des Slaves 124 Transfer der Eingänge des Moduls zur UC-SPS. Transfer der Ausgänge der UC-SPS zum Modul. %IWr.m.0.251.14 %IWr.m.0.251.15 Bedeutung der Worte MAST_ERR_COD (%IWr.m.0.252) und IO_ERR_COD (%IWr.m.0.253) Standardsymbol MAST_ERR_COD IO_ERR_COD Typ Zugriff Beschreibung INT INT R R Variable Fehlercodes des Master-Moduls.%IWr.m.0.252 Fehlercodes der Ein-/Ausgänge. %IWr.m.0.253 21 DEUTSCH Bedeutung der Bits des Diagnoseworts (%IWr.m.0.249) Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Sprachobjekte mit implizitem Austausch für eine Profibus-DPFunktion DEUTSCH Liste der Objekte mit implizitem Austausch Variable Typ %IWr.m.0.0 bis %IWr.m.0.241 INT %QWr.m.0.0 bis %QWr.m.0.241 INT Zugriff Bedeutung R 242 DP-Eingangswörter R 242 DP-Ausgangswörter Mit der Konfiguration verbundene Sprachobjekte Interne Konstanten Objekt %KWr.m.0.0 %KWr.m.0.1 %KWr.m.0.2 22 Typ INT INT INT Zugriff R R R Bedeutung Bit 0 bis 15: Funktionscode des Moduls TSX PBY 100 Anzahl der aktualisierten %IW und %QW (32,64,128,242) - Bit 0 = 0: Ausgänge auf Null gesetzt - Bit 0 = 1: Ausgangswerte gehalten Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro Fehlercodes des Moduls TSX PBY 100 StandardWert E_CFG_DATA_SIZE 101 E_CFG_IO_IMAGE_SIZE 102 E_CFG_N_SLAVES 103 E_CFG_MASTER_ADDRESS 104 E_CFG_BAUD_RATE 105 E_CFG_BUS_PARAM 106 E_CFG_NODE_ID 107 E_CFG_SLAVE_IN_SIZE 108 E_CFG_SLAVE_OUT_SIZE 109 E_CFG_AAT_DATA 110 E_CFG_AAT_OVERLAP 111 E_CFG_CNF_TIMEOUT 112 E_CFG_INIT_FMB 113 E_CFG_INIT_MASTER 114 E_CFG_LOAD_BUSPAR 115 E_CFG_SET_OPMODE 116 E_CFG_LOAD_SLAVE 117 E_CFG_MASTER_DIAG 118 E_CFG_DUP_ADDR E_CFG_TAP_FAULT 119 120 Beschreibung Umfang der Konfigurationsdatenblöcke ungültig Umfang der E/S-Abbilder ungültig Slave-Anzahl ungültig Adresse des Master-Moduls ungültig Übertragungsgeschwindigkeit ungültig Busparameter ungültig Adresse ungültig oder bereits vorhanden Umfang der Eingangsdaten des Slaves ungültig Umfang der Ausgangsdaten des Slaves ungültig Kombination Umfang / Offset der E/S-Daten ungültig Überlagerung der E/A-Daten Überschreitung der Wartezeit der Bestätigung PCMCIA-Karte kann nicht initialisiert werden Master-Modul kann nicht initialisiert werden Busparameter des Moduls können nicht geladen werden Kann nicht in den Betriebsmodus wechseln Konfiguration der Slaves kann nicht geladen werden Diagnosen des Master-Moduls können nicht gelesen werden Busadressen bereits vorhanden Fehler zwischen PCMCIA-Karte und TAP Verwaltung der Ein-/Ausgänge des Moduls TSX PBY 100 StandardE_OK E_INIT E_NO_CONFIG E_INVALID_CONFIG E_INVALID_PARAM E_INVALID_STATE Wert 0 1 2 3 4 5 E_ACCESS E_NO_RESSOURCES E_SEND E_RECEIVE 6 7 8 9 E_STATE 10 Beschreibung Kein Fehler Initialisierungsfehler Keine Konfigurationsdaten Ungültige Konfigurationsdaten Ungültige Parameter Der Request kann in diesem Slave-Status nicht ausgeführt werden. Kein Austausch auf dem Bus X Keine Ressource verfügbar Zur PCMCIA-Karte kann keine Meldung gesendet werden. Es kann keine Meldung der PCMCIA-Karte kann empfangen werden. Ungültiger Status E_SERVICE 11 Ungültiger Servicecode (Request und Service Uni-telway) 23 DEUTSCH Master-Modul (MAST_ERR_COD) Inbetriebnahme des Moduls TSX PBY 100 unter Unity Pro L’IODDT T_GEN_MOD auf alle Module anwendbar IODDT-Objekte DEUTSCH Standardsymbol MOD_ERROR EXCH_STS Typ Zugriff Bedeutung EBOOL R INT R STS_IN_PROGR BOOL R EXCH_RPT INT R STS_ERR EBOOL R MOD_FLT MOD_FAIL CH_FLT BLK CONF_FLT INT EBOOL EBOOL EBOOL EBOOL NO_MOD EBOOL R 24 R R R R R Fehlerbit des Moduls Austausch-Kontrollwort des Kanals. Fehlerbit des Zählkanals Rückmeldewort des Austausches Lesefehler der Statuswörter des Kanals Internes Fehlerwort des Moduls Interner Fehler, Modul defekt Kanal (Kanäle) fehlerhaft Klemmleistenfehler Fehler in der Hardwareoder Softwarekonfiguration Kein Modul oder Modul spannungslos Variable %Ir.m.MOD.ERR %MWr.m.MOD.0 %MWr.m.MOD.0.0 %MWr.m.c.1 %MWr.m.MOD.1.0 %MWr.m.MOD.2 %MWr.m.MOD.2.0 %MWr.m.MOD.2.1 %MWr.m.MOD.2.2 %MWr.m.MOD.2.5 %MWr.m.MOD.2.6 Sommaire Consignes générales de sécurité à l'attention de l'utilisateur 2 Module Profibus DP TSX PBY 100 4 Caractéristiques 4 4 5 6 7 Normes Caractéristiques 7 7 Visualisation du module 8 Mise en oeuvre du module TSX PBY 100 sous PL7 9 Objets langage Profibus DP Objets langage module TSX PBY 100 Codes d'erreurs des entrées / sorties (%IWm.0.253) Codes d'erreurs du coupleur maître(%IWm.0.252) Commande de diagnostic Liste des diagnostics 9 10 11 12 13 14 Mise en oeuvre du module TSX PBY 100 sous Unit Pro Objet à échange implicite de l'IODDT de type T_COM_STS_GEN Objets à échanges explicites de l'IODDT de type T_COM_STS_GEN Objets à échange implicite de l'IODDT de type T_COM_PBY Objets langage à échange implicite pour une fonction Profibus DP Objets langage associés à la configuration Codes d'erreurs du module TSX PBY 100 L'IODDT T_GEN_MOD applicable à tous les modules 17 17 17 19 23 23 24 25 1 FRANÇAIS Présentation Description physique Connexions Mise en place du coupleur Consignes générales de sécurité à l'attention de l'utilisateur 1 Généralités La présente documentation s’adresse à des personnes qualifiées sur le plan technique pour mettre en œuvre, exploiter et maintenir les produits qui y sont décrits. Pour une utilisation "avancée" des produits s’adresser à l’agence la plus proche pour obtenir les renseignements complémentaires. Le contenu de la documentation n’est pas contractuel et ne peut en aucun cas étendre ou restreindre les clauses de garanties contractuelles. 2 Qualification des personnes Seules des personnes qualifiées sont autorisées à mettre en œuvre, exploiter ou maintenir les produits. L’intervention d’une personne non qualifiée ou le non-respect des consignes de sécurité contenues dans ce document ou apposées sur les équipements, peut mettre en cause la sécurité des personnes et/ou la sûreté du matériel de façon irrémédiable. 3 Avertissements Les avertissements servent à prévenir les risques particuliers encourus par les personnels et/ou le matériel. Ils sont signalés dans la documentation et sur les produits par une marque d’avertissement : FRANÇAIS Attention Signifie que la non application de la consigne ou la non prise en compte de l’avertissement conduit ou peut conduire à des lésions corporelles graves, pouvant entraîner la mort ou/et à des dommages importants du matériel. Important ou Indique une consigne particulière dont la non-application peut conduire à des lésions corporelles légères ou/et à des dommages matériel. Remarque Met en exergue une information importante relative au produit, à sa manipulation ou à sa documentation d’accompagnement. 4 Conformité d’utilisation Les produits décrits dans la présente documentation sont conformes aux Directives Européennes (*) auxquelles ils sont soumis (marquage CE). Toutefois, ils ne peuvent être utilisés de manière correcte, que dans les applications pour lesquelles ils sont prévus dans les différentes documentations et en liaison avec des produits tiers agréés. (*) Directives DCEM et DBT concernant la Compatibilité Electromagnétique et la Basse Tension. 5 Installation et mise en œuvre des équipements Il est important de respecter les règles suivantes, lors de l’installation et de la mise en service des équipements. De plus, si l’installation contient des liaisons numériques, il est impératif d'appliquer les règles élémentaires de câblage, présentées dans le manuel "compatibilité électromagnétique des réseaux et bus de terrain industriels", référencé TSX DG KBLF. • Respecter scrupuleusement les consignes de sécurité, contenues dans la documentation ou sur les équipements à installer et mettre en œuvre. • Le type d’un équipement définit la manière dont celui-ci doit être installé : - un équipement encastrable (par exemple, un pupitre d’exploitation) doit être encastré, - un équipement incorporable (par exemple, un automate programmable) doit être placé dans une armoire ou un coffret, - un équipement "de table" ou portable (par exemple, un terminal de programmation ou un notebook) doit rester avec son boîtier fermé. 2 6 Fonctionnement des équipements La sûreté de fonctionnement d’un dispositif représente son aptitude à éviter l’apparition de défaillances et à minimiser leurs effets lorsqu’elles se sont produites. Un défaut interne à un système de commande sera dit de type : • Passif, s’il se traduit par un circuit de sortie ouvert (aucun ordre n’est donné aux actionneurs). • Actif, s’il se traduit par un circuit de sortie fermé (un ordre est envoyé aux actionneurs). Du point de vue de la sécurité, un défaut d’un type donné sera dangereux ou non selon la nature de la commande effectuée en fonctionnement normal. Un défaut passif est dangereux si la commande normale est une opération d’alarme ; un défaut actif est dangereux s’il maintient ou active une commande non désirée. Le concepteur du système devra se prémunir, par des dispositifs extérieurs à l’automate programmable, contre les défauts actifs internes à cet automate, signalés ou non signalés. 7 Caractéristiques électriques et thermiques Le détail des caractéristiques électriques et thermiques des équipements figure dans les documentations techniques associées (manuels de mise en œuvre, instructions de service). 8 Maintenance Conduite à tenir pour le dépannage • Les réparations sur un équipement d’automatisme ne doivent être effectuées que par du personnel qualifié (technicien S.A.V ou technicien agréé par Schneider Automation SA.). Lors de remplacement de pièces ou de composants, n’utilisez que des pièces d’origine. • Avant d’intervenir sur un équipement, coupez dans tous les cas son alimentation et verrouillez mécaniquement les pièces susceptibles de mouvements. Remplacement et recyclage des piles usagées Utilisez des piles de même type que celles d’origine et éliminez les piles défectueuses comme des déchets toxiques. 3 FRANÇAIS Consignes générales de sécurité à l'attention de l'utilisateur • Si l’équipement est connecté à demeure, il sera nécessaire d’intégrer dans son installation électrique, un dispositif de sectionnement de l’alimentation et un coupe-circuit de protection sur surintensité et de défaut d’isolement. Si ce n’est pas le cas, la prise secteur sera mise à la terre et facilement accessible. L’équipement doit être raccordé à la masse de protection. • Si l’équipement est alimenté en 24 ou en 48 V continu, il y a lieu de protéger les circuits basse tension. N’utilisez que des alimentations conformes aux normes en vigueur. • Vérifiez que les tensions d’alimentation restent à l’intérieur des plages de tolérance définies dans les caractéristiques techniques des équipements. • Toutes les dispositions doivent être prises pour qu’une reprise secteur (immédiate, à chaud ou à froid) n’entraîne pas d’état dangereux pour les personnes ou pour l’installation. • Les dispositifs d’arrêt d’urgence doivent rester efficaces dans tous les modes de fonctionnement de l’équipement, même anormal (par exemple, coupure d’un fil). Le réarmement de ces dispositifs ne doit pas entraîner des redémarrages non contrôlés ou indéfinis. • Les câbles véhiculant des signaux doivent être placés de telle façon que les fonctions d’automatismes ne soient pas perturbées par influences capacitives, inductives, électromagnétiques, ... • Les équipements d’automatisme et leurs dispositifs de commande doivent être installés de façon à être protégés contre des manœuvres inopinées. • Afin d’éviter qu’un manque de signaux n’engendre des états indéfinis dans l’équipement d’automatisme, les mesures de sécurité adéquates seront prises pour les entrées et sorties. Module Profibus DP TSX PBY 100 Présentation Le module TSX PBY 100 est un coupleur de communication Profibus DP maître sur Premium TSX/ PMX/PCX57•• 2 (à partir de la version V3.0) TSX/PCX57•• 3 ou TSX/PCI 57•• 4. FRANÇAIS Le coupleur TSX PBY 100 peut être installé sur un rack standard ou extensible d'un Premium. Le coupleur peut fonctionner avec les automates suivants : • TSX 57-20/25 (un seul module possible), • TSX/PMX/PCX 573•2/4•2/5•2 à partir de la version V3.3 (2 modules possibles), • TSX/PCX573•3/4•3/5•3 (2 modules possibles), • TSX/PCI 572•4/2634 (un seul module possible), • TSX/PCI 57 3•4/3634( 3 modules possibles), • TSX/PCI 57454/4634 (4 modules possibles), • TSX/PCI 57554/5634 (5 modules possibles). La mise en oeuvre des équipements suivants est disponible sous la référence suivante : • esclaves compacts Classic TIO : entrées/sorties tout ou rien (TOR) classiques, • esclaves modulaires DEA203, • esclaves modulaires Momentum : - entrées tout ou rien, - sorties tout ou rien, - entrées / sorties tout ou rien, - entrées / sorties analogiques. Description physique Le dialogue avec les équipements du bus de terrain Profibus DP, s'effectue par l'intermédiaire : • d'un coupleur TSX PBY 100 (1) comprenant : - un bloc de signalisation de 5 voyants lumineux (2), - un emplacement permettant de recevoir une carte PCMCIA (3), • d'une carte PCMCIA Profibus DP (4), • d'un câble d'une longueur de 0,6 m (5) pour se connecter à un TAP, • d'un Profibus DP TAP (6), interface pour se connecter au bus Profibus DP. 4 Module Profibus DP TSX PBY 100 Connexions Connexion du bus Profibus DP (Connecteur femelle Sub-D 9 points de type RS 485) : 1 blindage. 2 M24 : masse de la tension de sortie 24 V. 3 RxD/TxD-P : transmission de données plus (RD+ / TD+). 4 CNTR-P : signal de contrôle répétiteur plus (contrôle de direction) : non utilisé. 5 DGND : masse de la transmission de données. 6 VP : tension de polarisation de la terminaison de ligne. 7 P24 : tension de sortie 24 V. RxD/TxD-N : transmission de données moins (RD- / TD-). 9 CNTR-N : signal de contrôle répétiteur moins (contrôle de direction) : non utilisé FRANÇAIS 8 Note : Les signaux RxD/TxD-P, DGND, VP, RxD/TxD-N sont obligatoires. Les autres signaux sont optionnels. 5 Module Profibus DP TSX PBY 100 Mise en place du coupleur 3 2 FRANÇAIS 1 1 Positionner les ergots situés à l'arrière du module dans les trous de centrage situés à la partie inférieure du rack (repère 1). 3 Solidariser le module avec le rack par vissage de la vis située sur la partie supérieure du module (repère 3). 2 Faire pivoter le module afin de l'amener en contact avec le rack (repère 2). 5 4 4 Insérer la carte dans le logement prévu à cet effet (repère 4). 5 Visser la carte afin d'éviter toute manipulation de cette dernière et garantir son bon fonctionnement (repère 5). 6 Raccorder le câble au TAP (repère 6). 7 Visser le connecteur afin d'éviter toute manipulation de ce dernier et assurer une bonne connexion (repère 7). L'insertion ou l'extraction de la carte communication est interdite lorsque le module de réception est sous tension. La connexion ou la déconnexion du TAP est interdite lorsque le module est sous tension. 6 Caractéristiques Normes Le coupleur TSX PBY 100 est conforme aux normes et standards internationaux suivants : Normes CE Normes US Normes CANADA IEC 1131-2 / CENLEC (50081-2) UL508 CSA C22.-142 FRANÇAIS Il est développé pour être conforme aux normes suivantes : Classification marine Germanischer Lloyd Det Norsk Veritas Bureau Veritas Lloyds register Normes US FM, Class 1.Div.II. Caractéristiques Alimentation logique Vcc Courant consommé sur 5 V Température de fonctionnement Hygrométrie (sans condensation) Altitude de fonctionnement Tenue mécanique 5 V Vcc fourni par l'alimentation du rack 400 mA 0 °C à +60 °C (IEC 1131-2 = +5 °C à +55 °C) 30 % à 95 % < 2000 m Immunité aux vibrations conforme à la norme IEC 68-2-6, essai Fc Immunité aux chocs conforme à la norme IEC 68-2-27, essai Ea Tenue aux décharges électrostatiques Tenue aux parasites HF Immunité aux décharges électrostatiques conforme à la norme IEC 1000-4-2, niveau 3 Immunité aux champs électromagnétiques rayonnés conforme à la norme IEC 1000-4-3, niveau 3 Immunité aux transitoires rapides en salves conforme à la norme IEC 1000-4-4, niveau 3 Tenue aux parasites BF Immunité aux ondes oscillatoires amorties conforme à la norme IEC 1000-4-12, niveau 3 conforme aux prescriptions de la norme IEC 1131-2 7 Visualisation Visualisation du module FRANÇAIS La visualisation placé en face avant du module permet de renseigner sur l'état du coupleur et l'état du réseau Profibus DP. RUN ERR CH0 I/O Voyants Allumé Clignotant Eteint RUN vert Module TSX PBY 100 prêt : - tests d'autodiagnostic réussis - Profibus DP prêt - Module non initialisé (en attente d'une configuration) ERR rouge Défaut bus ou défaut de configuration ou défaut du module TSX PBY 100 Aucun défaut signalé I/O rouge Défaut sur un ou plusieurs périphériques esclaves Echange des données d'entrées/sorties Module en attente d'une configuration ou en cours de chargement (si RUN éteint) ou défaut de communication avec l'UC automate (si RUN allumé) - CH0 jaune 8 - Aucun défaut signalé (tous les esclaves actifs) Pas d'échanges des données d'entrées/sorties Mise en oeuvre du module TSX PBY 100 sous PL7 Objets %Im.0.ERR %IWm.0.0 à 241 %IWm.0.242 I I Fonction Défaut voie Entrées DP Signification Bit mis à 1 lors d'un défaut voie 242 mots d'entrées DP I Status PBY x0 = 1 x8 = 1 %IWm.0.243 I %IWm.0.244 I %IWm.0.245 I %IWm.0.246 I %IWm.0.247 I %IWm.0.248 I %IWm.0.249 I Si x8=1 ou x9=1 ou x10=1, défaut voie Défaut de fonctionnement du coupleur maître (DP_error) x9 = 1 Défaut de fonctionnement de la carte PCMCIA (IOM_error) x10 = 1 Défaut de configuration du coupleur maître (CM_error) x13 = 1 Défaut de configuration x14 = 1 Défaut de communication : pas de communication avec l'automate programmable Status PBY x0..x6 Adresse du dernier esclave diagnostiqué x7 Défaut matériel du bus (terminaison de ligne, câblage, connexions, TAP,...) x8 = 1 Coupleur maître en fonctionnement x9 = 1 Défaut d'entrées/sorties (une esclave ou plus en défaut) x10 = 1 Nouveau diagnostic du coupleur maître disponible x11 = 1 Nouveaux diagnostics d'un esclave disponibles (adresse donnée par x0..x6) x12 = 1 Nouveaux diagnostics de plusieurs esclaves reçus x13..x15Code du dernier évènement de gestion (bus hors ligne, défaut communication entre équipements maître,...) Diagnosticsx0..x15 Bits d'état des esclaves 0 à 15 bitmap Diagnosticsx0..x15 Bits d'état des esclaves 16 à 31 bitmap Diagnosticsx0..x15 Bits d'état des esclaves 32 à 47 bitmap Diagnosticsx0..x15 Bits d'état des esclaves 48 à 63 bitmap Diagnosticsx0..x15 Bits d'état des esclaves 64 à 79 bitmap Diagnosticsx0..x15 Bits d'état des esclaves 80 à 95 bitmap 9 FRANÇAIS Objets langage Profibus DP Mise en oeuvre du module TSX PBY 100 sous PL7 Objets %IWm.0.250 FRANÇAIS %IWm.0.251 I I %IWm.0.252 I %IWm.0.253 I %QWm.0.0 I à 241 %QWm.0.242 I à 253 %MWm.0.0 %MWm.0.1 %MWm.0.2 %KWm.0.0 %KWm.0.1 %KWm.0.2 Fonction Diagnosticsbitmap Diagnosticsbitmap CM_error code IOM_error code Sorties DP Signification x0..x15 Bits d'état des esclaves 96 à 111 x0..x12 x14 Bits d'état des esclaves 112 à 124 Transfert des entrées du coupleur vers l'UC automate x15 Transfert des sorties de l'UC automate vers le coupleur Code erreur du coupleur maître (se reporter à la liste des codes d'erreurs) Code erreur des entrées/sorties (se reporter à la liste des codes d'erreurs) 242 mots de sorties DP Réservés Echange en cours Réservé Réservé Bloc fonction PBY Taille %IW et %QW Bits de configuration x15 = 1 Reconfiguration en cours x0..x15 Code fonction PBY 100 Nombre de %IW et %QW mis à jour (32, 64, 128, 242) x0 = 0 Sortie mise à zéro x0 = 1 Sortie maintenue I : échange Implicite (mise à jour automatique en début de tâche pour les entrées et mise à jour automatique en fin de tâche pour les sorties) E : échange Explicite (mise à jour après exécution d'une requête utilisateur) Objets langage module TSX PBY 100 Objets %Im.MOD.ERR I %MW m.MOD.0 E %MWm.MOD.1 E 10 Fonction Défaut module Echange en cours Réservé Signification Bit mis à 1 lors d'un défaut module (au moins une des voies en défaut, ...) x0 = 1 Lecture de status en cours Mise en oeuvre du module TSX PBY 100 sous PL7 Objets %MWm.MOD.2 E Fonction Status module Signification x0 = 1 Module défectueux x1 = 1 Défaut fonctionnel (Défaut de communication entre l'UC et le module, valeur de commande, de réglage ou de configuration non acceptée, ...) x5 = 1 Défaut de configuration matérielle ou logicielle (le module présent n'est pas celui déclaré dans la configuration, les sous-modules ne sont pas compatibles) x6 = 1 Module absent FRANÇAIS I : échange Implicite (mise à jour automatique en début de tâche pour les entrées et mise à jour automatique en fin de tâche pour les sorties) E : échange Explicite (mise à jour après exécution d'une requête utilisateur) Codes d'erreurs des entrées / sorties (%IWm.0.253) Symbole E_OK E_INIT E_NO_CONFIG E_INVALID_CONFIG E_INVALID_PARAM E_INVALID_STATE E_ACCESS E_NO_RESSOURCES E_SEND E_RECEIVE E_STATE E_SERVICE Valeur 0 1 2 3 4 5 Description Aucun défaut Défaut d'initialisation Aucune donnée de configuration Données de configuration invalides Paramètres invalides L'état des esclaves ne permet pas d'effectuer la requête 6 Pas d'échange sur le Bus X 7 Aucune ressource disponible 8 Impossibilité d'envoyer un message à la carte PCMCIA 9 Impossibilité de recevoir un message de la carte PCMCIA 10 Etat invalide 11 Code service invalide ( requête et service d'UNI-TELWAY invalide) 11 Mise en oeuvre du module TSX PBY 100 sous PL7 Codes d'erreurs du coupleur maître (%IWm.0.252) FRANÇAIS Symbole E_CFG_DATA_SIZE Description Taille des blocs de données de configuration invalide E_CFG_IO_IMAGE_SIZE 102 Taille des images des E/S invalide E_CFG_N_SLAVES 103 Nombre d'esclaves invalide E_CFG_MASTER_ADDRESS 104 Adresse du coupleur maître invalide E_CFG_BAUD_RATE 105 Vitesse de transmission invalide E_CFG_BUS_PARAM 106 Paramètres du bus invalides E_CFG_NODE_ID 107 Adresse invalide ou déjà existante E_CFG_SLAVE_IN_SIZE 108 Taille des données d'entrées de l'esclave invalide E_CFG_SLAVE_OUT_SIZE 109 Taille des données de sorties de l'esclave invalide E_CFG_AAT_DATA 110 Combinaison taille / offset des données d'E/S invalides E_CFG_AAT_OVERLAP 111 Recouvrement des données d'E/S E_CFG_CNF_TIMEOUT 112 Dépassement du temps d'attente de confirmation E_CFG_INIT_FMB 113 Impossibilité d'initialiser la carte PCMCIA E_CFG_INIT_MASTER 114 Impossibilité d'initialiser le coupleur maître E_CFG_LOAD_BUSPAR 115 Impossibilité de charger les paramètres du bus du coupleur E_CFG_SET_OPMODE 116 Impossibilité de passer en mode de fonctionnement E_CFG_LOAD_SLAVE 117 Impossibilité de charger la configuration des esclaves E_CFG_MASTER_DIAG 118 Impossibilité de lire les diagnostics du module maître E_CFG_DUP_ADDR 119 Adresses du bus déjà existante E_CFG_TAP_FAULT 120 Défaut entre la carte PCMCIA et le TAP 12 Valeur 101 Mise en oeuvre du module TSX PBY 100 sous PL7 Commande de diagnostic L'envoie d'une commande de diagnostic s'effectue par le bloc fonction SEND_REQ. r m v 16#0031 %MWi:3 %MWi:x14 %MWi:x15 %MWj:L %MWk:4 fonction k Numéro du rack Numéro du module Numéro de la voie (0 pour Profibus DP) Code requête Paramètres de la requête % M W iType de diagnostic %MWi:x0..x8 0..125 Diagnostic de l'esclave x 126 Liste des diagnostics disponibles 127 Diagnostic compact de tous les esclaves 128 Diagnostic du module maître 129 Compteurs de diagnostic total 130 Compteurs d'échanges défectueux 131 Compteurs d'indisponibilité 132 Compteurs de réponses invalides %MWi:x9 réservé %MWi:x10 réservé %MWi:x11 réservé %MWi:x12 si activé, lecture des données de configuration de l'esclave sélectionné par %MWi:x0..x8 %MWi:x13 si activé, lecture des informations de l'esclave sélectionné par %MWi:x0..x8 si activé, réinitialisation de la liste des diagnostics disponibles ou des compteurs spécifiés par %MWi:x0..x8 (=126, 129 à 132) si activé, lecture de la liste des diagnostics disponibles ou des compteurs spécifiés par %MWi:x0..x8 (=126, 129 à 132) sans remise à zéro %MWi+1 Adresse de départ dans la table diagnostic (1) %MWi+2 Longueur du diagnostic à lire Mots de contrôle PL7 où seront stockées les réponses j Numéro du premier mot L Nombre de mots Quatre mots identifiant l’adresse des données PL7 utilisées pour piloter la Status de l'échange (1) Valeur par défaut 0. Pour effectuer un accès partiel à la table de diagnostic, il est possible de spécifier un mot de départ dans la table (Offset de départ). 13 FRANÇAIS SEND_REQ( ADR#rm.v, 16#0031, %MWi:3, %MWj:L, %Mwk:4) Mise en oeuvre du module TSX PBY 100 sous PL7 Liste des diagnostics Diagnostics du maître Octets Structure 0/1 Operating_mode 2/3 FRANÇAIS 4 5 6 7 8 9..15 14 Description Mode de fonctionnement du maître (octet 0 : poids faible; octet 1 : poids fort) Valeurs : 00h hors ligne (initialisation) 40h stop (prêt à recevoir la configuration) 80h repli des sorties (sortie remises à zéro, clear) C0h en fonctionnement PNO_identifier Code d'identification du maître selon le code PROFIBUS (octet 2 : poids faible; octet 3 : poids fort) 1654h pour le coupleur PBY 100 PC card Version matérielle de la carte PCMCIA selon le code hardware version PROFIBUS Valeurs : 10h version V1.0 XYh version VX.Y FFh pas de carte ou carte invalide PC card Version logicielle de la carte PCMCIA selon le code firmware version PROFIBUS Valeurs : 10h version V5.02E 11h version V5.02F XYh version V5.XY FFh pas de carte ou carte invalide PBY Version matérielle du module TSX PBY 100 hardware version Valeurs : 10h version V1.0 XYh version VX.Y PBY Version logicielle du module TSX PBY 100 firmware version Valeurs : 10h version V1.0 XYh version VX.Y PBY IE Indice d'Evolution logicielle du module TSX PBY 100 version Valeurs : 04h version IE 04 XYh version IE XY PC card firmware Version logicielle de la carte PCMCUA en mode ASCII version (ASCII) Mise en oeuvre du module TSX PBY 100 sous PL7 Liste des diagnostics disponibles Cette table fournit des bits d'activités. Au nombre d'un bit par esclave, ils renseignent sur la disponibilité de nouveaux diagnostics provenant des esclaves Structure x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x15 x0..x13 x14, x15 Description nouveaux diagnostics concernant les esclaves 0 à 15 nouveaux diagnostics concernant les esclaves 16 à 31 nouveaux diagnostics concernant les esclaves 32 à 47 nouveaux diagnostics concernant les esclaves 48 à 63 nouveaux diagnostics concernant les esclaves 64 à 79 nouveaux diagnostics concernant les esclaves 80 à 95 nouveaux diagnostics concernant les esclaves 96 à 111 nouveaux diagnostics concernant les esclaves 112 à 124 non utilisés Diagnostic compact de tous les esclaves Cette table de diagnostic regroupe les principaux diagnostics pour chaque esclave. La taille de cette table est toujours de 126 octets, l'octet 0 correspondant à l'esclave 1 et l'octet 126 correspondant à l'esclave 125. Chaque octet correspond à l'adresse d'un esclave et présente les mêmes informations de diagnostics. Octets 0..125 Structure x0 : not_reachable x1 : not_ready x2 : config_fault x3 : prm_required x4 : inactive x5 : invalid_rsp x6 : param_fault x7 : master_lock Description x0=1 si l'esclave x est non connecté ou éteint x1=1 si l'esclave x n'est pas prêt pour les échanges de données x2=1 si erreur de configuration de l'esclave x à la demande du test x3=1 si l'esclave x doit être à nouveau configuré et paramétré x4=1 si l'esclave x est inactif (exclu du traitement) x5=1 si erreur lors de la dernière réponse de l'esclave x x6=1 si erreur lors du dernier message de paramétrage de l'esclave x x7=1 si l'esclave x est déjà paramétré par un autre module maître 15 FRANÇAIS Octets 0 1 2 3 4 5 6 7 Mise en oeuvre du module TSX PBY 100 sous PL7 Diagnostics d'un esclave Seuls les six premiers octets de diagnostic sont standardisés et obligatoires. Un esclave peut fournir jusqu'à 244 octets de diagnostic. Dans le cas d'un diagnostic étendu (l'octet 7 vaut ff en hexadécimal), le bit x3 de l'octet 0 le signale en étant à la valeur 1(x3=1). FRANÇAIS Octets 0 Description x0=1 si l'esclave est non connecté ou éteint x1=1 si l'esclave n'est pas prêt pour les échanges de données x2 : config_fault x2=1 si erreur de configuration de l'esclave à la demande du test x3 : ext_diag x3=1 si diagnostic étendu (octet 7 à ff en hexadécimal) x4 : not_supported x4=1 si la fonction non supportée par l'esclave x5 : invalid_rsp x5=1 si erreur lors de la dernière réponse de l'esclave x6 : param_fault x6=1 si erreur lors du dernier message de paramétrage de l'esclave x7 : master_lock x7=1 si l'esclave est déjà paramétré par un autre module maître 1 x0 : prm_required x0=1 si l'esclave doit être à nouveau configuré et paramétré x1 : diag_data_rdy x1=1 si l'esclave a généré un diagnostic pour être traité par le maître x2 : is_slave_diag x2=0 si le diagnostic a été créé par le maître x2=1 si le diagnostic a été créé par l'esclave x3 : wdt_active x3=1 si le chien de garde de l'esclave actif x4 : freeze_mode x4=1 si les entrées de l'esclave sélectionné sont gelées x5 : sync_mode x5=1 si les sortie de l'esclave sélectionné sont gelées x6 non utilisé x7 : inactive x7=1 si l'esclave est inactif (exclu du traitement) 2 x0.. x6 non utilisés x7 : diag_overflow x7=1 si le nombre de diagnostic dépasse la taille des mots de réception 3 master_address Adresse du module maître qui paramètre l'esclave 4/5 PNO_identifier Code d'identification de l'esclave 6..244 specific_diag Données de diagnostic spécifiques optionnelles 16 Structure x0 : not_reachable x1 : not_ready Mise en oeuvre du module TSX PBY 100 sous Unity Pro Objet à échange implicite de l'IODDT de type T_COM_STS_GEN Signification du bit d'erreur CH_ERROR (r=n° de rack, m=position du module sur le rack, c=n° de voie) Symbole standard CH_ERROR Type Accès Description EBOOL R Bit erreur de la voie de communication Repère %Ir.m.c.ERR Objets à échanges explicites de l'IODDT de type T_COM_STS_GEN Symbole standard STS_IN_PROGR Type Accès Description BOOL R CMD_IN_PROGR BOOL R ADJ_IN_PROGR BOOL R Repère Lecture des mots d’état de la voie en cours. %MWr.m.c.0.0 Echange de paramètres de commande en cours. %MWr.m.c.0.1 Echange de paramètres de réglage en cours. %MWr.m.c.0.2 Compte rendu d’échange explicite : EXCH_RPT Symbole standard STS_ERR Type Accès Description CMD_ERR BOOL R ADJ_ERR BOOL R BOOL R Défaut de lecture des mots d’état de la voie. Défaut lors d’un échange de paramètres de commande. Défaut lors d’un échange de paramètres de réglage. Repère %MWr.m.c.1.0 %MWr.m.c.1.1 %MWr.m.c.1.2 17 FRANÇAIS Indicateurs d'exécution d'un échange explicite : EXCH_STS Mise en oeuvre du module TSX PBY 100 sous Unity Pro FRANÇAIS Défauts standard voie, CH_FLT NO_DEVICE BOOL R 1_DEVICE_FLT BOOL R BLK TO_ERR BOOL R BOOL R INTERNAL_FLT CONF_FLT BOOL R BOOL R COM_FLT BOOL R APPLI_FLT 18 BOOL R Aucun équipement ne fonctionne sur la voie. Un équipement sur la voie est en défaut. Défaut bornier (non connecté). Erreur de Time out (câblage défectueux). Défaut interne ou autotest de la voie. Configurations matérielle et logicielle différentes. Défaut de communication avec l’automate. Défaut applicatif (défaut de réglage ou de configuration). %MWr.m.c.2.0 %MWr.m.c.2.1 %MWr.m.c.2.2 %MWr.m.c.2.3 %MWr.m.c.2.4 %MWr.m.c.2.5 %MWr.m.c.2.6 %MWr.m.c.2.7 Mise en oeuvre du module TSX PBY 100 sous Unity Pro Objets à échange implicite de l'IODDT de type T_COM_PBY Signification du bit d'erreur CH_ERROR Symbole standard CH_ERROR Type Accès Description EBOOL R Bit erreur de la voie de communication. Repère %Ir.m.0.ERR Signification des bits du mot d’état (%IWr.m.0.242) Type Accès Description MAST_OP_FLT BOOL R BOOL R bit 0 = 1 : si bit 8 = 1 ou bit 9 = 1 ou bit 10 = 1, défaut voie. bit 8 = 1 défaut de fonctionnement du coupleur maître (DP_error). bit 9 = 1 défaut de fonctionnement de la carte PCMCIA (IOM_error). bit 10 = 1 défaut de configuration du coupleur maître (CM_error). bit 13 = 1 défaut de configuration. bit 14 = 1 défaut de communication : pas de communication avec l’automate programmable. PCMCIA_OP_FLT BOOL R MAST_CONF_FLT BOOL R CONF_FLT COM_FLT BOOL R BOOL R Repère %IWr.m.0.242.0 %IWr.m.0.242.8 %IWr.m.0.242.9 %IWr.m.0.242.10 %IWr.m.0.242.13 %IWr.m.0.242.14 Signification des bits du mot d’état STS_243 (%IWr.m.0.243) Symbole standard BUS_FLT Type Accès Description BOOL R MAST_MOD_OP BOOL R IO_FLT BOOL R NEW_MAST_DIAG BOOL R NEW_SLAVE_DIAG BOOL R NEW_SLAVES_DIAG BOOL R bit 7 = 1 : défaut matériel sur le bus (terminaison de ligne, câblage, connecteurs, TAP,...). bit 8 = 1 : coupleur maître en fonctionnement. bit 9 = 1 : défaut d'E/S (un esclave ou plus en défaut). bit 10 = 1 : nouveau diagnostic du coupleur maître disponible. bit 11 = 1 : nouveaux diagnostics d’un esclave disponibles (adresse donnée par les bit 0 à 6). bit 12 = 1 : nouveaux diagnostics de plusieurs esclaves reçus. Repère %IWr.m.0.243.7 %IWr.m.0.243.8 %IWr.m.0.243.9 %IWr.m.0.243.10 %IWr.m.0.243.11 %IWr.m.0.243.12 19 FRANÇAIS Symbole standard CHAN_FLT Mise en oeuvre du module TSX PBY 100 sous Unity Pro Signification des bits du mot de diagnostic (%IWr.m.0.244) Symbole standard STS_SLAVE_0 STS_SLAVE_1 STS_SLAVE_n STS_SLAVE_15 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 0. Bit d’état de l’ esclave 1. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 15. %IWr.m.0.244.0 %IWr.m.0.244.1 %IWr.m.0.244.n %IWr.m.0.244.15 FRANÇAIS Signification des bits du mot de diagnostic (%IWr.m.0.245) Symbole standard STS_SLAVE_16 STS_SLAVE_17 STS_SLAVE_n STS_SLAVE_31 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 16. Bit d’état de l’ esclave 17. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 31. %IWr.m.0.245.0 %IWr.m.0.245.1 %IWr.m.0.245.i %IWr.m.0.245.15 Signification des bits du mot de diagnostic (%IWr.m.0.246) Symbole standard STS_SLAVE_32 STS_SLAVE_33 STS_SLAVE_n STS_SLAVE_47 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 32. Bit d’état de l’ esclave 33. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 47. %IWr.m.0.246.0 %IWr.m.0.246.1 %IWr.m.0.246.i %IWr.m.0.246.15 Signification des bits du mot de diagnostic (%IWr.m.0.247) Symbole standard STS_SLAVE_48 STS_SLAVE_49 STS_SLAVE_n STS_SLAVE_63 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 48. Bit d’état de l’ esclave 49. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 63. %IWr.m.0.247.0 %IWr.m.0.247.1 %IWr.m.0.247.i %IWr.m.0.247.15 Signification des bits du mot de diagnostic (%IWr.m.0.248) Symbole standard STS_SLAVE_64 STS_SLAVE_65 STS_SLAVE_n STS_SLAVE_79 20 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 64. Bit d’état de l’ esclave 65. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 79. %IWr.m.0.248.0 %IWr.m.0.248.1 %IWr.m.0.248.i %IWr.m.0.248.15 Mise en oeuvre du module TSX PBY 100 sous Unity Pro Signification des bits du mot de diagnostic (%IWr.m.0.249) Symbole standard STS_SLAVE_80 STS_SLAVE_81 STS_SLAVE_n STS_SLAVE_95 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 80. Bit d’état de l’ esclave 81. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 95. %IWr.m.0.249.0 %IWr.m.0.249.1 %IWr.m.0.249.i %IWr.m.0.249.15 Symbole standard STS_SLAVE_96 STS_SLAVE_97 STS_SLAVE_n STS_SLAVE_111 Type Accès Description Repère BOOL BOOL BOOL BOOL R R R R Bit d’état de l’ esclave 96. Bit d’état de l’ esclave 97. Bit d’état de l’ esclave n. Bit d’état de l’ esclave 111. %IWr.m.0.250.0 %IWr.m.0.250.1 %IWr.m.0.250.i %IWr.m.0.250.15 Signification des bits du mot de diagnostic (%IWr.m.0.251) Symbole standard STS_SLAVE_112 STS_SLAVE_113 STS_SLAVE_n STS_SLAVE_124 MOD_INP_TRANS Type Accès Description Repère BOOL BOOL BOOL BOOL BOOL R R R R R %IWr.m.0.251.0 %IWr.m.0.251.1 %IWr.m.0.251.i %IWr.m.0.251.12 CPU_OUTP_TRANS BOOL R Bit d’état de l’esclave 112. Bit d’état de l’esclave 113. Bit d’état de l’esclave n. Bit d’état de l’esclave 124. Transfert des entrées du coupleur vers l’UC automate. Transfert des sorties de l’UC automate vers le coupleur. %IWr.m.0.251.14 %IWr.m.0.251.15 Signification des mots MAST_ERR_COD (%IWr.m.0.252) et IO_ERR_COD (%IWr.m.0.253) Symbole standard MAST_ERR_COD Type Accès Description INT R IO_ERR_COD INT R Codes d’erreurs du coupleur maître. Codes d’erreurs des entrées/sorties. Repère %IWr.m.0.252 %IWr.m.0.253 21 FRANÇAIS Signification des bits du mot de diagnostic (%IWr.m.0.250) Mise en oeuvre du module TSX PBY 100 sous Unity Pro Objets langage à échange implicite pour une fonction Profibus DP Liste des objets à échange implicite Repère %IWr.m.0.0 à %IWr.m.0.241 %QWr.m.0.0 à %QWr.m.0.241 Type Accès Signification INT R 242 mots d’entrées DP INT R 242 mots de sorties DP FRANÇAIS Objets langage associés à la configuration Constantes internes Objet %KWr.m.0.0 Type INT Accès R Signification bit 0 à bit 15 : code fonction du module TSX PBY 100. %KWr.m.0.1 INT R Nombre de %IW et %QW mis à jour ( 32,64,128,242 ). %KWr.m.0.2 INT R - bit 0 = 0 : sorties mises à zéro, - bit 0 = 1 : sorties maintenues. 22 Mise en oeuvre du module TSX PBY 100 sous Unity Pro Codes d'erreurs du module TSX PBY 100 Symbole E_CFG_DATA_SIZE E_CFG_IO_IMAGE_SIZE E_CFG_N_SLAVES E_CFG_MASTER_ADDRESS E_CFG_BAUD_RATE E_CFG_BUS_PARAM E_CFG_NODE_ID E_CFG_SLAVE_IN_SIZE E_CFG_SLAVE_OUT_SIZE E_CFG_AAT_DATA E_CFG_AAT_OVERLAP E_CFG_CNF_TIMEOUT E_CFG_INIT_FMB E_CFG_INIT_MASTER E_CFG_LOAD_BUSPAR Valeur 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 E_CFG_SET_OPMODE E_CFG_LOAD_SLAVE E_CFG_MASTER_DIAG E_CFG_DUP_ADDR E_CFG_TAP_FAULT 116 117 118 119 120 Description Taille des blocs de données de configuration invalide Taille des images des E/S invalide Nombre d’esclaves invalide Adresse du coupleur maître invalide Vitesse de transmission invalide Paramètres du bus invalides Adresse invalide ou déjà existante Taille des données d’entrées de l’esclave invalide Taille des données de sorties de l’esclave invalide Combinaison taille/offset des données d’E/S invalides Recouvrement des données d’E/S Dépassement du temps d’attente de confirmation Impossibilité d’initialiser la carte PCMCIA Impossibilité d’initialiser le coupleur maître Impossibilité de charger les paramètres du bus du coupleur Impossibilité de passer en mode de fonctionnement Impossibilité de charger la configuration des esclaves Impossibilité de lire les diagnostics du module maître Adresses du bus déjà existante Défaut entre la carte PCMCIA et le TAP Gestion des entrées/sorties du module TSX PBY 100 Symbole E_OK E_INIT E_NO_CONFIG E_INVALID_CONFIG E_INVALID_PARAM E_INVALID_STATE E_ACCESS E_NO_RESSOURCES E_SEND E_RECEIVE Valeur 0 1 2 3 4 5 6 7 8 9 E_STATE 10 Description Aucun défaut Défaut d’initialisation Aucune donnée de configuration Données de configuration invalides Paramètres invalides L’état des esclaves ne permet pas d’effectuer la requête Pas d’échange sur le Bus X Aucune ressource disponible Impossibilité d’envoyer un message à la carte PCMCIA Impossibilité de recevoir un message de la carte PCMCIA Etat invalide E_SERVICE 11 Code service invalide (requête et service d’Uni-telway) 23 FRANÇAIS Coupleur maître (MAST_ERR_COD) Mise en oeuvre du module TSX PBY 100 sous Unity Pro L'IODDT T_GEN_MOD applicable à tous les modules Objets de l'IODDT FRANÇAIS Symbole standard MOD_ERROR EXCH_STS Type Accès Signification Repère EBOOL INT R R %Ir.m.MOD.ERR STS_IN_PROGR EXCH_RPT STS_ERR BOOL INT EBOOL R R R MOD_FLT MOD_FAIL CH_FLT BLK CONF_FLT INT EBOOL EBOOL EBOOL EBOOL R R R R R NO_MOD EBOOL R 24 Bit erreur module. Mot de contrôle d’échange de la voie. %MWr.m.MOD.0 Bit erreur voie de comptage. %MWr.m.MOD.0.0 Mot de compte rendu d’échange. %MWr.m.c.1 Défaut lors de la lecture des mots d’état de la voie. %MWr.m.MOD.1.0 Mot d’erreur interne du module. %MWr.m.MOD.2 Défaut interne, module en panne. %MWr.m.MOD.2.0 Voie(s) en défaut. %MWr.m.MOD.2.1 Défaut bornier. %MWr.m.MOD.2.2 Défaut de configuration matérielle ou logicielle. %MWr.m.MOD.2.5 Module absent ou hors tension. %MWr.m.MOD.2.6 W915905770901A06 Schneider Electric Industries SAS Headquarters 35, rue Joseph Monier F - 92506 Rueil Malmaison Cedex Owing to changes in standards and equipment, the characteristics given in the text and images in this document are not binding us until they have been confirmed with us. http://www.schneider-electric.com Printed in June 2009
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
Download PDF
advertisement