Home

User Manual - Sütron electronic GmbH

image

Contents

1. User Manual Connection to INTERBUS MMICOM Interface 02 10 15 23 71 78 Part Number 80 860 657 Version 2 Date 24 11 2005 Valid for TSwin net 4 0x TSwin net 4 1x Version Date Modifications 1 26 07 2005 First edition 2 24 11 2005 Interfaces 71 and 78 added Validation extended chapter Important Notes added This manual including all illustrations contained herein is copyright protected Use of this manual by any third party in departure from the copyright provision is forbidden No part of this manual may be reproduced trans lated or electronically or photographically archived or altered without the express written consent from S tron electronic GmbH Violations shall be cause for damage liability S tron electronic reserves the right to make any changes that contribute to technical improvement 6 SUTRON ELECTRONIC GMBH Overall Table of Contents Overall Table of Contents 1 Important Notes u see 1 1 1 1 is Eaa O 1 1 1 2 Safety Notes Lee DA 1 1 1 3 Intended rt ih 1 1 1 4 Target Groupe 1 2 2 INTERBUS Interface 02 10 15 23 71 78 2 1 2 1 Structure 2 2 22 c 2 3 2 3 Considerations for Optimized Data Transmission 2 3 2 4 Programming 2 6
2. 2 4 1 Protocol parameters 2 6 2 4 1 1 Baud 2 7 2 4 1 2 2 7 2 4 1 3 2 7 2 4 1 4 Date E 2 8 2 4 1 5 stob Bits GAN 2 8 2 4 1 6 Handshake Timeout 2 8 2 4 1 7 Timeo t for Response rnnt ene tne ir ni tenni tiit Ferne Pene tapa p 2 8 2 4 1 8 Delay until Connection 8 2 8 2 4 1 9 Floating Point Numbers in the Siemens Format sse 2 9 2 4 1 10 Optimized Data Transmission nennen 2 9 2 4 2 Inp tt Syntax 2 9 2 4 3 Physical Connection 2 12 2 4 3 1 Pin Assignment for Operating Devices with an Universal Interface 2 12 2 4 3 2 Pin Assignment for Bus 2 12 2 4 3 3 Cable SER1 RS232 Bus Node 06 nn 2 13 2 5 Error 2 13 5 li tkt len P A 1 6 SUTRON ELECTRONIC GMBH Overall Table of Contents 5 SUTRON ELECTRONIC GMBH Important Notes 1 Important Notes A gt 1 1 Symbols The symbols in this manual are used to draw your attention on notes and dan
3. 2 17 Floating point number in the Siemens format Configurable Values Default Value IEEE Format Siemens Format X 2 4 1 10 Optimized Data Transmission This parameter specifies whether optimized data transmission should be used For using optimized data transmission it is recommended to fulfill certain considerations while programming the controller Table 2 18 Optimized data transmission Configurable Values Default Value ON OFF X See chapter Considerations for Optimized Data Transmission on page 2 3 2 4 2 Input Syntax The following image illustrates the structure of the input syntax for variables in the programming software BY x wm DW Number W 2 4 h Nume gt h OWD DW Figure 2 2 Syntax diagram In the programming software the Variable dialog opens to define a controller vari able S sutron ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 mem d Protocol Protocol name 5 Address Low bit no High bit no Figure 2 3 Variable dialog Variable name Enter any name for a variable in this field Address Enter an address according to the syntax diagram above Low Bit No and High Bit No If you specify a single bit of a byte word or double word enter the same bit number in each field Example To
4. 2 20 Pin assignment RS232 Pin Designation Function 1 Not Connected 2 RD Received Data 3 TD Transmitted Data 4 Not Connected 5 GND Ground 6 Not Connected 7 Not Connected 8 Not Connected 9 Not Connected S sutron ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 4 3 3 Cable SER1 RS232 Bus Node BK06 The following cabling diagram applies to operating devices with an universal inter face only Operating Device Bus Node 4 D x x 2 o b RD 18 BN BN 3 35 dg d b dg b 1 GND 25 GN GND D SUB D SUB Male Connector Male Connector 25 Pin 9 Pin 2 5 Error Messages Error messages are displayed on the operating device along with a code and sub code Error messages are composed as follows Communication Error Code XXXXX Subcode XXXXX Retries XXXXX Table 2 21 Error messages for INTERBUS MMICOM Interface 02 10 15 23 71 78 Code Subcode Error Type Possible Cause 2 The controller sent data to the operating device which the operating device did not request 4 Timeout error The subcode specifies the requested variable num ber 40 Illegal system variable The project contains an illegal System variable 50 Malfunction bit not set by controller 51 Online bit of controller is not set Bus is not run
5. MBH INTERBUS MMICOM Interface 02 10 15 23 71 78 2 4 1 4 Data Bits This parameter specifies the number of data bits Table 2 12 Data bits Configurable Values Default Value 5 6 7 8 x 2 4 1 5 Stop Bits This parameter specifies the number of stop bits Table 2 13 Stop bits Configurable Values Default Value 1 x 1 5 2 2 4 1 6 MMICOM Handshake Timeout This parameter specifies how long the operating device waits for an acknowledge ment from the controller Table 2 14 handshake timeout Configurable Values Default Value 0 ms to 65535 ms 1000 ms 2 4 1 7 Timeout for Response This parameter specifies how long the operating device waits for a response from the PLC Table 2 15 Maximum waiting time for response Configurable Values Default Value 0 ms to 65535 ms 1000 ms 2 4 1 8 Delay until Connection Set Up This parameter specifies the waiting time after which the operating device starts the communication Table 2 16 Delay until connection set up Configurable Values Default Value 0510205 2s 2 8 6 SUTRON ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 4 1 9 Floating Point Numbers the Siemens Format This parameter specifies whether floating point numbers are exchanged in the Sie mens specific format or IEEE format Table
6. UTRON ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 2 Data Types data types specify how many bytes assigned to a single variable Table 2 4 Data types for INTERBUS BKO6 Data Access to Length of Comment type Single Vari able BY Byte and Bit also 1 Byte Next byte is located 1 address higher W Word 2 Bytes Next word is located 1 address higher W 2 Word 2 Bytes Next word is located 2 addresses higher DW Double Word 4 Bytes Next double word is located 1 address higher DW 2 Double Word 4 Bytes Next double word is located 2 addresses higher DW 4 Double Word 4 Bytes Next double word is located 4 addresses higher The following convention applies to data with a data length of more than 4 bytes for example alphanumeric texts tables polling area status messages Depending on the access type the data is processed with the corresponding one two or four byte access If there is other data to be processed it is assumed that this data is located under the next higher variable number in each case Example A 10 character text string starting at variable 100 access W word consists of vari ables as follows PC WORX W100 W101 W102 W103 W104 10 byte Siemens S7 W100 W102 W104 W106 W108 10 byte 2 3 Considerations for Optimized Data Transmission The usage of optimized data transmission is not permitted
7. e Bytes 2 accesses made The first 2 bytes accessed with one WORD access and the third byte is accessed with a BYTE access In case of the third byte is at the end of a data block this will not cause a communication error WORD access Table 2 8 WORD access Word Variables on one Screen Number Number Of of Words Telegrams Wit With hout Optim Optim W 100 10 1 1 1 W 100 10 W 100 12 2 2 1 2 4 Programming 2 4 1 Protocol parameters With the protocol parameters you can adapt the communication of the controller used The parameters for the communication with the bus node are fixed and cannot be changed 6 SUTRON ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 4 1 1 Baud Rate This parameter specifies the communication rate Table 2 9 Baud rate Configurable Values Default Value Baud 300 600 1200 2400 4800 9600 19200 38400 X 57600 76800 115200 2 4 1 2 Parity This parameter specifies the parity used to control the communication Table 2 10 Parity Configurable Values Default Value None X Even Odd 2 4 1 3 Handshake This parameter specifies the method used to control the communication Table 2 11 Handshake Configurable values Default Value No Handshake X Hardware Software S sutron ELECTRONIC G
8. ence the EMC behav ior S sutron ELECTRONIC GMBH Important Notes 1 4 Target Group All configuration and programming work in connection with the automation system must be performed by trained personnel only e g qualified electricians electrical en gineers The configuration and programming personnel must be familiar with the safety con cepts of automation technology b S sutron ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 INTERBUS Interface 02 10 15 23 71 78 To select the correct interface variant in the programming software take note of the ID on the label attached to the operating device The two digits after the slash indicate the interface variant printed in bold in the ex ample displayed below For example TP32ET 159032 The INTERBUS MMICOM Interface 02 10 15 23 71 78 protocol allows commu nication between an operating device with RS232 interface and an INTERBUS Mas ter For this purpose a 06 or BK07 bus node which uses the MMICOM protocol is inserted The bus node is connected to the operating device by a RS232c interface and to the INTERBUS structure by an optical fiber cable BK06 or an copper cable BK07 The serial register extension SRE is used for the communication This makes it pos sible to exchange 8 bytes of user data through the INTERBUS The bus node identifies itself to the INTERBUS with variuos ID codes dependin
9. g on the device variant Table 2 1 Device variants Type Order Number Inputs Outputs ID Code BKO6 81151 010 8 8 47 BK06 81151 110 16 8 47 BK06 81151 300 0 0 47 BK06 81151 510 8 8 241 BK06 81151 610 16 8 241 BKO7 81200 000 8 8 47 BKO7 81200 100 16 8 47 BKO7 81200 500 8 8 241 BKO7 81200 600 16 8 241 Operating Bus Node INTERBUS RS232 BK06 Operating 5232 Bus Node INTERBUS Device BKO7 Master Figure 2 1 Connection of operating device bus node and INTERBUS S sutron ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 1 MMICOM Structure The MMI structure comprises 5 or 6 words depending on the configuration of the bus node 8 I O or 16 I O Table 2 2 MMI structure for BK06 with 8 inputs and 8 outputs Byte Content 1 Control Byte PD index Variable high Variable low MMI MMI MMI MMI o AJ wy Pp Copy of control byte Inputs _ O to _ 7 or outputs Oto 7 Table 2 3 structure for BKO6 with 16 inputs and 8 outputs Byte Content 4 Control Byte PD index Variable high Variable low MMI MMI MMI MMI OO OI NI oO a AJOJN Copy of control byte o Inputs _ O to 7 or outputs to 7 Optional inputs 8 to 15 Reserved 5 S
10. gers Danger This symbol is used to refer to instructions wich if ignored or not carfully followed could result in personal injury Note This symbol indicates application tips or supplementary notes Reference to source of information This symbol refers to detailed sources of information on the current topic 1 2 Safety Notes Read this manual carefully before using the operating device Keep this manual in a place where it is always accessible to all users Proper transportation handling and storage placement and installation of this product are prerequisites for its subsequent flawless and safe operation This user manual contains the most important information for the safe operation of the device The user manual in particular the safety notes must be observed by all person nel working with the device Observe the accident prevention rules and regulations that apply to the operating site Installation and operation must only be carried out by qualified and trained per sonnel 1 3 Intended Use The device is designed for use in the industry The device is state of the art and has been built to the latest standard safety re quirements However dangerous situations or damage to the machine itself or other property can arise from the use of this device The device fulfills the requirements of the EMC directives and harmonized Euro pean standards Any modifications to the system can influ
11. ion up to 8 16 32 bits which have the same byte word or double word address are transmitted together With optimized data transmission also bits which are located in consecutively ad dressed bytes or words are transmitted together Table 2 6 BIT access Bit Variables on one Screen Number Number Of of Bits Telegrams Variable Address Low High Wit With Bit No Bit No hout Optim Optim 1 BY 100 10 0 0 8 1 1 8 BY 100 10 7 7 1 BY 100 10 10 0 16 2 1 8 BY 100 10 7 7 9 BY 100 11 0 0 16 BY 100 11 7 7 1 BY 100 10 0 0 32 4 1 8 BY 100 10 7 7 9 BY 100 11 0 0 16 BY 100 11 7 7 17 BY 100 12 0 0 24 BY 100 12 7 7 25 BY 100 13 10 0 32 BY 100 13 7 7 1 VV 100 10 0 0 16 1 1 16 VV 100 10 15 15 1 VV 100 10 0 0 32 2 1 16 100 10 15 15 17 VV 100 12 32 100 12 15 15 1 DW 100 1010 0 32 1 1 32 DW 100 10 31 31 5 SUTRON ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 UD BYTE access Table 2 7 BYTE access Byte Variables on one Screen Number Number Of of Bytes Telegrams Wit With hout Optim Optim BY 100 10 1 1 1 BY 100 10 BY 100 11 BY 100 10 BY 100 12 BY 100 10 BY 100 11 BY 100 12 BY 100 10 BY 100 11 BY 100 13 NIN BY 100 10 BY 100 11 BY 100 12 BY 100 13 For consecutiv
12. ning PLC pro gram is missing or controller is in STOP mode 52 Standard bit of controller is not set Bus is not running PLC pro gram is missing or controller is in STOP mode 53 XX Wrong PD index received The subcode specifies the PD index received 2 13 6 SUTRON ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 Table 2 21 Error messages for INTERBUS MMICOM Interface 02 10 15 23 71 78 Code Subcode Error Type Possible Cause 54 Handshake error receive timeout PLC program missing or con troller is in STOP mode 55 Handshake error send timeout PLC program missing or con troller is in STOP mode 56 Variable has wrong base size 57 Handshake error Handshake bits were not set correctly by controller 58 Access error No SPI communication pos sible 59 Wrong variable number received The subcode specifies the variable number recei ved 60 Wrong PD index received The subcode specifies the PD index received 61 INTERBUS reset interrupt An INTERBUS reset interrupt was triggered the outputs are deactivated 62 Wrong micro controller program version 70 Transmission error OxOB NAK during disconnect 0x0C NAK during disconnect 0x15 acknowledgment delay on connection setup 0x17 NAK during disconnect 0x19 Both partners have high priority 71 Receive error 0x03 Hard
13. specify the address of the data block 100 byte 10 bit 0 enter the following values Address BY100 10 Low Bit No 0 High Bit No If you specify the address of several bits bitstream of one byte word or double word enter the lower significant bit number in the Low Bit No field and the higher significant bit number in the High Bit No field Example To specify the address of the data block 100 byte 10 bits 0 to 3 enter the following values Address BY 100 10 Low Bit No 0 High Bit No 3 2 10 6 surRoN ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 The syntax for INTERBUS MMICOM is not controller specific 15 Examples for Siemens 57 controllers BY 100 10 DB100 DBB10 W 100 10 DB100 DBW10 DW 100 10 DB100 DBD10 Examples for PC WORX BY100 byte array byte 100 W100 word array word 100 DW100 double word array double word 100 S sutron a ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 2 4 3 Physical Connection Use the RS232 interface to connect an operating device to the bus node BKO6 2 4 3 1 Pin Assignment for Operating Devices with an Universal Interface Table 2 19 Pin assignment RS232 Pin Designation Function 6 TD Transmitted Data 15 CTS Clear to send 17 RTS Request to send 18 RD Received data 25 SGND Signal Ground 2 4 3 2 Pin Assignment for Bus Nodes Table
14. to projects with WORX To optimize the data transmission and as a result accelerate the speed of screen composition atthe operating device you can activate the Optimized data transmis sion in the protocol parameters In this case the available user data of 4 byte 32 bit is used more efficient and the number of communication telegrams is reduced To make this available you have to address the variables consecutively as bit byte or word access in the corresponding address area S sutron 5 ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 The following table shows the possible combinations Table 2 5 Combinations for optimized data transmission DBX DBX DBX DBX Number Of Offset Y Offset Y 1 Offset Y 2 Offset Y 3 Telegrams Wit With hout Optim Optim BY 1 1 BY BY 2 1 BY BY 2 2 BY BY 2 1 BY BY BY 3 2 BY BY BY 3 1 BY BY BY 3 1 BY BY BY BY 4 1 W low W high 1 1 W low W high W low W high 2 1 The syntax for INTERBUS MMICOM is not controller specific Examples for Siemens S7 controllers BY 100 10 DB100 DBB10 W 100 10 DB100 DBW10 DW 100 10 DB100 DBD10 Examples for PC WORX BY100 byte array byte 100 W100 word array word 100 DW100 double word array double word 100 5 SUTRON ELECTRONIC GMBH INTERBUS Interface 02 10 15 23 71 78 BIT access Without optimized data transmiss
15. ware error OxOF Receive box blocked 0x13 No further repetition 0x15 Block delay 0x17 Wrong BCC S sutron ELECTRONIC GMBH Index A Index Cable SER1 RS232 Bus Node BKO6 2 13 Considerations for optimized data transmission anne 2 3 Important 2 1 1 Intended 1 1 INTERBUS Interface 02 10 15 23 71 78 2 1 2 13 Optimized data transmission 2 9 Considerations 2 3 P Protocol parameters INTERBUS MMICOM Interface 02 10 15 23 71 78 2 6 S Safety 0 4402 2 1 1 ue 1 1 T Target group 1 2 6 SUTRON ELECTRONIC GMBH 2 ELECTRONIC GMBH 5 SUTRON ELECTRONIC GMBH S tron electronic GmbH Kurze Stra e 29 D 70794 Filderstadt Phone 0049 711 77098 0 Fax 0049 711 77098 60 E mail doku suetron de Internet www suetron com 5 SUTRON ELECTRONIC GMBH

Download Pdf Manuals

image

Related Search

Related Contents

GE PSGN & PSGV Data Sheet  取 扱 説 明 書  MANUALE D`USO NEW VAPINAL - REF RE 420000  関連資料  東京理化低温反応装置マニュアル  薄い!軽い!ポケットサイズの ACクランプ!  manuel d`installation de l`appareil de mesure “lcd” “lcds  Fujitsu LIFEBOOK T4310    

Copyright © All rights reserved.
Failed to retrieve file