Home

Guide - Turck

image

Contents

1. solr AIVA For this example we want to be able to see BLident system status issue commands and send and receive at lease 1 word long register from the GE controller To accomplish this we need to create two input and two output Modbus registers in the PLC Configuration a Resources tab gt gt PLC Configuration gt gt Configuration BL67 PG EN gt gt Modbus_Registers SLOT gt gt Input Output tab b Insert two input and two output registers by highlighting the registers and clicking the Select gt gt button bus masters according to the tables below rea Input Output Max length of input data Max length of output data Max length of in output 2048 Byte Max number of modules Output Modde In upu Modes Empty Modules Length of input data Length of output dala Length of in oulput Number of modes Selected Modules 10 The BL67 PG EN gateway communicates with a Mobdus Master via the Modbus Registers that are created in the PLC configuration In the previous steps two input and two output registers were created in the configu ration These registers were aliased as Modbus_In and Modbus_Out respectively and used in the program The Modbus I O registers that are created in the PLC configuration are mapped to the PC PLC or other Mod _ _ or PLC Modbus BL67 PG EN Modbus Registers Registers Inputs Read only lt Output Registers 10 TURCK Inc 3
2. 3 BOOK 8 11 Write Tag Data 4 BOOL 80127 AT bQ 5 BOOL 84137 6 BOOK 80 14 ei 7 8004 84157 Diagram 3 1 Data and control flow of Blident system and GE Series 907 30 PLC 4 BL67 Configuration 4 Hardware Requirements BL67Programmable Modbus TCP IP Gateway BL67 PG EN firmware rev 1 0 0 1 or later RFID Module 2RFID A BL67 base module BL67 B 4M12 RFID transceiver head TB M18 tag TW R16 B128 Ethernet 4 pin eurofast cable 24 VDC power supply 4 1 1 Hardware Setup 1 Assemble BL67 gateway with base module and RFID module 2 Set the IP address of the gateway The rotary switches should be set to a value between 000 and 254 In this case the firstthree bytes of the IP address are always 192 168 1 The last byte of the IP address is set using the rotary switches For this example set IP address to 192 168 1 1 3 Power up the programmable gateway TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 4 4 Push the SET button for 10 seconds to store the gateway configuration 4 2 Software Requirements IO Assistant Software CoDeSys v 2 3 5 8 www turck usa com Support Downloads Software 4 2 1 IO Assistant Using IO Assistance confirm that BL67 system is configured as displayed on Diagram 4 2 E 1 0 5515 File Edit Station Online View Extras Options Dia el m
3. Configuration BL67 PG EN Target Platform Memory Layout General Network functionality Visualization 1 0 Configuration Configurable Download as file address check Byte addressing mode Initialize zero Online Change Update unused I Os TURCK 3000 Campus Drive Minneapolis MN 55441 Download symbol file Jv VAR IN BUT as reference Symbol config from INI file Initialize inputs PLC Browser Load bootproject automatically Trace SoftMotion Cycle independent forcing Retain forcing Default 3 Cancel Application Support 1 800 544 7769 Fax 763 553 0708 www turck com Choose a programming language a Thisexample project is written in LD ladder logic Use the default Name PLC_PRG a PLC PRG is similar to OBI in Siemens Thisis the program that gets executed automatically If you change the name and do not do a TASK configuration the program will not run b The Type of the POU should be Program Go to Resources tab gt gt Library Manager and add BL ident v0 4 lib to the list of available libraries Go to Resources tab gt gt PLC Configuration gt gt Configuration BL67 PG EN gt gt BL67 IO SLOT gt gt In put Output and insert 2RFID A module CoDeSys BL67 PG tN pro PLE Configuration dij te Edt Extras Qrine Window Hep Dae AASR i Input Modules 40 40
4. 7 2 I RESCUE 21 7 3 Write Operation iin iii ten patina pe nip 21 7 4 Close Operations sonu sa usus ER 22 7 5 Ladder Logic MAIN Prosta oee iecore eeepc eet ed tree qasaq aqa tet elsi dete ee ha a 22 gt TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com Itrodue tiones ce ici ord eoa e ech adds dtc am bete nnt ue ner e re n ead ee umum Reference Documentation itio 1 Introduction The purpose of this document is to guide you through the configuration of Programmable Modbus TCP IP BL20 and BL67 gateways and RFID modules BLident system and integration with GE Series 907 30 PLC The RFID interface logic is handled by the Programmable gateway and control status and data are mapped to the higher level controller GE Series 907 30 Tools used to configure and program this system are CoDeSys 3S IO Assistant and GE Machine Edition Logic Developer PLC 2 Reference Documentation Following publications provide related information and technical description of the system components used by the system BLident Modular RFID System BL67 User Manual for Modbus TCP IP BL67IO User Manual 20 User Manual for Modbus TCP IP BL20IO User Manual OAssistant configuration software TCP IP Ethernet Commications for Series 90 PCL User s Manual GFK 1541B
5. R00301 INT 96 R00301 R00308 INT 00308 R00351 INT 96 R00351 R00358 INT 00358 R00401 INT 00401 R00408 INT 00408 R00451 INT 00451 R00458 INT 00458 R00481 INT 00481 R00488 INT 00488 R00581 INT 00581 00588 00588 READ BOOL 00139 READ FLT BOOL 00007 READ REQ BOOL 00006 READ SUCCESS BOOL 00008 READ DWORD 96R00712 READ TMR 0 DWORD 96R00712 TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 19 READ TMR 1 DWORD RO00714 READ TMR 2 DWORD R00716 RESET BOOL M00143 RESET TMR BOOL M00250 RFID INPUTS WORD 9 R00717 RFID INPUTS O WORD 9 R00717 RFID INPUTS 1 WORD RO00718 RFID OUTPUTS WORD R00700 RFID OUTPUTS 00 WORD R00701 RFID OUTPUTS 01 WORD R00702 RFID OUTPUTS 02 WORD R00703 RFID OUTPUTS 03 WORD R00704 RFID OUTPUTS 04 WORD R00705 RFID OUTPUTSI 05 WORD R00706 RFID OUTPUTS O06 WORD R00707 RFID OUTPUTS 07 WORD R00708 RFID OUTPUTS O08 WORD R00709 RFID OUTPUTS 09 WORD R00710 RFID OUTPUTS 10 WORD R00711 RFID OUTPUTS 11 WORD R00712 RFID OUTPUTS 12 WORD 800713 TAG ID BOOL M00138 TR_ON BOOL M00137 WRITE BOOL 00140 WRITE_FLT BOOL 00013 WRITE_REQ BOOL 00012 WRITE_SUCCESS BOOL M00014 WRITE_TMR WORD R00726 WRITE TMR O WORD R00726 WRITE TMR 1 WORD 9 R00727 WRITE TMR 2 WORD R00728 TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 776
6. RFID ModbusMaster MAIN 05 23 07 15 30 44 Page 9
7. V2 3 e D Google Desktop gt 8 Windows Messenger E ms BB Windows Movie Maker Microsoft Office Exce e InterlinkBT gt e Micro Innovation Microsoft Office 4 Ei MODBUS ORG Modbus Poll e Multimedia Center For Think Offerings gt NetWaiting gt 9 PACTware 3 0 m PC Dactor 5 for Windows Ef Picasa2 m PL 2303 USB Serial Driver e PrintMe Internet Printing b T Rockwell Software 2 Clickon the Open button InstallTarget Installation directory ES Possible Targets Installed T argets 35 Smart Software Solutions GmbH Install Remove TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 3 Find the BL67 PG EN tnf file in the folder where the target fileshave been saved Look in Targets lt er E3 CyBL20 PG EM BL xx CjBL20 PG Cfg Common_Lib 38120 PG EN IP Lib BL20 PG EN CjBL20 PG EN Lib BL20 PG EN IP 28167 Pc EN CgBL67 PG EN IP Cfg BL67 PG EN IP OBLE PG EN IP Lib CjBL67 PG EN Lib File name BLe7 PG EN Files of type Target Information File TNF 4 BL67 PG EN target will be located in the Possible Targets window a The Installation directory willbe filled in automatically To avoid possible errors while opening compiling and downloading projects
8. 000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com Output Register 0 Output Register 1 Output Register 2 Output Register Output Register 1023 Outputs Read and Write gt Input Registers Input Register O Input Register 1 Input Register 2 Input Register 3 Input Register 1023 Table 4 1 BL67 Modbus Mapping 11 To associate variables in our program with Modbus registers go to Resources tab gt gt Global Variables and add the following to the list Channel 0 Transceiver AT 4 0 BOOL Tag ID AT IX4 1 BOOL Read IX4 2 BOOL Write AT 1 4 3 BOOL Status AT IX4 4 BOOL Dev Status AT IX4 5 BOOL Reset AT 1 4 6 BOOL Start Address DINT 0 Length INT 13 TX AT IW3 ARRAY 0 1023 OF BYTE Status DWORD Done AT QX4 0 BOOL Busy AT QX4 1 BOOL Error AT QX4 2 BOOL Tag Present AT QX4 3 BOOL Transceiver On AT 0 4 4 BOOL Tag Fully Read AT QX4 5 BOOL Transceiver Connected AT QX4 6 BOOL RX AT QW3 ARRAY 0 1023 OF BYTE TRLEN DINT 12 Go to POUs tab and create the following ladder logic program in PRG TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 11 0001 PROGRAM PLC PRG BL ident RFID TAG PRESENT Tag Pres
9. 3 System Overview The system presented in this example consists of BL67 Programmable Modbus TCP IP gateway with 2RFID A module and Series 90 30 PLC The BL67 gateway act as a Modbus TCP IP slave and implement RFID interface internally via Proxy Indent Block BLident function block Series 90 30 PLC implement Modbus TCP IP master functionality by periodically polling BL67 slave device See Diagram 3 graphical representation of system control flow TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 3 Modbus Output Map Poll Status bine ose 8 Input Register amp AT 2002 WORD Input Register Input Map Read Tag Data LO EI AT BOWE WORD AT 90 60 BOOL 810 AT 0 5 1 BOOL C Bi 1 AT OXB 2 BOOL BI 2 AT 0 6 3 BOOL C 813 AT OX6 4 BOOL Bit 4 AT OX6 S BOOL BI 5 AT OXB 6 BOOL Bit 6 AT SOXB 7 BOOL C 817 AT QX7 0 BOOL Bit 8 AT 5507 1 BOOL 8497 AT HOXT 2 BOOL C Bl 10 7 AT QX7 3 BOOL CBN 11 D Modbus Input Map D Modbus Registers SLOT Output Ma T guint Ro Poll Command amp AT 508 0 800t 810 AT V6 1 BOOL C B0 1 9 AT 0 2 BOOL 12 AT 056 8004 90 2 AT SOBA BOOL C B4 4 AT IKE BOOK 8457 AT 0x6 6 8004 C 816 AT 7 BOOL 807 AT yb 0 8004 049 AT 1 8004 849 AT si 2 BOOL Bit 10
10. 9 Fax 763 553 0708 www turck com 7 Appendix B GE Series 901 30 PLC ladder logic program MAIN The program MAIN consist of four 4 sections l Initialization of communication channels 2 Read operation of modbus registers from BL67 3 Wirite operation of modbus registers 4 Close operation of communication channels The read and write operations are performed every scan cycle of the GE controller with 2 second delay 7 Initialization of Communication Channels The first 14 lines of the MAIN program perform initialization of 2 communication channels 1 for read operations and 1 for write operations The channels are initialized using COMM REQ command block that sends Channel Open command request to GE Ethernet Interface module 7 2 Read Operation The next 15 through 22 lines of the MAIN program are responsible for reading 3 Modbus registers from BL67 includ ing RFID status bits and 2 words of the RFID receive buffer into locally declared variable RFID OUTPUTS The Mod bus registers read from BL67 are addressed in the table 7 2 Notice Modbus addresses are listed with offset of 1 ac cording to COMM REQ command block specification Modbus Address in GE Corresponding Variablein BL67 Program 16385 1 Done 16385 2 Busy 16385 3 Error 16385 4 Tag Present 16385 5 Transceiver On 16385 6 Tag Fully Read 16385 7 Transceiver Connected 16386 16387 RX 0 3 Table 7 2 Modbus Mapping of BL67 Varia
11. ETH READY EQINT 00001 READ SUC R00011 IN1 Q S RO00011 00008 1 IN2 Ef start write sequence Write 3 registers starting with address 4400 with offset of 1 RFID_INPUTS ETH_READY WRITE_REQ DO_WRITE 00001 00012 00129 MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 Page 4 27 28 ETH READY OPEN SUC DO WRITE ONDTR WRITE REG TENTHS ARN 00001 00253 00129 00012 DO WRITE WRITE R 9 00129 R00726 20 PV ETH_READY WRITE_REQ DO_WRITE R 200001 00012 00129 Write RFID commands into RFID INPUTT O To set command in PLC set appropreate resitersTR ON TAG ID READ WRITE MEM STAT STAT RESET WRITE REG MOVE WORD 11 00012 0 Q FFID_INPU 00717 WRITE REQ TR 1 E M00012 00137 OR WORD 16 0100 IN1 Q RFID_INPU 00717 RFID INPU IN2 00717 WRITE ID OR WORD 11 11 M00012 00138 16 0200 IN1 QI RFID INPU 00717 RFID INPU IN2 R00717 WRITE_REQ READ OR WORD 11 11 M00012 00139 16 0400 IN1 Q RFID INPU 00717 RFID INPU IN2 00717 WRITE REQ WRITE OR WORD 11 11 M00012 00140 16 0800 RFID_INPU R00717 IN1 QI RFID INPU 00717 2 MODBUS RFID Modbus
12. IN3 4 N3 13 IN4 192 INA O IN5 168 N5 0 IN6 1 6 3000 IN7 1 N7 Page 2 13 ETH READY OPEN COMM MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 REQ 00001 00252 OPEN FLT R00481 IN FT B 00481 00251 2 8SYSI 0 14 ETH READY EQINT 00001 OPEN SUC R00014 N1 Q S 9cR00014 00253 1 2 15 read sequence Read 13 registers starting at address 4000 hex with 1 offset into varial RFID OUTPUTS 16 ETH READY READ REQ DO READ E Vi 00001 00006 00130 17 ETH READY OPEN SUC DO READ ONDTR READ REQ TENTHS 00001 00005 00130 00006 DO READ READ R 00130 96R00712 20 PV 18 ETH READY READ REQ DO READ R 00001 00006 00130 19 ETH READY READ REQ MOVE READ FLT WORD R 00001 00006 00007 1 O IN Q R0001 1 96 R0001 1 Page 3 21 22 23 24 ETH READY READ BLKMOV INT INT 00001 00006 8 IN1 Q R00351 5 IN1 Q R00358 R00351 R00358 0 2 4 4 2 8 IN3 8 N3 10 1 4 700 IN4 0 5 16385 41 5 0 IN6 3 N6 3003 IN7 1 1 7 ETH READY READ COMM a 00001 00006 READ FLT R00351 IN S R00351 96M00007 2 8SYSI O TASK
13. Industr A BLXX PG EN for GE 90 30 Series Content System OVELVI W ea edat bee de t Oa eae aee ted iere ed e ede aha BL67 Configuration zi intra idee e igit dpa telae edo pe TR 4 1 Hardware Requirements eerte RI SEA EOE 4 4 1 1 Hardware Setup ze tt RES eet ete tl te bee RD t e pr 4 4 2 Software Requirertients s oco pee Sama t md S 5 4 2 1 Jem Cru ET 5 4 2 2 67 PIOgramn nee reine EL qued pte Lap e enel cette ed 5 4 2 2 1 IG EINE TIME nm 4 2 2 2 Create BIadent CoDesSys Project 6t cett BS 5 GEEan e Senes 901M 30 PLC Configuration u e a e eere 5 1 Hardware Requirements 5 ied eet idt esc eei LA E suns 14 5 2 Software 14 5 2 1 Software Set p cene pH eee DE TOI ee RNC SINE 14 5 2 2 Create GE Senes 902 30 PEC Project endete erede 15 6 Appendix Series 907 30 PLC Variable List for program 7 Appendix B GE Series 907 30 PLC ladder logic program 001 7 1 Initialization of Communication Channels eene 21
14. Master MAIN 05 23 07 15 30 44 Page 5 WRITE REQ MEM STAT OR 00012 00141 16 1000 IN1 Q RFID_INPU WORD RO00717 RFID INPU IN2 95R00717 WRITE REQ DEV STAT OR WORD 1 1 11 00012 M00142 16 2000 IN1 Q RFID_INPU 26R00717 RFID INPU IN2 R00717 WRITE_REQ RESET OR M00012 M00143 16 4000 IN1 Q RFID_INPU 26R00717 RFID INPU IN2 R00717 ETH READY WRITE_REQ MOVE WRITE FLT INT 11 11 8 00001 00012 00013 1 0 Q R00013 00013 ETH READY WRITE REQ BLKMOV INT INT 00001 00012 8 1 1 Q R00451 5 IN1 Q R00458 R00451 R00458 0 1 2 16 N2 8 IN3 8 IN3 12 1 4 717 134 0 15 17409 N5 0 IN6 3 6 3004 1 7 1 N7 MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 Page 6 ETH READY WRITE REQ COMM REQ 00001 00012 WRITE FLT R00451 IN FT 5 RO00451 00013 2 SYSI 0 5 39 ETH READY EQINT 00001 WRITE SU R00013 IN1 Q S 00013 00014 1 2 40 close channels when fault is incountered or when DO CLOSE is set by the user 41 ETH READY READ FLT CLOSE REQ 00001 00007 00009 DO CLOSE 00257 42 ETH READY CLOSE REQ MOVE CLOSE FLT WORD i 00001 00009 00010 1 0 I
15. N Q R00012 MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 Page 7 43 ETH READY CLOSE REQ BLKMOV T INT INT 96M00001 00009 2 IN1 Q R00401 5 IN1 Q R00408 R00401 R00408 0 IN2 o N2 8 IN3 0 N3 11 134 0 4 0 1 5 0 1 5 0 IN6 0 6 3001 1 7 0 IN7 44 ETH READY CLOSE REQ COMM a 96M00001 00009 CLOSE FLT R00401 IN s R00401 M00010 2 SYSI 0 TASK 45 ETH READY EQINT 00001 CLOSE 50 00012 1 R00012 M00011 1 IN2 46 ETH READY WRITE FLT CLOSE RE 00001 00013 00255 DO CLOSE 00257 MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 Page 8 47 ETH READYCLOSE RE MOVE CLOSE FL E 1 WORD R M00001 00255 M00254 1 0 Q R00015 R00015 48 ETH READYCLOSE RE BLKMOV BLKMOV T INT INT 96M00001 00255 2 IN1 Q R00581 6 IN1 Q R00588 R00581 R00588 0 IN2 0 lN2 8 IN3 0 lN3 14 1 4 0 lN4 0 IN5 0 1 5 0 IN6 0 6 3001 7 0 1 7 49 READYCLOSE RE COMM E xn M00001 00255 CLOSE FL 00581 FT e 9c R00581 M00254 2 SYSI 0 TASK 50 ETH READY EQ INT 00001 CLOSE SU R00015 IN1 Q 5 R00015 M00256 1 IN2 MODBUS
16. are purse n nem TURCK Converts Application Notes Vd Contractors EC ba Documentation North American Sales Channel EDS GSD Files White Papers Tutorials ident v0 4 lib Blident library version 0 4 or higher 4 2 2 1 Install Target Download the BL67 PG EN target zip There is no specific folder that these files need to be saved in To install the target filesinto the CoDeSys software follow the instructions below 1 Open the InstallTarget program TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com Ci winzip ftware Ei CoDeSys HMI Accessories Fi CoDeSys Server Wisniowski Tol e AS Interface Control Tools gt CoDeSys SP RTE m ATI HYDRAVISION Internet Internet Explorer Ei TURCK Tools 2007 CobeSys SoftMotion V2 3 CoDeSys UserManual V2 3 e Automated Solutions OPC e Cisco Systems VPN Client Communication 35 Licensing Manager 5 CoDeSys Visualization V2 3 E mail Ff DeviceNet Master Simulator Ff CoDesys SP PLCWinNT E WebServer N Out T e Diskeeper Corporation gt 35 Homepage First Steps with CoDeSys Launch Internet F Secure Anti Virus VersionInfo InstallTarget e Explorer Browser e 3 Windows Media Games CoDeSys
17. asu User View gt Projectie 43 BL20 RFID Demo 22 BLB RFID c uz Ad 192 168 1 1 BL67 PG EN gm Pos 1 BL67 2RFID A 1 Image Process Image Parameter Diagnostics Comment Se Rw a Diagram 4 2 IO Assistant BLident system configuration 4 2 3 BL67 Program To implement BLident system on Programmable gateway you need to write program including BLident function block to handle Proxy Identification with the RFID read write heads Following is the list of required libraries and supplementary files to create BL67 program BL67 PG EN Target zip Target file for CoDeSys www turck usa com Support Downloads_ _Software TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com Software Windows Internet Explorer JS http fviwnw turck usa com Support Downloads Software Google 90 30 O A vy Bookmarks 6 blocked D Chec KITE w 4 e 11147 J t 3 ay 4422222 OF ej 1 zd 02 0 442223 2 11 3e fed software e Stars player Online Support Search ke Home gt gt Support gt Dovmloads Application Support Part or ID number Approvals Certifications by Keyword Tips Gov Downloads Software Declarations of Conformity Networks Downloads Softw
18. bles to GE Input Registers 7 3 Write Operation The next 23 through 39 lines of the MAIN program are responsible for writing 3 Modbus registers from locally de clared variable RFID INPUTS to BL67 including RFID command bits and 2 words of RFID transfer buffer All of the RFID INPUTS registers can be manipulated by the GE program logic The Modbus registers written to BL67 are ad dressed in the table 7 3 Notice Modbus addresses are listed with offset of 1 according to COMM REQ command block specification Modbus Address in GE Corresponding Variablein BL67 Program 17409 1 Transceiver 17409 2 Tag ID 17409 3 Read 17409 4 Write 17409 5 Mem Status 17409 6 Dev Status 17409 7 Reset 17410 17411 TX 0 3 Table 7 3 Modbus Mapping of BL67 Variables to GE Output Registers TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 21 7 4 Close Operation The last 40 through 50 lines of the MAIN program perform channel close operation based on error condition or ex plicit close request CLOSE REQ variable Both read and write communication channels are closed and all required registers are cleared 7 5 Ladder Logic MAIN Program TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 22 1 open Communication with slave device OPEN SUCCESS is set when channel is open f
19. can be downloaded from www turck com website and Restored in your Logic Developer PLC environment TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 14 Software Windows Internet Explorer www turck usa com Support Downloads_ _Software 2 T Bookmarks 6 blocked X 4 e Stars player Online software 0422242 OF ej p p zd 02 0 41222 Eus fed P Chec xm Application Notes i Contractors 1 Documentation 1 EDS GSD Files International Sales Channel 1 Technical Information North American Sales Channel White Papers Tutorials Support Search ts Home gt gt Support gt gt Dovnloads Application Support Part or ID number TUER Approvals Certifications ownloads So are j i by Keyword Tips 2 i Networks Downloads Software EZ TURCK Converts M TURCK website Download Software Ifyou wish to write project from scratch follow instruction 5 2 2 Create GE Series 907 30 PLC Project 1 Create new project in Logic Developer PLC 2 Setup Hardware Configuration in the Navigator window When all done the Hardware Configuration should look like this TURCK Inc 3000 Campus Drive Min
20. ddress or hostname 1200 Must match with runtime Motorola byteorder Remove 15 Login to the BL67 PG EN gateway download the run the project TURCK Inc Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 3000 Campus Drive Minneapolis MN 55441 13 5 GE Fanuc Series 90 30 PLC Configuration 5 1 Hardware Requirements e 5 Slot Base part IC693CHS397 e CPU 366 Module with Profibus DPV1 scanner part IC693CPU366 Ethernet Interface TCP IP Module part IC693CMM321 e Power Supply part IC693PWR330 e Horner SNP to RS 232 Programming Cable part HE693SNPCBL Ethernet Cable with RJ45 plug Assemble all component of the system referring to standard GE operation instructions Make sure to place Ethernet Interface module in Slot 2 of the Main Rack right after CPU block 5 2 Software Requirements GEFanuc Logic Developer PLC version 5 60 5 2 Software Setup The GE Series 907 30 PLC is going act as a Modbus TCP IP master to BL67 Programmable gateway As described previously all RFID interface logic is realized within BL67 program Therefore GE Series 907 30 PLC program will be responsible for higher level control of the BLident system GE Series 907 30 PLC program will allow you to see operational status of the BLident system issue write and read commands view 1 receive buffer and send 1 transmit buffer back to the BLident system The project for GE Series 902 30 PLC
21. e to set variables in the PLC Set Programmer Mode while Online with the Target 9 Toissue commands to the BLident system toggle PLC command variables ON TAG ID READ WRITE STAT STAT or RESET 99 TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 17 MODBUS REID Proficy Machine Edition MAIN Monitor Mode File Edit Search Project Target Variables View Insert Data Debug Tools Window Help ar Sy gt p S H H 0 SEF READ SUCCESS SEF CLOSE REQ SEF CLOSE FLT SEF CLOSE SUCCESS SEF WRITE SEF WRITE FLT SEF WRITE SUCCESS SEF DO WRITE SEF DO READ a m m Fu m SEF RESET TMR Ju SEF OPEN WRITE GEF anre nra winter Data Watch ee Y amp Ba xo X N DEAT RA i gt c 01 k AE OM G gt p Sy E _MAIN 4 A 500001 41400002 LANIFOK LAN ETH 100288 100285 DO OPEN 00001 00002 00003 OPEM RE MO0001 M00003 00004 4 R00010 R00010 0 ETH OPEM R 4M00001 4M00003 8 8 R00301 Ux MEME Disconnecting Disconnected from the device Connecting Connected to the device PLC Command variables can be toggled while Online with Targe
22. ent TRANSCEIVER_ON Transceiver_On TAG_FULLY_READ Tag_Fully_Read TRANSCEIVER_CONNECTED Transceiver_Connected TAG_START_ADDRESS RX TAG_LENGTH E TRLEN DATA BUFFER START ADDRESS DATA BUFFER LENGTH DATA Using BL ident RFID function block from ident v0 4 lib you can accomplish full RFID interface with 1 line of ladder logic Notice use of global variable that were previously declared in step 11 13 Compile the project by going to Project gt gt Build 14 Verify Communication Parameters of your BL67 program a Open the Communication Parameters dialogue box b Online gt gt Communication Parameters c Clickon New Communication Parameters Channels localhost via Tcp lp Name Comment TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 12 d Enter a name select Tcp Ip Level 2 and click OK e Communication Parameters New Channel Name BL57 PG EN 192 168 1 1 Cancel Device 35 Serial 5232 driver 35 Tcp lp level 2 driver Tep lp Level 2 Route 35 Tcp lp Level 2 Router Driver Enter the IP Address of the gateway change the Motorola byteorder to Yes and click OK Communication Parameters Channels Level 2 localhost via Tcp lp BL57 PG EN 192 158 Name Vale _ Comment 182 168 1 1 a
23. into the gateways the default directory should be used The de fault directory should be C Program Files 3S Software CoDeSys V2 3 Targets Turck InstallTarget C Documents and Settings twisniWDesktop BL systems Targets B Installation direct6ry C Program Files 3S Softwar a Possible T argets Installed Targets E Turck Turck BL6 PG EN 35 Smart Software Solutions GmbH Install Remove TURCK 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 8 5 Highlight BL67 PG EN in the Possible Targets and click on Install button The BL67 PG EN target can now be seen in the Installed targets 4 2 2 2 Create BLident CoDeSys Project The following instructions will take you through the steps required to create BLident CoDeSys project It is assumed you are familiar with CoDeSys software to complete this instruction set The CoDeSys software will need to be in stalled for the following steps The recommended version is 2 3 5 8 The hardware will not work with versions higher than 3 0 1 Start CoDeSys 2 Open anew project a File gt gt New 3 Select the BL67 PG EN target Target Settings Configuration 35 CoDeSys SP PLOWinNT V2 4 35 CoDeSys SP RTE 35 CoDeSys SP RTE SM Sercos BL20 PG EN BL67 PG DP HPG200 2 3 HPG300 2 3 4 Push OK a Use the default settings b NEVER change the Byte Addressing Mode setting Target Settings
24. neapolis MN 55441 15 set in the next subsection Application Support 1 800 544 7769 Fax 763 553 0708 www turck com Navigator EZ MODBUS RFID ModbusMaster 3 Data Watch Lists fli Hardware Configuration flf Main Rack 1ce93CHs397 Bla PWR IC693PWR321 B Slot 1 IC693CPU366 slot 2 IC693CMM321 50 30 0 50 40 B 5050 Rack 1 IC693CH5392 filli Rack 2 1 693 5392 Aji Rack 3 1 693 5392 E Rack 4 1c693CHS5392 Rack 5 1C693CHS5392 Rack 6 Ic693CHs392 Rack 7 1 693 5392 D gt Logic aal gt Logic Developer PLC Hardware Configuration 3 Rightclick on Target and select Properties In the Inspector window configure the Physical Port parameter lt Inspector Update Rate ms 250 Sweep Time ms Offline PLC Status Enable Shared Variable False Physical Port COMI Additional Configuration lt Inspector Logic Developer PLC Target Properties in Inspector window 4 Rightclick on Slot 2 IC693CMM321 in the Navigator window and select Configure Setup IP Address and Subnet parameters under Settings tab to work with your network configuration Make sure that IP Address does not conflict with any other devices on your network Also configure Software Load tab parameter to match your Physical Port settings TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application S
25. or communication Read is done on channel 5 and write on channel 6 2 FST_SCN DO OPEN 96800001 00002 3 LANIFOK LAN OK ETH READY 96100288 96100285 00001 4 ETH READY DO OPEN OPEN REQ 00001 00002 00003 5 ETH READY OPEN MOVE OPEN FLT WORD R 00001 00003 00004 1 0 1 Q R00010 RO00010 6 ETH READY OPEN BLKMOV BLKMOV INT INT 00001 00003 8 1 Q R00301 5 IN1 Q R00308 95R00301 95 R00308 0 IN2 1 N2 8 IN3 4 N3 9 IN4 192 N4 0 IN5 168 N5 0 IN6 1 1 6 3000 IN7 1 4N7 7 ETH READY OPEN REQ COMM E E dn 00001 00003 OPEN FLT 00301 S 00301 00004 2 SYSI 0 TASK MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 Page 1 12 ETH READY EQINT MODBUS RFID ModbusMaster MAIN 05 23 07 15 30 44 00001 OPEN SUC RO0010 INi Q s R00010 M00005 1 IN2 EF when OPEN_SUCCESS is set open another channel 6 for write communication ETH READY OPEN SUC OPEN REQ FE q 00001 00005 00252 ETH READY OPEN REQ MOVE OPEN FLT 3 WORD B 00001 00252 00251 1 0 1 Q R00014 R00014 ETH READY OPEN BLKMOV BLKMOV INT INT 00001 00252 8 1 Q R00481 6 IN1 Q R00488 00481 R00488 0 IN2 1 N2 8
26. t 10 To turn transceiver on set TR ON variable to 1 Observer status of the transceiver head 11 To write data to a tag and read it back a Set RFID INPUTS I to a value b Set WRITE variable to 1 Present tag to the transceiver head for write operation Reset WRITE variable to O Set READ variable to 1 Present tag to the transceiver head for read operation Reset WRITE variable to 0 Verify that value of RFID INPUTS 1 is now equal to RFID OUTPUTS I 12 To see Operational Status of the RFID system 13 See value of RFID OUTPUTS 0 variable TURCK Inc 3000 Campus Drive Minneapolis MN 55441 Application Support 1 800 544 7769 Fax 763 553 0708 www turck com 18 6 Appendix GE Series 9079 30 PLC Variable List for program MAIN Name DataType lOAddress CLOSE FLT BOOL 00010 CLOSE FLT WRITE BOOL 00254 CLOSE REQ BOOL 00009 CLOSE REQ WRITE BOOL 00255 CLOSE SUCCESS BOOL 00011 CLOSE SUCCESS WRITE BOOL 00256 DEV STAT BOOL 00142 DO CLOSE BOOL 00257 DO OPEN BOOL 00002 DO READ BOOL 00130 DO WRITE BOOL 00129 ETH READY BOOL 00001 LAN BOOL 26100285 LANIFOK BOOL 26100288 MEM STAT BOOL 00141 OPEN FLT BOOL 00004 OPEN FLT WRITE BOOL 00251 OPEN REQ BOOL 00003 OPEN REQ WRITE BOOL 00252 OPEN SUCCESS BOOL 00005 OPEN SUCCESS WRITE BOOL 00253 00010 WORD 00010 00011 WORD 00011 R00012 WORD 00012 00013 00013 R00014 WORD 00014 00015 WORD 00015
27. upport 1 800 544 7769 Fax 763 553 0708 www turck com 16 InfoViewer 0 1 1C693CPU366 0 2 IC693CMM321 Settings Station Manager Port Software Load Port Power Consumption Parameters Values Configuration Mode TCP IP Status Address 2100273 Status Length 80 IP Address 192 168 1 5 Subnet Mask 255 255 255 0 Gateway IP Address 0 0 0 0 Name Server IP Address 0 0 0 0 Converter Power Consumption watts Transceiver watts 0 5 Configuration of Ethernet Interface Settings tab InfoViewer 0 1 1C693CPU366 0 2 IC693CMM321 Settings Station Manager Port Software Load Port Power Consumption Parameters Values Data Rate bns mm Parity Odd Stop Bits 1 Flow Control None Turnaround Delay mS ec None Timeout Long Configuration of Ethernet Interface Software Load Port tab 5 Go to Variables tab of the Navigator window and declare all variables required for the project See Appendix A for the detailed variable list 6 Go to Logic gt Program Blocks in Navigator window and double click on MAIN to open the mail ladder logic program for the controller See Appendix B for the detailed program description Notice that BL67 IP Address 192 168 1 1 is set within the program logic using REQ function block run 6 and 12 7 Validate the Target download it to the controller and start Run the program In order to be abl

Download Pdf Manuals

image

Related Search

Related Contents

  attention - AGA Marvel  The Vollrath Co Drop-In Hot Wells User's Manual  1 - ソニー製品情報    Mackie 1604-VLZ PRO User's Manual  TDSHーBA “= ` 記・ 〝, 保管用 Leadingー"nevati。n))) 東之誘導灯  ARISTON MICROSYSTEM 28RFFI GCNo.41-116-07  MN101C115/117 LSI User`s Manual  Dimanche 30 mars  

Copyright © All rights reserved.
Failed to retrieve file