Home
User Manual - Sütron electronic GmbH
Contents
1. ennennennnnznnanenzannnnnnnnnnnnnnnnnnrnnannnnnnnnttn 2 4 2 2 1 6 Maximum Waiting Time For Response i 2 4 2 2 1 7 Connection Type 2 2 1 8 AMS Net ld 2 2 1 9 Port Number 2 2 1 10 Device Address 2 2 2 Variables List f TEE 2 2 3 POW AP CA iiiter eee c cot innate 2 2 4 Physical Connection nanna nanna nn 2 7 2 2 4 1 Pin Assignment for Operating Devices with an Universal Interface 2 7 2 2 4 2 Cabel RS232 Beckhoff BX8000 2 9 JErmor Messages ei oder eoe tee redu Ek eti Ehre i de tabes dus 2 4 Applications aaa a 2 4 1 Connection by AMS serial nen 6 SUTRON ELECTRONIC GMBH Overall Table of Contents 6 SuTRON ELECTRONIC GMBH Important Notes 1 Important Notes A IS 1 1 Symbols The symbols in this manual are used to draw your attention on notes and dangers 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 sto
2. Additionally you have to enter a Net ID and a port number for the operating device even if you don t connect it by ethernet For the port number of the operating device you enter a value greater or even 32768 in the programming software Enter the parameters for the controller computer in the TwinCat System Control as follows 1 Start the program TwinCat System Control on the controller computer The window TwinCat System Properties opens TwinCAT System Properties General System AMS Router PLC Registration Local Computer AMS Net Id 132 168 100 113 1 1 Remote Computers v Figure 2 1 Window TwinCat System Properties 2 Open the AMS Router tab 3 Click on the Add button S sutron a ELECTRONIC GMBH Beckhoff ADS serial IS The Properties of remote connection dialog opens You cannot enter any strings in the address field at the first call of the dialog Enter the Name AMS Net ID and Transport first and close the dialog You can assign your COM interface at the second call Add Remote Connection Name Sten AMS Netld 192 168 100 113 1 1 Address COM1 115200 n 8 1 Transport COM PORT v Slow Connection Figure 2 2 Properties of remote connection dialog 4 Enter a name for the controller computer in the Remote name field 5 Enter a 6 digit ID in the AMS Net ID field Take into account that the last two digits must have the value 1 6 Select the item COM PORT in t
3. User Manual Connection to Beckhoff ADS serial Part Number 80 860 665 Version 2 Date 22 11 2005 Valid for TSwin net 4 0x TSwin net 4 1x Version Date Modifications 1 21 09 2005 First edition 2 22 11 2005 Validation extended chapter Important Notes added protocol parameters corrected 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 1 2 Overall Table of Contents Important Notes tii ala 1 1 1 1 SYMBOLS aah ie a e AA ANNA aa 1 1 1 2 SafetviNotes ii is ai ANAN MAAN a hi 1 1 1 3 Intended USE na ale his 1 1 1 4 ir Clo m 1 2 COM RR RITA 2 1 2 1 Data Ty DOS m 2 1 2 2 Programming aaa g in ka ab tha Aa an 2 3 2 2 1 Protocol Parameters aa 2 3 2 2 1 1 BalidiFate se a maa naaa aaa E Non IA mwaa AA PA AN NAA AA ie seers 2 3 2 2 1 2 Pallina ER Gina D p GE TREE GT TRETEN Ge AAR 2 3 2 2 1 3 Data I 2 4 2 2 1 4 Stop Bits zai a it pee TEE ai 2 4 2 2 1 5 Delay until Connection Set Up
4. 5 SUTRON ELECTRONIC GMBH Beckhoff ADS serial Table 2 1 Data types for Beckhoff ADS serial Data Type Index Group s Index Offset Value Range Size WORD Inputs 0x000F020 0x00000000 to 0 to 65535 2 Byte Outputs oxoooFoso QXFFFFFFFF Flags 0x0004020 Data Block 0x000F003 0x00000000 2 2 Programming 2 2 1 Protocol Parameters 2 2 1 1 Baud Rate This parameter specifies the communication rate Table 2 2 Baud rate Configurable values Default Value Baud 9600 19200 38400 X 57600 2 2 1 2 Parity This parameter specifies the parity used to control the communication Table 2 3 Parity Configurable Values Default Value None Even X Odd 2 2 1 3 Data Bits This parameter specifies the number of data bits Table 2 4 Data bits Configurable Values Default Value 5 6 7 8 X 2 3 6 SUTRON ELECTRONIC GMBH Beckhoff ADS serial 2 2 1 4 Stop Bits This parameter specifies the number of stop bits Table 2 5 Stop bits Configurable Values Default Value 1 X 1 5 2 2 2 1 5 Delay until Connection Set Up This parameter specifies the waiting time after which the operating device starts the communication Table 2 6 Delay until connection set up Configurable Values Default Value 5 s to 255s 5s 2 2 1 6 This parameter specifies how long the operating devic
5. SuetronVar Output2 AT 0X30 1 BOOL SuetronVar END VAR The take over of the variables is always carried out when the variables list is opened in the programming software If you made changes to the controller software and therefore created new variables or deleted variables you have to update the variables list by opening it once again Afterwards you have to compile the project again so that the changes are taken on In connection with a BX controller only global variables which are assigned to the areas of input 96 I output Q or flag 96 M are allowed 2 2 3 Polling Area You should use the SINT data type If you like to use the poll area function Please enter the start address of the data block in Additional Functions Polling Area 2 6 6 SuTRON ELECTRONIC GMBH Beckhoff ADS serial 2 2 4 Physical Connection Plug in connectors on the operating device for connection to the controller 2 2 4 1 Pin Assignment for Operating Devices with an Universal Interface Table 2 12 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 2 4 2 Cabel RS232 Beckhoff BX8000 The following cabling diagram applies to operating devices with an universal inter face only Operating device Beckhoff BX8000 ra Yan 3 RD i TxD TD RxD 25 GNYE
6. od lanve SGND GND D SUB D SUB male connector male connector 25 pin 9 pin Both ends of the shield are connected to the metallic housing S sutron ELECTRONIC GMBH Beckhoff ADS serial 2 3 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 13 Error messages for Beckhoff ADS serial Code Subcode Description Possible Cause 50 03 Framing error on serial interface Line disturbance Wrong baud rate 06 Parity error on serial interface Line disturbance Different parity settings for communication participants 60 10 Wrong telegram length 20 Wrong telegram header Line disturbance 40 Wrong checksum Line disturbance 60 Timout no response Line interrupt Connection interrupt Loading a new project Controller not started Connection data in the con troller missing or invalid 70 Wrong transmitter address A different controller trans mits data to the operating de vice 70 Errors from the controller The subcode contains the error number of the con troller 0 No error 1 Internal error 2 No Rtime 3 Allocation locked memory error 4 Insert mailbox error 5 Wrong receive HMSG 6 Target port not found 7 Target machine not found 8 Unknown command ID 9 Bad task ID 10 No IO 2 8 6 SU
7. 020 Data Block 0x000F003 0x00000000 2 1 Beckhoff ADS serial Table 2 1 Data types for Beckhoff ADS serial Data Type Index Group s Index Offset Value Range Size DWORD Inputs 0x000F020 0x00000000 to 0 to 4294967295 4 Byte Outputs a NAUNANG Flags 0x0004020 Data Block 0x000F003 0x00000000 INT Inputs 0x000F020 0x00000000 to 32768 to 32767 2 Byte Outputs 0x000Fogo OXFFFFFFFF Flags 0x0004020 Data Block 0x000F003 0x00000000 LREAL Data Block 0x000F003 0x00000000 1 79769313486231 E308 8 Byte a 79769313486232E308 SINT Inputs 0x000F020 0x00000000 to 128 to 127 1 Byte Outputs ox000F030 OXFFFFFFFF Flags 0x0004020 Data Block 0x000F003 0x00000000 STRING Data Block 0x000F003 0x00000000 1 Byte per Character Size n Byte at Declaration 1 Byte for Zero Termina tion TIME Data Block 0x000F003 0x00000000 T 0ms 4 Byte Lm 582m47s295ms TIME OF D Data Block 0x000F003 0x00000000 TOD 00 00 4 Byte AY TOD to TOD 1193 02 47 295 UDINT Inputs 0x000F020 0x00000000 to 0 to 4294967295 4 Byte Outputs 0x000Fogo OXFFFFFFFF Flags 0x0004020 Data Block 0x000F003 0x00000000 UINT Inputs 0x000F020 0x00000000 to 0 to 65535 2 Byte Outputs 0x000Fogo OXFFFFFFFF Flags 0x0004020 Data Block 0x000F003 0x00000000 USINT Inputs 0x000F020 0x00000000 to 0 to 255 1 Byte Outputs 0x000Fogo OXFFFFFFFF Flags 0x0004020 Data Block 0x000F003 0x00000000 2 2
8. N ELECTRONIC GMBH Index A 2 ELECTRONIC GMBH 6 SuTRON ELECTRONIC GMBH S tron electronic GmbH Kurze StraBe 29 D 70794 Filderstadt Phone 0049 711 77098 0 Fax 0049 711 77098 60 E mail doku suetron de Internet www suetron com 6 SuTRON ELECTRONIC GMBH
9. TRON ELECTRONIC GMBH Beckhoff ADS serial Table 2 13 Error messages for Beckhoff ADS serial Code Subcode Description Possible Cause 70 11 Unknown AMS command 12 Win 32 error 13 Port not connected 14 Invalid AMS length 15 Invalid AMS Net ID 16 Low installation level 17 No debug available 18 Port disabled 19 Port already connected 20 AMS Sync Win 32 error 21 AMS Sync timeout 22 AMS Sync AMS error 23 AMS Sync no index map 24 Invalid AMS port 25 No memory 26 TCP send error 27 Host unreachable 1280 Router no locked memory 1282 Router mailbox full 1792 Error class device errors 1793 Service is not supported by server 1794 Invalid index group 1795 Invalid index offset 1796 Reading writing not permitted 1797 Parameter size not correct 1798 Invalid parameter value s 1799 Device is not in a ready state 1800 Device is busy 1801 Invalid context must be in Windows 1802 Out of memory 1803 Invalid parameter value s 1804 Not found files etc 1805 syntax error in command or file 1806 Objects do not match 1807 Object already exists 6 SuTRON ELECTRONIC GMBH 2 9 Beckhoff ADS serial Table 2 13 Error messages for Beckhoff ADS serial Code Subcode Description Possible Cause 70 1808 Symbol
10. e waits for a response from the controller Maximum Waiting Time For Response Table 2 7 Maximum waiting time for response Default Value 1000 ms Configurable Values 100 ms to 25500 ms 2 2 1 7 Connection Type For a point to point connection only those protocol parameters are available in the dialog which are necessary Table 2 8 Connection type Configurable Values Default Value Point to Point X Multiple link 2 2 1 8 AMS Net Id This parameter indicates the individual IP address of the operating device This ad dress is also used in the telegram header of the serial protocol However the AMS Net ID different from a normal IP address consists of 6 group numbers Use the IP address of the operating device for the first 4 group numbers and assign a 1 for each of the last 2 group numbers Example 192 168 100 155 1 1 You can obtain the IP address of the operating device as follows For TesiPan devices in standard mode 1st possibility 1 Start the device again 2 Readthe IP address while start process line IPAD 2 4 6 SUTRON ELECTRONIC GMBH Beckhoff ADS serial For TesiPan devices in standard mode 2nd possibility 1 Press the service tool key key 2 Enter the password 3 Click on the IPConfig symbol 4 Read the IP address line IP Address For ARM9 devices 1st possibility 1 Start the device again 2 Read the IP address while start process
11. he Transmission field 7 Confirm with OK You return to the TwinCat System Properties window 8 Select the new item in the Remote Computer field 9 Click on the Properties button 10 Enter the serial interface with any communication parameters in the Address field The format is COM Port Baud rate gt lt Parity gt lt Data bits gt lt Stop bits 11 Confirm with OK You return to the TwinCat System Properties window TwinCAT System Properties General System AMS Router PLC Registration Local Computer AMS Net Id 132 168 100 113 1 1 Remote Computers Station Figure 2 8 TwinCat System Properties window with entry 12 Confirm with OK You load the project Bootproject of TwinCAT PLC Control in the controller via this connection Connect the control computer and the controller with the programming cable After you have loaded the project of TwinCAT PLC Control into the controller and the project of TSwin into the operating terminal you can connect the control with the con trol unit 2 12 6 SuTRON ELECTRONIC GMBH Index A Index B BeckhOlT eene eee tea dece Een etn 2 1 Connection by AMS serial 2 11 C Cable RS232 Beckhoff BX8000 2 7 Important notes nennen 1 1 Intended USE 1 1 P Protocol parameters Beckh ff i eh 2 3 S Safety notes een 1 1 Symbol NN aa 1 1 T Target group aaa 1 2 6 SuTRO
12. line IPAD For ARM9 devices 2nd possibility Start the device again Start the launch program while booting process Navigate to the IP Settings button Press the Enter key Navigate to the Current IP button Press the Enter key Read the IP address line IP ND EAR ODN gt Table 2 9 AMS Net Id Configurable Values Default Value 000 000 000 000 1 1 No Default Value to 255 255 255 255 1 1 Always enter the first four group numbers of the IP address with 3 digit values Example 192 168 100 88 1 1 192 168 100 088 1 1 2 2 1 9 Port Number This parameter specifies the port number with up to 5 digits which is used to com municate with the operating device You can choose the port number freely Table 2 10 Port number Configurable Values Default Value Point to Point 32768 32768 to 65535 Multiple link 0 to 65535 2 2 1 10 Device Address This parameter sets the address of the operating device and is only valid for multiple links Table 2 11 Device address Configurable Values Default Value 0 to 255 0 G sutron ELECTRONIC GMBH Beckhoff ADS serial 2 2 2 Variables List Only those variables are put from the TPY file into the variables list of the program ming software which have the following declaration SuetronVar Example VAR_GLOBAL Inputl AT IX30 0 BOOL SuetronVar Outputl AT 0X30 0 BOOL
13. not found 1809 Symbol version invalid 1810 Server is in invalid state 1811 AdsTransMode not supported 1812 Notification handle is invalid 1813 Notification client not registered 1814 No more notification handles 1815 Size for watch too big 1816 Device not initialized 1817 Device has a timeout 1818 Query interface failed 1819 Wrong interface required 1820 Class ID is invalid 1821 Object ID is invalid 1822 Request is pending 1823 Request is aborted 1824 Signal warning 1825 Invalid array index 1856 Error class client errors 1857 Invalid parameter at service 1858 Polling list is empty 1859 Var connection already in use 1860 Invoke ID in use 1861 Timeout elapsed 1862 Error in Win 32 subsystem 1864 Ads port not opened 1872 Internal error in ads sync 1873 Hash table overflow 1874 Key not found in hash 1875 No more symbols in cache ai S sutron ELECTRONIC GMBH Beckhoff ADS serial TwinCat System Control 2 4 Applications 2 4 1 Connection by AMS serial For a connection by AMS serial you have to assign the AMS Net ID of the controller computer and the port number of the corresponding controller These data is read out of the TPY file by the programming software The data is included by the tags lt RoutingInfo gt lt RoutingInfo gt Example lt RoutingInfo gt lt AdsInfo gt lt Netld gt 192 168 100 155 1 1 lt Netld gt lt Port gt 801 lt Port gt lt AdsInfo gt lt RoutingInfo gt
14. onnects TesiMod operating devices with RISC CPU and ARM9 CPU respectively and TesiPan operating devices to the Beckhoff TwinCat controller family A serial connection via the RS232 or RS485 interface is used The serial ADS driver has to be installed on the controller The Beckhoff ADS serial protocol supports the synchronous services The programming software takes the data objects of the file NAME TPY which is generated as a XML file automatically The connected control unit accesses both to a data object both via the symbolic name and directly to addresses 2 1 Data Types Direct access is possible to the following data types 5 SUTRON ELECTRONIC GMBH Table 2 1 Data types for Beckhoff ADS serial Data Type Index Group s Index Offset Value Range Size BOOL Inputs 0x000F021 0x00000000 to 0 1 8 Bit FFFFFFFF Outputs ox000F031 Flags 0x0004021 Inputs 0x000F020 Outputs 0x000F030 Flags 0x0004020 Data Block 0x000F003 0x00000000 BYTE Inputs 0x000F020 0x00000000 to 0 to 255 1 Byte OxFFFFFFFF Outputs 0x000F030 Flags 0x0004020 Data Block 0x000F003 0x00000000 DATE Data Block 0x000F003 0x00000000 D 1970 01 01 4 Byte to D 2106 02 06 DATE AND Data Block 0x000F003 0x00000000 DT 1970 01 01 00 00 4 Byte _TIME DT to D 2106 02 06 06 28 15 DINT Inputs 0x000F020 0x00000000 to 2147483648 4 Byte OxFFFFFFFF to Outputs 0x000F030 2147483647 Flags 0x0004
15. rage 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 influence the EMC behav ior S sutron ii 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 Beckhoff ADS serial 2 Beckhoff ADS serial The Beckhoff ADS serial protocol c
Download Pdf Manuals
Related Search
Related Contents
Emerson D Control Station Flameproof Certificate Thés Dansants - fanfareduloup ORCHESTRA Manual Copyright © All rights reserved.
Failed to retrieve file