0 évaluation0% ont trouvé ce document utile (0 vote)
91 vues35 pages
PROFIBUS-DP Product Development Steffen Schleier - Bringing your product (I / O, sensors, drives. ) to AIMEX 2010 - Introducing the Profibus Basics. The preferred connector type is a 9pin D-Sub connector the female part is located at the device side other connectors are allowed, if they supply at least the required power.
PROFIBUS-DP Product Development Steffen Schleier - Bringing your product (I / O, sensors, drives. ) to AIMEX 2010 - Introducing the Profibus Basics. The preferred connector type is a 9pin D-Sub connector the female part is located at the device side other connectors are allowed, if they supply at least the required power.
PROFIBUS-DP Product Development Steffen Schleier - Bringing your product (I / O, sensors, drives. ) to AIMEX 2010 - Introducing the Profibus Basics. The preferred connector type is a 9pin D-Sub connector the female part is located at the device side other connectors are allowed, if they supply at least the required power.
Product Manager: Product Manager: SPEED7 SPEED7- -PLC PLC- -Processor, PLC7100/PLC7200 PLC on Chip, Processor, PLC7100/PLC7200 PLC on Chip, Slice I/O Backplane Controller Master/Slave Slice I/O Backplane Controller Master/Slave Speedbus Backplane FPGAs Speedbus Backplane FPGAs Steffen.Schleier@profichip.com Steffen.Schleier@profichip.com AIMEX 2010 PROFIBUS-DP Product Development 3 The J ob The Job: Bringing your product (I/O, sensors, drives ) to AIMEX 2010 PROFIBUS-DP Product Development 4 Dont waste your time with the Profibus Basics! Your Product FDL, Target_Rotation_Time, SD1, SAP, tsd_min, idle_time, GSD, AIMEX 2010 PROFIBUS-DP Product Development 5 Agenda Overview The Physical Interface The Protocol ASIC The Profibus Software Stack GSD File Test PROFIBUS-DP Product Development AIMEX 2010 PROFIBUS-DP Product Development 6 Overview Transmission Technologies Basic Profiles AIMEX 2010 PROFIBUS-DP Product Development 7 The Physical Interface : These signals are mandatory. D-Sub9 Connector Signal Assignment The signal assignment of the D-Sub9 Connector is defined as follows: Pin No. Signal Description 1 Shield Shield/functional ground 2 M24 Ground for +24V output voltage 3 B-Line RxD/TxD-P Recei ve Transmit data - plus 4 CNTR-P Repeater control signal (direction control), RTS signal 5 DGND Digital ground 6 VP Supply voltage (+5V) 7 P24 Output voltage +24V 8 A-Line RxD/TxD-N Recei ve Transmit data minus 9 CNTR-N Repeater Control signal (direction control) the preferred connector type for PROFIBUS-DP/FMS is a 9pin D-Sub Connector the female part is located at the device side other connectors are allowed, if they supply at least the mandatory signals AIMEX 2010 PROFIBUS-DP Product Development 8 The Physical Interface The signal assignment of the M12 connector is defined as follows: Pin No. Signal Description 1 VP Supply voltage (+5V) 2 A-Line RxD/TxD-N Recei ve Transmit data minus 3 DGND Digital ground 4 B-Line RxD/TxD-P Recei ve Transmit data - plus 5 Shield Ground connection Thread Shield Ground connection M12 Connector Signal Assignment : These signals are mandatory. AIMEX 2010 PROFIBUS-DP Product Development 9 The Physical Interface Example: RS485 with 9-pin D-Sub connector Adapt existing solutions (copy-and-paste) and you are done. Keep the wires short to avoid additional capacities! AIMEX 2010 PROFIBUS-DP Product Development 10 Overview Transmission Technologies Basic Profiles Copy & Paste Schematic AIMEX 2010 PROFIBUS-DP Product Development 11 Software Handling the Profibus Protocol AIMEX 2010 PROFIBUS-DP Product Development 12 The Protocol ASIC VPC3+C Supporting PROFIBUS DP-VO, DP-V1 and DP-V2 protocol Parallel 8-Bit microcontroller interface 4 kB communication RAM 5V or 3.3V supply voltage with 5V tolerant inputs Low power consumption PQFP44 package (RoHS) VPC3+S Supporting PROFIBUS DP-VO, DP-V1 and DP-V2 protocol Parallel 8-Bit microcontroller interface I 2 C, SPI interface HW-PLL for ISOM mode 4 kB communication RAM 3.3V supply voltage with 5V tolerant inputs Ultra low power TFBGA48 6x8 mm (RoHS) Available Q2/2009 VPCLS2 Supporting PROFIBUS DP-V0 32 Bit I/O, 8 Bit diagnostic inputs 5V supply voltage PQFP80 package (RoHS) AIMEX 2010 PROFIBUS-DP Product Development 13 The Protocol ASIC Example: VPC3+CLF3 PROFIBUS-DP Slave ASIC PROFIBUS Application Processor Physical Interface Input Data Output Data Output Data Input Data PROFIBUS Cycle Application Cycle DATA ADDRESS XCS XRD XWR XREADY INT DataExchange.Req DataExchange.Res AIMEX 2010 PROFIBUS-DP Product Development 14 VPC3+C Buffer structure: D U Diagnosis- Buffer N D U Din- Buffer N D U Dout- Buffer Read-Config- Buffer Set-Slave-Address- Buffer Config- Buffer Parameter- Buffer changed by user UART Profibus Part Application Processor AIMEX 2010 PROFIBUS-DP Product Development 15 DP-V0 /V1 /V2 Mandatory! Optional Optional AIMEX 2010 PROFIBUS-DP Product Development 16 PROFIBUS DPV2 Slave to Slave communication DxB = Data exchange broadcast Publisher: sends input data via broadcast message to master and subscriber. Publisher: sends input data via broadcast message to master and subscriber. Subscriber: receives publisher data. Subscriber: receives publisher data. AIMEX 2010 PROFIBUS-DP Product Development 17 PROFIBUS DPV2 Isochronous Mode AIMEX 2010 PROFIBUS-DP Product Development 18 Overview Transmission Technologies Basic Profiles PROFIBUS-DP Protocol ASIC Copy & Paste Schematic AIMEX 2010 PROFIBUS-DP Product Development 19 Software Application Processor AIMEX 2010 PROFIBUS-DP Product Development 20 The Processor Check your processor in use: Parallel bus interface? highest flexibility Serial interface? less choices, maybe additional HW required Emulate the ASIC interface? could be quite slow Supply and IO voltage? maybe level shifter needed Performance still OK? take account of the additional software State-of-the-art tool chain? debugging could be cumbersome AIMEX 2010 PROFIBUS-DP Product Development 21 The Connection: Parallel Multiplexed AIMEX 2010 PROFIBUS-DP Product Development 22 Connection: Parallel Demultiplexed AIMEX 2010 PROFIBUS-DP Product Development 23 The Connection: SPI and I2C VPC3+S only! AIMEX 2010 PROFIBUS-DP Product Development 24 Software Softwarestack Options AIMEX 2010 PROFIBUS-DP Product Development 25 DP-V0 /V1 /V2 Software View AIMEX 2010 PROFIBUS-DP Product Development 26 The Software VPC3+C / VPC3+S Software Stack: dp_if.h dp_if.c dp_isr.c dp_dpl.h dp_fdl.c dp_msac1.c dp_msac2.c main.c dp_user.c dp_debug.c dp_cfg.h dp_inc.h platform.h EASY4711.gsd ASIC configuration & driver Processor specific part Application interface Batch files: make, AIMEX 2010 PROFIBUS-DP Product Development 27 Overview Transmission Technologies Basic Profiles PROFIBUS-DP Protocol ASIC Profibus Softwarestack Sourcecode Copy & Paste Schematic AIMEX 2010 PROFIBUS-DP Product Development 28 GSD File Example AIMEX 2010 PROFIBUS-DP Product Development 29 Overview Transmission Technologies Basic Profiles PROFIBUS-DP Protocol ASIC Profibus Softwarestack Sourcecode Copy & Paste Schematic G S D
T e m p l a t e Your Application AIMEX 2010 PROFIBUS-DP Product Development 30 Test Test your System AIMEX 2010 PROFIBUS-DP Product Development 31 How to get started The VPC3+C Evaluation Kit: RS485 Interface Fiber Optic Interface Protocol ASIC Processor RAM ISP Flash P r o c e s s o r
I n t e r f a c e P r o c e s s o r
P o r t s P R O F I B U S
I / O s MMC Card U S B RS232 AIMEX 2010 PROFIBUS-DP Product Development 32 Some Other (Important) Steps Joining the Regional Profibus Association (RPA) Requesting an Ident Number Investment in test and development tools Developing a configuration software (optional) Writing the product manual Developing application examples for controllers (popular PLCs) Product certification (EMC, PROFIBUS) Thanks for your attention! AIMEX 2010 PROFIBUS-DP Product Development 34 Then your are part of AIMEX 2010 PROFIBUS-DP Product Development 35 Growing Profibus Organisation AIMEX 2010 PROFIBUS-DP Product Development 36 PROFIBUS global presence 25 Regional PROFIBUS Associations (RPA) worldwide 30 Competence Centers (PCC) 7 Test Labs (PTL) worldwide Accreditation by PROFIBUS International (PI) assure quality standard Consulting, Seminars, Development..
Raspberry Pi For Beginners: How to get the most out of your raspberry pi, including raspberry pi basics, tips and tricks, raspberry pi projects, and more!