Advertisement

Designation:
Revision:
Order No.:
This guide is valid for:
IBS S7 300 DSC-T,
©
Phoenix Contact 02/2000
INTERBUS
Quick Start Guide
IBS S7 300 DSC QS UM E
B / C01
27 43 16 1
Revision
˜
10/442

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the INTERBUS and is the answer not in the manual?

Questions and answers

Summary of Contents for Phoenix Contact INTERBUS

  • Page 1 INTERBUS Quick Start Guide Designation: IBS S7 300 DSC QS UM E Revision: B / C01 27 43 16 1 Order No.: This guide is valid for: ˜ IBS S7 300 DSC-T, Revision 10/442 © Phoenix Contact 02/2000...
  • Page 2: Addressable Areas Of The Simatic ® S7-300

    The driver can transfer the input/output data of the INTERBUS system into the I/Q area of the PLC, bit memory areas or data blocks, or out of these areas. ®...
  • Page 3: Application Areas / Technical Data

    Addressable PLC areas Input/output areas, bit memory areas and data blocks Occupied analog address area 16 byte inputs and 16 byte outputs INTERBUS data Number of devices 512 (254 remote bus devices) Amount of process data 256 words (4096 digital...
  • Page 4 – INTERBUS system connection INTERBUS Operating Modes Page 17 – Description of the timing interaction between the INTERBUS and the PLC Example of an INTERBUS and PLC Configuration Page 18 Integration of the Controller Board in Page 19 STEP 7 –...
  • Page 5: General Notes

    Please note that software/hardware designations and brand names of the companies mentioned are, as a rule, protected by copyright, trademark or patent. Current Phoenix Contact product information is also available on the Internet at: www.phoenixcontact.com. 5756B...
  • Page 6: Table Of Contents

    Example of an INTERBUS and PLC Configuration............18 ® Integration of the Controller Board in STEP 7 ... 19 Startup for Testing the INTERBUS System..24 Checking the Connected INTERBUS Configuration...26 Startup With IBS CMD SWT G4 Configuration Software.......... 27 Creating a Configuration File ..........27 Starting the Entire System ..........32...
  • Page 7 Integrating the Example Into Your PLC......35 Description of the Function Blocks in the Example .... 37 INTERBUS System Operation From the PLC..42 Position of the INTERBUS Standard Registers ....43 Description of the Diagnostic Registers ......44 Description of Standard Functions ........48 Automatic Diagnostic Functions ......
  • Page 8: Preface

    Siemens SIMATIC S7-300 PLC. Purpose This guide should make it possible to start up the INTERBUS system quickly and easily. In the user manual of the controller board (IBS S7 300 DSC UM E) you will find a complete description of all the features e.g., a detailed description of all...
  • Page 9 Further Documentation User manual for the controller board IBS S7 300 DSC UM E Order No. 27 21 33 2 Installation and I/O Systems Manual IBS SYS PRO INST UM E Order No. 27 43 80 2 Diagnostics Guide IBS SYS DIAG DSC UM E Order No.
  • Page 10: Preparations

    Preparations This section contains the basic settings which are necessary before installing the controller board in the PLC and which determine the operating behavior. ESD Regulations Persons who handle the controller board must protect it by observing the ESD instructions before packing or unpacking the board, opening control boxes or control cabinets and before touching the board.
  • Page 11: Structure Of The Controller Board

    Structure of the Controller Board Connecting and Operating Elements 5 7 5 6 A 0 0 2 Figure 1 Front view 1 LCD 2 Slot for the parameterization memory ** 3 Operator’s panel * 4 Test mode button 5 Connection for external power supply (24 V DC) 6 Remote bus interface (9-pos.
  • Page 12 Remote bus connection and example of a remote bus cable (cable type D9/D9) The IBS OPTOSUB... and OPTOSUB PLUS interface connectors enable you to fit your INTERBUS system with optical fibers. Interface connectors are available for different mounting positions. Please refer to "Connecting Cable" on page 62 in the Appendix of this Quick Start Guide.
  • Page 13 been designed as a 9-pos. D-SUB male connector. The board is connected to the PC with the RS-232 cable IBS PRG CAB (Order No. 28 06 86 2) shown below. D i a g n o s t i c i n t e r f a c e R S - 2 3 2 c a b l e M a l e S o l d e r...
  • Page 14 5 7 5 6 A 0 0 7 Figure 6 Test mode button For information on the function of the test mode button, please refer to the Section "Startup for Testing the INTERBUS System" on page 24. 5756B...
  • Page 15 Slot for the Parameterization Memory 5 7 5 6 A 0 0 8 Figure 7 Slot for the parameterization memory A system-specific parameterization of the INTERBUS system and the controller board are stored on the plug-in parameterization memory. Connection for the External Power Supply...
  • Page 16: Installing The Controller Board

    Installing the Controller Board Possible Slots The S7-300 PLC is row-oriented with a maximum of four rows (0 through 3). Each row has a maximum of eight slots for I/O modules. 6 4 0 . . . 7 5 2 5 1 2 .
  • Page 17: Controller Board Installation In The Plc

    Controller Board Installation In the PLC Switch off the PLC supply voltage. Insert the bus connector in the PLC component in front of the controller board (Figure 10). 5 7 5 6 A 0 1 1 Figure 10 Inserting the bus connector Hook the controller board onto the upper part of the mounting rail (A).
  • Page 18: Connecting The External Supply Voltage

    Lock the controller board to the mounting rail using the two slotted-head screws at the bottom of the board. 5 7 5 6 A 0 1 3 Figure 12 Locking the controller board Make sure that the bus connector makes good contact and the controller board is securely placed and locked in the PLC.
  • Page 19: Inserting The Parameterization Memory

    Connect the controller board to the PLC power supply unit. In this case, the controller board will also be reset on a PLC POWER-UP. Inserting the Parameterization Memory Please note that only the test mode enables the operation of the controller board without parameterization memory.
  • Page 20: Connecting The Interbus System

    Connecting the INTERBUS System Connect the remote bus cable which goes to the first INTERBUS bus terminal module (BK module) to the remote bus interface (REMOTE) on the controller board. The connection to the controller board is via a 9-pos. D-SUB female connector, into which you can insert either the remote bus cable or an adapter for conversion to fiber optic cable.
  • Page 21: Connecting The Rs-232 Cable

    Connecting the RS-232 Cable Connect the RS-232 cable to the diagnostic interface (RS-232) of the controller board. It connects the controller board and your PC (COM1 to COM4). Connection I B S S 7 3 0 0 D S C - T N T E R I B S S 7 3 0 0 D S C - T O r d .
  • Page 22: Integrating Interbus Process Data Into The Plc

    Integrating INTERBUS Process Data Into the PLC Driver blocks enable the transfer of the area of INTERBUS process data (input and output data of INTERBUS devices) to the S7-300 PLC. These driver blocks create a process image that reads the inputs prior to the application program and writes the outputs to the controller board or output devices after they were processed by the application program.
  • Page 23: Interbus Operating Modes

    I/O data stored in the controller board. This means that the driver software can just as easily access data from the current INTERBUS data cycles as it can from the previous data cycles. This can result in an inconsistency in the transferred data.
  • Page 24: Example Of An Interbus And Plc Configuration

    Example of an INTERBUS and PLC Configuration To make your introduction to working with the IBS S7 300 DSC-T controller board as straightforward as possible, the descriptions in later sections are based on the following INTERBUS and PLC configuration. Example Configuration...
  • Page 25: Integration Of The Controller Board In Step 7

    Integration of the Controller Board in ® STEP 7 ® Integrate the controller board as a standard SIMATIC component (FM 353 for Step Motor, S7 FM-POS). To create the hardware configuration, select one of the following two options: – Reading out the PLC configuration –...
  • Page 26 The controller board occupies 16 byte inputs and 16 byte outputs in the analog PLC area starting from the base address. The INTERBUS standard registers are located in this area (see also "Position of the INTERBUS Standard Registers" on page 43).
  • Page 27 Integrating the Controller Board Manually During manual configuration, the controller board must be linked as "FM 353 for Step Motor" item (6ES7 353-1AH00-0AE0): ® 1. Start STEP 7 2. Create a new project and start the hardware configuration for SIMATIC S7 300. 3.
  • Page 28 4. To integrate the controller board, select the "FM-300" subdirectory and then the "FM 353 for Step Motor" module. Link the module to your project. Figure 20 Selecting the FM 353 for Step Motor module The IBS S7 300 DSC-T controller board is emulated as S7 FM-POS (FM 353 for Step Motor) in the analog area with 16 byte inputs/outputs.
  • Page 29 The controller board occupies 16 byte inputs and 16 byte outputs in the analog PLC area starting from the base address. The INTERBUS standard registers are located in this area (see also "Position of the INTERBUS Standard Registers" on page 43).
  • Page 30: Startup For Testing The Interbus System

    This "test mode" is only used for testing the connected INTERBUS devices. No outputs are set. In the test mode, the controller board automatically reads in...
  • Page 31 The display "RUN / TEST" indicates that the INTERBUS system has been installed correctly. 5 7 5 6 A 0 2 3 Figure 23 INTERBUS in the RUN state If an installation error prevents the system from starting normal operation, the LCD backlighting will change to red and an appropriate error message will appear.
  • Page 32: Checking The Connected Interbus Configuration

    During controller board test mode, the CPU cannot be accessed via the MPI interface. Once the system has undergone another POWER-UP without activation of the INTERBUS test mode, the diagnostic buffer of the CPU indicates that the modules are not ready for operation.
  • Page 33: Startup With Ibs Cmd Swt G4

    Startup With IBS CMD SWT G4 Configuration Software In this section you will learn how to start up the INTERBUS system with the aid of the IBS CMD SWT G4 configuration software (referred to below as IBS CMD). For configuring your controller board, use IBS CMD software version 4.50 or later.
  • Page 34 4. In the "Controller Board Settings Slot/Addresses" dialog box, enter the controller board row and slot. Figure 24 "Controller Board Settings... Slot/Addresses" dialog box Ensure that the "System Default" option is selected. This setting ensures that the base address of the board is calculated from the board slot entered.
  • Page 35 To transmit INTERBUS process data between the controller board and the PLC, you can parameterize data records in IBS CMD. These data records define data blocks which belong together and can be transferred in the application program using driver blocks.
  • Page 36 Operation" dialog box, you must also call the "Bus Operation...Options" dialog box. Figure 26 "Bus Operation Operating Mode Options" dialog In this dialog box, check the "Parameterize Interrupt Mode" box. This is required to provide the program with additional data on the INTERBUS operating mode set 5756B...
  • Page 37 – Interrupt Line to CPU: – Alarm OB: OB 40 Use these settings to specify that the INTERBUS is running synchronously with the PLC, controlled by process alarms which trigger OB 40 as an Alarm OB via Interrupt Line 1 on the backplane bus.
  • Page 38: Starting The Entire System

    "RUN". If the configuration could not be started, an appropriate error message appears on the display (see back cover). When the INTERBUS system is activated, the defined inputs and outputs of the controller board become available. This completes the configuration and startup of the INTERBUS system.
  • Page 39: Function Blocks Of The Controller Board

    Function Blocks of the Controller Board Installing Function Blocks The disk included in the IBS S7 300 DSC UM E User Manual contains function blocks in the programming language ® STEP 7 . Aside from these driver blocks designed for the operation of the controller board, you will find sample programs that can be directly linked to your application program.
  • Page 40: Example For Asynchronous Data Transfer

    IBS CMD project directory so that you can use the examples. Example for Asynchronous Data Transfer The section below describes an example of asynchronous data transfer between INTERBUS and the S7-300 PLC (see also the graphic representation of the entire configuration on page 18). 5756B...
  • Page 41: Integrating The Example Into Your Plc

    Ensure that: – the controller board is locked in the PLC, – the connecting cable is connected to INTERBUS and to the PC – the power supply of the S7-300 PLC is switched 1. Start IBS CMD and load the IOASYNCH.BG4 example file.
  • Page 42 In the example the base address of the controller board is address 256. The address of the input data word (16-bit input module for the INTERBUS) is DB2.DBB0 and the address of the output data word (16-bit output module for the INTERBUS) is DB3.DBB0.
  • Page 43: Description Of The Function Blocks In The Example

    Description of the Function Blocks in the Example The following section describes the driver blocks used in the example which control the interaction between the controller board and the PLC. Initialization Function FC 20: When switching on the power supply, the controller board is started via the pluggable parameterization memory.
  • Page 44 INTERBUS system, the function resets the activation bit (BUSY = 0). The RET bit indicates the result. With RET = 0, the INTERBUS system has been started and is ready for operation. If the RET bit is set (RET = 1), an error occurred.
  • Page 45 LOAD Loads the configuration from the parameterization memory. BOOT INTERBUS startup from the configuration. MODE The INTERBUS cycle on the controller board runs asynchronously to the PLC. Timer_NR Timer used by this driver function. SOURCE Not used CONFIGURATION DW#16#8...
  • Page 46 // Not used := M10.1 // Result bit BUSY := M10.0 // Activate FC 21 Parameter Descriptions: Parameter Value Meaning IBDB DB 20 Global INTERBUS data block MODE Read data record 1 (set in IBS CMD) SOURCE Not used DEST_AREA Not used...
  • Page 47 // Not used := M11.1 // Result bit BUSY := M11.0 // Activate FC 22 Parameter Descriptions: Parameter Value Meaning IBDB DB 20 Global INTERBUS data block MODE Write data record 1 (set in IBS CMD) DESTINATION Not used SOURCE_AREA Not used...
  • Page 48: Interbus System Operation From The Plc

    INTERBUS System Operation From the PLC The controller board has a standard register set for diagnostics and for basic control of the bus system. The registers are mapped in input and output memory areas of the PLC depending on the base address of the controller board.
  • Page 49: Position Of The Interbus Standard Registers

    Position of the INTERBUS Standard Registers O U T N T E R I B S S 7 3 0 0 D S C - T O r d . N o . : 2 7 1 9 9 7 5 C P U r e s .
  • Page 50: Description Of The Diagnostic Registers

    The diagnostic display is mapped to the PLC by the diagnostic status register and diagnostic parameter register. These registers inform the PLC about the current state of the INTERBUS system. In the application program, operating states, errors, and other information are represented as inputs.
  • Page 51 Diagnostic Parameter Register The diagnostic parameter register provides additional information about the error that is indicated in the diagnostic status register. This is either the error location (in the case of bus errors) or n + 1 P o s i t i o n i n s e g m e n t S e g m e n t n u m b e r E x a m p l e : D e v i c e 3 .
  • Page 52 (display: ACTV: flashing; BA LED for the device flashes; ACTIVE bit = 1 After the system start (display: RUN, BA LED active, RUN bit = 1) INTERBUS data cycles are run, and the control program can be started (bits READY, ACTIVE and RUN = 1).
  • Page 53 Error Indication Without Bus Disconnection (PF and USER) Errors are indicated by setting the PF (Peripheral Fault) and USER bits: PF = 1: Fault** within the periphery of an INTERBUS device. - Short circuit at the output - No sensor/actuator power supply...
  • Page 54: Description Of Standard Functions

    Byte n+1 (bits 0 ... 7): Position in segment (see Figure 33) When writing directly bits 7 to 15 of the standard function start register, there might be errors in the INTERBUS system leading to damage or personal injury. 5756B...
  • Page 55 Standard Function Status Register The processing sequence can be controlled using the corresponding standard function status bit. As soon as the controller board recognizes the function request in the start bit, the corresponding status bit will be set in the status register, and will remain active during processing.
  • Page 56 Standard Function Parameter Register Some standard functions require the entry of a parameter for function execution. In general, this parameter is the number of the bus device. The device number consists of the bus segment and position. The device number file is given in binary in the 16-bit standard function parameter register.
  • Page 57 2. The standard function status bit indicates the function execution. 3. Resetting the standard function start bit, terminates the function activation. 4. After the standard function status bit has changed to "0", the standard function result bit shows the result of the function execution (RESULT = 1: function not completed successfully).
  • Page 58: Automatic Diagnostic Functions

    The functions stored there, such as "Update diagnostic display" (PF display) and "Start INTERBUS system" (for a bus error) are used to acknowledge the error (bits 0 and 2 of the register).
  • Page 59 DETECTION := M100.4 // Diagnostic routine is active BUSY_STATE := M100.5 // FC IB_DIAG display active := M100.6 // Result bit START_UP := M100.7 // INTERBUS start after PLC startup (OB100) ************************************ **** Application program **** ************************************ Parameter Descriptions: IBDB Global INTERBUS data block (in the example: DB 20).
  • Page 60 Status message: Peripheral Fault on a device. = 1: INTERBUS is indicating a peripheral fault. The device number is stored in the diagnostic parameter register. = 0: INTERBUS does not indicate a peripheral fault. BUS_QUALITY Evaluation of transmission quality = 1: Quality is not achieved.
  • Page 61 "1". START_UP This parameter activates and starts the INTERBUS system once. In the event of an error, the INTERBUS system is started automatically after a cold or warm restart of the PLC. However, this requires the bit memory bit to be set during PLC startup.
  • Page 62 5756B...
  • Page 63: Appendix

    Appendix Replacing the Controller Board Only qualified persons should pack, unpack and handle the controller board while observing the ESD instructions. Proceed as follows to replace the controller board: 1. Put the PLC into the STOP state, and switch off the PLC power supply.
  • Page 64 4. Unplug the COMBICON connector for the external power supply. 5 7 5 6 A 0 3 5 Figure 38 Removing the COMBICON connector 5. Unscrew the fixing screws on the bottom of the controller board with a flat-bladed screwdriver (A). Swivel the controller board upward (B) and remove it from the mounting rail (C).
  • Page 65 9. Plug the COMBICON connector used to connect the external power supply into the controller board. 2 4 V 5 7 5 6 A 0 3 7 Figure 40 Connecting the COMBICON connector 10. Plug in and lock the remote bus connector. 5 7 5 6 A 0 3 8 Figure 41 Connecting the controller board to the remote bus 11.
  • Page 66: Replacing The Parameterization Memory

    Replacing the Parameterization Memory Put the PLC into the STOP state, and switch off the PLC power supply. The parameterization memory must not be removed or inserted during normal operation. Removing the Parameterization Memory 5 7 5 6 A 0 3 9 Figure 42 Removing the parameterization memory The parameterization memory comes out of the slot when you...
  • Page 67 Insert the parameterization memory (type: IBS MC FLASH Order No. 27 51 77 1) into the slot provided with the female connector towards the front. Make sure that when the parameterization memory is pressed lightly, it clicks into place and the ejector moves out. As you insert the parameterization memory, make certain that the card is located in the guide rails on both sides of the slot.
  • Page 68: Upgrading The Controller Board Firmware

    No update is required for normal system operation. When updating the controller board, please refer to your nearest Phoenix Contact representation. Connecting Cable Connect the remote bus cable to the remote bus interface of the controller board using a 9-pos. D-SUB female connector.
  • Page 69 2. Fold the braided shield back over the cable sheath. 3. Clamp the shield under the strain relief, so that a conductive connection to the metal-plated connector housing is created. Use only the metal-plated connectors recommended by Phoenix Contact. 5756B...
  • Page 70 2. Fold the braided shield back over the cable sheath. 3. Clamp the shield under the strain relief, so that a conductive connection to the metal-plated connector housing is created. Use only the metal-plated connectors recommended by Phoenix Contact. 5756B...
  • Page 71 Figure 46 IBS OPTOSUB cabling Refer to the package slips of the following items when assembling your own optical fiber cables, or order pre-assembled cables from Phoenix Contact. Ordering data: IBS OPTOSUB-MA/M/R-LK Order No. 27 50 12 5 F-SMA/4 connector set with bending protection...
  • Page 72 Polymer fiber (OPTOSUB-PLUS-K/OUT) 5 7 5 6 A 0 4 1 Figure 47 OPTOSUB PLUS cabling In the case of glass fiber cables, only pre-assembled cables from Phoenix Contact should be used. Ordering data: OPTOSUB-PLUS-G/OUT Order No. 27 99 63 6...
  • Page 73 Optical Fiber Connector for Glass Fibers Designation: PSM-EG-RS422/LWL-G 5 7 5 6 A 0 4 2 Figure 48 Cable connection with interface converter In the case of glass fiber cables, only pre-assembled cables should be used. Ordering data: Interface converter PSM-EG-RS422/LWL-G Order No.
  • Page 74: Controller Board Messages (Examples)

    Controller Board Messages (examples) (* see IBS SYS DIAG DSC UM E Diagnostic Guide) Message Parameter Extended Description/Remedy parameter USER 09DE code* Parameterization memory was activated but is not inserted. Insert the IBS MC FLASH parameterization memory in the controller board. RBUS code* A remote bus error occurred in bus segment X.
  • Page 75 Check the assignment of the device addresses (double addressing). EVNT 0B8F Overflow of the INTERBUS input buffer. Check the accessing of the I/O data for consistency. LOOK FOR FAIL The bus system has been interrupted by a fault, and the controller board is looking for the error location.
  • Page 76 5756B...
  • Page 77 We review and consider all comments for inclusion in future documentation. Please fill out the form on the following page and fax it to us or send your comments, suggestions for improvement, etc. to the following address: Phoenix Contact GmbH & Co. Marketing Services Dokumentation INTERBUS 32823 Blomberg GERMANY...
  • Page 78 FAX Reply Phoenix Contact GmbH & Co. Date: ....Marketing Services Dokumentation INTERBUS Fax: + 49 - (0) 52 35 - 3-4 20 66 From: Company: ......Name: ............Departm.: ......Address: ......Function: ......City: ......Phone: ......
  • Page 79 M e n u M O D E ; O p e r a t i n g , s e r v i c e , s y s t e m i n d i c a t o r s W O R D M O N I ;...
  • Page 80 M O D E M O N I C F G D I A G S T A T O P T S C A N T I M E O P T I T I M E F W - V H W - V S E R - N o .
  • Page 81 Notes: 5756B...
  • Page 82 Phoenix Contact GmbH & Co Flachsmarktstr. 8 32825 Blomberg Germany + 49 - (0) 52 35 - 3 00 + 49 - (0) 52 35 - 34 12 00 www.phoenixcontact.com...

Table of Contents

Save PDF