background image

C1120  S5 to II/O Lightbus Interface

Beckhoff II/O-Lightbus System

Date 27.06.97

Version 2.1

Page 49 of 52

3

C1120 Interface: Technical Data

CPU

80C166 Communication processor

memory

Ports

COM1

serial port
    eqiv. RS232 C or 20 mA current loop
    occupied by the configuration program

Field bus

Beckhoff II/O-Lightbus System

Transmission rate

2,5 MBaud, 32 Bit user data in 25 µs

Power supply

5V  from S5-PLC Bus

Current consumption

1,5 A from S5-PLC Bus

Housing

S5 Adaption capsule for intelligent peripherials

Содержание C1120

Страница 1: ...C1120 S5 to II O Lightbus Interface Beckhoff II O Lightbus System Date 27 06 97 Version 2 1 Page 1 of 52 C1120 S5 to II O Lightbus Interface Technical Documentation VERSION 2 1...

Страница 2: ...to get started setting up an I O list 25 Status register S5 C1120 26 Parallel Communication Channel 27 Table of error numbers 31 Service Routines in STEP 5 language 32 Status LEDs 33 2 4 Slave Setup 3...

Страница 3: ...Lightbus System and a SIEMENS SIMATIC S5 PLC The SIEMENS PLC program is enabled to access binary and analog inputs and outputs of the II O Lightbus System via a Dual Ported RAM of the interface card...

Страница 4: ...installation disc and use the backup copy instead of the original software disc switch on your PC Use DISCCOPY to backup your installation disc Use your backup disc for the installation Installation t...

Страница 5: ...n is valid type J or Y to activate N or ESC to quit By choosing the key ESC you are able to return to the higher menu levels Function keys F1 HELP Shows a help text for the equivalent menu and functio...

Страница 6: ...O Lightbus Interface Beckhoff II O Lightbus System Page 6 of 52 Version 2 1 Date 27 06 97 F9 PROGRAM END returns to DOS after closing the application F10 SYSTEM ENTRY changes to the setup menu of the...

Страница 7: ...dited saved under a project name and transfered from and to the C1120 card The screen shows different fields for input status line and function key setup Function keys F1 HELP Shows a help text for th...

Страница 8: ...20 projects F7 PRINT I O LIST prints the I O map to your printer on LPT1 F8 SAVE PROJECT stores the setup of C1120 under a project name if first time used you are asked for a project name At further s...

Страница 9: ...Byte The address for status register will automatically change to input value 4 and the address for interrupt request will change to input value 5 A single request is able to access an II O Lightbus...

Страница 10: ...d Error request enables the C1120 to stop the PLC with a timeout status of the C1120 in case errors occur on the II O Lightbus System the C1120 interface deletes the I O addresses in the Dual Ported R...

Страница 11: ...Transmit Basis is for entering the page frame offset for the strings being sent It should be noted that starting from the offset 2 bytes are reserved for the handshake between PLC and C11220 The actu...

Страница 12: ...text F2 SET DEFAULT sets configuration parameters to default F10 PREVIOUS MENU returns to the master setup menu IMPORTANT REMARK regarding the page number The page number for data exchange with the P...

Страница 13: ...n Mod holds the corresponding module address The coloumn Msg is without further use The coloumn Description keeps a 20 character user description of the module name or function The CDL coloumn is used...

Страница 14: ...telegram for II O Lightbus per PLC cycle F3 CLEAR MODULE by pressing F3 a line of the II O setup is deleted A confirmation is necessary for that action to take place Warning In case of deleting a modu...

Страница 15: ...The STEP5 program accesses the I O addresses 23 to 26 the C1120 maps the I O data to the modules 1 and 2 IB 23 IB 24 from module 1 OB 23 OB 24 OB 25 OB 26 to module 2 The inputs and outputs can be add...

Страница 16: ...s Indirect modules are listed in the I O setup list coloumn D0 D3 with IE or IA with address number 0 The choice of IE or IA is without use for the communication and only indicates the configuration o...

Страница 17: ...with setting the bit 0 of PB PY 254 ACK bit the data byte contents are valid and can be read by the PLC with L PB The PLC handshakes with resetting the bit 0 of PB PY 254 strobe bit The C1120 ends the...

Страница 18: ...on is lower than for single box mode and higher than for cyclical operation To activate the channel you must enter the option 1 in the Activate field in the menu option Edit Configuration Handling of...

Страница 19: ...by moving the cursor the the equivalent line and interrupt field pressing key F6 repetitively to choose the characteristic from not activated rising edge negative edge toggle The fast interrupts are...

Страница 20: ...ted by entering a 1 in the field Count The start address from which the count results are to be stored is entered in the field Count Address The count results are in the form of a 16 bit value so that...

Страница 21: ...ve to be entered in the equivalent lines e g C C1100 SYS The projectname of the C1120 project to be generated is entered in the field C1120 project name Path and directory of the C1120 project can be...

Страница 22: ...taken should be to check the RS232 interface cable and the serial interface parameters in the menu Program Parameters Function keys F1 HELP displays help text F2 RESET C1120 Generates a software reset...

Страница 23: ...erruption show the CYCLE LED After the ring interruption the CYCLE LED of modules is off possibly showing the red ERROR LED Switching back to standard mode is done with a RESET During the TRANSMIT CON...

Страница 24: ...and status information The parity error table allows to analyze and identify the location of parity error sources To use this option II O Lightbus modules must be configured with SPROMS of type 132 T...

Страница 25: ...p of the setup menu Change to the master setup menu Edit the I O list Enter the modules in the order of occurence in the II O Lightbus ring Enter the PLC I O addresses Save the configuration in a file...

Страница 26: ...times Bit 2 LWL ERROR This bit is set if an error occurs in the II O Lightbus System Depending on the configuration of the field error request the PLC reacts with a change to STOP mode error request 0...

Страница 27: ...t PB PY 253 parallel channel handshake PB PY 252 parallel channel function number PB PY 251 parallel channel argument 1 PB PY 250 parallel channel argument 2 The handshake is carried out with the peri...

Страница 28: ...120 acknowlege bit PB PY 253 6 to be 0 end of handshake cycle b Answer of the C1120 interface to the Siemens PLC master is receiver 1 C1120 sets strobe bit PB PY 253 7 after receiption of a function c...

Страница 29: ...Interface Argument 1 Argument 2 Error number Function nr 53 35H Reset II O Lightbus Request from PLC Argument 1 Argument 2 Reply from C1120 Interface Argument 1 Argument 2 Error number Module number...

Страница 30: ...38H II O Lightbus Loss test Request from PLC Argument 1 Argument 2 Reply from C1120 Interface Argument 1 Argument 2 Error number Module number Function No 59 3BH Reset String Slaves Request from PLC A...

Страница 31: ...Number of modules in I O list does not match number of modules in II O Lightbus ring 35 36 37 Transmission interrupt in the II O Lightbus ring module number location of interrupt 38 39 40 41 free runn...

Страница 32: ...sion 2 1 Date 27 06 97 Service Routines in STEP 5 language Following described service routines are available at the moment of issue 1 Function block for single request 2 Function block for error stat...

Страница 33: ...e is ready to work 2 CPU ERR Intermitting light indicates mismatch of number of modules in the configuration and II O Lightbus ring Possibly the EEPROM memory is defect Uninterrupted light indicates a...

Страница 34: ...which supervises the II O Lightbus I O data transmission and other interesting applications are available in this configuration Configuring an interface as a slave is done with the help of this menu...

Страница 35: ...2 1 Page 35 of 52 F6 PROJECT MANAGER the slave project manager is under development F7 PRINT SLAVE PROJECT the print function is under development F8 SAVE PROJECT saves the configuration to the hard d...

Страница 36: ...shows the offset address of the slave receive buffer The fields D0 D1 hold the PLC input addresses for the data in the RAM offset addresses of the slave receive buffer Before inserting a new line wit...

Страница 37: ...shows the offset address of the slave transmit buffer The fields D0 D1 hold the PLC output addresses for the data in the RAM offset addresses of the slave transmit buffer Before inserting a new line...

Страница 38: ...esses The first memory access of the scan should cause a pageswitch for the inputs the last for the outputs The default setting is prepared to serve CPU s which scan the process image beginning with t...

Страница 39: ...tting the field S5 error request to value 1 results in leaving the I O addresses undeleted A static display of the last I O status remains in the process image unchanged The status byte reports an err...

Страница 40: ...following steps self test of the C1120 interface activation of the configuration stored in the EEPROM memory The status of the C1120 interface is displayed in the status line after the reset This fun...

Страница 41: ...I O Lightbus Interface Beckhoff II O Lightbus System Date 27 06 97 Version 2 1 Page 41 of 52 F6 C1120 PC Reads the actual configuration from the C1120 interface to the PC F10 PREVIOUS MENU changes to...

Страница 42: ...enu different setups can be managed under the name of projects Function keys F1 HELP displays help text F2 SET PATH changes to new drive path for project file F3 CHANGE DIRECTORY changes to new direct...

Страница 43: ...N PROJECT Loads a project from the actual directory F7 MAKE PROJECT generates a new project in the actual directory F8 DELETE PROJECT deletes a project from the actual directory F9 COPY PROJECT Copies...

Страница 44: ...main menu leads to the system entry menu from here the user can choose the menus DOS SYSTEM and PROGRAM PARAMETER Function keys F1 HELP displays help text F2 DOS Opens a DOS shell F3 SYSTEM offers the...

Страница 45: ...52 System This menu offers the submenus LANGUAGE and LOGFILE Function keys F1 HELP displays help text F3 LANGUAGE offers the submenu LANGUAGE to choose different language options F4 LOG FILE offers th...

Страница 46: ...ion 2 1 Date 27 06 97 Language This menu is used to change the actual menu language during program execution Function keys F1 HELP displays help text F2 GERMAN switches to german language menu F3 ENGL...

Страница 47: ...e 47 of 52 Log File With the help of this menu the logfile can be displayed to review the event history Function keys F1 HELP displays help text F5 COPY LOGFILE Copies the file PROGRAM LOG to the driv...

Страница 48: ...ess and change parameters of the program The field Language is used to set the default language to german 0 or english 1 The parallel and serial port is configured by changing the port number in the e...

Страница 49: ...Communication processor memory Ports COM1 serial port eqiv RS232 C or 20 mA current loop occupied by the configuration program Field bus Beckhoff II O Lightbus System Transmission rate 2 5 MBaud 32 Bi...

Страница 50: ...it is driven directly from the S5 PLC Bus The powero n of the interface follows the power on of the PLC At this time all fiber optic connections of the Beckhoff Lightbus ring have to be connected to m...

Страница 51: ...O Lightbus System Date 27 06 97 Version 2 1 Page 51 of 52 Interface ports for connection with a PC The interfacing is realized with a standard serial RS232 cable with 9 pin connector pinout see annex...

Страница 52: ...1 Date 27 06 97 5 C1120 Serial Port Pinout Pinout of RS232 C current loop port 9 pin SUB D connector on front of C1120 Pin Signal Port 1 TXD RS232 C COM2 2 TXD RS232 C COM1 3 RXD RS232 C COM1 4 RXD R...

Отзывы: