Home

KHD2-IVI-AB1 USER MANUAL

image

Contents

1. MOVE Source 3776 Destination N20 0 JPEPPERL FUCHS I also sort of cheated on the first bits again knowing that this will always be the second or fourth BTW and that the first bits will always be 0 In a normal application situation the state of the first bits cannot be predicted To deal with this MVM 1000 0000 0000 0000 mask a word with bit15 a 1 or 0 to all command words or BTD PLC5 a toggle bit into bit15 of all command words 3776 4 gere Rung 221 eee S31 MOV e i due UE MOVE 15 Source 29217 Destination N30 0 NOTES on RUNG 2 1 29217 MOVE the 3 word command to read 3 words Yo ko ntis from the tag into N30 0 1 and 2 MOV This command will use read head 2 and MOVE read 3 words starting at address O zero Source 0 Destination N30 1 0 4 MOV MOVE Source 3l Destination N30 2 Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 PLC5 Example PLC 5 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE ee Rung 2 2 gt Sel NOTE Latch a bit to start the whole sequence B3 sw ES FESTEN TA ee ere ero ooo eee L 15 48 lt Rung 2 3 gt B3 BIW Frere p
2. We will send a continuous read command to a read write system We will use read head 1 to read the first Address 17 lt word IDC address 0 from the tag If you consult the Dis is o 30 0000 0000 0000 0000 crete O Command Quick Reference Chart on pg46 you will see that the command word 1s F022 or 7022 x111 0000 O 031 II 0000 0010 0010 0010 0010 where x is the First Bit which toggles its value 0 032 0000 0000 0000 0000 The start address on the tag is specified in O 032 In our example it is 0 so we can leave O 032 as it is The length of 0 033 0000 0000 0000 0000 1 is implied for a half rack The length value 1 through 6 goes into O 033 for full rack implementations So the first thing to do to the cleared image is to enter the command into O 031 Then toggle the First Bit the msb or bit 17 octal of each word except for the first useable word 0 031 As Address 17 long as the First Bit of word O 03 1 hasn t been toggled the O 030 0000 0000 0000 0000 ABI will ignore every scan At this point our command is O 031 0111 0000 0010 0010 to be changed to a one REMEMBER All bits of O 030 O 032 1000 0000 0000 0000 all ready to go just waiting for the First Bit of word O 031 must always remain 0 O 033 1000 0000 0000 0000 NOTE If you have a Read Only system you can also perform this exercise by using the READ CODE CARRIER command Just replace the 0010 in C3 CO
3. Be sure you understand the SLC BT technique before diving into this example even though this is an extremely simple example If you areatallalittle shaky on it youshould read through the SLC RIO scanner manual where they explain what is what because this example is based largely on the scanner manual examples What this demo will do This demo performs 4 BT operations in arepeating sequence Four timers each three seconds in duration puta pause between each BT so that the eye can follow the demo These can be removed or altered The 4 BT operations are representative of typical ID system operations 1 BTW acommand to the ID system along with some data The ID system is commanded to take the 4 data words and write them sequentially to the tag starting at address zero 2 BTR foraresponse to the BTW 1 This will give us status from the ID system regarding the success of the tag write not the BTW write or the status of the ID system error if the tag write failed 3 BTW acommand to the ID system telling it to read four words from a tag at head 2 4 BTR for the data from the prior read command On the following page isa set of helpful tips regarding the SLC SN module used with P F ID viaBT s P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 56 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2
4. C C Command bits unique for each command M Mode bit 0 CURRENT MODE 1 MOST RECENT MODE see page18 for further descriptions of the CURRENT and MOST RECENT modes 2 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 4 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Block Transfer Commands Introduction First Word of Response The first word of response is a status word A 1 in any bit location of byte STATUS indicates the existence of that particular error STATUSO indicates active heads and tag read status wa d dE EE ER E SERA Ed e e STATUS 1 Bit6 Microprocessor internal RAM error Bit5 External RAM error Bit4 Node Adapter Chip RAM error Bit3 The head specified in the command does not exist Bit2 The command is not available bad command Pl RS 232C serial communication error Bit0 N A STATUSO Bit7 No tag is read by read head s Bit6 N A Bit5 N A Bit4 The tag read by the read head is still present in front of the read head Bit3 Read head 4 is active Bit2 Read head 3 is active Bitl Read head 2 is active Bt Read head 1 is active NOTE When the system is first initialized Bit7 of STATUSO is 1 because no tag has been read yet When using MOST RECENT MODE or a BAR command onc
5. cates that read head 1 is active I 032 is still all 0 s be 1 031 000 0000 1000 ooo cause no data has been read into the buffer yet You should 1 032 000 0000 0000 0000 see the three First Bits rapidly toggling between 1 and 0 The rapid toggling occurs because every scan of the RIO I 033 000 0000 0000 0000 updates the input image with First Bits toggled from their previous state For example assume that YO is the data in the first data word word 0 on the data carrier tag Hopefully the tag still has not been placed in front of the read head Now if Address 17 you put the tag in front of the read head bit 7 of STATUS is L n 0000 0000 0000 0000 turned off because something has been read However bit 4 is now on indicating there is a tag being read and the tag is in 1 031 1000 0000 OO ood front of the read head The data in word I 032 is x101 1001 1 032 1101 1001 0100 1111 0100 1111 59 4F hex or YO ASCII If the tag is re moved bit 4 turns off but the data stays in the AB1 s buffer until over written by the next read 1 033 1000 0000 0000 0000 Fa PEPPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 1 7 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Operation KHD2 IVI AB1 F Tips Hints and Facts ID The KHD2 IVI ABI interf
6. the last character most of the error check has been satisfied The AB1 waits for the last version character thus hanging The new version can handle variable length version responses now The new AB1s easily replace the old ones Old ladder logic that toggles first bits will work just fine with the new version because the First Bits MSBs are now Don t Care bits Discrete I O transfers must still use the First Bit convention to protect against bad data Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Contents KHD2 IVI AB1 Page 3 INFORMATION 4 I INTRODUCTION A Overview B Features 5 II KHD2 IVI ABI CONFIGURATION IIl COMMAND SET 3 1 1 A Description of Functional Options 1 Read Code Carrier 2 BAR Code Carrier 3 Read Data Carrier 4 BAR Data Carrier 5 Write Data Carrier 6 Tag Reset 7 Version 8 Reset 3 2 1 B Block Transfers 1 Read Code Carrier 2 BAR Code Carrier 3 Read Data Carrier 4 BAR Data Carrier 5 Write Data Carrier 6 Tag Reset 7 Version 8 Reset 3 3 1 C Discrete I O 1 2 Rack 1 Read Code Carrier 2 BAR Code Carrier 3 Read Data Carrier 4 BAR Data Carrier 5 Write Data Carrier 6 Tag Reset 7 Version 8 Reset 3 4 1 D Discrete I O Full Rack 1 Read Code Carrier 2 BAR Code Carrier 3 Read
7. 0000000000000000 7 0 just some data that goes on the tag at address 3 MOV Move Source 4 4 lt Dest B3 112 oo00000000000100 lt MOV Move Source 3 3 Dest B3 113 OD0000000000001 1 MOV Move Source 2 2 Dest B3 114 oD00000000000010 Mav Move Source 1 1 lt Dest B3 115 o000000000000001 MOV Move Source De Dest B3 118 OGODOOGDVDODODODOX p E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 60 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com KHD2 IVI AB1 SLC500 Example SLC500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE First Pass 2 1 15 MOV 005 lE Move Source 29216 29216 This is the actual 3 word command that goes out us e in the step 3 BTW to the AB1 to read from the tag We will move these 3 words into B3 210 212 1 29216 7220 hex ID command Read using head 2 MOV 2 0 start reading at tag address 0 Move 3 4 read 4 words Saurte 0 Dest B3 211 G000000000000000 MOV Move Source 4 Ae Dest B3 212 o0060000000000100 Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com amp 1 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com SLC500 Example KH
8. 3 s to get OCTAL or by 4 s to get HEX 3 Send a sample command to verify complete communication P F recommends a Discrete I O command sent from the monitor force I O image table screens in the programming software s online mode The read code carrier for read only or read data carrier for read write command with the continuous response bitset By continuously polling a read head a continuous read command will give an excellent visual indication viaa yellow orange LED on both the read head and the ID interface that the command went Then the input image can be monitored and you can actually see the status and data bits changing as you put and remove tags ICC s or IDC s from in front of the read head read about the First Bit convention on pp12 13 the Discrete I O Command Mechanism on pg11 and the DIO image table example on pp 14 15 1 2 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Theory of Operation B Brief explanation of Discrete I O transfers from A B PLC to AB1 The mechanism for creating DIO Discrete I O transfers to the KHD2 IVI ABI is the same mechanism used to transfer on off bits to a remote rack of outputs The output image table location in the PLC that corresponds to the destination rack 1s set with
9. AB1 is set up as rack 1 group 0 MOV So we put the control words in B3 170 172 which will ultimately Move mo get moved into M0 1 400 402 Source 0 There are 3 necessary words a 1 128 sets up BTR currently disabled Dest B3 171 2 0 sets up BT size let AB1 decide on size 0000000000000000 3 100 Rack group module in decimal Remember to make sufficient space for the results of MOV this BTR as it has the potential to return 64 words Move Source 100 100 Dest B3 172 Q000000001100100 Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 59 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com SLC500 Example KHD2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE First Pass S2 1 15 MOV 004 JE Move Source 28992 28992 lt This is the actual 7 word command data that goes out ar 1 EE in the step 1 BTW to the AB1 to write to the tag We will move these 7 words into B3 110 116 1 28992 7140 hex ID command Write using head 1 MOV 2 0 start writing at tag address 0 Move 3 4 write 4 words SEI o 4 3 just some data that goes on the tag at address 0 Be 5 2 just some data that goes on the tag at address 1 Dest B3 111 6 1 just some data that goes on the tag at address 2
10. Bit7 No tag is read by read head s SO Bit6 N A S0 Bit5 N A SO Bit4 The tag read by the read head is still present in front of the read head SO Bit3 The read head 4 is active SO Bit2 The read head 3 is active SO Bit1 The read head 2 is active SO Bit0 The read head 1 is active Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 39 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Discrete UO Commands KHD2 IVI AB1 1 Read Code Carrier This command reads a code carrier from a single read head Command Format ID ID is a 24 bit data read from a code carrier The read only ID system retrieves ID ID in hexadeci mal form however ID ID is retrieved in decimal form by the read write ID system For example OD ID from the code carrier is 661C4A the data read by a read only ID system is 661C4A as compared to 667242 read by a read write ID system It is recommended to use the read only ID system to read code carriers so that the returned data will be entirely in hexadecimal When using current mode and any ID system error occurs the bit4 of the STATUSO is cleared 1D 1D is set to 0 and ID ID is replaced by an error code see ID system use
11. Data Carrier 4 BAR Data Carrier 5 Write Data Carrier 6 Tag Reset P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 4 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Contents 4 1 5 1 1 5 2 1 5 3 1 5 4 1 7 Version 8 Reset IV TECHNICAL SPECIFICATIONS V APPENDICES A Quick reference command charts 1 Discrete I O 2 Block Transfer B Programming Tips 1 General 2 Discrete I O 3 Block Transfer C Ladder Logic Examples 1 Discrete I O Ladder Example 2 Block Transfer Ladder Example D ID System Manual 1 Commands 2 Error Codes 3 Wiring Configuration Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 5 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com CONVENTIONS USED WITHIN THIS MANUAL KHD2 IVI AB1 NOTE During the course of this document the KHD2 IVI AB 1 will be referred to as the AB1 to enhance the flow of the information by associating a short name with the interface 1 Any command component or data that actually goes to or comes from the PLC will be designated in lt BOLD gt lt CAPITALIZED gt lt ARIAL FONT gt 2 Names of commands components operating modes will be designated in CAPITALIZED TIMES NEW RO
12. Delay EN Timer T4 4 Time Base 1 0 DN Praset 3 lt Accum De B3 188 1 TON HO E Timer On Delay END Timer T4 2 Time Base 10 L DND Preset 3 Accum De B3 188 0 TON lE Timer On Delay EN Timer Ta Time Base 1 0 DN Preset 3 lt Accum 2 p E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 SLC500 Example SLC500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE The timer done bits permit latching of the activate BT O bits T4 4 DN 0 18 032 ED 1747 SN B3 188 0 T4 3 DN 0 1 2 033 L 1747 SN B3 188 3 L E3 188 2 T4 2 DN 03 034 1747 SN B3 188 2 L B3 188 1 U T4 1 DN 6 1 0 035 L 1747 SN B3 188 1 036 CEND Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 69 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com ID Interface IVI or IRI Tips KHD2 IVI AB1 NOTE Please see appropriate IVI or IRI User Manual for complete ID interface operating information IVI and IRI User manuals are available as PDF files o
13. Dest B3 1 Us We need to issue a BTW from the SLC to the AB1 via the ps e S N Module l a000a000000000000 In this example we will write 4 words to tag addresses 0 thru 3 We need 3 words for the AB1 command and combined with MOV the 4 words of data the BTW slze becomes 7 M Our AB1 Is set up as rack 1 group 0 ove So we put the control words in B3 100 102 which will ultimately Source S e d inta MO 1 1 aa 02 Dest B3 1 x re are 3 necessary words 1 0 sets up BTW currently disabled 09000000000001 11 lt 2 7 sets up BT size 7 as previously discussed 3 100 Rack group madule in decimal MOV Move Source 100 100 lt Dest B3 102 abooo0DO001100100 First Pass S2 1 15 MOV 001 Move Source 128 Secondly we will request the tag write status to verify that the 128 data was written correctly to the ID system data carrier tag Dest B3 160 We need to issue a BTR from the SLC to the AB1 via the a000000010000000 S N Module We need 3 control words for the BTR Our AB1 Is set up as rack 1 group 0 MOV So we put the control words In B3 160 162 which will ultimately Move get moved into M0 1 300 302 Source A There are 3 necessary words D 1 128 sets up BTR currently disabled Dest B3 161 2 O sets up BT size let AB1 decide on BTR size GRODGDOQODOOODQOx 3 100 Rack group module in decimal MOV Move Source 100 100 Dest B3 162 0000000001 100100 8 P E PPE RL FU C H S Pepper Fuchs
14. IDC 1K at power up If the bits in ERROR E E are zeros the type set was successful Command Format Reply Word 0 Word 1 Word 2 ERROR E E 00 successful OD unsuccessful Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 3 3 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com Block Transfer Commands KHD2 IVI AB1 9 Data Carrier Reset for IDC 256bit only This command resets the data carrier from asingle read head If the bits in ERROR E E in the reply are zeros the reset was successful Before this command is executed a data carrier must be in front of the read head Command Format Select only one of the H bits H H H or H to set to 1 and leave the rest 0 wao 2 ESE E E RE ER EGET STI Reply Word 0 Word 1 Word 2 If the bits in ERROR are zeros in the reply writing was successful ERROR E E 00 successful OD unsuccessful Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 34 D P E P P E R L F U C H S Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com KHD2 IVI AB1 Block Transfer Commands 10 Page Read Data Carrier for type D3 data carriers IMC 40 64K or 256K This co
15. IVI AB1 SLC500 Example Hints on Communicating Between P F ID and A B s S N module Graciously submitted by W Ted Evans University of Toledo faculty 1 Each P F read or write requires an Allen Bradley write followed by aread For the P F read using a BTW send 3 words and expecta BTR of the length of the returning data plus one for status on all BTR s the length can be set as zero and let the AB 1 spec the length as an option For the P F write use a BTW send 3 words plus data and expect a 2 word BTR as a response to the BTW 2 Use the BTW and BTR pseudo commands explained in A B s S N module manual Care must be taken not to allow the BTW or BTR to restart This means that on the scan that the done bit comes on suppress the enable bit The programs from the S N manual can almost be lifted straight out with this one exception When the done bit comes on stop the present BTW and move on to the BTR When the BTR s done bit comes on disable the BTR and exit the routine 3 The BTW and BTR can use the same 100 word block For instance use Mie 1xx for the entire ABI communications In the example here I used a separate MO e x00 file set for each of my 4 BT s for clarity 4 When writing do not forget the toggle bit Itis important to first turn it on then off then on again with each suceeding write of the BTW The trick is notin the routine that writes the toggle but in the program calling it For instance if seal circu
16. READ CODE CARRIER command with the addition of a data carrier starting page address to specify the location on the tag from which to read data Any combination of three read heads can be activated due to the 64 word BT limit and the reply contains the codes for all active read heads This command can be performed in CURRENT or MOST RECENT modes 2 PAGE B A R DATA CARRIER This command works like the BAR CODE CARRIER com mand with the addition of a data carrier starting page address specify the location of data requested from the data carrier This command activates all read heads up to 4 total connected to the ID system and continuously reads for BT s This command is performed only in MOST RECENT mode 3 PAGE WRITE Only for IMC series data carriers This command writes a page of data at a certain starting page address on a read write data carrier Only one read head may be specified and this function is performed only once with BT only This would be CURRENT mode NOTE The first bit MSB of each data word is not allowed to be used regardless of the overall size of the data because we need it for the FIRST BIT convention This means that the value of the high byte of each and every data word MAY NOT EXCEED 7F The low byte has no restrictions value can be anything from 00 FF Keep this in mind especially when sending ASCII characters Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsb
17. U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 6 3 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com SLC500 Example KHD2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE an DE COP 008 Copy File Take care of the tag write BTW pending status Source M1 1 100 B3 199 0 and checkit until done bit is off Dest B3 90 Length 4 B3 189 1 COP 009 lE Copy File B3 189 0 Take care of the tag read BTW pending status dia iro J L and check it until done bit is off Length a B3 179 1 COP 010 lE Copy File ti A Source M1 1 400 Take care of the tag read BTR pending status B3 1 KE and check it until done bit is off ven TAE B3 169 1 COP 011 1 Copy File Take care of the tag write status BTR pending status Source M1 1 zB B3 rui D and check it until done bit is off pet See B3 90 12 B3 199 1 012 Jt W B3 00 13 Continue checking status until the done bit is off Step 1 BTW write tag B3 80 12 B3 189 1 03 eg AU B3 80 13 Continue checking status until the done bit is off Step 3 BTW read tag B3 70 12 B3 179 1 014 Yt W B3 7043 Continue checking status until the done bit is off Step 4 BTR read tag data B3 60 12 B3 169 1 015 Mt W B3 60 18 Continue ch
18. Wie a SS Se kanon BLOCK TRANSFER WRITE EN 48 Rack 03 T4 31 NOTE for RUNG 2 3 IGroup 4 DN Here is the BTW to write 3 Module 01 DN words of data to the ID tag Control block N20 10 ER Notice the BTW length is 6 Data file N20 0 3 words of header and 3 words Length 6 of data Continuous N 4 lt gt Rung 2 4 gt N20 10 B3 bee pees sees eS min SS a SS SS Se SS Se See Seas de ooo Se See Sa tiet eei 0 t 13 48 TON NOTES for RUNG 2 4 TIMER ON DELAY EN Here is a big fat 2 sec timer just to Timer T4 0 really slow things down Time base 0 01 DN REMEMBER JUST BECAUSE THE BTW DONE BIT Preset 200 IS SET IT DOES NOT MEAN THAT THE ID Accum 200 SYSTEM IS FINISHED WITH ITS ID ING Free YOU MUST WAIT FOR THE ID SYSTEM TO FINISH BEFORE SENDING A BTR TO GET THE STATUS OR DATA FROM THE BTW YOU JUST SENT FOR A WRITE TRY 500 600ms AND FOR A READ TRY 100 200ms YOU MAY HAVE TO ADJUST THESE VALUES ON A PER APPLICATION BASIS The timer is activated by the BTW DN bit c Ring 2 5 gt T4 0 BTR RN eere BLOCK TRANSFER READ EN DN Rack 03 NOTE for RUNG 2 5 IGroup 4 DN Here is the BTR that is sent to Module DI determine the status of the tag Control block N11 10 ER write that we just sent in the Data file N11 0 previous BIW It is triggered by Length 0 T4 0 s
19. Word 2 Word 3 Word 4 Word 17 Reply Word 0 Word 1 Word 2 ERROR E E 00 successful OD bad p E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 36 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Block Transfer Commands Block Transfer Command n Quick Reference Chart 1st This is the first bit MSB or bit15 hex or bit17 octal H H H H Read head select H is head 1 etc The head is selected 0 The head is not selected C Ga C C Command bits unique for each command M Mode bit 0 CURRENT MODE 1 MOST RECENT MODE 3 see page 18 for further descriptions of the CURRENT and MOST RECENT modes Command Code Cc C C C READ CODE CARRIER B A R CODE CARRIER READ DATA CARRIER B A R DATA CARRIER WRITE DATA CARRIER 1 VERSION RESET AB1 SET DATA CARRIER TYPE 1 RESET DATA CARRIER 1 PAGE READ DATA CARRIER 2 PAGE B A R DATA CARRIER 2 PAGE WRITE DATA CARRIER 2 Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 3 7 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepp
20. bits 0 The tag write is first 1st bits 1 and the tag read is second 1st bits 0 and then the scan repeats You could also mask movein the first bits depending on yourspecific situation JustrememberALL wordsinthe BTW musthave their First Bits set The BTW should look something like BTW Rack 3 Group 4 Module 0 Control N30 10 Data N30 0 Length 23 Continuous no 5 On the BTW done bit run a 100msec minimum timer T4 2 Base 01 Preset 10 Accum 0 to givethe ID system time to read the three words Notice that the ID system does not need as much time to do a read as compared to the write time 6 On the timer s done bit send the BTR to retrieve the data BTR Rack 3 Group 4 Module 0 Control N50 10 Data N50 0 Length 20 Four words should show up in N50 3 4 5 and 6 one status word and the 3 data words Go to Step One to repeat the scan Some additional application notes Use timers to slow down the scan time or force wait times for purposes of clarity in these examples The efficient programmer usually has a host of other processes and done bits that take certain amounts of time and can be used in place of the wasteful timers Forexample a pallet pulls in to a trimming station to get some flash trimmed off of apart As the pallet comes into the station it gets its ID read At the same time the pallet already in the station is getting its trim which takes 1 second You could BTW aread command for your p
21. group 4 11 Fourth I O group 6 SWITCH 2 S1 Last rack This only tells the RIO scanner that this is the last address to scan This does not switch in a terminating resistor The resistor is added to the outside of the AB1 S2 S7 Rack address of Allen Bradley RIO link e g if S2 S7 are set as 010011 then the address is 19decimal or 23octal CAUTION A RIO address setting like 001100 can be confused between decimal 12 and octal 14 Treat this as decimal 12 If you prefer to work with octal like the PLC s I O is layed out just split S2 S7 into 2 groups of three Our previous example 001100 when split becomes very easy to determine the octal value 001 100 1 4 14octal NOTE During the course of this document the KHD2 IVI AB1 will be referred to as the AB1 to enhance the flow of the information by associating a short name with the interface Fa P E P P E B L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 8 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Configuration KHD2 IVI AB1 Connecting the AB1 to the ID interface either IVI 4HRX or IRI 4 RX The AB1 comes with a 6 RS 232 connector which is to be attached to the 9 pin D sub connectors on the IVI IRI and the AB1 The IVI IRI DIP switches must be set for 19 200 baud sw 1 and 2 are ON or 1 The IVI can be set to be
22. not understood M5 Parity error in serial comms or checksum error M6 Binary mode not permitted in current data format M7 The addressed read head not connected or not functioning properly M8 No code data carrier present or data transmission not possible MO Read head not responsive Read Write ID Interface Error Codes 00 Noerror used as confirmation that the intended event occurred correctly 01 The received command not understood 02 The addressed read head not connected or not functioning properly 03 No code data carrier present or data transmission not possible 04 Write error 05 EEPROM fault 06 Check sum error serial comms 07 RAM fault 08 Check sum or parity error data carrier 09 Address of or size of data beyond range of carrier 0A Read Write head is unresponsive OB Watchdog reset OC Echo fault in inductive data transfer OD This function not allowed with the selected data carrier type OE The read write head not suited to this ID interface OF ID interface synchronization error 10 Low battery in battery operated data carriers only Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 7 1 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com READWRITE System Read Times KHD2 IVI AB1 These times are a measure of the time int
23. starting at START ADDRESS 00 0F hex into the data carrier This command writes one word 2 bytes of data when using Half Rack addressing and up to 6 words with a LENGTH of 1 6 when using Full Rack addressing starting at START ADDRESS 00 3F hexadecimal for IDC 1K on the data carrier Command Format Reply Word 1 Word 2 Word 3 If the bits in ERROR are zeros in the reply writing was successful ERROR E E 00 successful OD unsuccessful 44 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Discrete l O Commands 6 Data Carrier Reset This command resets the data carrier from a single read head If the bits in ERROR in the reply are zeros the reset was successful Before this command is executed a data carrier must be in front of the read head Command Format Fa p E P P E R L F U C H S Pepperl Fuchs Inc e 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 4 5 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com Discrete UO Commands KHD2 IVI AB1 7 V
24. will be accepted The sequence of commands just alternates First Bits between 1 s and 0 s starting with 1 s at power up or after a reset The First Bits of the returned information echo the First Bits of the command Look at the Discrete I O commands to see how the output image table should be set up We recommend the toggling of the second word s first bit last so that there is no doubt that the rest of the image table is correct and ready to go If you flipped all of the first bits before setting up the command then whatever is there will go out This would either re send the previous command or would result in an unknown command error if the image table were partially changed Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 1 5 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Operation Example KHD2 IVI AB1 E Simple Example of Discrete IO Transfers the following Address Data tables were created from data from the actual ONLINE PROGRAMMING MONITOR Address 17 lt DATA I xxx and O xxx image tables set for binary Let s assume that an ABI is set up as 1 2 rack starting group 0 1st quarter at address 3 If we initially clear the output AND input image table we would see the following pattern when viewing the output image table Don t put a tag in front of the read head yet
25. 087 2245 E mail sales us pepperl fuchs com T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Power Supply Working Voltage Power Requirement Serial Interface RS 232 Cable Length RIO Link Environmental Conditions Working Temperature Storage Temperature Moisture Mechanical Construction Mounting Housing Material Flammability Class Method of Connection Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Technical Specs 21 27 VDC Max 2 0 VA Max 50 feet Max 10 000 feet 57 6 Kbps Max 5 000 feet 115 2 Kbps Max 2 500 feet 230 4 Kbps 0 70 C 25 C 85 C Max 90 relative humidity Terminal Housing 40mm Snap fitting onto standard rail DIN 46277 or by screw tabs Makralon 6485 UL94 Self opening instrument terminals max conductor csa 2 x 2 5mm Built in 9 pin D sub connector 75 IPEPPERL FUCHS Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 Telephone 330 425 3555 FAX 330 425 4607 E mail salesQus pepperl fuchs com World Wide Web Site http www pepperl fuchs com Terms amp Conditions of Sale information is printed on every order acknowledgement copies are available upon request We reserve th
26. 3 170 15 a W When done bit 13 or error bit 12 indicate that 0 1 3 the BTR to read the tag data is finished unlatch CUD the enable bit and keep examining the status NOTE Normally you would split the done and 1747 SN error bits into 2 separate rungs so that custom B3 179 1 error handling can be performed on the error bit a This is only a demo so an error bit is treated like adone bit COP Copy File Source M1 1 410 Dest N7 10 Length 64 E PEPPERL FUCHS 5 E 425 4607 erer 65 SLC500 Example 020 021 022 023 KHD2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE B3 60 13 B3 169 0 J CU j LU B3 60 12 B3 160 15 J E UD p me a 1 1 When done bit 13 or error bit 12 indicate that A the BTR to read the tag write status is finished NS unlatch the enable bit and keep examining the status 1747 SN NOTE Normally you would split the done and Cap l error bits into 2 separate rungs so that custom error handling can be performed on the error bit Copy File This is only a demo so an error bit is treated like Source M1 1 310 AERE Dest N7 80 Length 64 E3 169 1 CL SO JPEPPERL FUCHS 0 1 0 B3 100 15 B3 90 12 B3 90 13 COP OO Copy File Source B3 110 1747 SN Dest Mo 1 110 Length 7 When bit O 1 0 is latch
27. 80 13 When the BTW write tag is done or enabled load Dest 8 amp MO 100 H the MO control words to send it again Length 3 for continuous sending of BT s B3 100 15 q E B3 80 12 COP 025 m Copy File Source B3 200 B3 80 13 When the BTW read tag is done or enabled load Dest Md 1 200 E the MO control words to send it again Length 3 for continuous sending of BT s B3 200 15 TO iL B3 70 12 COP 026 E Copy File Source B3 170 B3 70 13 When the BTR for tag data is done Dest M0 1 400 E or enabled load the MO control words to Length 3 send it again for continuous sending of BT s B3 170 15 Eu IC B3 60 12 COP 027 E Copy File Source 63 160 B3 60 13 When the BTR for write tag status is done Dest Mo 1 300 JE or enabled load the MO control words to Length 3 send it again for continuous sending of BT s B3 160 15 ap jc ap IdPEPPERL FUCHS zt mte e mE 67 SLC500 Example KHD2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE 028 029 030 031 Three sec timers are added to visually slow thing down Some delay should be used after after a tag write or read The BTW done bit only means that the command was delivered in good shape Once the command is delivered then the ID system can act upon the command and that requires a little extra time B3 188 2 TON J H Timer On Delay EN Timer T4 3 Time Base 1 6 DN Presat 3 lt Accum De B3 188 3 TON lE Timer On
28. AX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 V PBlock Transfer Commands 6 Version This command is used to check the version of the ID system and that of the AB1 interface The reply to the PLC also includes which read heads are attached to the ID system Command Format wao EE ES S ES ERI ES ERST US oa Reply Word 0 Word 1 Word 2 VERSION 0 Vo vo is the version of the ID system interface VERSION 1 V1 V1 is the version of the ABI Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 3 1 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com Block Transfer Commands KHD2 IVI AB1 7 Reset This command resets the ABI interface Command Format No reply P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 3 2 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Block Transfer Commands 8 Set Data Carrier Type This command sets the data carrier type in the read write system ID interface The IDC 1K is type D4 the IDC 256bit is type D1 and the IMC s 256kbit and 64kbit battery backed RAM are type D3 TheIVI KH 4HRX ID system interface starts in type D4
29. D2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE First Pass 2 1 15 MOV 006 Move Source D Ok Zero out utility bit files and load the BTW data into the Dest B3 189 corresponding M0 110 and M0 210 files 0000000000000000 MOV Move Source 0 Ok Dest B3 188 Oo000000000000001 MOV Move Source 0 a Dest B3 199 a000000000000000 COP Copy File Source B3 210 Dest M0 1 210 Length 3 COP Copy File Source B3 110 Dest MO 1 110 Length 7 p E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 62 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 SLC500 Example SLC500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE First Pass S2 1 15 COP 007 lE Copy File Source B3 100 Move all of the MO 1 x00 BT control words and unlatch all Dest M0 1 100 of the timer sequence bits O 1 0 O 1 3 Length 3 Q 1 0 UD 1747 SN O1 2 W 1747 SN O 1 3 W 1747 SN Qu UD 1747 SN B3 188 0 Do COP Copy File Source B3 160 Dest MQ 1 300 Length 3 COP Copy File Source B3 170 Dest amp M0 1 400 Length 3 COF Copy File Source B3 200 Dest M0 1 200 Length 3 Fa p E P P E R L F
30. DN bit Continuous NI 4 Rung 2 6 N11 10 TON Fre TIMER ON DELAY EN 1 3 Timer T4 1 NOTE for RUNG 2 6 Time base 0 01 DN On the BTR DN bit start this 2 sec Preset 2001 timer Accum 200 4 lt Rung 2 7 T4 1 BTW 4 BLOCK TRANSFER WRITE EN DN Rack 031 NOTE for RUNG 2 7 IGroup 4 DN Send BTW to read 3 words from the Module 0 tag when triggered by the timer 4 1 Control block N30 10 ER DN bit Data file N30 0 Length 3 Continuous NI 4 Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 5 3 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com PLC5 Example KHD2 IVI AB1 PLC 5 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE Rung 2 8 N30 10 TON Mee Sessa Se SS SS SS Se Le eI TIMER ON DELAY EN 13 Timer T4 2 NOTE for RUNG 2 8 Time base 0 01 DN Use BIW DN bit to start timer Preset 200 Accum 200 p Rung 2 9 T4 2 d eege Fae BLOCK TRANSFER READ EN DN Rack 03 NOTE for
31. IER B A R DATA CARRIER WRITE DATA CARRIER 1 SET DATA CARRIER TYPE 1 VERSION RESET INTERFACE RESET DATA CARRIER 1 2 1 ONLY FOR READ WRITE ID SYSTEM 2 ONLY FOR 2KBIT OR 256BIT DATA CARRIERS 48 p E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Discrete O Commands Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 49 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com PLC5 Example KHD2 IVI AB1 PLC 5 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE GOAL Write and read three words of data to an inductive data carrier read write tag using Block Transfers LAYOUT We will use Rack 3 Group 4 Module 0 quarter rack size We will put the write command to be sent via block transfer write into N20 0 N20 1 N20 2 N20 3 N20 4 and N20 5 see page 28 fora detailed explanation ofthe WRITEDATA CARRIER block transfercommand We will put the read command also to be sent via block transfer write into N30 0 N30 1 and N30 2 see page 26 for a detailed explanation of the READ DATA CARRIER block transfer command ONSTARTUP Move needed values into the app
32. Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 5 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 SLC500 Example SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE First Pass 2 1 15 MOV 002 oo Move Source d De Dest B3 200 In the third step we will read data from 0000000000000000 the ID system data carrier tag We need to issue a BTW from the SLC to the AB1 via the S N Module MOV In this example we will read 4 words from tag addresses 0 thru 3 Move We only need 3 words for the AB1 command and the BTW size Source 3 becomes 3 ER Our AB1 is set up as rack 1 group 0 Dest B3 201 So we put the control words in B3 200 202 which will ultimately Q00000000000001 1 get moved into M0 1 200 202 There are 3 necessary words 1 0 sets up BTW currently disabled MOV 2 3 sets up BT size 3 as previously discussed Move 3 100 Rack group module in decimal Source 100 100 Dest B3 202 0000000001 100100 First Pass 82 15 MOV 003 lE Move Source 128 Finally the 4th step we will request the tag data that was read 128 into the AB1 by the read tag BTW Dest B3 170 We need to issue a BTR from the SLC to the AB1 via the 0000000010000000 S N Module We need 3 control words for the BTR Our
33. KHD2 IVI AB1 ALLEN BRADLEY REMOTE I O NODE ADAPTER FOR PEPPERL FUCHS INDUCTIVE IDENTIFICATION SYSTEM IDENT I System V USER MANUAL 1999 IPEPPERL FUCHS Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 Telephone 330 425 3555 FAX 330 425 4607 E mail salesQus pepperl fuchs com World Wide Web Site http www peppert fuchs com KHD2 IVI AB1 P E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 2 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 IMPORTANT FIRMWARE VERSION INFORMATION All new KHD2 IVI ABIs have a new 5 10 version of software installed Version 5 10 has the First Bit convention removed from the Block Transfer functions This means that the First Bit MSB of each word does not have to be toggled for each BTW which in most cases will reduce the ladder size and debug time The only disadvantage is that the responses to the BTW s don t echo the state of the first bits thus eliminating a good feedback mechanism We discovered an incompatability between the prior AB1 and the most recent IVI interface versions If you issue a Version command the AB1 will hang The software team in Germany changed the length of the version response by shortening it The AB1 expects a certain length string and by the time it gets all but
34. MAN FONT 3 Normal text will be in normal Times New Roman font What you are now reading 4 Critical information will be in Italicized bold serif d Times New Roman font 5 The three hyphens found in many of the bit locations in the word tables represent don t care conditions 6 D PEPPERL FUCHS E E n KHD2 IVI AB1 Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Introduction KHD2 IVI AB1 A Overview The KHD2 IVI ABI is an interface module designed to permit P F Inductive ID Systems to communicate directly with the Allen Bradley Remote I O network and thus communicate more directly with the host PLC The KHD2 IVI AB1 interface essentially emulates a remote I O rack The node addressing data transfer and physical connection to the RIO network is performed in a manner similar to that of a remote rack of I O This configuration eliminates the need for special cabling special programmable modules for the PLC programming of a new communication protocol serial communication ASCII string handling network gateways or any other third party integration solutions all of which add to the equipment pro gramming wiring debugging and maintenance costs of building a system The KHD2 IVI ABI interface has been developed in conjunction with Allen B
35. RUNG 2 9 Group 4 DN Use timer T4 2 s DN bit Module 0 to start the BTR which will Control block N12 10 ER retrieve the data read from Data file N12 0 the tag by the BIW Length 0 Continuous NI p Bung 2410 gt N12 10 TION SaaS SS SS a SS aa a TIMER ON DELAY EN 13 Timer T4 3 NOTE for RUNG 2 10 Time base 0 01 4 DN Use BTR DN bit to start the 4th Preset 500 timer This timer s DN Accum 167 trigger the first BTW which repeats the p A A a an whole sequence 54 P E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 PLC5 Example PLC 5 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE 4 PEPPERL FUCHS Geesen WE red a 3555 A FAX viet 425 4607 M Ee et Sly Maris ss ripas Da E 55 SLC500 Example KHD2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE Comment before we start this SLC example The creation of Block Transfers on the SLC is more involved than with the PLC 5 With the PLC 5 you just fill in the blanks in the BTW or BTR command boxes that use just one rung of ladder The SLC has to have the block transfer processed through the M files like some external data generating third party gadgets are interfaced
36. Web Site http www pepperl fuchs com KHD2 IVI AB1 Configuration 00 Settingupthe AB1 Configuration The AB 1 interface communicates with the IVI KHA6 4HRX AC powered version and the IVI KHD2 4HRX DC powered version read write ID system interfaces or the IRI KHA6 4 RX AC powered ver sion and the IRI KHD2 4 RX DC powered version read only ID system interfaces via RS 232C serial communication The baud rate is fixed at 19 200 There are two 7 position DIP switches SW 1 SW2 in the ABI interface that must be set before the interface is powered up The DIP switches can exist in several forms such as slide or rocker types Switches are ON or 1 or CLOSED when the slider is up or the upper portion of the rocker is depressed and switches are OFF or 0 or OPEN when the slider is down or the lower portion of the rocker is depressed In the illustration to the right three of the switches are ON and the rest are OFF These are the rocker type The definition of the DIP switches is as follows r SWITCH Ge SWITCH 24 SWITCH 1 S1 ID system mode 0 Read Only ID system Read Write ID system S2 S3 Data rate of Allen Bradley RIO link 00 57 6 kbits sec 01 115 2 kbits sec 10 11 230 4 kbits sec S4 S5 Rack size of Allen Bradley RIO link 00 Quarter rack 01 Half rack 10 11 Full rack S6 S7 Start quarter group of Allen Bradley RIO link 00 First I O group 0 01 Second I O group 2 10 Third I O
37. ace ABI is able to work in Discrete I O or Block Transfer modes In Discrete I O the first word of the discrete output image and the first word of the discrete input image are not to be used They are reserved for Block Transfer so that the interface can work in both Discrete I O and Block Transfer modes The best thing to do is to initially zero the WORD 0 s of each defined rack in the input AND output image tables and leave them zeroed forever NOTE In a quarter rack size the interface only supports Block Transfers not Discrete I O The 2 words of I O in a quarter rack just aren t big enough to pass all of the necessary status and data via DIO Block Transfers are serial packets of up to 64 words unrelated to rack size and the DIO image tables 2 Clear the PLC s image table I and O before powering or at least before commanding the AB1 3 After power up the ABI interface does a self test which includes the microprocessor internal RAM external RAM NodeAdapter Chip RAM RS 232C serial communication and the attached readhead s A hardware watchdog is provided which will reset the AB 1 interface if the interface has lost communication with the PLC for more than 1 2 seconds 4 If the ID system is not communicating correctly with the ABI the AB1 will not permit itself to be recognized by the RIO scanner as an active node rack If this is the case first double check the DIP switch settings on the AB1 and the ID system c
38. allet when the trim process is started on the other pallet Then when the trim process finishes 1 second later BTR the AB 1 for the read response The trim process is sort of a built in timer which has to be there anyway Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 5 1 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com PLC5 Example KHD2 IVI AB1 PLC 5 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE Word version Rung 2 0 S 1 4MOV 4e nne MOVE dM 15 Source 32768 Destination N20 1 NOTES for RUNG 2 0 32768 MOVE the 3 word command to write to Ee the tag into N20 0 1 and 2 XMOVS MOVE 3 words of data into N20 3 4 and 5 MOVE Our command will write 3 words of data Source 32767 to the tag starting at address 0 zero I sort of cheated by setting all of these first bits to 1 because I know this will always be the first or third BTW and it ee Destination N20 2 will always have first bits of 1 MOV This command uses read head 1 MOVE Source JIJI Destination N20 3 3931 q MOV MOVE Source 3991 Destination N20 4 3931 q MOV MOVE Source 3931 Destination N20 5 3931 per ie MOV
39. can request data with a BTR as many times as desired or even request data with a continuous BTR command It takes three words of block transfer memory for the reply information of each read head So the data length of a BTR is equal to 3 X the number of specified read heads Reply Word 0 Word 1 Word 2 Word n ID 1D is a 24 bit data read from a code carrier The read only ID system retrieves ID ID in hexadeci mal form however ID ID is retrieved in decimal form by the read write ID system For example if ID ID from the code carrier is 661C4A the data read by a read only I D system is 661C4A as compared to 667242 read by a read write ID system It is recommended to use the read only ID system to read code carriers so that the returned data will be entirely in hexadecimal When using current mode and any ID system error occurs the bit4 of the STATUSO is cleared ID JD is set to 0 and ID ID is replaced by an error code see ID system user manual PDF file on accompa nying disk or ID Error Codes on page 69 2 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 6 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Block Transfer Commands 2 BAR Buffered Auto Read Code Carrier This command makes all of the read heads attac
40. e a tag is read Bit7 will be set to 0 and stay 0 as long as the same command is still active This is because whether the tag is still there or not a tag has been read At this point Bit4 should be watched to indicate whether the received code is from a tag that is still there or from a tag that has since left the read area Once a different command is issued for a different read head the buffer is cleared and Bit7 is set to 1 again until a read is once again made for that read head In CURRENT MODE Bit4 will be set to 1 for a good read and set to 0 for all other conditions In the case of an ID system error data ID19 ID12 see diagram on following page are replaced by the actual ID system error code Bit7 is not useful in current mode Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 25 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Block Transfer Commands KHD2 IVI AB1 1 Read Code Carrier This command reads code carrier s from the specified read head s User can select more than one read head in the command A one word AB1 command is issued to the ABI interface with a BTW Command Format Won SES c E E RESTE EE If the command is in current mode the PLC only can request data with a BTR once If the command is in most recent mode the specified read heads continuously work and the PLC
41. e right to make modifications and no guarantee of 1999 Pepperl Fuchs Inc Twinsburg Ohio the accuracy of the information contained herein is given AB1USER L00266 1 99 Printed in SA
42. ecking status until the done bit is off Step 2 BTR write tag status P E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 64 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 SLC500 Example SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE B3 90 13 B3 199 0 016 W B3 80 12 When done bit 13 or error bit 12 indicate that the B3 100 15 4 BTW to write to the tag is finished unlatch the enable bit D 7 and keep examining the status NOTE Normally you would split the done and error bits 0 1 0 into 2 separate rungs so that custom error handling can be bie performed on the error bit This is only a demo so an error d bit is treated like a done bit 1747 8N E3 199 1 L B3 80 13 B3 189 0 017 j U B3 80 12 When done bit 13 or error bit 12 indicate that the B3 200 15 BTW to read from the tag is finished unlatch the enable bit CU 7 and keep examining the status NOTE Normally you would split the done and error bits O 1 2 into 2 separate rungs so that custom error handling can be W performed on the error bit This is only a demo so an error bit is treated like a done bit 1747 SN B3 189 1 L B3 70 13 B3 179 0 018 j U B3 70 12 B
43. ed and all control bits are correct the BTW to write data to the tag is activated by latching B3 199 0 the enable bit 15 CL B3 100 15 W Q 1 2 B3 200 15 B3 80 12 B3 80 13 COP SE CR Jt E Copy File Source B3 210 1747 SN Dest amp MO 1 210 i i Length 3 When bit O 1 2 is latched and all control bits are correct the BTW to read data from the tag is activated by latching the enable bit 15 B3 189 0 CL gt B3 200 15 CLD o 1 1 B3 160 15 B3 60 12 B3 60 13 B3 160 15 TE ME YA f W 1747 SN When bit O 1 1 is latched and all control bits are correct the BTR to B3 169 0 return tag write status is activated by latching the enable bit 15 EE Q3 B3 170 15 B3 70 12 B3 70 13 B3 170 15 J E Jt At E CL 1747 SN When bit O 1 3 is latched and all control bits are correct the BTR to B3 179 0 return data read from the tag is activated by latching the enable bit 15 CL Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 SLC500 Example SLC500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE B3 90 12 COP 024 HI p M CopyFile Source B3 100 B3
44. erl fuchs com KHD2 IVI AB1 P E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 3 8 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Discrete UO Commands INTRODUCTION Possible start quarters group when using DIO 1 2 half rack first quarter group 0 second quarter group 2 or third quarter group 4 Be sure not to overlap remote rack assignments When using a full rack configuration the only choice is the first quarter group 0 Control Word Format C C C C Command number HH Head number 00 Headl 01 Head2 10 Head3 11 Head4 MM Mode 00 Current mode 01 Most recent mode 1x Continuous mode The First Word of Response is a status word A 1 in any bit location of byte STATUS1 S1 S1 indicates the existence of that particular error STATUSO SO_ SO indicates active heads and tag read status Remember Word 0 must always remain zeroed out wa es ccd E ER RS ER RS REI ES CR f ES EGO STATUS 1 S1 Bit6 Microprocessor internal RAM error S1 Bit5 External RAM error 1 Bit4 Node Adapter Chip RAM error S1 Bit3 The head specified in the command does not exist 1 Bit2 The command is not available S1 Bit1 RS 232C serial communication error S1 Bit0 N A STATUSO SO
45. error occurs the bit4 of the STATUSO is cleared ID ID is set to 0 and ID ID is replaced by an error code see ID system user manual PDF file on accompanying disk or ID Error Codes on page 69 Fa P E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 4 1 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Discrete UO Commands KHD2 IVI AB1 3 Read Data Carrier This command reads one word 2 bytes of data when using Half Rack addressing and up to 6 words with a LENGTH of 1 6 when using Full Rack addressing starting at START ADDRESS 00 3F hex for IDC 1K on the data carrier Command Format Word 0 Word 1 Word 2 Word 3 Word 4 Full Word 5 Rack Word 6 Word 7 DATAO through DATAS for full rack is a 15 bit data When using current mode and an I D system error occurs the bit4 of the STATUSO is cleared the low byte of DATAO is replaced with an error code see I D system user manual PDF file on accompanying disk or ID Error Codes on p69 and all of the other data is Zero 4 2 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 Wo
46. ersion This command is used to check the version of the ID system and that of the AB 1 interface It also replies to the PLC regarding which read heads are connected to the ID system Command Format VerO is the version of the ID system Ver1 is the version of the AB 1 interface 46 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Discrete UO Commands 8 Reset AB1 This command resets the AB1 interface Reset should not be issued immediately after power up or a previous reset Command Format Half Rack Full Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com a 7 Discrete UO Commands KHD2 IVI AB1 Discrete IO Command Quick Reference Chart Control Word Format wadi w e e e e e e sw w w Mi M0 H1 H0 00 current 00 head 1 01 most recent 01 head 2 1x continuous most recent 10 head 3 11 head 4 Command Code C3 C2 C1 C0 READ CODE CARRIER B A R CODE CARRIER READ DATA CARR
47. erval from when the AB1 receives the AB 1 command from the A B RIO scanner to when the AB1 completes the update of the output image table in the RIO node adapter chip During this time the AB 1 interprets the AB 1 command into an ID system command sends the command to the ID system captures the reply from the ID system and updates the output image on the RIO chip These times remain independent of the RIO scan times RIO data formats or RIO baud rates which vary for each PLC application All times are in milliseconds The rule of thumb is read 1 16 words in 105ms Read Write System Performing Reads of Read Heads of Code Carriers of Data Carriers Time millisec 1 16 words 1 1 word 1 3 words 1 4 words n 7 2 P E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 READ WRITE System Write Times These times are a measure of the time interval from when the AB l receives the AB 1 command from the A B RIO scanner to when the AB 1 completes the update of the output image table in the RIO node adapter chip During this time the AB 1 interprets the AB 1 command into an ID system command sends the command to the ID system captures the reply from the ID system and updates the output image on the RIO chip These time
48. hed to the ID system active All read heads read code carriers continuously Command Format oo EES EE ee aE With each BTR the AB1 interface then replies to the PLC with the code carrier data in the order in which codes were read by the ID system The reply is a three word package as shown below If the ID system has not found any tags it sets bit7 clears bit4 and sets the existing read head bits in STATUSO as a reply to the PLC Reply Word 0 Word 1 Word 2 ID ID is a 24 bit data read from a code carrier The read only ID system retrieves ID ID in hexadeci mal form however ID ID is retrieved in decimal form by read write ID system For example if ID ID from the code carrier is 661C4A the data read by a read only ID system is 661C4A as compared to 667242 read by a read write ID system It is recommended to use the read only ID system to read code carriers so that the returned data will be entirely in hexadecimal Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 2 7 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Block Transfer Commands KHD2 IVI AB1 3 Read Data Carrier This command reads data carrier s from the specified read head s Command Format Word 0 Word 1 Word 2 The interface
49. irst bits of all 3 or 7 useable words depending on whether 1 2 or full rack is configured must be either all 1 s or all 0 s NOTE Even though a 1 2 rack has 4 words total and a full rack has 8 words total this really means 3 or 7 words because the first word WORD 0 is reserved for Block Transfers and should always be all 0 s Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 1 3 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Theory of Operation KHD2 IVI AB1 C The FIRST BIT Convention The PLC scan and the RIO scan are not synchronized to each other and a slight chance exists for a rewrite of part of the input image table by the RIO before the PLC has had a chance to remove the entire block of related data To verify command response data accuracy between the AB1 and the PLC a procedure using the First Bit most significant bit bit15 decimal or bit17 octal of all transmitted words is used The integrity of the groups of data is maintained by changing all of the First Bits of the command words to their opposite state each time another command is issued After power up or RESET the first bits are all initialized to 0 zero Remember that the very first word WORD 0 in the output image table must be zeroed out at startup and always remain zeroed including the first bit The very f
50. irst command issued after the power up or RESET must have the First Bits set to 1 one The next command is sent with the First Bits set back to 0 the next with First Bits to 1 the next to O and so on A correct response will echo back the command first bits value in its own First Bits of each word of response Then the PLC will know that the entire set of response words came from the same response to the issued command If the first bits don t all agree then the PLC will know that a remnant of an old response hasn t been overwritten yet or that a newer response has partially overwritten the desired re sponse In the case where the AB l is configured to a full or half rack both DIO and Block Transfers can be used Both types of commands can be intermixed in a command sequence Just be sure that each succesive command of the same type has its first bits changed even though there may be commands of the othertype in between EXAMPLE COMMAND FIRST BIT S power up LO DIO version 1 BTW version 1 BTW read 10 BTW read LI BTW read 10 DIO read LO P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 1 4 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Theory of Operation D Implementing the FIRST BIT Convention After power up the first command that the AB1 wil
51. its are used do not allow the seal circuit to turn off and re initiate a P F read or write while one is already in progress This problem can be accented by bouncy proximity or limit switches 5 Monitor all the feedback bits of Status 1 and Status 0 words and analyze them before using the data If the read head is not active repeat the process of reading or writing again up to five times Many times the first attempt is not successful so try again Itis better to retry a couple of times rather than using timers followed by asolitary read or write 6 All data entered into the MO e 100 102 words are in HEX except the logical address word 102 whichisin decimal 7 If three read heads are used for the AB1 then 16 words can be accessed per readhead 51 words total size If all four heads are connected then the biggest size is 15 words 60 words of data and one word of status 61 Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 5 7 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com SLC500 Example KHD2 IVI AB1 SLC 500 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE First Pass S2 1 15 MOV 000 Move Source D First we will write data to the ID system data carrier tag
52. l accept is the one that has all 1 s as first bits The PLC s output image table is presented to the AB 1 every RIO scan but until all First Bits are 1 s the ABI will ignore the update So to prepare a command the first time set the First Bit msb bit15 decimal or bit 17 octal of the first useable word actually the second word word 1 to 0 As long as this bit is 0 the ABI will ignore the images presented by the RIO scanner remember it is looking for all 1 s the first time This will allow you to load up the output image table with the correct AB1 command without accidentally sending out unwanted information because you weren t ready to send it yet Setall the other 2 or 6 words First Bits to 1 and prepare the command When everything is all set up correctly except for the First Bit of the second word word 1 flip the First Bit of the second word to 1 and the ABI will accept the command on the very next RIO scan For the second command to the AB1 leave the First Bit of the second word as 1 Change all of the other First Bits to 0 and set up the rest of the command When you are ready to send it flip the First Bit of the second word to 0 All the First Bits are now 0 s and the AB 1 will accept the command on the very next scan To send the third command leave the First Bit of the second word 0 and set up the command with all of the other First Bits as 1 s When everything is set up flip the First Bit to 1 and the command
53. lephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Block Transfer Commands 4 BAR Data Carrier This command is similar to the BAR Code Carrier command except the code carrier is re placed by a data carrier read or write tag For each BTR the PLC receives the data from the data carriers through the read heads in the order in which new tags are read Command Format Word 0 pepe te fife a pet EE EE The interface replies to the PLC with the data in words starting at START ADDRESS A A 00 3F hex for IDC 1K or 00 0F hex for old IDC 256bit and a word length of LENGTH L L 01 10 hex depending on the start address and number of read heads used This is a limitation of the ABI The sum of START ADDRESS and LENGTH should be less than or equal to the maximum address value of the data carrier so that the memory address range will not be exceeded The ABI interface can reply with up to 16 words of data plus one word of status for each read head Reply Word 0 Word 1 Word 2 Word 3 Word 4 Wordn data length up to 16 words DO D15 All data words are 15 bit data When an ID system error occurs the bit4 of the STATUSO SO is cleared and the low byte of DATAO DO DO is replaced with an error code see ID system user manual PDF file on accompanying disk or ID Error Codes on p69 and all of the other data is
54. m is activated once and then data is collected by the ABI once and placed in the node adapter s I O image for the next DIO scan to pick up If using Block Transfer the PLC can then request the data reply from the AB 1 with a BTR Block Transfer Read one time 2 MOST RECENT MODE The PLC sends the command to the AB1 which then activates the ID system The ID system is continuously operated by the AB1 always responding with the most recent code to the AB1 To retrieve this data with DIO the PLC must issue the same command each time an update is required To retrieve the data via BT issue a BTR any time a data update is needed the BTW to start the reading only has to be issued once 3 CONTINUOUS MODE After this command is issued by the PLC the ABI activates the ID system continuously and continuously updates the PLC s input image table with each scan via Discrete I O This mode cannot be used in Block Transfers because the PLC always has to send a BTR Block Transfer Read each time a data update is performed For Block Transfers then this really just re defines the Most Recent mode The nine commands are as follows 1 READ CODE CARRIER This command reads a fixed code read only code carrier In DIO ONLY ONE read head is activated and the reply contains the code for the specified head In BT any combination of up to four read heads may be activated and the reply contains the codes for all of the active head
55. mind A positive confirmation that the command has been delivered to the desired slave node ie AB1 does not mean that the slave node is ready with a response to that command on the very next scan Many people have made the mistake of sending a BTR for data upload immediately upon the setting of the Block Transfer BTW Done Bit The ID system needs at least 20ms just to read a fixed code carrier To write 16 words takes over 600ms on an IDC 1K tag The ID system must be given enough time to get its ID ing finished before sending the next command or BTR errors and time outs etc will occur For example Using Block Transfer and a read write ID system I send a BTW to write some data Then on the BTW done bit I send a BTW to read On that done bit I send a BTR to upload the data I read from the previous BTW It seems logical until we realize that before the AB1 could get the write going that command was interrupted by the BTW read The BTW read is interrupted by the BTR and the question arises What data is the BTR returning from the read that never happened from a tag that was never writ ten Itshould suffice to say that the data will not be correct The same mistake can be made using DIO Itis no problem to reload the output image with a new com mand and flip all the first bits in one scan which would result in a new command every 3 or so milliseconds Please follow the timing guidelines on pages 70 72 for proper amounts of time to wait for vario
56. mmand reads a page 16 words from type D3 data carriers from up to three specified read heads Only three heads can be used because the response per read head is 17 words and the max BT size is 64 words The page address is specified by three hexadecimal digits A2 A1 and A0 The address is offset meaning that the first page is page000 and the eighth page would be 007 Command Format ai a EIER EE ER E ECS ESTE E waai E E AR a ana EIER ERR au Ga fi Reply Word 0 Word 1 Word 2 Word 3 Word 4 Word 16 All data words are 15 bit data When an ID system error occurs the bit4 of the STATUSO SO is cleared and the low byte of DATAO DO DO is replaced with an error code see ID system user manual PDF file on accompanying disk or ID Error Codes on p69 and all of the other data is zero Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 3 5 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Block Transfer Commands KHD2 IVI AB1 11 Page Write Data Carrier for type D3 data carriers IMC 40 64K or 256K This command writes a page 16 words to type D3 data carriers The page address is specified by 3 hex digits A2 A1 and A0 The address is offset meaning that the first page is page 000 and the eighth page would be 007 Command Format Word 0 Word 1
57. n the companiondisk IDSystem tips and information IVI is read write and IRI is read only IVI KHA6 4HRX and IRI KHA6 4 RX are 90 255V AC powered units 1IVI KHD2 4HRX and IRI KHD2 4 RX are 18 32V DC powered units Only set DIP switches with the power off Set the interface for 19 200 Baud DIP SW 1 on SW2 on SW3 off Whenconnecting read head wires connect them to the interface in the following order 1 1 10 19 28 2 2 11 20 29 4 3 12 21 30 and 3 4 13 22 31 It s easier to connect 3 to 3 and 4 to 4 but it won t work When the interface is correctly configured and connected to the AB1 the AB1 will scan through the read heads on the ID interface by itself This can be useful for verifying that part of the communication link Recall step 1 of3 for getting AB1 online page 10 For separate operation or testing of the ID system both a DOS based Ident and a Windows based Winident utility have been provided on the accompanying disk P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 70 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 ID Error Codes Read Only ID Interface Error Codes Mi Hardware fault in interface watch dog reset M2 Memory fault in interface after RAM test M3 Memory fault in interface after ROM test M4 The received command
58. nthe BTW Done bit use it to start a 600msec minimum timer TON T4 1 Base 01 Preset 60 Accum 0 NOTE This timer gives the ID systema chance to write the data to the IDC read write tag before moving on see point 7 of section F of the OPERATION section of this manual on page 17 for further 50 P E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World WideWeb Site http www pepperl fuchs com KHD2 IVI AB1 PLC5 Example PLC 5 AB1 PROGRAMMING BLOCK TRANSFER EXAMPLE 3 Use the T4 1 timer s done bit to trigger the sending of a BTR to see the status of our write attempt BTR s reflect back the BTW s the First Bit state and on multiple BTR s the AB 1 will alternate First Bits in the responses so they are able to be distinguished from one another The BTR should look something like BTR Rack 3 Group 4 Module 0 Control N40 10 Data File N40 0 Length 2 0 We set Length 0 so that the AB 1 can decide what size the response to the BTR will be We should expect 3 words in our BTR response Status error and error2 4 Once the BTR is finished we can then send out the BTW which will read the tag from head 2 NOTE Observe the First Bit convention for more details on the first bit convention see pages 12 13 Thisisthe second BTW since startup or RESET and therefore it must have its first
59. ontroller Then if that doesn t work test the ID system by itself on a PC If PC test software is needed contact your P F supplier and ask for the ID test software called IDENT It will be provided free of charge Anyone who has Windows can use terminal or hyper terminal to the read only ID system If windows is not available then any modem or comms software with aterminal emulator can also talk to the read only ID system For a read write system the IDENT software is recommended because a checksum must be calculated 5 When using IDC 1K data carriers type D4 make sure you have specified the ID interface VI KHD2 4HRX or IVI KHA6 4HRX This interface defaults to IDC type D4 on power up If you still have older 256bit data carriers type D1 make sure you have specified the ID interface IVI KHD2 4 RX or IVI KHAG6 4 RX 6 The bit that is referred to as the First Bit in this manual is the MSB or bit 15 decimal bit 17 octal or leftmost bit in the PLC word Many people call bit 0 LSB the first bit Please pardon the confusion 1 8 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World WideWeb Site http www pepperl fuchs com KHD2 IVI AB1 Operation F Tips Hints and Facts Timing Issues 7 When issuing a command to make the ID system read or write please keep the following concept in
60. r manual PDF file on accompanying disk or ID Error Codes on page 69 4 0 p E D P E R L F U C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Discrete UO Commands 2 BAR Code Carrier This command makes all of the read heads attached to the ID system active Then with each change of the four First Bits the interface replies to the PLC with the data of the code carriers in the order in which they were read by ID system If the ID system has not found any tags it sets bit7 clears bit4 and sets the existing read head bits in STATUSO as a reply to the PLC Command Format Word 0 alf Half Word 1 Rac ack Word 2 Word 3 Full Full RackRack ID ID is a 24 bit data read from a code carrier The read only ID system retrieves ID ID in hexadeci mal form however ID ID is retrieved in decimal form by the read write ID system For example if ID ID from the code carrier is 661C4A the data read by a read only ID system is 661C4A as compared to 667242 read by a read write ID system It is recommended to use the read only ID system to read code carriers so that the returned data will be entirely in hexadecimal When using current mode and any ID system
61. radley P F has licensed the proprietary RIO node adapter chipsets from Allen Bradley By using A B s chipsets P F can guaran tee compatability with A B RIO applications Allen Bradley engineers have also supported P F s design process to further insure the correct implementation of the A B RIO chipsets in the KHD2 IVI AB 1 inter face B Features The KHD2 IVI ABI interface can administrate either the read only fixed code or the read write ID modes of the P F ID system There are essentially eight commands which can be issued by the PLC to the attached ID systems mini mizing command set complexity or the need for a thorough working knowlege of the complete P F ID command set e The KHD2 IVI ABI can be configured to a one quarter one half or full rack of PLC I O memory depending upon available I O memory and desired functionality The KHD2 IVI ABI can communicate via Block Transfer or Discrete I O Discrete I O can be used in half and full rack configurations but not in quarter rack configuration Error condition message can be passed back to the PLC for equipment status information 24 VDC power supply e Compact housing designed similar to the ID system interface housing mounting compatibility 8 P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide
62. read write or read only If read write is desired set switches 5 and 6 to ON or 1 Actually a very nice pattern exists for the IVI DIP switches in read write mode ON ON OFF OFF ON ON OFF OFF For IVI to do read only turn switches 5 and 6 OFF This is also the pattern for the IRI dedicated read only This DIP switch pattern is ON ON all the rest OFF Re member to set IRI IVI DIP switches with the power off to avoid locking up the firmware see pages 68 69 for more IVI IRI info or consult the individual component s user s manual which is included on the accompanying disk in PDF file format The DIP switches in the following image are set as from left to right ON ON OFF OFF OFF OFF OFF OFF This is the setting for read only operation of the ID system interface The DIP switches in the image to the right are set as from left to right ON ON OFF OFF ON ON OFF OFF This is the set ting for read write operation of the IVI read write ID system interface P EPPE RL F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 1 0 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Configuration Connecting the AB1 to the RIO network Connect the Remote I O network cable Belden Blue Hose to the ABI in the following order Network Connections Clear to terminal 10 Shield
63. replies to the PLC with the data in words starting at START ADDRESS A A 00 3F hex for IDC 1K or 00 0F hex for old IDC 256bit and a word length of LENGTH L L 01 10 hex depending on the start address and number of read heads used This is a limitation of the ABI The sum of START ADDRESS A A and LENGTH L L should be less than or equal to the maximum address value of the data carrier so that the memory address range will not be exceeded The AB1 interface can reply with up to 15 words of data plus one word of status for each read head if all four read heads are specified in the AB 1 interface and up to 16 words of data plus one status word if only three or less read heads are specified only because the maximum BT size is 64 words Reply For just one head The replies for additional heads also looks like this and the additional replies are added on at the end Word 0 Word 1 Word 2 Word 3 Word 4 Word n C data length up to 16 words DO DI5 All data words are 15 bit data When an ID system error occurs the bit4 of the STATUSO SO is cleared and the low byte of DATAO DO DO is replaced with an error code see ID system user manual PDF file on accompanying disk or ID Error Codes on page 69 and all of the other data is zero 2 P E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 8 Te
64. rier can be written per command NOTE For both DIO and BT the first bit of each data word is not allowed to be used regardless of the overall size of the data This means that the value of the high byte of each and every data word MAY NOT EXCEED 7F The low byte has no restrictions value can be anything from 00 FF Keep this in mind especially when sending ASCII characters 6 DATA CARRIER RESET This command resets a data carrier one time from one specific read head in either DIO or BT Archaic command for 256bit legacy systems NOTE If using IDC 1K read write data carriers tags this command is not needed because IK tags don t need resetting only the types D1 and D3 can be reset see SET DATA CARRIER TYPE command description immediately following for a more detailed explanation of which tags are which type 7 SET DATA CARRIER TYPE This command sets the interface IVI protocol to match the various different types of read write data carriers tags that P F has or had The 256bit or 32 byte or 16 word tag is type D1 The IMC series 256kbit and 64kbit battery backed RAM tags are type D3 The Ikbit 128 byte or 64 word tag is type D4 8 VERSION STATUS This command returns the version numbers of the ID system and AB1 interface softwares status indicating which read heads are connected and internal AB 1 hardware status This command responds once in either DIO or BT The best time to retrieve the
65. rld Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Discrete UO Commands 4 BAR Data Carrier This command makes all of the read heads attached to the ID system active Then with each change of the First Bits the interface replies to the PLC with the data from the data carriers in the order in which they were read by ID system If the ID system has not found any tags it sets bit7 clears bit4 and sets the existing read head bits in STATUSO as a reply to PLC This command reads one word 2 bytes of data when using Half Rack addressing and up to 6 words with a LENGTH of 1 6 when using Full Rack addressing starting at START ADDRESS 00 3F hex for IDC 1K on the data carrier Command Format DATAO through DATAS for full rack is a 15 bit data When using current mode and an ID system error occurs the bit4 of the STATUSO is cleared the low byte of DATAO is replaced with an error code see ID system user manual PDF file on accompanying disk or ID Error Codes on p69 and all of the other data is Zero Fa p E P P E R L F U C H S Pepperl Fuchs Inc e 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 4 3 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Discrete UO Commands KHD2 IVI AB1 5 Write Data Carrier This command writes a word 2 bytes of data
66. ropriate N files F140 hex into N20 0 1st bit 1 write head 1 8000 hex into N20 1 1st bit 1 start address on IDC 0 8003 hex into N20 2 1st bit 1 length of 3 words FOAS hex into N20 3 1st bit 1 datais 70A5 or x111000010100101 in binary FOAS hex into N20 4 1st bit 1 datais 70A5 or x111000010100101 in binary FOAS hex into N20 5 1st bit 1 datais 70A5 or x111000010100101 in binary data words are just arbitrary values that suited my fancy The FIRST BIT is x because it may change and therefore really can t be used for valid data 7221 hex into N30 0 1st bit 2 0 read from head 2 read words most recent mode 0000 hex into N30 1 1st bit O start address on IDC 0 0003 hex into N30 2 1st bit 2 0 length 3 words CONTINUOUS PROCESS the part of the ladder program that gets scanned continuously after theone time startup functions are completed Notice that the size of the BTW block transfer write will be six words for the WRITE DATA command starting at N20 0 TheREADDATA command will bea3 word BTW starting at N30 0 PSEUDO LADDER 1 Do the BTW to write the data The BTW command should look something like Rack 3 Group 4 Mod 0 Control N20 10 Data N20 0 Length 6 NOTE have chosen arbitrary addresses and values to set up this demo There is no reason other appropriate addresses and values can t be used ie if your PLC has 7 racks of I O you can use rack 6 2 O
67. s This command can be performed in CURRENT MOST RECENT and for DIO only CONTINU OUS modes P E PPE RL FU C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com 20 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Command Overview 2 B A R CODE CARRIER This command activates all read heads up to four total connected to the ID system and continuously reads for both DIO and BTs This command is performed only in MOST RECENT mode for both BTs and DIO For BTs the B A R command only has to be issued once From then on BTRs are issued for data updates NOTE The first time the BAR command is sent the AB 1 activates the ID system but provides no codes Therefore the data in the input image table is just leftover from a previous operation and is invalid The com mand has to be issued the second time to retrieve the code from the first command Like other MOST RECENT mode commands when using DIO sending the B A R command the second time responds with the data from the previous B A R command 3 READ DATA CARRIER This command works like the READ CODE CARRIER command with the addition of a data carrier starting word address and a data word length to specify the location and range of data requested from the data carrier In DIO ONLY ONE read head is activated and the reply contains the code for
68. s remain independent of the RIO scan times RIO data formats or RIO baud rates which vary for each PLC application All times are in milliseconds The rule of thumb is 100ms for all overhead plus 35ms per word gt 5words 5 35 100 2275 Read Write System Performing Writes of Read Heads of Data Carriers of Data Words Time millisec Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 7 3 T Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site htip www pepperl fuchs com READ ONLY System Read Times KHD2 IVI AB1 These times are a measure of the time interval from when the AB1 receives the AB1 command from the A B RIO scanner to when the AB 1 completes the update of the output image table in the RIO node adapter chip During this time the AB 1 interprets the AB 1 command into an ID system command sends the command to the ID system captures the reply from the ID system and updates the output image on the RIO chip These times remain independent of the RIO scan times RIO data formats or RIO baud rates which vary for each PLC application All times are in milliseconds The rule of thumb is 20ms per Code Carrier read Read Only System Performing Reads of Read Heads of Code Carriers of Data Carriers Time millisec 74 P E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44
69. status information is immedi ately after a power up ora RESET after which the status bytes are filled with code reading status informa tion 9 RESET This command does a hardware reset of the AB1 including a self test This command is executed once in either DIO or BT and there is no reply NOTE WAIT 1 5 SECONDS AFTER A RESET COMMAND TO ISSUE THE NEXT COMMAND 2 2 P E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World WideWeb Site http www pepperl fuchs com KHD2 IVI AB1 Command Overview The following three special commands handle data a page at atime A page is a 32 byte or 16 word memory page in the data carrier s memory The IDC 1k type D4 has 4 pages and the IMC 40 64k and IMC 40 256k type D3 have 256 and 1024 pages respectively Only the page address needs to be specified since the length is implied These commands can only be used with Block Transfer because the data size is much too large for the DIO rack I O size NOTE The IDC 1K can only be read with page commands It cannot be written NOTE When using the IMC type D3 tags immediately after power up or a reset the ID system must be changed into type D3 mode via the SET DATA CARRIER TYPE command since the IVI inter faces do not have a type D3 start up setting 1 PAGE READ This command works like the
70. the appropriate bit pattern which then is transferred out to the remote rack On every scan of the remote I O network master the contents of the output image table for each configured rack is transferred to its respective racks Each remote rack has an input image table which receives the appropriate image bit pattern from the PLC Each remote rack also has an output image table On every scan the contents of the remote rack s output image table is transferred to the PLC s input image table and placed in the area corresponding to that particular rack This is the mecha nism for transferring discrete data back and forth from PLC to remote rack To summarize each com plete RIO Discrete I O scan consists of an image table update to and from each configured rack on the network The AB1 KHD2 IVI AB1 also has an input and output image table used to transfer data The big difference is that the ID system uses several words of contiguous data to get its message across The RIO scan is not synchronized with the PLC scan and there is no guarantee as per Allen Bradley that the PLC won t take its snapshot of the image table right in the middle of the RIO scanner s update of any given rack s image This then presents the possibility of the PLC acquiring a split of old and new data To prevent this P F has implemented a convention using the First Bits MSB s of each word in the image table In order for a command to be accepted as valid by an ABI all the f
71. the specified head In BT any combination of up to four read heads may be activated and the reply contains the codes for all of the active heads This command can be performed in CURRENT MOST RECENT and for DIO only CONTINUOUS modes NOTE For DIO configured as 1 2 rack only one data word 2 bytes or characters from the data carrier can be read per command and for a full rack configuration 6 words 12 bytes or characters from the data carrier can be read per command For BT the AB1 will respond with up to 15 words of data plus the status word for each read head with 4 read heads connected and 16 words of data plus the status word for each read head with 3 or less read heads connected due to the 64 word Block Transfer limit 4 B A R DATA CARRIER This command works like the BAR CODE CARRIER command with the addition of a data carrier starting word address and a data word length to specify the location and range of data requested from the data carrier This command activates all read heads up to four total connected to the ID system and continuously reads for both DIO and BT s This command is performed only in MOST RE CENT mode for both BT s and DIO For BT s the B A R command only has to be issued once From then on BTR s are issued for data updates When using DIO the reply contains the code from one read head only and each consecutive BAR command receives the code from the next read head in the order that the actual reads
72. to terminal 11 Blue to terminal 12 21 27 VDC Power to terminal 7 to terminal 8 Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 1 1 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Theory of Operation KHD2 IVI AB1 A The Three Steps to Getting the AB1 Online 1 Connect the ABI to the ID system interface with the RS 232 jumper cable after the AB1 and the ID system interface have been configured see pp 5 and 6 When the ID interface is correctly connected to the ABI and powered the 4 green LED s on the ID interface should blink in a repeating sequence 1 2 3 4 very quickly then about a 1 second pause withoutthe RIO link connected In fact this check should be made before connecting the RIO wiring This then is a good indicator for correct communication between ID and ABI It doesn t matter if read heads are connected or not at this time 2 Connect the RIO network cable Blue Hose to the AB1 and configure the RIO nodes in the PLC to include the rack size and start group of the AB1 see p9 for AB1 RIO wiring Sometimes auto config works and sometimes it doesn t The new node can be added manually Remember not to confuse octal and decimal when choosing the rack address the best bet is to just look at the binary pattern of the address DIP switches then you can group them by
73. urg Ohio 44087 2245 E mail sales us pepperl fuchs com 23 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Block Transfer Commands KHD2 IVI AB1 Introduction When using Block Transfer the user can select any rack size and appropriate starting quarter if applicable If the chosen rack size is larger than a quarter rack Discrete I O can also be used After the AB1 command is issued via BTW Block Transfer Write command in the PLC a BTR Block Transfer Read command in the PLC is used to request a response from the ABI interface It is important for the user to set the requested data length of BTR to zero or an exact length see command description If the data length is set to 0 the AB 1 interface decides the correct data length of the BTR for various ABI commands In some AB1 commands the user selects the read heads If the user selects a read head which does not exist in the I D system the AB1 interface replies with a head error to the PLC The AB1 interface also replies with error information when any other error occurs see STATUS1 and STATUSO Every BTW command begins with the control word In fact several of the commands consist of only the control word Control Word Format 1st This is the First Bit MSB or bit15 decimal or bit17 octal H H H H Read head select H is head 1 etc 1 The head is selected 0 The head is not selected Ga C
74. us commands to be executed During the actual integration most times can be fine tuned down somewhat to minimize cycle times Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 1 9 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Command Overview KHD2 IVI AB1 A Command Introduction The P F inductive ID system interface has its own set of commands and functions The AB 1 interface also has its own unique set of commands and functions described in the following sections The AB1 commands are the only ones available to the PLC via the RIO network Once an AB1 command has been issued by the PLC the ABI then creates the appropriate conversation with the ID system and readies the information for return to the PLC The diversity of ID system commands has been trimmed down to only a few that are really necessary and adaptable to the RIO environment B Command Overview There are essentially nine AB 1 commands that can be issued by the PLC in either Discrete I O DIO format or Block Transfer BT format Several of the commands have several data handling options modes that can be selected for some flexibility in data retrieval by the PLC There are three different data handling modes as follows 1 CURRENT MODE The PLC issues a command once the AB1 executes the command once the ID syste
75. were made NOTE The first time the BAR command is sent the ABI activates the ID system but provides no codes Therefore the data in the input image table is just leftover from a previous operation and is invalid The command has to be issued the second time to retrieve the code from the first command Like other MOST RECENT mode commands when using DIO sending the B A R command the second time responds with the data from the previous B A R command NOTE For DIO configured as 1 2 rack only one data word 2 bytes or characters from the data carrier can be read per command and for a full rack configuration 6 words 12 bytes or characters from the data carrier can be read per command Fa p E P P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 2 1 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Command Overview KHD2 IVI AB1 5 WRITE DATA CARRIER This command writes data of a certain specified word length at a certain starting word address on a read write data carrier Only one read head may be specified and this function is performed only once with either DIO or BT This would be CURRENT mode NOTE For DIO configured as 1 2 rack only one data word 2 bytes or characters from the data carrier can be written per command and for a full rack configuration 4 words 8 bytes or characters from the data car
76. with 0000 and don t worry about setting start address and length bits The status bits work the same way for read write and read only read commands Of course the data will be somewhat different but the concept is the same 1 amp P E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com KHD2 IVI AB1 Operation Example E Simple Example of Discrete I O Transfers Still don t have a tag in front of the read head at this point Finally toggle the First Bit of word O 031 to a value Address 17 lt of one At this point all of the First Bits are 1 s and the AB 1 accepts the command on the next scan The AB1 will now 0 030 0000 0000 0000 0000 be strobing read head 1 The ABI will also ignore all O 031 H 11 0000 0010 0010 RIO scans until all 3 of the First Bits are toggled back to 0 0 032 1000 0000 0000 0000 O 033 1000 0000 0000 0000 Clear the input image table before sending any commands Address 17 lt After sending the continuous read word 0 command you will see the following activity in the corresponding in A Address 17 lt put image table Bit 7 of STATUS 1 status word is 1 031 is 1 telling us that no tag has been read since the com 1 030 0000 0000 0000 0000 mand was issued Bit 0 of STATUS 1 is 1 which indi
77. zero Fa P E p P E R L F U C H S Pepperl Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail sales us pepperl fuchs com 29 Telephone 330 425 3555 FAX 330 425 4607 World Wide Web Site http www pepperl fuchs com Block Transfer Commands KHD2 IVI ABT 5 Write Data Carrier This command writes words of data starting at START ADDRESS A A with the length of LENGTH L_ L into the data carrier Only one read head is specified in the command Command Format Select only one of the H bits H H H or H to set to 1 and leave the rest 0 Word 0 Word 1 Word 2 Word 3 Word 4 Word 5 Wordn C data length up to 16 words DO DI5 The length of written data is up to 16 words which depends on START ADDRESS 00 3F hex and LENGTH 01 10 hex If the content of LENGTH is zero the AB1 interface replies with an error command is not available to the PLC The sum of START ADDRESS and LENGTH should be less than or equal to 40 hex 64 decimal or the maximun address value of the data carrier will be exceeded Reply Word 0 Word 1 Word 2 If the bits in ERROR are zeros in the reply writing was successful ERROR E E 00 successful OD unsuccessful 30 P E PPE RL FU C H S Pepper Fuchs Inc 1600 Enterprise Parkway Twinsburg Ohio 44087 2245 E mail salesQus pepperl fuchs com Telephone 330 425 3555 F

Download Pdf Manuals

image

Related Search

Related Contents

2014 installation instructions  T70/T80 - Genie Industries  VELOUTE SAVEUR PAYSANNE INGREDIENTS  AM-318 Eight Port Serial I/O Board Installation Instructions  Narva 17635  Tridex KS143  Current manual - Sea  Microwave Oven Horno Microondas  POLYTRON SPM-PSTI  BT Freestyle 310 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file