background image

For the cyclic access to the diagnostics data of the system SLIO module 050-1BA00 the

following example may be used in the OB 1:

AN M10.3 'If the reading terminated (BUSY=0) and

AN M10.1 'there is no job triggered (REQ=0) then

S  M10.1 'start transfer of record (REQ:=1)

L  W#16#4000 'Number of record set (0x4000) 

T  MW12

CALL SFB 52, DB52 'Call SFB 52 with Instance DB

  REQ :=M10.1     'Trigger flag

  ID :=DW#16#0018 'Smaller addr. of mixed module

  INDEX :=MW12  

  MLEN :=14       'Length record set 0x4000

                  'with 1 entry

  VALID :=M10.2   'Validity of the record set

  BUSY :=M10.3    'Flag job just running

  ERROR :=M10.4   'Error bit during read access

  STATUS :=MD14   'Error codes

  LEN :=MW16      'Length of the read record set

  RECORD :=P#M 100.0 Byte 40 

                  'Target (MB100, 40byte)

U M10.1            

R M10.1           'Reset REQ

The system SLIO module 050-1BA00 serves for 20 byte diagnostics data. The diagnos-

tics data of the system SLIO module 050-1BA00 have the following structure:

Name:

Bytes

Function

Default

ERR_A

1

Diagnostics

00h

MODTYP

1

Module information

18h

ERR_C

1

reserved

00h

ERR_D

1

Diagnostics

00h

CHTYP

1

Channel type

76h

NUMBIT

1

Number diagnostics bits per channel

08h

NUMCH

1

Number channels of the module

01h

CHERR

1

Channel error

00h

CH0ERR

1

Channel-specific error

00h

CH1ERR…CH7ERR

7

reserved

00h

DIAG_US

4

µs ticker

00h

More information about the diagnostics data may be found in the system

SLIO manual HB300_FM_050-1BA00.

Example OB1

Diagnostics data

System 300S

+

Deployment Ethernet communication - PROFINET

PROFINET diagnostics > Diagnostics during runtime in the user program

HB140 | CPU | 315-4PN23 | en | 18-02

 

137

Содержание SPEED7 300S+ CPU 315PN

Страница 1: ...CPU 315 4PN23 Manual HB140 CPU 315 4PN23 en 18 02 System 300S SPEED7 CPU 315PN...

Страница 2: ...315 4PN23_000_CPU 315PN 4 EN 2018 YASKAWA Europe GmbH Hauptstra e 185 65760 Eschborn Germany Tel 49 6196 569 300 Fax 49 6196 569 398 Email info yaskawa eu com Internet www yaskawa eu com...

Страница 3: ...management 24 4 2 4 Slot for storage media 25 4 2 5 Battery backup for clock and RAM 25 4 2 6 Operating mode switch 25 4 2 7 LEDs 25 4 3 Technical data 29 5 Deployment CPU 315 4PN23 37 5 1 Assembly 37...

Страница 4: ...Receive from PtP 80 6 6 Protocols and procedures 80 6 7 Modbus Function codes 84 6 8 Modbus Example communication 88 7 Deployment PROFIBUS communication 90 7 1 Overview 90 7 2 Fast introduction 91 7...

Страница 5: ...engineering tool 136 9 13 3 Diagnostics during runtime in the user program 136 9 13 4 Diagnostics via OB start information 138 9 13 5 Diagnostics via status LEDs 139 10 Configuration with TIA Portal 1...

Страница 6: ...n the respective purchase contract Hereby YASKAWA Europe GmbH declares that the products and systems are in compli ance with the essential requirements and other relevant provisions Conformity is indi...

Страница 7: ...targeted at users who have a background in automation technology The manual consists of chapters Every chapter provides a self contained description of a specific topic The following guides are availa...

Страница 8: ...epartment n commissioning n operation CAUTION The following conditions must be met before using or commis sioning the components described in this manual Hardware modifications to the process control...

Страница 9: ...es that have been damaged by electrostatic discharges can fail after a temperature change mechanical shock or changes in the electrical load Only the consequent implementation of protection devices an...

Страница 10: ...are handled by the CPU in accordance with their priority Since a timer or an alarm event requires a quick reaction the CPU will interrupt the cyclic pro cessing when these high priority events occur t...

Страница 11: ...Double words In your program you may load cells of the timer with a value between 10ms and 9990s As soon as the user application executes a start operation the value of this timer is decremented by t...

Страница 12: ...300S and Siemens components may be used at the bus as a mixed configuration n The user application is stored in the battery buffered RAM or on an additionally plug gable storage module n The CPU is co...

Страница 13: ...a the PROFINET sub module in the hardware configurator from Siemens The CPU has an Ethernet interface for PG OP communication After assigning IP address parameters with your configuration tool via the...

Страница 14: ...ance Insulation voltage to reference earth Inputs outputs AC DC 50V test voltage AC 500V Protective measures against short circuit Environmental conditions to EN 61131 2 Climatic Storage transport EN...

Страница 15: ...ucted 150kHz 80MHz 10V 80 AM 1kHz EN 61000 4 4 Burst degree of severity 3 EN 61000 4 5 Surge degree of severity 3 Due to the high energetic single pulses with Surge an appropriate external protective...

Страница 16: ...nd connected via the backplane bus connector Before installing the modules you have to clip the backplane bus con nector to the module from the backside The backplane bus connector is delivered togeth...

Страница 17: ...e communication between the modules the System 300S uses a backplane bus connector Backplane bus connectors are included in the delivering of the peripheral modules and are clipped at the module from...

Страница 18: ...nductor has to be 10mm2 5 Stick the power supply to the profile rail and pull it to the left side to the grounding bolt of the profile rail 6 Fix the power supply by screwing 7 Take a backplane bus co...

Страница 19: ...section of 0 08mm2 to 2 5mm2 may be connected You can use flexible wires without end case as well as stiff wires 1 Test point for 2mm test tip 2 Locking orange for screwdriver 3 Round opening for wir...

Страница 20: ...interference cause interferences to your control occur by means of different coupling mechanisms There are n galvanic coupling n capacitive coupling n inductive coupling n radiant coupling In the mos...

Страница 21: ...ion to the protected earth conductor is impedance low because otherwise the interference currents may appear as interference cause When isolating cables you have to regard the following n If possible...

Страница 22: ...grated Ethernet CP n X5 Ethernet PG OP channel n X2 MPI interface n Slot for external memory cards lockable n Status LEDs for operating state and diagnostics n Real time clock battery buffered n I O a...

Страница 23: ...t flap 4 2 2 Interfaces The CPU has an integrated power supply n The power supply has to be provided with DC 24V For this serves the double DC 24V slot that is underneath the flap n Via the power supp...

Страница 24: ...n PtP functionality Using the PtP functionality the RS485 interface is allowed to connect via serial point to point connection to different source res target systems Here the following protocols are s...

Страница 25: ...st for 24 hours to the power supply so that the internal accumulator battery is loaded accordingly Please note that in case of repeated discharge cycles charging buffering can reduce the buffer time c...

Страница 26: ...formation can be found in the diagnostics buffer of the CPU X X X X Variables are forced X X X X Accessing the memory card X 10Hz Configuration is loaded Overall reset 2Hz X X X Overall reset is reque...

Страница 27: ...ng Master has no project this means the interface is deactivated respectively PtP is active Master has bus parameters and is in RUN without slaves 2Hz Master is in clear state safety state The inputs...

Страница 28: ...the PROFINET IO controller is finished without error 2Hz X With a suited configuration tool you can cause the MT LED to blink by means of the function Member blink test This can be useful for e g ide...

Страница 29: ...um 4 MB Work memory integrated 1 MB Work memory maximal 4 MB Memory divided in 50 program 50 data Memory card slot SD MMC Card with max 2 GB Hardware configuration Racks max 4 Modules per rack max 8 i...

Страница 30: ...ta range and retentive characteristic Number of flags 8192 Byte Bit memories retentive characteristic adjustable adjustable 0 up to 8192 Bit memories retentive characteristic preset MB0 MB15 Number of...

Страница 31: ...ocess image adjustable Input process image preset 256 Byte Output process image preset 256 Byte Input process image maximal 2048 Byte Output process image maximal 2048 Byte Digital inputs 16384 Digita...

Страница 32: ...PI MP I MPI RS232 DP master DP slave Point to point interface 5V DC Power supply max 90mA isolated 24V DC Power supply max 100mA non isolated Type X3 Type of interface RS485 Connector Sub D 9 pin fema...

Страница 33: ...on DPV1 Transmission speed min 9 6 kbit s Transmission speed max 12 Mbit s Number of DP slaves max 124 Address range inputs max 8 KB Address range outputs max 8 KB User data inputs per slave max 244 B...

Страница 34: ...500 m Point to point protocol ASCII protocol STX ETX protocol 3964 R protocol RK512 protocol USS master protocol Modbus master protocol Modbus slave protocol Special protocols Functionality PROFINET...

Страница 35: ...connections BSEND BRCV GET PUT Connection of active and pas sive data handling User data per S7 connection max 32 KB TCP connections FETCH PASSIV WRITE PASSIV Connection of passive data handling User...

Страница 36: ...UDP connections TUSEND TURCV User data per UDP connection max 1472 Byte Housing Material PPE Mounting Rail System 300 Mechanical data Dimensions WxHxD 80 mm x 125 mm x 120 mm Net weight 430 g Weight i...

Страница 37: ...ransferred from the memory card into the work memory of the CPU If no memory card is plugged the CPU transfers permanent stored protected blocks into the work memory if available n Depending on the po...

Страница 38: ...of your 1 profile rail Now you may extend your system with up to 3 pro file rails by starting each with an IM 361 from Siemens at slot 3 Considering the max total current with the CPU 315 4PN23 from...

Страница 39: ...e shows the functionality of the automatic address allocation Example for automatic address allocation System 300S Deployment CPU 315 4PN23 Addressing Addressing Backplane bus I O devices HB140 CPU 31...

Страница 40: ...flicts in applications that presume an unmodified ACCU 2 For more information may be found in the manual VIPA Operation list SPEED7 at Differences between SPEED7 and 300V programming To be compatible...

Страница 41: ...he record sets is to find in the according module description For the project engineering of more than 8 modules you may use line interface connec tions For this you set in the hardware configurator t...

Страница 42: ...hannel This always may be found as 1 address under the front flap of the CPU on a sticker on the left side You get valid IP address parameters from your system administrator The assignment of the IP a...

Страница 43: ...llowing pages Chap 7 4 Deployment as PROFIBUS DP master page 93 Chap 7 5 Deployment as PROFIBUS DP slave page 94 Chap 6 3 Deployment of RS485 interface for PtP page 77 5 8 Setting standard CPU paramet...

Страница 44: ...the name the new name appears in the Siemens SIMATIC Man ager n Plant designation Here is the possibility to specify a plant designation for the CPU This plant designation identifies parts of the pla...

Страница 45: ...gu ration n Update OB 1 process image cyclically This parameter is not relevant n Scan cycle monitoring time Here the scan cycle monitoring time in milliseconds may be set If the scan cycle time excee...

Страница 46: ...e settings made for start date and time n Start date time Enter date and time of the first execution of the time of day interrupt n Process image partition This parameter is not supported n Priority H...

Страница 47: ...ns Protection level 2 with password Authorized users read and write access Unauthorized user read access only Protection level 3 Authorized users read and write access Unauthorized user no read and wr...

Страница 48: ...in the following language versions Further language versions are available on inquires Name Language SPEEDBUS GSD German default SPEEDBUS GSG German SPEEDBUS GSE English The GSD files may be found at...

Страница 49: ...A specific parameters The following parameters may be accessed by means of the properties dialog of the VIPA CPU 5 9 2 1 Function RS485 X3 Using this parameter the RS485 interface may be switched to P...

Страница 50: ...and DP master system are waiting on each other and form thereby a cycle Here the whole cycle is the sum of the longest DP master cycle and CPU cycle By this synchronization mode you receive global con...

Страница 51: ...th 0 the value Retentive memory Number of memory bytes starting with MB0 set at the parameters of the Siemens CPU is used Otherwise the adjusted value 1 8192 is used Default 0 5 9 2 4 Priority of OB 2...

Страница 52: ...irectly to an already plugged plug on the RS485 jack Every bus participant identifies itself at the bus with an unique address in the course of the address 0 is reserved for programming devices A cabl...

Страница 53: ...rate 38400baud for the MPI program ming cable 8 Transfer your project via PLC Load to module via PROFIBUS to the CPU and save it with PLC Copy RAM to ROM on a memory card if one is plugged Transfer vi...

Страница 54: ...rt it again The transfer of the application program from the memory card into the CPU takes place depending on the file name after an overall reset or PowerON S7PROG WLD is read from the memory card a...

Страница 55: ...min 0us max 0us avg 0us CPU Cyclic time min minimum cur current max maximum avg average Interface Information X2 RS485 COM1 MPI Operating mode RS485 n MPI MPI operation X3 RS485 COM2 DPM async n DPM D...

Страница 56: ...77 30 36 CPU Firmware Information File System V1 0 2 Information for the support PRODUCT Yaskawa 315 4PN23 V3 7 5 Px000308 pkg Name firmware version package HARDWARE V0 1 0 0 5679H V20 HX000027 110 C...

Страница 57: ...A70 V3 3 5 Px000182 pkg Name firmware version package BB000218 V5 3 0 0 Information for support AB000068 V4 1 7 0 Runtime Information Cycle Time cur 0us min 65535000us max 0us avg 0us cnt 0 CPU cycle...

Страница 58: ...pert View Hardware Station type VIPA PN CONTROLLER Vendor ID 0x022B Device ID 0x0101 Component Hx000075 122 Semi product number 5686C V22 Rack slot number 2 Flash Package file name Px000300 pkg Firmwa...

Страница 59: ...iple Collision Frame 0 Frames Received OK 231 Frame Check Sequence Error 0 Alignment Error 0 Deferred Transmission Frame 0 Late Collision Register 0 Excessive Collision 0 Carrier Sense Error 1 Transmi...

Страница 60: ...idth Value dec Value hex 0 1 0 00 1 1 0 00 Data Output data Offset Width Value dec Value hex New Value hex 0 1 0 00 00 1 1 0 00 00 System 300S Deployment CPU 315 4PN23 Accessing the web server HB140 C...

Страница 61: ...STOP due to an error This indicates the start up n STOP LED off When the CPU has completed the START UP OB it assumes the operating mode RUN n The application program in OB 1 is processed in a cycle U...

Страница 62: ...am until the next breakpoint via Debug Resume 7 Delete all breakpoints with the option Debug Delete All Breakpoints n The RUN LED blinks and the STOP LED is on n The execution of the code is stopped N...

Страница 63: ...ts 4 20mA issue 4mA If configured also substitute values may be issued decentral outputs Same behavior as the central digital analog outputs decentral inputs The inputs are cyclically be read by the d...

Страница 64: ...tly on For the following proceeding you must be online connected to your CPU 1 For an overall reset the CPU must be switched to STOP state You may place the CPU in STOP by the menu command PLC Operati...

Страница 65: ...2 pkg n PROFINET IO controller Px000300 pkg CAUTION When installing a new firmware you have to be extremely careful Under certain circumstances you may destroy the CPU for example if the voltage suppl...

Страница 66: ...FC shows that at least a more current firmware file was found at the memory card 5 You start the transfer of the firmware as soon as you tip the operating mode switch downwards to MR within 10s and th...

Страница 67: ...t and blinking Start here to count the static light of the ST LED 3 After the 6 Static light release the operating mode switch and tip it downwards to MR For the confirmation of the resetting procedur...

Страница 68: ...espectively an overall reset the CPU checks if there is a memory card plugged with data valid for the CPU n Push the memory card into the slot until it snaps in leaded by a spring mechanism This ensur...

Страница 69: ...iguration The activation code is fixed to the MCC by means of an unique serial number Here the functionality as an external memory card is not affected To the following times an access takes place on...

Страница 70: ...dow of protect wld 4 Transfer the file protect wld to a memory card 5 Plug the memory card into the CPU and execute an overall reset Chap 5 13 Overall reset page 64 The overall reset stores the blocks...

Страница 71: ...load from MMC is executed The wld file located after the command is loaded else s7prog wld is loaded 0xE805 SAVE_PROJECT The recent project blocks and hardware configuration is stored as s7prog wld at...

Страница 72: ...CMD_END Marks the end of the command sequence 0xE802 arbitrary text Text after the command CMD_END is not evaluated The parameters IP address subnet mask and gateway may be received from the system a...

Страница 73: ...y means of jump commands or by timer and process related interrupts n At the breakpoint the CPU stops collecting data for the status display and instead of the required data it only provides the PG wi...

Страница 74: ...ital operands is modified independently of the operating mode of the CPU When the operating mode is RUN the program is executed with the modified process variable When the program continues they may h...

Страница 75: ...ve to store the parameters in a DB for all protocols except ASCII The FCs SFCs are controlling the communication Send takes place via FC SFC 217 SER_SND and receive via FC SFC 218 SER_RCV The repeated...

Страница 76: ...e CPU n If the data is transferred via a protocol the embedding of the data to the according protocol happens automatically n In opposite to ASCII and STX ETX the protocols 3964R USS and Modbus requir...

Страница 77: ...n SPEEDBUS GSE English The GSD files may be found at www yaskawa eu com at the service area The integration of the SPEEDBUS GSD takes place with the following proceeding 1 Go to the service area of ww...

Страница 78: ...ened As soon as the project is transferred together with the PLC user program to the CPU the parameters will be taken after start up The hardware configuration which is shown here is only required if...

Страница 79: ...on 6 5 1 FC SFC 217 SER_SND Send to PtP This block sends data via the serial interface The repeated call of the FC SFC 217 SER_SND delivers a return value for 3964R USS and Modbus via RETVAL that con...

Страница 80: ...X stands for Start of Text and ETX for End of Text n Any data transferred from the periphery must be preceded by a Start followed by the data characters and the end character Depending of the byte wid...

Страница 81: ...cation The DLE duplication is reversed in the receiving station The 3964R procedure requires that a lower priority is assigned to the communication partner When communication partners issue simulta ne...

Страница 82: ...can be directed to a certain slave ore be send to all slaves as broadcast mes sage For the identification of a broadcast message you have to set bit 5 to 1 in the ADR byte Here the slave addr bit 0 4...

Страница 83: ...write commands may be sent as broadcast Modbus offers 2 different transfer modes The mode selection happens during runtime by using the FC SFC 216 SER_CFG n ASCII mode Every byte is transferred in th...

Страница 84: ...a the following assignment is valid 0x Bit area for master output data Access via function code 01h 05h 0Fh 1x Bit area for master input data Access via function code 02h 3x word area for master input...

Страница 85: ...were sent from master to slave up to their target are designated as output data OUT and contrary slave data received by the master were designated as input data IN If the slave announces an error the...

Страница 86: ...1word Respond telegram Slave address Function code Number of read bytes Data 1 word Data 2 word Check sum CRC LRC 1byte 1byte 1byte 1word 1word 1word max 125words Code 05h Write 1 bit to master output...

Страница 87: ...sum CRC LRC 1byte 1byte 1word 1word 1byte 1byte 1byte 1byte 1word max 250byte Respond telegram Slave address Function code Address 1 bit Number of bits Check sum CRC LRC 1byte 1byte 1word 1word 1word...

Страница 88: ...n n OB 1 Call SFC 217 SER_SND where the data is send with error evaluation Here you have to build up the telegram according to the Modbus rules Call SFC 218 SER_RECV where the data is received with er...

Страница 89: ...System 300S Deployment PtP communication Modbus Example communication HB140 CPU 315 4PN23 en 18 02 89...

Страница 90: ...internally passed on to the PROFIBUS master part During the start up the DP master automatically includes his data areas into the address range of the CPU Project engineering in the CPU is not require...

Страница 91: ...to CPU Chap 5 10 Project transfer page 52 To be compatible to the Siemens SIMATIC Manager the CPU 315 4PN23 from VIPA is to be configured as CPU 315 2 PN DP 6ES7 315 2EH14 0AB0 V3 2 The integrated PRO...

Страница 92: ...ts in applications that presume an unmodified ACCU 2 For more information may be found in the manual VIPA Operation list SPEED7 at Differences between SPEED7 and 300V programming To be compatible with...

Страница 93: ...ngineering of your PROFIBUS DP master is finished Please link up now your DP slaves with periphery to your DP master 1 For the project engineering of PROFIBUS DP slaves you search the concerning PROFI...

Страница 94: ...assembly 4 Open the properties dialog of the DP interface of the CPU by means of a double click at MPI DP 5 Set Interface type to PROFIBUS 6 Connect to PROFIBUS and preset an address e g 3 and confir...

Страница 95: ...CPU 2 Designate the station as DP master 3 Add your modules according to the real hardware assembly 4 Open the properties dialog of the DP interface of the CPU by means of a double click at DP 5 Set I...

Страница 96: ...ltage differences Though it is less irritable from influences than a voltage or a current interface You are able to configure the network as well linear as in a tree structure n Max 32 participants pe...

Страница 97: ...ions in mm 0 45 90 A 64 61 66 B 34 53 40 C 15 8 15 8 15 8 To connect this EasyConn plug please use the standard PROFIBUS cable type A EN50170 Starting with release 5 you also can use highly flexible b...

Страница 98: ...and deployment of the terminating resistors is delivered with the connector 1 Loosen the screw 2 Lift contact cover 3 Insert both wires into the ducts provided watch for the correct line colour as be...

Страница 99: ...m length 0 DP slaves without fail safe mode were provided with the whole output telegram but with output data 0 The input data of the DP slaves were further cyclically transferred to the input area of...

Страница 100: ...rnet is an electrical net based on shielded twisted pair cabling or optical net based on optical fibre Industrial Ethernet is defined by the international standard IEEE 802 3 The net access of Industr...

Страница 101: ...r checking functions for bit strings transferred between two com municating partners This includes the recognition and correction or flagging of communi cation errors and flow control functions The se...

Страница 102: ...converts the data into a format that is acceptable for both communication partners Here compression decompression and encrypting decrypting tasks are processed This layer is also called interpreter A...

Страница 103: ...able has a star topology Every station is connected to the star coupler hub switch by means of a separate cable The hub switch provides the interface to the Ethernet The hub is the central element tha...

Страница 104: ...be transferred between PLC sys tems based on Siemens STEP 7 Here the stations are connected via Ethernet Precon dition for the Siemens S7 communication is a configured connection table which contains...

Страница 105: ...and receiving station If the number of received data does not fit to the preset length you either will get not the whole data or you will get data of the following job ISO on TCP accord to RFC 1006 Du...

Страница 106: ...e Ethernet PG OP channel may be found in Chap 5 6 Hardware configuration Ethernet PG OP channel page 42 Information about the assignment of IP address data to the EtherCAT connection may be found in A...

Страница 107: ...Identifier of this network reserved Host ID maximum binary complete 1 Broadcast address of this network Never choose an IP address with Host ID 0 or Host ID maximum e g for class B with subnet mask 25...

Страница 108: ...b module X2 PN IO The Ethernet PG OP channel of the CPU 315 4PN23 is always to be con figured as 1 module after the really plugged modules at the standard bus as CP343 1 343 1EX11 from Siemens 8 7 Com...

Страница 109: ...alog If necessary you have to update the hardware catalog with Options Update Catalog For project engineering a thorough knowledge of the Siemens SIMATIC Manager and the Siemens hardware configurator...

Страница 110: ...acterizing a communication connection n One station always executes an active connection establishment n Bi directional data transfer Send and receive on one connection n Both participant have equal r...

Страница 111: ...single components the context menu offers you several functions 1 Station This includes a PLC station with rack CPU and communication components Via the context menu you may configure a station added...

Страница 112: ...Here the connection partner may exist in the current project or in an unknown project Connection jobs to an unknown project must be defined by an unique connection name which is to be used in the proj...

Страница 113: ...eters define a connection end point The following parameters define a connection end point Station A Station B remote TSAP Siemens S7 connection local TSAP local TSAP remote TSAP ID A ID B Combination...

Страница 114: ...Address details With this button a dialog window is opened which shows address information about the local and partner station The parameters may also be changed TSAP With Siemens S7 connections a TSA...

Страница 115: ...ured S7 connections namely 65534bytes FB SFB 13 BRCV Receiving data in blocks The FB SFB 13 BRCV can receive data from a remote partner FB SFB of the type BSEND FB SFB 12 The parameter R_ID of both FB...

Страница 116: ...into the receive range After this it will set NDR to TRUE and write RCVD_LEN with the length of the sent data If you have specified the length of the data to be received less than the length of the s...

Страница 117: ...FB Label Connection oriented protocols TCP native as per RFC 793 ISO on TCP as per RFC 1006 Connectionless protocol UDP as per RFC 768 FB 63 TSEND Sending data FB 64 TRCV Receiving data FB 65 TCON Est...

Страница 118: ...agnostic tool has the following structure n The navigation area at the left side contains the hierarchical listed diagnostic objects Depending on CP type and configured connections there is an adjuste...

Страница 119: ...icking on a diagnostic object in the navigation area More functions are available via the menu and the symbol bar For the aimed diagnostic deployment the following approach is convenient 1 Start diagn...

Страница 120: ...and diagnostics are supported n PROFINET CBA means Component Based Automation n This component model describes the communication between autonomously working stations n It makes a simple modularizati...

Страница 121: ...tions the overlap ping of data areas can be prevented n Currently PROFINET IO devices from Yaskawa support API 0 From VIPA there is a GSDML files for your IO device available This file may either be f...

Страница 122: ...rd of PROFINET standard Ethernet components may be used For industrial environment and due to the high transfer rate of 100MBit s you PROFINET system should consist of Industrial Ethernet components n...

Страница 123: ...times A D Devices per ms n Number of devices A Refresh time device The PROFINET IO controller has the following system limits Devices per ms D Max number of devices Max number of configu rable connect...

Страница 124: ...e the number of bytes up to 512 input and 512 output bytes per device with it your project still runs n There are max 13 PROFINET IO devices configured n For each PROFINET IO device depending on the t...

Страница 125: ...e sequence 1 address PG OP channel and beneath address of the PROFINET IO controller The assignment takes place directly via the hardware configuration of the Siemens SIMATIC manager The configuration...

Страница 126: ...wse button or type in the MAC address The Mac address may be found at the front of the CPU 5 Choose if necessary the known MAC address of the list of found stations To check this with Blink you may ca...

Страница 127: ...applications that presume an unmodified ACCU 2 For more information may be found in the manual VIPA Operation list SPEED7 at Differences between SPEED7 and 300V programming To be compatible with the...

Страница 128: ...ort description Here the purpose may be entered for which the IO controller is being used With properties you can enter the IP address subnet mask and gateway for the PROFINET interface and select the...

Страница 129: ...ter the update interval The time of day of the module is synchronized once within this interval 9 7 3 Port 1 Shown is the short name Port In the field Name another designation may be selected which is...

Страница 130: ...u search the concerning PROFINET IO device in the hardware catalog at PROFINET IO and drag drop it in the subnet of your IO controller 2 Assign a name to the IO device The configured name must match t...

Страница 131: ...ed in the properties of the corresponding I Device n I Device I Device mode Parameter assignment for the PN interface and its ports on the higher lever IO controller n General Interface Properties Use...

Страница 132: ...erties dialog via Context menu Object properties and select the register Topology The properties dialog to interconnect the ports is opened 2 Here you have the following parameters n Port interconnect...

Страница 133: ...must be configured n The IO controller and the respective adjacent to the unit to be replaced IO device must support the functionality Device replacement without exchangeable medium PG n In the IO con...

Страница 134: ...settings at Reset Your IO device is now reset and has then delivery state For the replacement the replace device must be in delivery state 1 Disconnect if not already done your device to be exchanged...

Страница 135: ...e expected modules sub modules are speci fied n The BF LED is on with configured PROFINET IO device and bus cable is missing n If the IO controller has received valid project engineering data a system...

Страница 136: ...you get information about the state of your system Here missing respectively faulty components are shown by symbols In the following figure e g there is shown that the configured device 3 is missing a...

Страница 137: ...100 0 Byte 40 Target MB100 40byte U M10 1 R M10 1 Reset REQ The system SLIO module 050 1BA00 serves for 20 byte diagnostics data The diagnos tics data of the system SLIO module 050 1BA00 have the foll...

Страница 138: ...r that you can even read the start information in the OB himself because the data are temporary data n Depending on the type of error the following OBs are called in a diagnostics event OB 82 on an er...

Страница 139: ...guration tool you can cause the MT LED to blink by means of the function Member blink test This can be useful for e g identification of the module not relevant X L A Link Activity green S Speed green...

Страница 140: ...may be configured and linked For diagnostics online tools are available Information about the Siemens TIA Portal can be found in the online help respectively in the according online documentation To...

Страница 141: ...ew to all constituent parts of your project The Project view is divided into the following areas 1 Menu bar with toolbars 2 Project tree with Details view 3 Project area 4 Device overview of the proje...

Страница 142: ...evice overview Module Slot Type PLC 2 CPU 315 2PN DP MPI DP interface 2 X1 MPI DP interface PROFINET inter face 2 X2 PROFINET interface Since the CPU from VIPA is configured as Siemens CPU so the sett...

Страница 143: ...evice over view Device overview Module Slot Type PLC 2 CPU 3 DI 4 DI DO 5 DO DIO 6 DIO AI 7 AI AO 8 AO For parametrization click in the Project area respectively in the Device overview on the module y...

Страница 144: ...e with the following proceeding Determine the current Ethernet MAC address of your Ethernet PG OP channel This can be found as 1 address under the front flap of the CPU on a sticker on the left side Y...

Страница 145: ...gure in the Device configuration a Siemens CPU 315 2 PN DP 6ES7 315 2EH14 0AB0 V3 2 3 Configure the System 300 modules 4 For the Ethernet PG OP channel you have to configure a Siemens CP 343 1 6GK7 34...

Страница 146: ...h the Siemens TIA Portal 1 Install your System 300S with your CPU 2 Wire the system by connecting cables for voltage supply and signals 3 Connect the Ethernet jack X8 PROFINET to Ethernet 4 Switch on...

Страница 147: ...h the known MAC address PROFINET CP MAC address and open with Online Diagnostics the diagnostics dialog in the Project area 6 Navigate to Functions Assign IP address Type in the IP configuration like...

Страница 148: ...PU 315 2 PN DP MPI DP interface 2 X1 MPI DP interface PROFINET inter face 2 X2 PROFINET interface 10 6 TIA Portal Setting VIPA specific CPU parameters Since the VIPA specific CPU parameters may be set...

Страница 149: ...DBUS GSD an The SPEED7 CPUs and modules of the System 300S from Yaskawa may now be found in the hardware catalog at PROFIBUS DP Additional field devices I O VIPA_SPEEDBUS Thus the VIPA components can...

Страница 150: ...Switch in the Project area to Network view 2 Connect the slave system VIPA_SPEEDbus After installing the SPEEDBUS GSD this may be found in the hardware catalog at Other field devices PROFIBUS DP I O...

Страница 151: ...aced CPU 315 4PN23 the properties dialog of the CPU is showed Device overview Module Slot Type Slave 0 VIPA SPEEDbus 315 4PN23 1 315 4PN23 2 As soon as the project is transferred together with the PLC...

Страница 152: ...click on the file TIA_Vxx zip and copy all the files and folders in a work directory for the Siemens TIA Portal 1 Start the Siemens TIA Portal with your project 2 Switch to the Project view 3 Choose...

Страница 153: ...ording Ethernet interface you have to assign IP address parame ters by means of the initialization Please consider to use the same IP address data in your project for the CP 343 1 1 For the transfer c...

Страница 154: ...ser pro gram is not completely loaded and the SF LED gets on When a memory card has been installed the write command stores the content of the RAM as S7PROG WLD on the memory card The write command ca...

Страница 155: ...Appendix System 300S Appendix HB140 CPU 315 4PN23 en 18 02 155...

Страница 156: ...Content A System specific event IDs 157 B Integrated blocks 205 C SSL partial list 209 System 300S Appendix HB140 CPU 315 4PN23 en 18 02 156...

Страница 157: ...rence of the sub module 12 Diagnostic interrupt outgoing 13 Cross traffic connection message 14 Neighbourhood change message 15 Synchronisation message bus 16 Synchronisation message device 17 Network...

Страница 158: ...NFO2 Slot of the master ZINFO2 Page frame master 0xE016 Maximum block size exceeded in master transfer ZINFO1 Periphery address ZINFO2 Slot 0xE017 Error in access to integrated slave 0xE018 Error in m...

Страница 159: ...y block number in the telegram 13 Faulty block type in the telegram 14 Inactive function 15 Wrong size in the telegram 20 Error in writing on MMC 90 Faulty buffer size 98 Unknown error 99 Internal err...

Страница 160: ...lock type 56 OB 65 DB 66 SDB 67 FC 68 SFC 69 FB 70 SFB 97 VDB 98 VSDB 99 VFC 100 VSFC 101 VFB 102 VSFB 111 VOB ZINFO2 Block number ZINFO3 Block length 0xE21E Memory card reading Error in recharging af...

Страница 161: ...is the activated FSC OB The inserted FSC is compatible with the CPU PK FSC source 0 CPU 1 Card ZINFO1 FSC CRC 1146 955 C000070 1736 955 C0NE040 2568 FSC C0ME040 3450 955 C000M30 3903 955 C000S30 4361...

Страница 162: ...30 58048 FSC C000020 63411 955 C000M60 65203 955 C000020 ZINFO2 FSC serial number high word ZINFO3 FSC serial number low word 0xE401 FSC card was removed OB Action after the end of the trial time 0 No...

Страница 163: ...C000M40 38050 FSC C00MC10 41460 955 C000M50 41526 955 C0PE040 42655 FSC C00MC00 47852 955 C00MC00 48709 FSC C0PE040 50574 955 C000M70 52366 955 C000030 53501 FSC C000030 58048 FSC C000020 63411 955 C0...

Страница 164: ...0 FSC C000S30 5755 955 C0ME040 6843 FSC C0NE040 8561 FSC C000S20 9012 FSC C000M20 13895 955 C000060 15618 955 C000S20 16199 955 C000M20 17675 FSC C000S00 18254 FSC C000M00 20046 FSC C000040 21053 955...

Страница 165: ...xpired OB Action after the end of the trial time 0 No action 1 CPU STOP 2 CPU STOP and FSC deactivated 3 Factory reset 255 FSC was not activated PK FSC source 0 CPU 1 Card ZINFO1 FSC CRC 1146 955 C000...

Страница 166: ...0 50574 955 C000M70 52366 955 C000030 53501 FSC C000030 58048 FSC C000020 63411 955 C000M60 65203 955 C000020 ZINFO2 FSC serial number high word ZINFO3 FSC serial number low word DatID FeatureSet Tria...

Страница 167: ...00MC10 36351 FSC C000S40 36794 FSC C000M40 37260 955 C000S40 37833 955 C000M40 38050 FSC C00MC10 41460 955 C000M50 41526 955 C0PE040 42655 FSC C00MC00 47852 955 C00MC00 48709 FSC C0PE040 50574 955 C00...

Страница 168: ...ZINFO1 Error code 1 Parser error SDB structure 2 Parser error SDB is not a valid SDB type ZINFO2 SDB type ZINFO3 SDB number 0xE502 Error in protect wld ZINFO2 Block type 56 OB 65 DB 66 SDB 67 FC 68 SF...

Страница 169: ...ss for Ethernet PG OP channel ZINFO1 Periphery address ZINFO3 0 periphery address is input 1 periphery address is output 0xE605 Too many productive connections configured ZINFO1 Interface slot ZINFO2...

Страница 170: ...ot user relevant DatID Master system ID 0xE721 Internal error Please contact the hotline ZINFO1 Not user relevant ZINFO2 Master system ID ZINFO3 Not user relevant DatID Not user relevant 0xE722 Intern...

Страница 171: ...d and executed 0xE808 Internal error Please contact the hotline ZINFO2 Not user relevant ZINFO3 Not user relevant 0xE809 Internal error Please contact the hotline ZINFO3 Not user relevant 0xE80A Inter...

Страница 172: ...824 Internal message 0xE825 Internal message 0xE826 Internal message 0xE827 Internal message 0xE828 Internal message 0xE829 Internal message 0xE82A CMD auto command CPUTYPE_318 recognized and executed...

Страница 173: ...peripheral area ZINFO1 Peripheral address ZINFO2 Slot ZINFO3 Data width 0xE920 Configuration error PROFINET ZINFO1 Position 0 Error code 0xE980 Error when loading the WebVisu project file 0xE981 Erro...

Страница 174: ...ation in operating condition RUN 1 STOP update 2 STOP memory reset 3 STOP auto initialization 4 STOP internal 5 STARTUP cold start 6 STARTUP restart warm start 7 STARTUP hot restart 9 RUN 10 HALT 11 C...

Страница 175: ...INFO2 Slot ZINFO3 Output data width of the plugged component 0xEA10 SBUS Input periphery address outside the periphery area ZINFO1 Periphery address ZINFO2 Slot ZINFO3 Data width 0xEA11 SBUS Output pe...

Страница 176: ...ation for X2 0xEA23 Error Configuration RS485 interface X3 Value is outside the limits ZINFO2 Configuration for X3 0xEA24 Error Configuration RS485 interface X2 X3 Interface protocol missing default s...

Страница 177: ...roller Too many configured PROFINET IO devices ZINFO1 Number of configured devices ZINFO2 Slot ZINFO3 Maximum possible number of devices 0xEA54 PROFINET IO controller Multiple configuration of a perip...

Страница 178: ...4 Too many input bytes per device ZINFO1 Bit 5 Too many output bytes per device ZINFO1 Bit 6 Too many productive connections ZINFO1 Bit 7 Too many input bytes in the process image ZINFO1 Bit 8 Too man...

Страница 179: ...ror Service PK Rack slot ZINFO1 StackError Error Code ZINFO2 StackError Error Detail ZINFO3 Position 0 StackError Error AdditionalDetail ZINFO3 Position 8 StackError Error AreaCode DatID StackError De...

Страница 180: ...erviceError Detail ZINFO3 Position 0 ServiceError AdditionalDetail ZINFO3 Position 8 ServiceError AreaCode 0xEA6B PROFINET IO controller Incorrect Vendor ID OB Operating mode 0 Configuration in operat...

Страница 181: ...P hot restart 9 RUN 10 HALT 11 COUPLING 12 UPDATING 13 DEFECTIVE 14 Error search mode 15 De energised 253 Process image release in STOP 254 Watchdog 255 Not set PK Rack slot ZINFO1 Device ID 0xEA6D PR...

Страница 182: ...g condition RUN 1 STOP update 2 STOP memory reset 3 STOP auto initialization 4 STOP internal 5 STARTUP cold start 6 STARTUP restart warm start 7 STARTUP hot restart 9 RUN 10 HALT 11 COUPLING 12 UPDATI...

Страница 183: ...ZINFO1 Device ID ZINFO2 Not user relevant ZINFO3 Not user relevant DatID Not user relevant 0xEA70 PROFINET IO controller PROFINET stack configuration error OB UnsupportedApiError api PK Rack slot ZINF...

Страница 184: ...nt PK Not user relevant ZINFO1 Filenamehash 0 3 ZINFO2 Filenamehash 4 7 ZINFO3 Line DatID SvnRevision 0xEA82 Internal error Please contact the hotline OB Not user relevant PK Not user relevant ZINFO1...

Страница 185: ...hash 0 3 ZINFO2 Filenamehash 4 7 ZINFO3 Line DatID Current job number 0xEA93 Internal error Please contact the hotline OB Current OB number PK Core status 0 INIT 1 STOP 2 READY 3 PAUSE 4 RUN ZINFO1 Fi...

Страница 186: ...alization 4 STOP internal 5 STARTUP cold start 6 STARTUP restart warm start 7 STARTUP hot restart 9 RUN 10 HALT 11 COUPLING 12 UPDATING 13 DEFECTIVE 14 Error search mode 15 De energised 253 Process im...

Страница 187: ...n mode undefined 6 Auto Negotiation 0xEAC0 Internal error Please contact the hotline ZINFO1 Error code 2 Internal error 3 Internal error 4 Internal error 5 Internal error 6 Internal error 7 Internal e...

Страница 188: ...rocess image 0xEB10 System SLIO error Bus error PK Not user relevant ZINFO1 Error type 96 Bus enumeration error 128 General error 129 Queue execution error 130 Error interrupt ZINFO2 Error on bus enum...

Страница 189: ...tations is not supported 2 Master system ID invalid 3 Slot invalid 4 Master configuration invalid 5 Master type invalid 6 Slave diagnostic address invalid 7 Slave address invalid 8 Slave module IO con...

Страница 190: ...rence clock is not in Beckhoff Mode 3 The station address could not be determined for checking station address in ZINFO1 is accordingly 0 4 The slave information could not be determined for checking s...

Страница 191: ...tion available DatID Input address DatID Output address 0xEC11 EtherCAT Recurrence bus with missing slaves ZINFO1 Position 0 New status 0 Undefined Unkown 1 Init 2 PreOp 3 Bootstrap 4 SafeOp 8 Op ZINF...

Страница 192: ...ailable DatID Station available DatID Input address DatID Output address 0xEC30 EtherCAT Topology OK ZINFO2 Diagnostic address of the master 0xEC40 Bus cycle time infringement resolved ZINFO2 Logical...

Страница 193: ...FO3 Position 0 Station number ZINFO3 Position 11 IO system ID ZINFO3 Bit 15 System ID DP PN 0xED10 EtherCAT Breakdown bus ZINFO1 Position 0 New status 0 Undefined Unkown 1 Init 2 PreOp 3 Bootstrap 4 S...

Страница 194: ...equested status 19 Bootstrap not supported 20 No valid firmware 22 Invalid mailbox configuration 22 Invalid mailbox configuration 23 Invalid sync manager configuration 24 No valid inputs available 25...

Страница 195: ...file Over EtherCAT 79 Error in acyclic data exchange Vendorspecific Over EtherCAT DatID Station not available DatID Station available DatID Input address DatID Output address 0xED20 EtherCAT Bus state...

Страница 196: ...FO3 Error code 4 Cancel master state change 8 Busy 11 Invalid parameters 14 Invalid status 16 Time out DatID Station available DatID Station not available DatID Output address DatID Input address 0xED...

Страница 197: ...d watchdog configuration 32 Slave station needs cold start 33 Slave station needs to be in INIT state 34 Slave station needs to be in PreOp state 35 Slave station needs to be in SafeOp state 45 Invali...

Страница 198: ...STARTUP cold start 6 STARTUP restart warm start 7 STARTUP hot restart 9 RUN 10 HALT 11 COUPLING 12 UPDATING 13 DEFECTIVE 14 Error search mode 15 De energised 253 Process image release in STOP 254 Watc...

Страница 199: ...5 STARTUP cold start 6 STARTUP restart warm start 7 STARTUP hot restart 9 RUN 10 HALT 11 COUPLING 12 UPDATING 13 DEFECTIVE 14 Error search mode 15 De energised 253 Process image release in STOP 254 W...

Страница 200: ...Invalid requested status change 18 Unknown requested status 19 Bootstrap not supported 20 No valid firmware 22 Invalid mailbox configuration 22 Invalid mailbox configuration 23 Invalid sync manager c...

Страница 201: ...change Vendorspecific Over EtherCAT DatID Cause for slave status change 0 Regular slave status change 1 Slave failure 2 Recurrence slave 3 Slave is in an error state 4 Slave has unexpectedly changed i...

Страница 202: ...TOP auto initialization 4 STOP internal 5 STARTUP cold start 6 STARTUP restart warm start 7 STARTUP hot restart 9 RUN 10 HALT 11 COUPLING 12 UPDATING 13 DEFECTIVE 14 Error search mode 15 De energised...

Страница 203: ...ine PK Not user relevant ZINFO3 Not user relevant DatID Not user relevant 0xF9C1 Restart of the component OB NCM_EVENT 1 OVS Component start up request was denied 3 Component data basis invalid 6 IP_C...

Страница 204: ...manent part of the component data base is deleted by the rack component after being loaded 70 Restore factory defaults same as memory reset of CPU 83 Network interface automatic configuration TP ITP w...

Страница 205: ...OB 40 HW_INT0 Hardware interrupt OB 55 DP STATUS ALARM Status interrupt OB 56 DP UPDATE ALARM Update interrupt OB 57 DP MANUFACTURE ALARM Vendor specific interrupt OB 80 CYCL_FLT Time error OB 81 PS_...

Страница 206: ...EC_RWOD Function is used internally SFB 239 FUNC Function is used internally SFB 240 DPRAM Function is used internally SFC Name Description SFC 0 SET_CLK Set system clock SFC 1 READ_CLK Read system cl...

Страница 207: ...SFC 40 EN_IRT Enabling interrupts SFC 41 DIS_AIRT Delaying interrupts SFC 42 EN_AIRT Enabling delayed interrupts SFC 43 RE_TRIGR Re trigger the watchdog SFC 44 REPL_VAL Replace value to ACCU1 SFC 46...

Страница 208: ...108 ALARM_DQ ALARM_DQ SFC 193 AI_OSZI Oscilloscope FIFO function SFC 194 DP_EXCH Data exchange with CP 342S SFC 195 FILE_ATT Change file attributes SFC 208 FILE_OPN Open file SFC 209 FILE_CRE Create...

Страница 209: ...y74h Status of the LEDs xy91h Status information CPU xy92h Stations status information DPM xy94h Stations status information DPM PROFINET IO and EtherCAT xy96h Module status information PROFIBUS DP PR...

Отзывы: