Home
User Manual - ADFWeb.com
Contents
1. Note If you want that the converter sends the data only On change the Poll Time must be at 0 Note If the field On change is checked and the Poll Time is different from 0 the converter sends the Write request cyclically and also a the data is changed ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 19 di 36 Industrial Electronic Devices k UPDATE DEVICE By pressing the Update Device button it is possible to load the created Configuration into the device and also the Firmware if is necessary If you don t know the actual IP address of the device you have to use this procedure Turn off the Device SW67602 F Put Dip2 of Dip Switch A at ON position Ce ee n a Turn on the device Insert the IP Address of HD67602 Connect the Ethernet cable sss 2 205 Insert the IP 192 168 2 205 Poa a recone erences Press the Ping button must appear Device Found Press the Next button Select which operations you want to do Press the Execute update firmware button to start the upload When all the operations are OK turn off the Device Put Dip2 of Dip Switch A at OFF position Turn on the device SW67602 Update Firmware from Etherner UDP At this point the configuration firmware on the device is correctly updated
2. Industrial Electronic Devices User Manual Revision 1 004 English PROFINET Modbus Master Converter Order Code HD6 7602 232 A1 HD67602 485 A1 For Website information www adfweb com Product HD67602 For Price information www adfweb com Price HD6 602 232 Al1 www adfweb com Price HD6 7602 485 Al1 Benefits and Main Features Triple electrical isolation 4 Two PROFINET ports Temperature range 40 C 85 C 40 F 185 F User Manual ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 1 di 36 tmm I i Eana Ek ETHERS F weej EENET l E E egy For others PROFINET products see also the following links Converter PROFINET to www adfweb com Product HD67600 NMEA2000 www adfweb com Product HD67601 Serial RS232 www adfweb com Product HD67601 Serial RS485 www adfweb com Product HD67603 Modbus Slave RS232 www adfweb com Product HD67603 Modbus Slave RS485 www adfweb com Product HD67604 PROFIBUS Master www adfweb com Product HD67605 PROFIBUS Slave www adfweb com Product HD67606 CAN www adfweb com Product HD67607 CANopen www adfweb com Product HD67608 DeviceNet Master www adfweb com Product HD67609 DeviceNet Slave www adfweb com Product HD67610 J1939 Do you have your customer protocol Then go to www adfweb com Product HD67003 Do you need to choose a device Do you want help www adfweb com Cmd helpme iy User Manual
3. Modbus Master TEN Converter in order to configure another device in the same manner it is necessary SW67602 to maintain the folder and all its contents Open an Existing Configuration To clone a project in order to obtain a different version of the project it is sufficient List of Avaliable Configurations to duplicate the project folder with another name and open the new folder with the button Open Configuration ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 15 di 36 Industrial Electronic Devices SOFTWARE OPTIONS By pressing the Settings gt button there is the possibility to change the language of the software and check the updatings for the compositor In the section Language it is possible to change the language of the software SW6 Fi 60 2 Software Options Language Connection Options SW67 602 Software Options Enable Internet Connection Check Software Update at Start of Program Check Available Update In the section Connection Options it is possible to check if there are some updatings of the software compositor in ADFweb com website Checking the option Check Software Update at Start of Program the SW67602 check automatically if there are updatings when it is launched ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina
4. Advanced options IP address 192 168 2 Use IP router Router eocress gt Details view m Q Seti address using a different method 4 Portal view v Project Guide opened ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 33 di 36 Industrial Electronic Devices 4 Then double click on the Serial label 1 and in the field name change it accordingly to the name defined in the Compositor_SW67602 2 Then add the main module Module and the sub modules of Digital Input and Digital Output by double click on the three items in this order Module 3 Submodule 1 4 Submodule 2 5 TA Siemens Guide Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation E BH Save project 5 a aK St Mt fe a 2 i BER g coonline K Go offline A me X Ss ORTAL f PLC_1 CPU 1212C AGDORIy gt Distributed O PROFINET O System 100 PN IE_1 gt guide a mi X Devices a Network view i Device view mit 2 OO St dt guide F a v Guide ra Add new device ae fx Filter Sj si Devices amp networks gt ig PLC_1 CPU 1212C ACIDCIRIy I can b t Common data 1 Digia gt Ej Documentation settings LA gt Fs Languages amp resources lt b p Online access z z gt i S
5. as in the European Union and other European countries with separate ps collection systems m This symbol on the product or on its packaging indicates that this product may not be treated as household rubbish Instead it Should be taken to an applicable collection point for the recycling of electrical and electronic equipment If the product is disposed correctly you will help prevent potential negative environmental factors and impact of human health which could otherwise be caused by inappropriate disposal The recycling of materials will help to conserve natural resources For more information about recycling this product please contact your local city office your household waste disposal service or the shop where you purchased the product RESTRICTION OF HAZARDOUS SUBSTANCES DIRECTIVE 4 The device respects the 2002 95 EC Directive on the restriction of the use of certain hazardous substances in electrical OHS and electronic equipment commonly referred to as Restriction of Hazardous Substances Directive or ROHS 2002 95 EC CE MARKING The product conforms with the essential requirements of the applicable EC directives ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 36 di 36 Industrial Electronic Devices WARRANTIES AND TECHNICAL SUPPORT For fast and easy technical support for your ADFweb com SRL products consult our internet support at www adfweb com Otherw
6. PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 2 di 36 Industrial Electronic Devices INDEX UPDATED DOCUMENTATION INDEX UPDATED DOCUMENTATION REVISION LIST WARNING TRADEMARKS SECURITY ALERT EXAMPLE OF CONNECTION CONNECTION SCHEME 9 a o SIDOUBKRWNHRPHPOVANNUABWNNNNNG Dear customer we thank you for your attention and we remind you that you need to check that the following document is Updated Related to the product you own To obtain the most recently updated document note the document code that appears at the top right hand corner of each page of this document With this Document Code go to web page www adfweb com download CHARACTERISTICS i CONFIGURATION and search for the corresponding code on the page Click on the proper POWER SUPPLY Document Code and download the updates FUNCTION MODES LEDS PROFINET REVISION LIST RS232 RS485 Revision Date Author Chapter Description USE OF COMPOSITOR SW67602 1 000 14 09 2012 Dp All First Release NEW CONFIGURATION OPEN CONFIGURATION 1 001 24 07 2013 FI All Revision SOFTWARE OPTIONS 1 002 07 03 2014 Ff amp FI All Add New Chapter SET COMMUNICATION 1 003 09 05 2014 Fl All Revision SET ACCESS 1 004 29 05 2014 Ff All Add Diagnostic field UPDATE DEVICE 19 MODBUS DIAGNOSTIC OVER PROFINET 21 ADVANCED FUNCTIONS 22 WARNING MECHANICAL DIMENSIONS 28 ORDERING INFORMATIONS 2
7. disable this function using the checkbox C Diagnostic For more informations about the diagnostic see Diagnostic section on page 21 Number Byte IN Number Byte Out Modbus Master The means of the fields for the Modbus Master section are Serial RS485 Inthe field Serial the serial to use is defined RS232 or RS485 eee 2200 Inthe field Baudrate the baudrate for the serial line is defined Parity NONE Inthe field Parity the parity of the serial line is defined In the field TimeOut ms there is the maximum time that the device attends for the answer gt eae from the Slave interrogated Communication Idle Time ms 100 Inthe field Communication Idle Time ms the minimun delay between two polls is Figure 3 Set Communication window TimeOut ms 1000 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 17 di 36 Industrial Electronic Devices SET ACCESS By pressing the Set Access button from the main window for SW67602 Fig 2 the window Set Access appears This window is divided in two parts the Modbus Read Fig 4 and the Modbus Write Fig 5 The first part Modbus Read is used to read the data from the Modbus slaves and make them available to read from the Master PROFINET The second part Modbus Write is used to write the data that arrives from the Master PROFINET into t
8. enable disable the Modbus polls on Modbus side REQ ByteO Bi bit7 B1 bit6 B1 bitS B1 bit4 B1 bit3 B1 bit2 B1 bit1 B1 bito Bn bitn OxBO PollO Polli Poll2 Pol3 Poll4 Poll5 Poll6 Poll7 Pollx 1 Poll disabled O Poll enabled If the message is received correctly the same message will be sent back by the converter Note In the UDP message after the command s identifier you have to enable disable the Modbus reading requests and then the Modbus Writing requests Example In the section Set Access are defined 8 Modbus reading requests Modbus Read table and 8 Modbus writing requests Modbus Write table We want to disable the firsts 4 Modbus reading requests and the firsts 4 Modbus writing requests Byte 1 OxBO po Byte Byte Poll6 8 Poll9 Poll10 Poll11 Poll12 Poll13 Poll14 Poll15_ pt ta ttt ai tof o o yotyray at 1 1 0 0 0 0 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 23 di 36 Industrial Electronic Devices Bl command This command allows to read the status of the enabling disabling of the Modbus polls REQ Byte O OxBl RES ByteO Bi bitO Bi biti Bi bit2 _ Bn bitn 0xB1 PollO Poli Poll2 Pollx 1 Poll disabled 0 Poll enabled Note A In the UDP message after the command s identi
9. min 12V max 35V OV V HD67602 xxx A1 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 9 di 36 Industrial Electronic Devices FUNCTION MODES The device has got two functions mode depending of the position of the Dip2 of Dip Switch A The first with Dip2 of Dip Switch A at OFF position is used for the normal working of the device The second with Dip2 of Dip Switch A at ON position is used for upload the Project and or Firmware For the operations to follow for the updating see UPDATE DEVICE section According to the functioning mode the LEDs will have specifics functions see LEDS section Dip Switch A Dip1 Must be at ON l ae e Dip2 Functioning Mode l Hn Normal at ce a A Warning Dip1 of Dip Switch A must be at ON position for working even if the Ethernet cable isn t inserted ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 10 di 36 Industrial Electronic Devices LEDS The device has got six LEDs that are used to give information of the functioning status The various meanings of the LEDs are described in the table below LED Normal Mode Boot Mode 1 ON supply voltage ON Device powered ON Device powered green OFF Device not powered OFF Device not powered 2 MT maintenance di
10. 01 35mm Rail DIN Power Supply 220 240V AC 50 60Hz 12 V AC Order Code AC34002 35mm Rail DIN Power Supply 110V AC 50 60Hz 12 V AC ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 30 di 36 Industrial Electronic Devices PLC CONFIGURATION The configuration and commissioning of the PROFINET Converter as described on the following pages was accomplished with the help of the TIA Portal V11 software by Siemens In the case of using a control system from another supplier refer to attend to the associated documentation These are the steps to follow 1 Install the description file of the module TA Siemens TEst_HD6 7606 Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation E TA Ee Save project wan M25 Settings Goonline pf Go offline Jo M E x PORTAL puppes paskagcesmm mmm Jff ACDCRIy EX stall general station description file GSD a x Devices iene Stas Senet Sees Een EE Topology view a Network view f Device view O60 hea mmm a L 1 Qt 100 ly Telaio di montegg cane a 3 iaiia ijtestHp67606 0 2222 o o S e E i fall Search ii at E Add new device et sm Devices amp networks ee fad Fitter xt gt ig CPU gt ig PLC_1 CPU 1212C ACIDCIRIy gt Bf Common data eel b E Documentation settings gt p Signal board b E Communication
11. 16 di 36 Industrial Electronic Devices SET COMMUNICATION un OE This section define the fundamental communication parameters of two buses PROFINET and Modbus SW67602 By Pressing the Set Communication button from the main window for SW67602 Fig 2 the Set Communication Setting window Set Communication appears Fig 3 PROFINET The window is divided in two sections one for the PROFINET and the other for the Modbus Master E The means of the fields for PROFINET are Inthe fields IP ADDRESS insert the IP address that you want to give to the Converter Inthe fields SUBNET Mask insert the SubNet Mask In the fields GATEWAY insert the default gateway that you want to use This feature can be eee 192 168 10 enabled or disabled pressing the Check Box field This feature is used for going out of the net In the field Port is possible to define the port to use for the Tunneling mode see page 22 ma for more details PROFINET Name of Station Inthe field PROFINET Name of Station is possible to assign a name to the PROFINET node devicename1 Inthe fields Number Byte IN insert the number of input byte of the slave station Inthe fields Number Byte Out insert the number of output byte of the slave station In the field Diagnostic insert the starting byte of the PROFINET array where you will save the diagnostic of Modbus It is possible to enable
12. 8 ADFweb com reserves the right to change information in this manual about ACCESSORIES 29 our product without warning PLC CONFIGURATION 30 ADFweb com is not responsible for any error this manual may contain DISCLAIMER 35 OTHER REGULATIONS AND STANDARDS 35 WARRANTIES AND TECHNICAL SUPPORT 36 p RETURN POLICY 36 TRADETARES ADFweb com S r l All trademarks mentioned in this document belong to their respective owners iy User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 3 di 36 Industrial Electronic Devices SECURITY ALERT GENERAL INFORMATION To ensure safe operation the device must be operated according to the instructions in the manual When using the device legal and safety regulation are required for each individual application The same applies also when using accessories INTENDED USE Machines and systems must be designed so the faulty conditions do not lead to a dangerous situation for the operator i e independent limit switches mechanical interlocks etc QUALIFIED PERSONNEL The device can be used only by qualified personnel strictly in accordance with the specifications Qualified personnel are persons who are familiar with the installation assembly commissioning and operation of this equipment and who have appropriate qualifications for their job RESIDUAL RISKS The device is state of the art and is safe The instruments can represent a potential hazard if they are i
13. FINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 13 di 36 Industrial Electronic Devices k USE OF COMPOSITOR SW67602 To configure the Converter use the available software that runs with Windows called SW67602 It is downloadable on the site www adfweb com and its operation is described in this document This manual is referenced to the last version of the software present on our web site The software works with MSWindows XP Vista Seven 8 32 64bit When launching the SW67602 the window below appears Fig 2 Note It is necessary to have installed Net Framework 4 SW67 7602 PROFINET Modbus Master Converter 7 Opened Configuration of the Converter Begin Examplel Step 1 a New Configuration u Open Configuration Step 2 gt Set Communication Step 3 B PROFINET XML Step 4 Step 5 JE Update Device www ADFweb com Figure 2 Main window for SW67602 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 14 di 36 Industrial Electronic Devices k NEW CONFIGURATION OPEN CONFIGURATION The New Configuration button creates the folder which contains the entire device s configuration SW67 7602 Create New Configuration Name of the new Configuration Example A device s configuration can also be imported or exported To clone the configurations of a Programmable PROFINET Slave
14. IMATIC Card Reader Device overview g Y Module Rack Slot laddress Q address Type Order no i v guide 0 0 CAN HD67606 A1 gt 0 0 Inter SERIAL 0 1 v Module_1 0 2 Module 12346 0040 M Submodule 1 0 22 68 82 Submodule 1 12345 0040 51 Submodule 2 23 64 88 Submodule 2 12345 0040 52 0 lt jill B v Information info Diagnostics General Orderno 12345 0040 52 General _ General Version 4 Catalog inf gt PROFINET inte Identification SA Description Description of submodule 2 Ara Mardule n j u gt I 4 Portal view rh SERIAL v Project Guide opened ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 34 di 36 Industrial Electronic Devices 5 Load the configuration into the PLC Extended download to device Configured access nodes of PLC_1 Device Device type Type Address Subnet PLC_1 CPU 1212C ACID PNIIE 192 168 2 50 PNIIE_1 CM 1243 5 CM 1243 5 PROFIBUS 2 Type of the PG PC interface GL PNE io PGIPC interface E Broadcom NetLink TM G 7 a Connection to subnet PNIIE_1 lv sase OOOO y Accessible devices in target subnet Show all accessible devices Device Device type Type Address Target device P
15. Identifier Number of error for poll 1 Number of error for poll 2 In this example for the Modbus poll 1 Modbus Reading request the errors are 0 and fort he Modbus poll 2 Modbus Writing Request the errors are 5 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 25 di 36 Industrial Electronic Devices B3 command This command allows to enable the Transparent it will be possible to send Modbus commands directly from Ethernet side The converter will become completely transparent Byte O Byte 1 Transparent Mode Ox01 Poll disabled 0x00 Poll enabled If the message is received correctly the same message will be sent back by the converter Note A When the Transparent Mode is enabled the Modbus polling will stop on Modbus side TA Note The port used for send receive the frames is defined in the section Set Communication step in the field Port B4 command This command allows to read the status of the Transparent Mode enabled disabled REQ Byte 0 RES Byte 0 Byte 1 0x01 Transparent Mode disabled 0x00 Transparent Mode enabled ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 26 di 36 Industrial Electronic Devices B5 command This command allows to enable disable the polling to a single Modbus slave REQ Byte O Byte 1 Byte 2 Slave ID 0x00 0x01 0x01 Di
16. LC_1 CPU 1212C ACID PNIIE 192 168 2 50 PLC_1 PNIE Access address Load preview Ep creck before acing Status Target Message Action HA rci Ready for loading Flash LED v gt Stop modules All modules will be stopped for downloading to device Stop all Online status information v gt Device configurati Delete and replace system data in target Download to device g Connected to address 192 168 2 50 a i 4 Scanning ended v gt Software Download software to device Consistent download v gt Additional inform There are differences between the settings for the project and the se 4 Overwrite all ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 35 di 36 Industrial Electronic Devices DISCLAIMER All technical content within this document can be modified without notice The content of the document is a under continual renewal For losses due to fire earthquake third party access or other accidents or intentional or accidental abuse misuse or use under abnormal conditions repairs are charged to the user ADFweb com S r l will not be liable for accidental loss of use or inability to use this product such as loss of business income ADFweb com S r l shall not be liable for consequences of improper use OTHER REGULATIONS AND STANDARDS WEEE INFORMATION Disposal of old electrical and electronic equipment
17. PE E Firmware Read Firmware when finish Project Read Project when finish ai Execute update firmware Ver 1 002 INIT Waiting FIRMWARE Waiting FROJECT Waiting Figure 6 Update device windows ADFweb com S r l iy User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 20 di 36 Industrial Electronic Devices If you know the actual IP address of the device you have to use this procedure Turn on the Device with the Ethernet cable inserted Insert the actual IP of the Converter Press the Ping button must appear Device Found Press the Next button Select which operations you want to do Press the Execute update firmware button to start the upload When all the operations are OK the device automatically goes at Normal Mode At this point the configuration firmware on the device is correctly update J Note When you install a new version of the software it is better if the first time you do the update of the Firmware in the HD67602 232 Al or HD67602 485 A1 device J Note A When you receive the device for the first time you have to update also the Firmware in the HD67602 232 A1 or HD67602 485 A1 device A Warning If the Fig 7 appears when you try to do the Update before require assistance try these points Try to repeat the operations for the updating Try with another PC Try
18. ase the status of each Modbus request defined in the section Set Access is saved starting from the byte of the PROFINET array defined in the section Set Communication Each bit will represent the status of a Modbus request If for a request the converter receives a correct response the status bit is put to 0 If for a request the converter receives a wrong response or it doesn t receive any response the status bit is put to 1 Example In the section Set Access are defined 8 Modbus reading requests Modbus Read table and 8 Modbus writing requests Modbus Write table The Modbus reading requests are working and the Modbus writing request are not working The status bits of the Modbus Diagnostic on PROFINET will be 0 0 of of of 0 20 fd to 1 1 1 1 1 1 where x is the starting byte of the PROFINET array where the Modbus diagnostic is saved ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 22 di 36 Industrial Electronic Devices ADVANCED FUNCTIONS In the HD67602 A1 are implemented some advanced commands that allows to check the functioning of the converter and send some Modbus commands directly from Ethernet side To use them it is necessary to send UDP messages to the port 5000 The function of each command and the structure of the UDP messages are described below BO command This command allows to
19. cable to connect the device to a PC PLC other is recommended the use of a cross cable Connectors Etherneti port RJ45 Plug i f PET T eooo s RS232 The connection from RS232 socket to a serial port example one from a personal computer must be made with a NULL MODEM cable a serial cable where the pins 2 and 3 are crossed It is recommended that the RS232 cable not exceed 15 meters iConnector2 RS232 Isolated port GND Ground to Isolated Ground Rx Rx line Tx Tx line l GND RX TX ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 12 di 36 Industrial Electronic Devices RS485 For terminate the RS485 line with a 220 resistor it is necessary to put ON dip 1 like in figure Connectors Dip Switch B RS485 Isolated port Dipi RS485 Termination Resistor S Shield to Isolated Ground aA 220 Ohm B Negative wire S A Positive wire SBA The maximum length of the cable should be 1200m 4000 feet Here some codes of cables Belden p n 8132 2x 28AWG stranded twisted pairs conductor foil shield braid shield Belden p n 82842 2x 24AWG stranded twisted pairs conductor foil shield braid shield Tasker p n C521 1x 24AWG twisted pair conductor foil shield braid shield Tasker p n C522 2x 24AWG twisted pairs conductor foil shield braid shield ADFweb com S r l User Manual PRO
20. er Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 18 di 36 Industrial Electronic Devices MODBUS WRITE The means of the fields are In the field Slave ID the address of the Modbus device that you have to SW6 602 write is defined Set Modbus Access In the field Type insert the data type of the register you would like to read You can choose between the following o Coil Status o Holding Register In the field Address the start address of the register to be written is defined Figure 5 Set Access gt Modbus Write window In the field NPoint insert the number of consecutive registers to be written In the field Poll Time insert the time to make this request If the field On Change is checked the gateway send the Write request in Modbus when the data change the value In the field Max Error is the number of errors continues that the gateway waits before suspending the poll until the next reboot If is set to zero this function is disabled In the field Position insert the address of the PROFINET array where read the information In the field Start Bit insert the start bit of the first byte of the field Position where start to read the data to write Valid only for the Coil Status In the field Mnemonic the description for the request is defined Holding Register aaa 1 Holding Register
21. fier 0xB1 you can read the status of the Modbus Reading requests and then the status of the Modbus writing requests Example Referring to the previous example if we read the status of the enabling disabling the response from the converter will be Byte 0 Byte 1 Byte 2 po Byte Byte Poll Poli Poll2 Poll3 Poll4 PollS Poll6 Poll7 Poll8 Poll9 Poll10 Poll11 Poll12 Poll13 Poll14 Poll15_ 1 1t 1 0 of of tt ad 1 1 0 0o j o 0 pt a tf a 0 ADFweb com S r l An User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 24 di 36 Industrial Electronic Devices B2 command This command allows to see the number of errors for each Modbus poll defined in the section Set Access REQ Byte O0 RES Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Byte 7 Byte 8 aa 0xB2 Number of errors for Poll 1 Number of errors for Poll 2 Ta J Note In the UDP message after the command s identifier 0xB2 you can read the number of errors for the Modbus Reading requests and then for the Modbus writing requests defined in the section Set Access Example We have defined one Modbus Reading request and one Modbus Writing request in the section Set Access We want to know the number of error for each poll so we use the B2 command REQ Byte 0 ByteO RES Byte O Byte 1 Byte 2 Byte 3 Byte4 Byte5 Byte 6 Byte 7 Byte 8
22. he slaves Modbus MODBUS READ The means of the fields are In the field Slave ID the address of the Modbus device you have to read SW6 602 is defined Set Modbus Access Inthe field Type insert the data Modbus Read Modbus Write type of the register you would like to z m ie Jadan Poll Time Max Error Position Start Bit Mnemonic read You can choose between the BEER abs Mit an Soi Test me acting Sta E 1 Holding Register 1000 o following i J l 2a 2 Holding Register 2000 o o Coil Status L o Input Status 3 o Holding Register o Input Register In the field Address the lt tart Figure 4 Set Access Modbus Read window address of the register to be read is defined Inthe field NPoint insert the number of consecutive registers to be read Inthe field Poll Time insert the time to make this request In the field Max Error is the number of errors continues that the gateway waits before suspending the poll until the next reboot If is set to zero this function is disabled Inthe field Position insert the address of the PROFINET array where place the information In the field Start Bit insert the start bit of the first byte of the field Position where start to insert the data read Valid only for the Coil Status and Input Status Inthe field Mnemonic the description for the request is defined ADFweb com S r l Us
23. ial Nr B8364 GND V OV JT0V Ground V Positi ir Connector2 V Positive wire RS232 Isolated port V AC min 8V max 24V V DC min 12V max 35V GND Ground to Isolated Ground Rx Rx line Tx Tx line Figure 1a Connection scheme for HD67602 232 Al1 User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 6 di 36 Industrial Electronic Devices Dip Switch A Dip1 Must be at ON Dip2 Functioning Mode _ j 1om A HBHH Es SO T mamneddiais hrai RS485 port Power Supply OLED MT Dip Switch B BHN AC OLED BF 12 35 DC OLEN SF 5 mea i11 A peoriner Modbus Master Converter Smm O LEDS Ethernett Tx EOT web HD67602 485 A1 C B Ehana www ADFweb com KoHS D LEDS Ethernet Tx Qn Dip Switch A Ethernet Date Code cs MAC 10 64 E2 07 21 26 30 13 B176 Serial Nr B8192 Ethernet2 Tx Ethernet2 Port RJ45 Plug Connector1 gt gt ABS 5 8 i Power Supply port PA i z i j E OV Grou nd V Positive wire Dip Switch B Connectors Dipi RS485 Termination Resistor RS485 Isolated port Open n 220 Ohm S Shield to Isolated Ground VAC min 8V max 24V V DC min 12V max 35V B Negative wire Dip2 Not used A Positive wire Figure 1b Connection scheme for HD67602 485 Al1 ADFweb com S r l User Manual PROFINET Modbus Mas
24. ise contact us at the address support adfweb com RETURN POLICY If while using your product you have any problem and you wish to exchange or repair it please do the following Obtain a Product Return Number PRN from our internet support at www adfweb com Together with the request you need to provide detailed information about the problem Send the product to the address provided with the PRN having prepaid the shipping costs shipment costs billed to us will not be accepted If the product is within the warranty of twelve months it will be repaired or exchanged and returned within three weeks If the product is no longer under warranty you will receive a repair estimate ADFweb com S r l Via Strada Nuova 17 IT 31010 Mareno di Piave TREVISO Italy Phone 39 0438 30 91 31 Fax 39 0438 49 20 99 www adfweb com ADFweb com S r l
25. l file 3 before double clicking on Serial module TA Siemens Guide Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation al PORTAL fT Ey saveproject amp X 3 2 kK SEM BH a Ei BE BS coonline K Go offline Am x 5 Guide gt Devices amp networks Topology view g Network view Options z Devices jl O Sh re Network f Connections S7 connection BAE 2 Qs 100 I gt F Se i lt Search gt a Add new device a l 3 E Devices amp networke A PLC_1 SERIAL a A Filter 5j v La PETTE ACIDIR CPU 1212C CAN gt i Drives gt Unassigned devices Notassigned v ij Gateway gt g Common data gt i Siemens AG l b Bi Documentation settings 7 v jg ADFweb com O gt B Languages amp resources ha b F HD67078 gt igi Online access lt Mi L BALI gt ig HD6707882 v gt BR SIMATIC Card Reader a i silo S Y Device Type Address in subnet Subnet Master system Comr gt E HD67604 SIMATIC 1200 station_1 SIMATIC 1200 station lA gt ig HD67604a1 gt PLCI CPU 1212C ACIDCIRly B gt jg HD67605 v GSD device_ GSD device 35 lt sila 1 am gt 9 Properties iinfo Gy 2 Diagnostics General General General Order no HD67606 A1 4 Name GSD device_1 Author Utente Description Comment P
26. mi mi eee p 23 mm 0 9 inch 120 mm 4 72 inch Housing PVC Weight 200g Approx Figure 8 Mechanical dimensions scheme for HD67602 232 A1 ADFweb com S r l User Manual Document code MN67602_ENG PROFINET Modbus Master Revision 1 004 Pagina 28 di 36 O LEDI ON O LED Modbus comm Dip Switch B O LEDI Device state O LED4 Not used J Da a eee z BACnet Modbus Master Converter C LEDS Etherneti Tx 20 os Be C O LEDS Ethernet Tx a n ous Ethernet OH SMEA Date Code c s MAC 10 64 2 07 23 B3 rai 30 13 B176 Serial Nr B8840 120 mm 4 72 inch Housing PVC Weight 200g Approx 101 mm 3 98 inch 107 mm 4 21 inch 0 9 inch Figure 9 Mechanical dimensions scheme for HD67602 485 A1 iy User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 29 di 36 Industrial Electronic Devices ORDERING INFORMATIONS The ordering part number is formed by a valid combination of the following HD67602 232 Al1 L Connectors Type 1 Removable 5mm Screw Terminal Enclosure Type A 1M 35mm DIN Rail mounting Serial Line 232 RS232 485 RS485 Device Family HD67602 PROFINET Modbus Master Converter Order Code HD67602 232 A1 Converter PROFINET Modbus Master Converter RS232 serial Order Code HD67602 485 A1 Converter PROFINET Modbus Master Converter RS485 serial ACCESSORIES Order Code AC340
27. nappropriately installed and operated by untrained personnel These instructions refer to residual risks with the following symbol This symbol indicates that non observance of the safety instructions is a danger for people that could lead to serious injury or A death and or the possibility of damage CE CONFORMITY The declaration is made by our company You can send an email to support adfweb com or give us a call if you need it ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 4 di 36 Industrial Electronic Devices i EXAMPLE OF CONNECTION PROFINET network Modbus RS485 network mi wi E E A HD67602 485 A1 Internet Modbus RS232 network Integrated Switch m 0000 SSM HD67602 232 A1 ADFweb com S r l Industrial Electronic Devices CONNECTION SCHEME Dip Switch A Dipi Must be at ON Dip2 Functioning Mode ADFweb com S r l _ j O LEDI OM LED MT O LEDS AF O LECH SF pina LA O LEDS Etherneti Te Ethernet1 O LECS Ctherrneets Tk Ethernet it User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 5 di 36 z Tx Rx 5 V OV RS232 port Power Supply 8 AC of 12 ISV Be PROFINET Modbus Master Converter HD67602 232 A1 C Qn vous Date Code es MAC 10 64 E2 07 21 D7 30 13 B176 Ser
28. rofinet CAN Adapter 4 Portal view Project Guide opened ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 32 di 36 Industrial Electronic Devices 3 Connect the PLC to the HD67602 module by drawing the Ethernet wire between the two Ethernet ports Then assign the IP Address 1 defined in the Compositor_SW67602 to the HD67602 Then double click the Module 2 TA Siemens Guide Project Edit View Insert Online Options Tools Window Help Totally Integrated Automation P fO Ed saveprojet SB X 3 2 X 2M HY a EG BR g coonline o cooffine gy IR IE X 4 ORTAL Guide gt Devices amp networks i Ds Topology view Network view Devices 5 O A tO system PLC_1 PROFINET 10 System 100 Guide Ef Add new device sy Devices amp networks gt i PLC_1 CPU 1212C AC DCIRly gt gg Common data gt Documentation settings Hojeye gt auempiey E b F Languages amp resources gt Online access gt 5 SIMATIC Card Reader 00 BUNUQ Network overview v Device Type Address in subnet Subnet Master system Comment SIMATIC 1200 station_1 SIMATIC 1200 station gt PLCI CPU 1212C ACIDCIRly v GSD cevice_1 GSD device b SERIAL CAN 73 Info a Diagnostics _ General Gnani M Use IP protocol Ethernet addres SetlP address in the project gt
29. s boards gt ig DI v Languages amp resources v ae mp Zj Project texts lt T gt oi a se _ Project languages Install general station description file x gt tgp Online access Device overview Source path C lUsers Federico Deskto Y y SNE CSN ENSI v Module Slot laddress Qaddress Ty P 103 Content of imported path m E E al i a i a Ea z Install general station description file A File a eT EA mrm CM 1243 5 ee M GSDML V2 25 ADFweb HD67604 20121221 xml 2 25 English Notyetinstalled ADFweb Gateways init x a CPU 1212C ACIDCIRly Installation result La minina g Installation was completed successfully E Properties E info ieee stati Peancet k 27 Installation of GSD files The installation may take some time Remaining time in seconds 27 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 31 di 36 Industrial Electronic Devices 2 Press the Devices and networks button 1 from the right drop down menu under Other field devices gt PROFINET I0 gt Gateway gt ADFWEB com gt HD67602 double click on Serial module 2 Note A If you have installed more than one xml file go to the Information section and in the Version field select the correct xm
30. sable polling for Modbus slave 0x00 Enable polling for Modbus slave If the message is received correctly the same message will be sent back by the converter Example They are connected 3 Modbus slaves Modbus IDs 1 2 3 to the converter and we want to stop the polling to the slave with ID 2 The message to send to the converter will be Byte 0 Byte 1 Byte 2 ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 27 di 36 Industrial Electronic Devices B6 command This command allows to enable disable a single poll on Modbus side REQ 0x01 Disable poll 0x00 Enable poll If the message is received correctly the same message will be sent back by the converter Example In the section Set Access are defined 3 Modbus reading requests and 3 Modbus writing requests We want to disable the first Modbus writing request 4th poll The message to send to the converter will be Byte 0 Byte 1 Byte 2 ADFweb com S r l AL Industrial Electronic Devices MECHANICAL DIMENSIONS Rx S CI LEDI ON pa V OV O LED MT 8 24V AC or GDI BF 12 3SV DC O LED SF i f ui A a ay Ba e e O LEDS Etherneti Tx RNE ETE ofaa L Etherneti e S www ADFweb com wo E O O LEDS Ethernet Tx Qn HS ec Dip Switch A Ethernet2 Date Code c s MAC 10 64 E2 07 21 D7 vT gt N Ered 30 13 B176 Serial Nr B8364 oO a
31. splay ON Maintenance Problem is present Blinks quickly Boot state yellow OFF No maintenance are present Blinks very slowly 0 5Hz update in progress ON The Ethernet connection is defective the IP address exists several times in the network the own NameOfStation exists several times in the network no 3 BF bus fault red IP address has been set Blinks quickly Boot state Blinks very slowly 0 5Hz update in progress Flashing At least one configured AR is no longer in the data exchange OFF No errors are present Ae SE iepaupserron rea ON At least one AR is not in the data exchange Blinks quickly Boot state l oe OFF No errors are present Blinks very slowly 0 5Hz update in progress Blinks quickly Boot state 5 Eth t1 T en ernet1 Tx green Blinks very slowly 0 5Hz update in progress Blinks quickly Boot state 6 Eth t2 T ernet2 Tx green Blinks very slowly 0 5Hz update in progress ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 11 di 36 Industrial Electronic Devices PROFINET The PROFINET connection must be made using Connector3 and or Connector4 of HD67602 xxx Al1 with at least a Category 5E cable The maximum length of the cable should not exceed 100m The cable has to conform to the T568 norms relative to connections in cat 5 up to 100 Mbps To connect the device to an Hub Switch is recommended the use of a straight
32. ter Document code MN67602_ ENG Revision 1 004 Pagina 7 di 36 Industrial Electronic Devices CHARACTERISTICS The HD67602 232 A1 and HD67602 485 A1 are a PROFINET Modbus Master Converter They allows the following characteristics Up to 512 bytes in reading and 512 bytes in writing Triple isolation between Modbus Power Supply Modbus Ethernet Power Supply Ethernet Two directional information between Modbus bus and PROFINET bus Mountable on 35mm Rail DIN Wide power supply input range 8 24V AC or 12 35V DC Wide temperature range 40 C 85 C 40 F 185 F 4 4 CONFIGURATION You need Compositor SW67602 software on your PC in order to perform the following Define the parameter of PROFINET line Define the parameter of Modbus line Define the data to Read in Modbus and where to map these information in the PROFINET array Define the data to Write in Modbus and where to take the information in the PROFINET array Update the device ADFweb com S r l User Manual PROFINET Modbus Master Document code MN67602_ENG Revision 1 004 Pagina 8 di 36 Industrial Electronic Devices POWER SUPPLY The devices can be powered at 8 24V AC and 12 35V DC For more details see the two tables below Consumption at 24V DC Device Consumption W VA Caution Not reverse the polarity power Connectori1 l e Power Supply port c Positive wire gt min 8V max 24V
33. to restart the PC ita If you are using the program inside a Virtual Machine try to use in the main FIRMWARE PROTECTION Operating System If you are using Windows Seven or Vista or 8 make sure that you have the administrator privileges Take attention at Firewall lock Check the LAN settings Wer 1 002 PROJECT PROTECTION Figure 7 Protection window In the case of HD67602 232 A1 or HD67602 485 al1 you have to use the software SW67602 A www adfweb com download filefold SW67602 zip ADFweb com S r l iy User Manual PROFINET Modbus Master Document code MN67602_ ENG Revision 1 004 Pagina 21 di 36 Industrial Electronic Devices MODBUS DIAGNOSTIC OVER PROFINET During the normal functioning of the device if all the programmed Modbus requests have received a valid reply not an exception error every PROFINET frame has the Data Status byte at the value of 0x35 Otherwise if at least one Modbus reply is not valid the Data Status byte assumes the value 0x15 that means Problem Indicator If this happens using the port 5000 there is a UDP message that is possible to send in order to understand which Modbus modules have generated that error This command is described in the section Advanced Functions under the B2 command Moreover it is possible to save the Modbus Diagnostic on Output PROFINET array using the field Diagnostic of the section Set Communication In this c
Download Pdf Manuals
Related Search
Related Contents
M-Cab 7070017 video converter 2 Getting Started with NI SignalExpress Tektronix Edition Samsung RT2ASHTS Hướng dẫn sử dụng(XP) Integral IN3T2GRYNGX2 memory module 7893 GLSS2540 User Guide AW.qxd - Scule Ieftine English User Guide: - Chelmsford Borough Council PNP202 - Textfiles.com Bornes-Mode d`emploi Relación de los trastornos mentales con la Copyright © All rights reserved.
Failed to retrieve file