background image

 2

011-

08

22

IC-KP-B6*

Communication in "IVI-B6" mode

4.5

PROFIBUS-DP command sequence

Execution of the command begins as soon as a valid command is written using 

toggled flag "T". When the command is received, this flag is sent to the master 

together with the remaining fields of word 0 as confirmation.

Initial state:

The execution counter increases every time the identification system sends a 

message. At the same time, the head number, status, read error flag, reading 

numbers and read only code data fields are set according to the message from 

the identification system. The read error flags are treated differently, depending on 

the command.
The reading numbers increase when the identification system receives read data 

(status 0). Only the reading number in the data field assigned to the head number 

sent by the information system is increased. The reading numbers does not 

increase if the identification system reports an error (status 4, 5, 6).
The read error flag is deactivated for the 

SF

AF

 and 

BF

 commands and always 

remains 0.
The following applies for the 

EF

 command: The read error flag is reset (=0) as 

soon as the identification system receives some read data (status 0). The read 

error flag is set as soon as the identification system reports a read error (status 5) 

and remains unchanged with other fault messages (status 4, 6).
The following example shows a command sequence.

0

0

0

0

Command has been executed without error

0

1

0

0

Incorrect command, invalid parameter or timeout

0

1

0

1

Read or write error

0

1

1

0

Hardware error (reading head faulty) 

Status display S4 ... S1

Head number (K3 ... 1)

0

Execution counter (N4 ... 1)

0

Status (S4 ... 1)

0

4 x read error flags (ERR)

0 for SF, AF, BF and 1 for EF

4 x reading numbers (L3 ... 1) 

0

4 x read only code data (C28 ... 1)

0

Summary of Contents for iDent Control IC-KP-B6-2V15B

Page 1: ...IC KP B6 V15B IC KP B6 2V15B IC KP B6 SUBD Communication in IRI B6 and IVI B6 mode FACTORY AUTOMATION MANUAL ...

Page 2: ...l Terms of Delivery for Products and Services of the Electrical Industry published by the Central Association of the Electrical Industry Zentralverband Elektrotechnik und Elektroindustrie ZVEI e V in its most recent version as well as the supplementary clause Expanded reservation of proprietorship IC KP B6 ...

Page 3: ...P to control interface 7 3 4 Communication direction from the control interface to the PROFIBUS DP 9 3 5 PROFIBUS DP command sequence 11 4 Communication in IVI B6 mode 14 4 1 PROFIBUS DP communication parameters GSD file for IVI B6 14 4 2 Device identification software version message for PROFIBUS DP 15 4 3 Communication direction from PROFIBUS DP to control interface 15 4 4 Communication directio...

Page 4: ...helps you to exploit the full functionality of the device avoids errors and related malfunctions avoids costs by disruptions and any repairs increases the effectiveness and efficiency of your plant Keep this manual at hand for subsequent operations on the device After opening the packaging please check the integrity of the device and the number of pieces of supplied Symbols used The following symb...

Page 5: ...ng read write heads If you connect other read write heads commands are answered with an error message The state 4 is then inserted into the response If you use the System P the only data carrier supported is the type 03 transponder IPC03 Each first data word 4 bytes is read as a fixed code This data word must be written onto the transponder first using normal write commands In System P transponder...

Page 6: ... area 03h with the commands single write configuration or enhanced buffered write configuration 3 Disable the password mode command set password mode You can check the data area with address information reading 0000h and word count reading 00h Control Word Bit Meaning Byte 0 7 Beginning of reading area 0 8 15 End of read area 1 16 Password mode on off 2 17 Mode Read after Write on off 18 23 freely...

Page 7: ...chapters describe the structure of the data words for communication from the DP master to the control interface and from the control interface to the DP master 3 2 Device identification software version message for PROFIBUS DP The device identification and the software version are transferred via the DP function Device Related Diagnostics 3 3 Communication direction from PROFIBUS DP to control int...

Page 8: ...ntifier B4 B1 Command parameters B4 B1 are used to define the relevant command Double side mode DS This function enables double sided reading If this bit is set DS 1 type ICC 50 IDC 50 and IDC CARD read only tags can be read from both sides Otherwise read only tags can only be read from the labeled side Note The command is only executed if the execution counter 0 Command identifier B4 B1 15 14 13 ...

Page 9: ...e number of the assigned head Bits H4 H1 are only used for the EF command in Enhanced buffered auto read fix code operating mode This means H i 1 head detected as connected H i 0 no head connected to this channel Words 2 9 contain the read data Head number K3 K1 3 2 1 Bit no K3 K2 K1 Head 0 0 0 1 0 0 1 2 0 1 0 3 0 1 1 4 1 0 0 All 1 0 1 All 1 1 0 All 1 1 1 All Word 0 Command parameter and toggle fl...

Page 10: ...S1 define the general status and fault messages Word 2 9 reading numbers read data A data field of 2 words is reserved for each of the four reading heads Word 2 3 Reading head 1 Word 4 5 Reading head 2 Word 6 7 Reading head 3 Word 8 9 Reading head 4 Note The fields for the head number status and words 2 to 9 do not contain valid data if the counter indicates 0 Status display S4 S1 3 2 1 0 Bit no S...

Page 11: ...ers of the string form a hexadecimal number and the remaining four characters form a decimal number The first three characters appear directly in bits C28 to C17 following ASCII hex conversion The following four characters are displayed in hexadecimal format In order to compare them with data format 10 they must be converted into a four digit decimal number e g code A764325 ASCII C28 C1 xAh 76h 10...

Page 12: ... and always remains 0 The following applies for the EF command The read error flag is reset 0 as soon as the identification system receives some read data status 0 The read error flag is set as soon as the identification system reports a read error status 5 and remains unchanged with other fault messages status 4 6 The following example shows a command sequence Command Single read read only code w...

Page 13: ...tent B543642 ASCII in front of head Word 0 Command and parameter mirrored Word 1 Status execution counter head number see below Word 2 9 Corresponding data from read only tag if reading successful Word 1 Status execution counter head number K3 K2 K1 A4 A3 A2 A1 S4 S3 S2 S1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 1 or 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 or 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 Head number K3 K1 001b R...

Page 14: ... The output module i e the data from the DP master to the slave consists of one or two command data words and a maximum of 14 usable data words The input module data from the slave to the DP master always consists of two status data words and a maximum of 14 usable data words Examples Command single auto buffered read fixcode Only one command data word and command parameter must be transferred A d...

Page 15: ...ansferred via the DP function Device Related Diagnostics This is structured as follows 4 3 Communication direction from PROFIBUS DP to control interface The data that is transferred depends on the length of the selected output module Only the structure of the required words is shown in the following section Valid data is not allocated to any other words related to the selected module size Reading ...

Page 16: ... The control interface only accepts and executes a new command if this flag has a different status to the previous command i e when it is toggled When the control interface on the DP master is acknowledged the toggle flag is not changed and indicates to the user that the control interface has received and processed the command Word 0 Commands and parameters Bit no 15 14 13 12 11 10 9 8 7 6 5 4 3 2...

Page 17: ...only and read write tags can be read and written from both sides Otherwise read only and read write tags can only be read from the labeled side Command identifier B4 B1 15 14 13 12 Bit no B4 B3 B2 B1 Meaning 0 0 0 0 No command 0 0 0 1 SF 0 0 1 0 AF 0 0 1 1 BF 0 1 0 0 SR 0 1 0 1 AR 0 1 1 0 BR 0 1 1 1 SW 1 0 0 0 AW 1 0 0 1 BW 1 0 1 0 SB 1 0 1 1 AB 1 1 0 0 BB 1 1 0 1 EF 1 1 1 0 ER 1 1 1 1 EW Note In ...

Page 18: ...f words to be read or written maximum 14 words Tag type T1 T2 9 8 Bit no T2 T1 Type 0 0 IDC 1k 0 1 IPC03 1 0 IQC21 1 1 Reserved Number of words N4 N1 7 6 5 4 Bit no N4 N3 N2 N1 Word count 0 0 0 0 Not defined 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 0 1 0 0 4 0 1 0 1 5 0 1 1 0 6 0 1 1 1 7 1 0 0 0 8 1 0 0 1 9 1 0 1 0 10 1 0 1 1 11 1 1 0 0 12 1 1 0 1 13 1 1 1 0 14 1 1 1 1 Not defined ...

Page 19: ...of the required words is shown in the following section Valid data is not allocated to any other words related to the selected module size Reading read only codes Head number K3 K1 3 2 1 Bit no K3 K2 K1 Head 0 0 0 1 0 0 1 2 0 1 0 3 0 1 1 4 1 0 0 All 1 0 1 All 1 1 0 All 1 1 1 All Tag type Address range hex Word address word 1 Block address SB AB BB IDC 1k 0000 003F 0000 003F Word 0 Command paramete...

Page 20: ...epending on the selected module size The previously sent commands and command parameters are repeated in word 0 as confirmation Word 1 contains status information the execution counter and the number of the assigned head Bits H4 H1 are only used for the ER command in Enhanced buffered read operating mode This means H i 1 head detected as connected H i 0 no head connected to this channel Words 2 15...

Page 21: ... H i 1 head detected as connected H i 0 no head connected to this channel Status display S4 S1 Parameters S4 S1 define the general status and fault messages Word 0 Command parameter and toggle flag mirrored Bit no 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Description B4 B3 B2 B1 DS 0 T2 T1 N4 N3 N2 N1 K3 K2 K1 T Word 1 Status execution counter head number Bit no 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 D...

Page 22: ... assigned to the head number sent by the information system is increased The reading numbers does not increase if the identification system reports an error status 4 5 6 The read error flag is deactivated for the SF AF and BF commands and always remains 0 The following applies for the EF command The read error flag is reset 0 as soon as the identification system receives some read data status 0 Th...

Page 23: ...ommands and parameters B4 B3 B2 B1 DS 0 T2 T1 N4 N3 N2 N1 K3 K2 K1 T 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 Table 4 1 1043hex Note Words 1 15 do not contain valid data However this only applies for read only codes In the case of read write tags word 1 would contain the start memory address and words 2 15 for write commands the data to be written Word 0 Word 1 Word 2 Word 3 Word 4 Word 5 1043 hex 1105 hex...

Page 24: ...3 A2 A1 S4 S3 S2 S1 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 1 or 0 0 0 1 0 0 0 1 0 0 0 0 0 1 1 0 or 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 Head number K3 K1 001b Read with head 2 Execution counter A4 A1 0001b Executed once Status S4 S1 0101b Read or write error or 0110b Hardware error or 0000b Command executed without error ...

Page 25: ...75 K 6B 107 k 0C 12 FF 2C 44 4C 76 L 6C 108 l 0D 13 CR 2D 45 4D 77 M 6D 109 m 0E 14 SO 2E 46 4E 78 N 6E 110 n 0F 15 SI 2F 47 4F 79 O 6F 111 o 10 16 DLE 30 48 0 50 80 P 70 112 p 11 17 DC1 31 49 1 51 81 Q 71 113 q 12 18 DC2 32 50 2 52 82 R 72 114 r 13 19 DC3 33 51 3 53 83 S 73 115 s 14 20 DC4 34 52 4 54 84 T 74 116 t 15 21 NAK 35 53 5 55 85 U 75 117 u 16 22 SYN 36 54 6 56 86 V 76 118 v 17 23 ETB 37 ...

Page 26: ...21 776 0 E mail info de pepperl fuchs com USA Headquarters Pepperl Fuchs Inc Twinsburg Ohio 44087 USA Tel 1 330 4253555 E mail sales us pepperl fuchs com Asia Pacific Headquarters Pepperl Fuchs Pte Ltd Company Registration No 199003130E Singapore 139942 Tel 65 67799091 E mail sales sg pepperl fuchs com FACTORY AUTOMATION SENSING YOUR NEEDS TDOCT2491A_ENG 08 2011 ...

Reviews: