background image

Chapter 5   Deployment Command interface

 

Manual VIPA System 300V 

5-30 

 

HB130E - CP - RE_343-2AH10 - Rev. 08/41 

Read_Version_ID 

 

This call reads out the version ID of the firmware of the AS-i master. 
 

Structure of the Job Data in the Send buffer 

Byte 

Meaning 

Command number: 14h 

 
The response of the AS-i master contains the name and the firmware 
version number. 
 

Structure of the Job Data in the Receive buffer 

Byte 

Meaning 

0 ... 31 

Version string 

 

Read_AS-i-Slave_ID 

 

With this call the ID code of an AS-i slave may be read out directly over the 
AS-i cable. The call is intended for diagnostic purpose and is not required in 
the normal master mode. 
 

Structure of the Job Data in the Send buffer 

Byte 

Meaning 

Command number: 17h 

1 Slave 

address 

 
The response of the AS-i master contains the name and the firmware 
version number. 
 

Structure of the Job Data in the Receive buffer 

Meaning 

Byte 

Bit 7                                    Bit 4 Bit 3                                  Bit 0

0 reserved 

ID 

code 

 

Description 

Description 

Содержание CP 343-2AH10

Страница 1: ...Order No VIPA HB130E_CP Reference RE_343 2AH10 Rev 08 41 This manual is part of the documentation package with order number VIPA HB130E_CP and relevant for Product Order number as of state CP HW CP FW...

Страница 2: ......

Страница 3: ...ts of this manual were verified with respect to the hard and software However we assume no responsibility for any discrepancies or errors The information in this manual is verified on a regular basis...

Страница 4: ...r 3 Hardware description Here the hardware components of the CP 343 2P ASI are described The technical data are at the end of the chapter Chapter 4 Deployment CP 343 2P ASI Here the deployment of the...

Страница 5: ...Fast introduction 4 2 Hardware configuration 4 3 Button configuration 4 6 Uploading the current configuration to PG 4 7 Configuration AS i slave 4 8 Data transfer with the user program 4 10 Diagnostic...

Страница 6: ...3 Write_Extended_Parameter_List 5 28 Read_Extended_Parameter_Echo_List 5 29 Read_Version_ID 5 30 Read_AS i Slave_ID 5 30 Read_AS i_Slave_Extended_ID1 5 31 Write_AS i_Slave_Extended_ID1 5 31 Read_AS i_...

Страница 7: ...available in the manual an overall table of contents at the beginning of the manual an overview of the topics for every chapter an index at the end of the manual The manual is available in printed for...

Страница 8: ...ts EX zone The manual must be available to all personnel in the project design department installation department commissioning operation The following conditions must be met before using or commissio...

Страница 9: ...nts for the usage of the System 300V modules Besides the general information like dimensions and environment conditions also basics about AS i may be found here Topic Page Chapter 1 Basics 1 1 Safety...

Страница 10: ...onents thereby causing the module to become inoperable or unusable Modules that have been damaged by electrostatic discharges can fail after a temperature change mechanical shock or changes in the ele...

Страница 11: ...le modules of the VIPA System 300V are design compatible to Siemens Due to the compatible backplane bus it is no problem to mix the modules from VIPA and Siemens The CPUs of the System 300V are instru...

Страница 12: ...15 3DP01 PB M X5 X2 X3 PS DVI CF PB DP CPU315NET X 2 3 4 DC 24V MP I 2 Wiring by means of spring pressure connections CageClamps at the front connector Core cross section 0 08 2 5mm2 or 1 5 mm 2 Total...

Страница 13: ...the address 0 is used at the AS i master for the function automatic address programming Each AS i slave has a slave profile The profile consists of 2 digits divided by a dot The I O configuration is r...

Страница 14: ...Chapter 1 Basics Manual VIPA System 300V 1 6 HB130E CP RE_343 2AH10 Rev 08 41...

Страница 15: ...his chapter you will find all information required for the installation and the cabling of a PLC system with the components of the System 300 and the CP 343 2ASI Topic Page Chapter 2 Assembly and inst...

Страница 16: ...s are included in the delivery of the peripheral modules G 122 Order number A B C VIPA 390 1AB60 160mm 140mm 10mm VIPA 390 1AE80 482mm 466mm 8 3mm VIPA 390 1AF30 530mm 500mm 15mm VIPA 390 1AJ30 830mm...

Страница 17: ...Assembly and installation guidelines HB130E CP RE_343 2AH10 Rev 08 41 2 3 Installation dimensions 1tier width WxHxD in mm 40 x 125 x 120 65mm 40mm 122 mm 125 mm 120mm 175mm Dimensions Basic enclosure...

Страница 18: ...STOP MRES PLC X1 VIPA Muster PB M X5 X2 X3 PS DVI CF MPI PB DP CPU 317 BM X 2 3 4 DC 24V VIPA 321 1BH00 DI 16xDC24V X 2 3 4 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 SM321 VIPA 307 2EA00 PS 307 6 X 2 3 4 IN AC...

Страница 19: ...he profile rail and pull it to the left side to the grounding bolt of the profile rail Fix the power supply by screwing Take a bus coupler and click it at the CPU from behind like shown in the picture...

Страница 20: ...CPU gray connectors with CageClamp technology are used You may connect wires with a cross section of 0 08 mm 2 to 2 5 mm 2 You can use flexible wires without end case as well as stiff wires You fix th...

Страница 21: ...und opening for wires 1 2 3 The picture on the left side shows the cabling step by step from top view For cabling you push the locking vertical to the inside with a suiting screwdriver and hold the sc...

Страница 22: ...e front connector on the module until it locks In this position the front connector juts out of the module and has no contact yet De isolate your wires If needed use core end cases Thread the included...

Страница 23: ...release key at the front connector on the upper side of the module and at the same time push the front connector into the module until it locks Bolt the fixing screw of the front connector Now the fr...

Страница 24: ...without interferencing the environment All System 300V components are developed for the deployment in hard industrial environments and fulfill high demands on the EMC Nevertheless you should project...

Страница 25: ...ated Analog lines must be laid isolated When transmitting signals with small amplitudes the one sided lying of the isolation may be favorable Lay the line isolation extensively on an isolation protect...

Страница 26: ...isolation one sided Then you only achieve the absorption of the lower frequencies A one sided isolation connection may be convenient if the conduction of a potential compensating line is not possible...

Страница 27: ...2AH10 Rev 08 41 3 1 Chapter 3 Hardware description Here the hardware components of the CP 343 2ASI are described The technical data are at the end of the chapter Topic Page Chapter 3 Hardware descript...

Страница 28: ...mming by means of address 0 possible Button configuration of current configuration into non volatile memory current configuration may be uploaded to the PG compatibility to Siemens FC ASI_3422 Diagnos...

Страница 29: ...5 16 17 18 19 20 Assignment AS i brown AS i blue AS i brown AS i blue Circuit diagram 17 18 19 20 VIPA 343 2AH10 CP 343 2P ASI X 2 3 4 SF PWR APF CER AUP CM B 20 10 9 8 7 6 5 4 3 2 1 0 SET Description...

Страница 30: ...e the CP cannot change to the mode requested with the SET button for example a slave exists with address 0 RUN green Indicates that the CP has started up correctly APF red AS i Power Fail This indicat...

Страница 31: ...ion mode all detected AS i slaves are displayed If the CP is in the protected mode all activated AS i slaves are indicated by the LED being permanently lit Failed or existing but not configured AS i s...

Страница 32: ...ation Power dissipation of the module 2 5W Data for Specific Module Bus cycle time 5ms with 31 Slaves 10ms for 62 Slaves with extended addressing mode Configuration using a button on the front or FC A...

Страница 33: ...ng there is a description of the embedding in the your PLC system and the possibilities for diagnostics and troubleshooting are shown With information about the firmware update the chapter ends Topic...

Страница 34: ...n is transferred to the project by the button Upload to PG This configuration may be accessed by the register Slave Configuration Here the configuration may be changed or further configurations may be...

Страница 35: ...as priority in relation to a button configuration At start up of the CPU the CP gets its AS i configuration from the CPU Here a possibly existing button configuration is overwritten Start the Siemens...

Страница 36: ...If the designation is changed the new designation appears in your project in the configuration table In this part the purpose of the module may be entered By presetting a start address for the input r...

Страница 37: ...AS i master will automatically assign the address of the replaced AS i slave to the new AS i slave This register shows the configuration of the AS i bus If you have already uploaded a configuration m...

Страница 38: ...Configuration mode Slave display B adress area group of 10 Slave display group element Configuration error Check whether the CP is in configuration mode The CM LED is on in configuration mode If not...

Страница 39: ...the CP 343 2P without AS i slaves to the hardware configuration Save and translate your project and transfer it to the CPU Execute a button configuration see same named chapter The current configurati...

Страница 40: ...s priority to a button configuration During the start up of the CPU the AS i configuration is transferred to the CP Here a possibly existing button project is overwritten To configure a special slave...

Страница 41: ...used if no AS i standard slave is placed in the A area Here an internal designation is shown which is assigned to the corresponding AS i slave type The short designation of the AS i slave may be ente...

Страница 42: ...s nibble may be accessed by the user program by means of peripheral load and transfer instructions as e g L PIW x Access to slave input data L PID x T PQW x Access to slave output data T PQD x with x...

Страница 43: ...B A slave 22 A B A slave 23 n 12 A B A slave 24 A B A slave 25 n 13 A B A slave 26 A B A slave 27 n 14 A B A slave 28 A B A slave 29 n 15 A B A slave 30 A B A slave 31 Configured I O address of the C...

Страница 44: ...20B B slave 21B 11 B slave 22B B slave 23B 12 B slave 24B B slave 25B 13 B slave 26B B slave 27B 14 B slave 28B B slave 29B 15 B slave 30B B slave 31B With the analog value transmission you have acce...

Страница 45: ...21 96 103 64 71 32 39 0 7 22 104 111 72 79 40 47 8 15 23 112 119 80 87 48 55 16 23 24 120 127 88 95 56 63 24 31 25 96 103 64 71 32 39 0 7 26 104 111 72 79 40 47 8 15 27 112 119 80 87 48 55 16 23 28 12...

Страница 46: ...y to an error event More information about the error events may be accessed by the local bytes of the OB 82 If OB 82 is not programmed the CPU changes to STOP The CP produces diagnostic interrupts exc...

Страница 47: ...B82_CONFIG_ERR BOOL with the CP always 0 9 OB82_MDL_TYPE BYTE Module class for CP 1Ch 10 0 OB82_SUB_MDL_ERR BOOL At least 1 slave differs from the expected configuration 1 OB82_COMM_FAULT BOOL with th...

Страница 48: ...0 no error 1 error With the VIPA CP 343 2P ASI the record set 1 always has the length of 16byte and has the following structure Local byte Description 0 3 Contents of the local byte 8 11 from record s...

Страница 49: ...UP LED goes off and the new slave is indicated by the slave display At the following conditions the CP supplies the value 7FFFh in the input direction read record set The AS i slave does not exist has...

Страница 50: ...place the CP SF LED is lit when the SET button is pressed A slave with address 0 exists when there is a change to the protected mode Remove the slave with address 0 from the AS i cable The CP has not...

Страница 51: ...an one slave is defective program the address on the replaced slave using the addressing unit The CP has not detected configured AS i slaves Remove the not configured AS i slaves from the AS i cable A...

Страница 52: ...the standard bus is listed More may be found at the manual of the SPEED7 CPU at Access to the internal web page Note Please regard for a CP firmware update a SPEED7 CPU firmware version starting with...

Страница 53: ...Permanent_Configuration 5 10 Get_Extended_Permanent_Configuration 5 11 Store_Actual_Configuration 5 11 Read_Extended_Actual_Configuration 5 12 Set_LPS 5 12 Set_Offline_Mode 5 13 Select Autoprogramming...

Страница 54: ...st time STARTUP must be reset by the user LADDR INPUT WORD I Q M D L constant Base address of the CP in the S7 address space The module base address is specified during configuration SEND INPUT ANY I...

Страница 55: ...he CP used in the ET 200M only a limited number of read_data_record and write_data_record jobs can be activate at the same time on the CPU The maximum number of jobs is triggered they are terminated w...

Страница 56: ...0 1 80C4h Communication error 0 1 80C5h Distributed I Os not available 0 1 80C6h Data record transfer aborted due to priority class abort warm restart or background of the distributed I Os 0 1 8181h J...

Страница 57: ...cated in an area that is illegal for system function 0 1 8F28h 8F29h Alignment error reading a parameter Alignment error writing a parameter This error codes indicates that the reference to a paramete...

Страница 58: ...t_Configuration Slave address 25h Get_Extended_Permanent_Configuration Slave address configuration Specified configuration 26h Store_Actual_Configuration 07h Get_Extended_Actual_Configuration Slave ad...

Страница 59: ...ly relevant with certain commands are shown with green background Byte Meaning q 0 Command number q 1 Job data q Job data q base address of the send buffer on the DP master The basic structure of the...

Страница 60: ...itself In this case the configured parameters are always set to Fh Attention If you configure the AS i slaves with a hardware configuration using the call described here is generally unnecessary If yo...

Страница 61: ...with the AS i slave standard profile 7 4 For these slaves the AS i master handles the AS i slave parameter assignment itself Structure of the Job Data in the Send buffer Meaning Byte Bit 7 Bit 4 Bit...

Страница 62: ...data are stored permanently on the Flash ROM of the CP and are used as the expected configuration by AS i master in the protected mode The configuration data are specified by the manufacturer of the...

Страница 63: ...ion With this call the actual configuration data I O configuration ID code extended ID1 code and extended ID2 code of all AS i slaves are stored permanently in the Flash ROM as the expected configurat...

Страница 64: ...m start on the AS i master The call is not executed in the protected mode Attention If you configure the AS i slaves with hardware configuration using the call described here is generally unnecessary...

Страница 65: ...g parameters are executed In the offline mode the CP only processes jobs from the user Jobs that involve the immediate addressing of an AS i slave are rejected with an error There is no cyclic data ex...

Страница 66: ...in the LDS the CP cannot change from the configuration mode to the protected mode Structure of the Job Data in the Send buffer Meaning Byte Bit 7 Bit 1 Bit 0 0 Command number 0Ch 1 00h 01h Operating m...

Страница 67: ...ognizes that the stored address is not the same as the entry in the address register S1 Parity error detected This flag is set when the AS i slave has recognized an end bit error in a frame since the...

Страница 68: ...AS slave 10B LAS slave 11B LAS slave 12B LAS slave 13B LAS slave 14B LAS slave 15B 6 LAS slave 16B LAS slave 17B LAS slave 18B LAS slave 19B LAS slave 20B LAS slave 21B LAS slave 22B LAS slave 23B 7 L...

Страница 69: ...9B LPS slave 10B LPS slave 11B LPS slave 12B LPS slave 13B LPS slave 14B LPS slave 15B 22 LPS slave 16B LPS slave 17B LPS slave 18B LPS slave 19B LPS slave 20B LPS slave 21B LPS slave 22B LPS slave 2...

Страница 70: ...rds AUTO_ADDR_ENABLE 1 and there is no incorrect slave connected to the AS i Interface LDS_0 The flag is set when an AS i slave exists with address 0 CONFIG_OK The flag is set when desired configured...

Страница 71: ...ber 39h Structure of the Job Data in the Receive buffer Meaning Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 00h 1 00h 2 reserved LAS slave 1 LAS slave 2 LAS slave 3 LAS slave 4 LAS slave 5...

Страница 72: ...ve 11 Ext ID2 slave 11 34 ID_CODE slave 12 I O configuration slave 12 35 Ext ID1 slave 12 Ext ID2 slave 12 36 ID_CODE slave 13 I O configuration slave 13 37 Ext ID1 slave 13 Ext ID2 slave 13 38 ID_COD...

Страница 73: ...n slave 7B 89 Ext ID1 slave 7B Ext ID2 slave 7B 90 ID_CODE slave 8B I O configuration slave 8B 91 Ext ID1 slave 8B Ext ID2 slave 8B 92 ID_CODE slave 9B I O configuration slave 9B 93 Ext ID1 slave 9B E...

Страница 74: ...ve 4 Parameter slave 5 141 Parameter slave 6 Parameter slave 7 142 Parameter slave 8 Parameter slave 9 143 Parameter slave 10 Parameter slave 11 144 Parameter slave 12 Parameter slave 13 145 Parameter...

Страница 75: ...master and stored in non volatile memory These parameters are transferred to the AS i slaves when the AS i master starts up The flags that determinate the operating status of the AS i master followin...

Страница 76: ...7 26 ID_CODE slave 8 I O configuration slave 8 27 Ext ID1 slave 8 Ext ID2 slave 8 28 ID_CODE slave 9 I O configuration slave 9 29 Ext ID1 slave 9 Ext ID2 slave 9 30 ID_CODE slave 10 I O configuration...

Страница 77: ...ID_CODE slave 4B I O configuration slave 4B 83 Ext ID1 slave 4B Ext ID2 slave 4B 84 ID_CODE slave 5B I O configuration slave 5B 85 Ext ID1 slave 5B Ext ID2 slave 5B 86 ID_CODE slave 6B I O configurat...

Страница 78: ...CODE slave 30B I O configuration slave 30B 135 Ext ID1 slave 30B Ext ID2 slave 30B 136 ID_CODE slave 31B I O configuration slave 31B 137 Ext ID1 slave 31B Ext ID2 slave 31B 138 reserved Parameter slav...

Страница 79: ...DDR_ASSIGN 5 reserved 6 LDS_0 6 reserved 7 CONFIG_OK 7 MPO startup Flags whose values modify the AS i master mode are shown in green The values of the other flags have no significance for the store to...

Страница 80: ...ve 16 Parameter slave 17 11 Parameter slave 18 Parameter slave 19 12 Parameter slave 20 Parameter slave 21 13 Parameter slave 22 Parameter slave 23 14 Parameter slave 24 Parameter slave 25 15 Paramete...

Страница 81: ...ave 19 10 Parameter echo slave 20 Parameter echo slave 21 11 Parameter echo slave 22 Parameter echo slave 23 12 Parameter echo slave 24 Parameter echo slave 25 13 Parameter echo slave 26 Parameter ech...

Страница 82: ...ob Data in the Receive buffer Byte Meaning 0 31 Version string Read_AS i Slave_ID With this call the ID code of an AS i slave may be read out directly over the AS i cable The call is intended for diag...

Страница 83: ...S i master contains the name and the firmware version number Structure of the Job Data in the Receive buffer Meaning Byte Bit 7 Bit 4 Bit 3 Bit 0 0 reserved Extended ID1 code Write_AS i_Slave_Extended...

Страница 84: ...d the firmware version number Structure of the Job Data in the Receive buffer Meaning Byte Bit 7 Bit 4 Bit 3 Bit 0 0 reserved Extended ID2 code Read_AS i_Slave_I O With this call the I O configuration...

Страница 85: ...lave 14B slave 15B 6 slave 16B slave 17B slave 18B slave 19B slave 20B slave 21B slave 22B slave 23B 7 slave 24B slave 25B slave 26B slave 27B slave 28B slave 29B slave 30B slave 31B 8 reserved reserv...

Страница 86: ...yte 0 of the receive buffer number of parameter bytes If the AS i slave sends a string longer than 220bytes the AS i master aborts the string transfer and terminates the job with an error The received...

Страница 87: ...an 220bytes the AS i master aborts the string transfer and terminates the job with an error The received data are then not made available to the user program As long as the string transfer is active t...

Страница 88: ...byte 0 of the receive buffer number of diagnostic bytes If the AS i slave sends a string linger than 220bytes the AS i master aborts the string transfer and terminates the job with an error The receiv...

Страница 89: ...onfig X see chapter 5 9 Status Config Get_Permanent_Configuration Addr X see chapter 5 10 Status Store_Actual_Configuration X By pressing the SET button also using a command see chap 5 11 Status Confi...

Страница 90: ...LPF X see chapter 5 24 Status Write_Extendet_ID Code_1 S_Ext_ID Code_1 X see chapter 5 25 AImage Status Read_AIDI X 26 Status Write_AODI AImage X access by DS 140 147 see chap 4 27 String Status Read_...

Страница 91: ...14 Trouble shooting 4 18 F Fast introduction 4 2 FC ASI_3422 Deployment 5 6 Parameter 5 2 Firmware update 4 20 H Hardware configuration 4 3 Hardware description 3 1 I Installation guidelines 2 1 L LE...

Страница 92: ...Index Manual VIPA System 300V B 2 HB130E CP RE_343 2AH10 Rev 08 41 M Stich...

Отзывы: