November 2005 PROFIBUS FAM6K
PROFIBUS Fam6K Page 10 of 10 2.3.1 Flow Control drivers The Flow Control driver is a layer that is built upon the intrinsic DP data exchange
PROFIBUS Fam6K Page 11 of 11 2.3.2 FCM with DAD Driver In order to implement the flow controlled version of the driver, exchange areas must b
PROFIBUS Fam6K Page 12 of 12 2.3.2.1 Control Field This is the core of the flow controlled communication. The Input Area structure reserves bi
PROFIBUS Fam6K Page 13 of 13 2.3.2.2 SAP Field SAP (Service Access Point) is an identifier that is used to implement multiple services sharin
PROFIBUS Fam6K Page 14 of 14 2.3.2.4 Data Transmission from DS6X00 to PLC This paragraph describes how it is possible to exchange messages w
PROFIBUS Fam6K Page 15 of 15 A B iindicates IN[0].bit0 [ TxBufferFull ] ndicates OUT[0].bit0 [ TxBufferEmpty ] Slave writes data1 then gives
PROFIBUS Fam6K Page 16 of 16 PLC reads new data message (it copies 7 bytes in its memory from IN[3] on) then toggles bit B as acknowledge.
PROFIBUS Fam6K Page 17 of 17 2.3.2.5 Data Transmission from PLC to DS6X00 Analogous to the previous paragraph, flow control works even when
PROFIBUS Fam6K Page 18 of 18 2.3.2.6 Resynchronisation The resynchronisation process restarts the messaging protocol from a predefined state.
PROFIBUS Fam6K Page 19 of 19 Let’s analyse the resynchronisation process, starting from the previous data exchange discussed in “Data Transmis
PROFIBUS Fam6K Page 2 of 2 Table of Contents 1. OVERVIEW ...
PROFIBUS Fam6K Page 20 of 20 2.3.2.7 Fragmentation and Reassembling The fragmentation process is activated whenever Application Data cannot
PROFIBUS Fam6K Page 21 of 21 Let’s analyse a fragmented data exchange based on the following settings: Flow Control = DAD Driver Input Are
PROFIBUS Fam6K Page 22 of 22 2.3.2.8 SAP Services FLUSH QUEUE is the unique driver service currently available. It performs flushing of the i
PROFIBUS Fam6K Page 23 of 23 2.3.3 FCM with DPD Driver In order to implement the flow controlled version of the driver, exchange areas must b
PROFIBUS Fam6K Page 24 of 24 2.3.3.1 Control Field Differently from DAD Driver, just note that Control Field must have bit7 set to zero.
PROFIBUS Fam6K Page 25 of 25 2.4 Data Consistency When Flow Control (either DAD or DPD Driver) is used, the Data Consistency option is availa
PROFIBUS Fam6K Page 26 of 26 Let’s analyse a fragmented and consistent data exchange based on: Flow Control = DAD Driver Data Consistency
PROFIBUS Fam6K Page 27 of 27 2.4.2 Data Consistency with DPD Driver Here the application layer still copies the Control Field byte in the las
PROFIBUS Fam6K Page 28 of 28 3. Digital I/O Conditioning This function offers the possibility to use the scanner I/O as remote peripherals of
PROFIBUS Fam6K Page 29 of 29 3.1 Digital Input Conditioning Note: The I/O Conditioning function works independently from the Flow Control opt
PROFIBUS Fam6K Page 3 of 3 1. Overview 1.1 Description Profibus is the world’s most popular FieldBus. Profibus is the most widely accepted int
PROFIBUS Fam6K Page 30 of 30 3.1.1 Phase Echo The Phase Echo bit indicates the status of the reading phase remotely activated on the DS6X00.
PROFIBUS Fam6K Page 31 of 31 3.2 Digital Output Conditioning Note: The I/O Conditioning function works independently from the Flow Control o
PROFIBUS Fam6K Page 32 of 32 3.3 Reading Phase via Profibus This implementation requires few steps: 1) Connect the scanner with the Genius
PROFIBUS Fam6K Page 33 of 33 4. Network Configuration 4.1 GSD file A GSD file is a readable ASCII text file that contains a complete descripti
PROFIBUS Fam6K Page 34 of 34 4.2 GSD Installation The first action that must be done is to add the DS6X00 as a new Profibus-DP Slave among th
PROFIBUS Fam6K Page 35 of 35 4. Find new device… A new DS6000 device will appear in the PLC catalogue under Profibus-DP Additional Field D
PROFIBUS Fam6K Page 36 of 36 4.3 Scanner Programming via GSD File The major benefit of the GSD file is to setup the scanner by means of the
PROFIBUS Fam6K Page 37 of 37 At least one I/O module is required to set the dimensions of both the Input and Output exchange areas. If needed,
PROFIBUS Fam6K Page 38 of 38 [M5] Automatic Mode Options module [M6] Continuous Mode Options module Parameter Options Code Filter Depth &qu
PROFIBUS Fam6K Page 39 of 39 [M8] Reading Parameters module Parameter Options Reading Mode "Reconstruction" "Linear" Ov
PROFIBUS Fam6K Page 4 of 4 1.2 Profibus-DP Basically Profibus is available in different versions: • Profibus-DP (Decentralized Periphery) M
PROFIBUS Fam6K Page 40 of 40 A typical scanner programming project is as follows: Here you have: [IOMC4] module to set the Input/Output e
PROFIBUS Fam6K Page 41 of 41 5. Example Application This chapter describes how to connect a DS6X00-10X-011 barcode reader to a network Mastere
PROFIBUS Fam6K Page 42 of 42 5.1 Installing the Scanner to the Network Follow the instructions in the “GSD Installation” paragraph. 5.2 L
PROFIBUS Fam6K Page 43 of 43 We suggest using the default Destination Directory (S7proj) 4. Open the project. After unzipping (click Yes
PROFIBUS Fam6K Page 44 of 44 5. Transfer Demo Application Program to the PLC Select all the Organising Blocks then press the Download ico
PROFIBUS Fam6K Page 45 of 45 5.3 Network Configuration Description The basic situation is depicted below: The PLC communicates with the u
PROFIBUS Fam6K Page 46 of 46 [IOM4] module set the exchange areas as follows: Input area size = 32 byte [ mapped from I20 (E20) to I51 (E5
PROFIBUS Fam6K Page 47 of 47 5.3.1 Block Descriptions The Demo project is made up of the following blocks: OB1 - Organising Block "M
PROFIBUS Fam6K Page 48 of 48 VAT Input Data Variable Table to check incoming Data Basically you can check the shared Input area where the
PROFIBUS Fam6K Page 49 of 49 VAT Output Data Variable Table to check outgoing Data Through this table you will see how many barcodes have
PROFIBUS Fam6K Page 5 of 5 2. Bus Communication 2.1 Data Exchange Master Profibus is usually a PLC (Siemens S7 or others). Sometimes it could
PROFIBUS Fam6K Page 50 of 50 5.4 Example of Data Exchange To check the behaviour of Demo Program it is useful switching Step7 to OnLine mode
PROFIBUS Fam6K Page 51 of 51 Let's give a 1st trigger to the scanner making a NoRead. 1st message (NoRead) will be sent to the PLC. Note
PROFIBUS Fam6K Page 52 of 52 Let's give a 2nd trigger to the scanner making another NoRead. 2nd message (NoRead) will be sent to the PLC.
PROFIBUS Fam6K Page 53 of 53 Let's give a 3rd trigger to the scanner reading "10DL" on the DL Barcode Test Chart. 3rd message (
PROFIBUS Fam6K Page 54 of 54 Let's give a 4th trigger to the scanner reading "03 $DL" on the DL Barcode Test Chart. 4th message
PROFIBUS Fam6K Page 6 of 6 2.2 Genius™ Settings The Genius™ SW Configuration Tool allows complete parameterisation of Profibus communication.
PROFIBUS Fam6K Page 7 of 7 This documentation is property of DATALOGIC. Reproduction in whole or in part is forbidden without the written co
PROFIBUS Fam6K Page 8 of 8 2.3 Datalogic Flow Control Mode (FCM) The Datalogic Flow Control Mode is a powerful way to manage and optimise th
PROFIBUS Fam6K Page 9 of 9 Although both drivers implement the same above features, two options are currently available to obtain the maximum
Komentáře k této Příručce