Home
User Manual Display and Firmware Cleaning Generator with rotary
Contents
1. f T i 11 0111 NNS SSSA 3 ULTRASONICS TECHNOLOGY GmbH 1 WwsoniKKs w JLTRASONICS TECHNOLOGY 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr 1 of 37 CN kke ULTRASONICS TECHNOLOGY Table of contents 5115 s eU dA REI I m m 3 Men items and ndulfvs x eai bue a salad ev Gn 3 4 Navigation Erene m mmEm 5 9 6 10 48 18 1 e 8 ME E 8 7 er 8 Be AO Q 9 108011 ease 9 4 1 8 10 4 2 PCV NCCES CLINGS 12 4 3 Reseller settings ccccsecscenececeesnecncaneneoneanseeonecesaesnecesarsnsoneatsesonsanseesasonsansnesasanss 14 oprat onr Over essc T ee 19 1 Basic network 19 1 1 IP Configuration HER DN RU RR Eti E a 19 1 2 11545184 19 1 3 esate coc rece
2. 49 0 7083 92 48 360 Fax 49 0 7083 92 48 370 Mail info sonikks de www sonikks de www sonikks com Editing first edition June 2013 second edition September 2013 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr 37 of 37
3. ID 2 2 bytes 1 byte 1 byte N bytes On a network a master can send many requests in a short time and the answers to these requests may come in another order This identifier allows the master to link each response it receives to one command it has sent Thus each request has a unique identifier that the response also contains These 2 bytes indicate which protocol is used 00 00h corresponds to Modbus TCP The number of bytes contained in the rest of the message slave ID Function and Data The device address on the network Each slave present on the network has its own ID number from 1 to 247 allowing the master to indicate the recipient of the command i e to which device it is addressed Note that messages sent to slave 0 are processed by all the slaves The code for the function that the slave must perform The Modbus specification defines a set of functions See below and assigns a code to each of them Additional data accompanying the function code such as the address of the starting register the number of registers concerned and the data to be written for Write commands NB the values are in hexadecimal marked h that is to say that 2 digits represent 1 byte 2 2 Data types in Modbus Modbus differentiates 4 data types based on length and accessibility criteria Coils Discrete Inputs Input Registers Holding Registers The discrete inputs are one bi
4. The warranty does not cover malfunctions injuries and damages that result from misuse unauthorized modifications and external causes such as acts of nature Warranty exclusion applies in the following cases Damage due to wrong handling or tampering Damage due to wrong application Damage due to shock dirt or moisture Damage due to operation by non qualified staff Damage due to nonobservance of safety regulations or accident prevention regulations Damage due to modifications to the operating manual VV VV 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 36 of 37 CN kke ULTRASONICS TECHNOLOGY Imprint Purpose and use The operating manual explains the handling and operation of the display and the firmware in connection with standard accessories for use in laboratories and the industry Please read especially the safety instructions carefully and observe them all The operating manual should always be at hand to help you solve any questions or problems that may arise All rights reserved This manual has been prepared with all due care nevertheless faults and omissions cannot be fully precluded soniKKs GmbH reserves the right to make changes to the technical data and specifications during the course of further development of the product without given prior notice Address soniKKs Ultrasonics Technology GmbH Neuenb rgerstraDe 72 75335 Dobel Germany Phone
5. In IPv4 the netmask also called subnet mask is a 32 bit word used to divide a network into subnetworks As for the IP address it is commonly given in the dotted decimal notation This mask is used to indicate which part of the IP address corresponds to the network address and thus which part corresponds to the host identifier The ones delimit the bit field of the network whereas the zeros indicate the host s bit field 2 Modbus TCP protocol overview NB For more detailed information about the Modbus protocol you may want to refer to the official documentation available at http www modbus org Modbus is a Master Slave protocol used for supervisory control and data acquisition SCADA in which the master usually a PLC can obtain and modify parameters contained in the slave s memory via Read Write commands Only the master can send commands to the slave which executes it and systematically sends back a response even for Write commands 2 1 Modbus TCP pattern A typical Modbus TCP frame is formatted as shown below It is composed of a 7 byte header that contains indications about the message followed by the actual data to be transmitted Example 00 58n 00 00n 00 06n Oln 04n BE 00 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 20 of 37 W kke ULTRASONICS TECHNOLOGY The different packets have the following significations Transact 2 bytes
6. 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx 25 of 37 sonikKKs ULTRASONICS TECHNOLOGY 3 3 2 Input Registers Read only 3001 Short Status code Current error code 3002 Short reserved reserved 3003 Short Actual Power Actual power level o 3004 Short reserved reserved 3005 Short Generator Temperature Internal temperature C 3006 Short reserved reserved 3007 Long Actual Frequency Working frequency Hz 3009 Long reserved reserved 3011 Long Actual Timer Elapsed time during the current run ms 3013 Short reserved reserved 3014 Long reserved reserved 3101 Short reserved reserved 3102 Short Total Power Maximum total output power W 3110 Long reserved reserved 3112 Long reserved reserved 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXx page 26 of 37 sonikKKs ULTRASONICS TECHNOLOGY 1 1 2 Holding registers Read Write 4001 1 Short reserved reserved 4002 1 Short reserved reserved 4004 1 Short reserved reserved 4005 1 Short reserved reserved 4006 2 Long Start Frequency 2 Start frequency Hz 4008 2 Long Stop Frequency Stop frequency Hz 4010 2 Long reserved reserved 4012 2 Long ON Timer ON time ms 4014 2 Long OFF Timer OFF time ms 4016 2 Long reserved reserved 4018 2 Long reserved reserved 4020 2 Long reserved reserved 4022 1 Short Nominal Power Nominal power level 4023 1 Short reserved reserved 4024 2 Long reserved reserved 4026 1 Short reserved reserved 2 Pl
7. B subnet Y Dynamic Host Configuration Protocol DHCP a DHCP configuration server will automatically provide the server with an IP address taken from its own pool of available addresses v Bootstrap Protocol BOOTP a BOOTP configuration server will automatically provide the server with an IP address taken from its own pool of available addresses NB The user can enable either one of those modes or several modes at the same time 1 2 IP address The IP address is an identifier that allows a device to connect to an IP network Each device present on the network has a unique IP address in order to be reached easily The Modbus TCP servers integrated in soniKKs generators use an IPv4 address that consists of a 32 bit word that is usually given in the dotted decimal notation four decimal numbers ranging from 0 to 255 separated by dots ex 192 168 178 123 The IP address contains two pieces of information that are the network number and the host number which is the actual identifier of the device on the network 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 19 of 37 sonikKKs ULTRASONICS TECHNOLOGY The size of these numbers which means the number of bits dedicated respectively to the network and the host ID is defined by the first three bits of the address as follows Size of host Leading Size of network number bit number bit field field B 010 16 16 1 3 Netmask
8. LED Indicates that ultrasonic power is active Error LED gt ON there is malfunction of the generator Blinking power level not reached during the last run the generator has overheated and the electronic overtemperature fuse has shut off the generator Temp LED Blinking the generator shut down during the last cleaning process due to overtemperature If you start sonic again the LED disappears ON the generator is set to stop after a predetermined LED condition has been reached This condition can be a delay an energy threshold LED gauge Output Shows the effective ultrasonic power in steps of 10 of the nominal power OUTPUT 20 40 60 100 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXX page 4 of 37 CN kke ULTRASONICS TECHNOLOGY Navigation chart Your logo Hello Nominal power Output gauge User password enabled 2015 01 28 Display Contrast Backlight Beeper Setup User must authenticate himself with a password Information about the device User password disabled User has access to the user settings with a simple push 9 User settings soniKKs GmbH Ultrasonics Technology XXXX XXXX page 5 of 37 18001137 Trans ble Nominal power only 7 0 Q E Adjustment adjustable when nominal source is set to Front sSonikKKS ULTRASONICS TECHNOLOGY User setti
9. Power In this screen you will find a gauge which indicates the actual power level emitted by the generator The layout of this screen depends on how you choose to control the nominal power level see Nominal source screen If the nominal power is controlled by an external voltage the screen features the gauge along with its digital value No adjustment mode is available for this screen in this configuration If the nominal power is set via the encoder or a communication bus the screen also displays the nominal power level By pushing the encoder you can enter adjustment mode to modify this value in real time Push again to quit the adjustment mode 2 Display Here you can tune display related parameters such as the contrast and the backlight You can also activate de activate the beeper Push the rotary encoder to enter adjustment mode Select the desired contrast level by turning the encoder and push it to confirm the change Repeat the same operation for the backlight As you will notice you can choose between the three options below v On the backlight is switched on permanently Y Auto the backlight switches automatically off after a while if the generator is not used Y Dim the backlight is dimmed to a low level 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr 8 of 37 sonikks ULTRASONICS TECHNOLOGY Push again to set the displayed option and go on to
10. behaving poorly Resetting the generator fixes the problem flushes the bloated TCP queues full of stale requests The core problem is that the master client is using the old RS232 RS485 serial assumption that no answer means poll was lost However in the case of the Modbus TCP gateway in between it could also mean the gateway has not had time to answer because it is being overworked Also remember that TCP is reliable the gateway receives all polls sent without error The result is that the master client retries which makes it harder for the gateway to catch up Here is the scenario that is causing the problem 1 2 Master sends out Poll A with a timeout of 1000 msec Gateway receives the poll but the serial link is busy so it waits possibly another MB TCP master is being serviced or timeouts waiting on off line stations are creating a backlog of new requests After approximately 850 msec the serial link is now free and the gateway forwards the MB RTU request to the controller The gateway receives the response from the generator and since the timeout on the gateway and master are not inherently synchronized the gateway sends the MB TCP response into the TCP socket In the best of times it may take 5 10 msec for this response to actually go down the gateway s TCP stack across the wire and up the master s TCP stack If a WAN or satellite is involved it could take 750 msec or longer Meanwhile before the m
11. can lead you to the level 2 and level 3 settings given the correct password is entered Proceed as usual to activate the adjustment mode and change the settings When the level access parameter is set to open the third line will be hidden gt FACTORY SETTINGS A confirmation dialog will appear if you push the encoder By choosing yes the factory settings will be restored gt EXIT Pushing the rotary encoder makes you leave the settings and brings you back to the Power screen 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 13 of 37 _ ULTRASONICS TECHNOLOGY E 4 3 Reseller settings gt TESTBUTTON In this display you can adjust how the testbutton Test works Four options are available Off Push Latch and Trigger Proceed as usual to activate the adjustment mode and change the settings v Off the testbutton is unused v Push the generator is ON as long as the testbutton is pushed v Latch by pushing the testbutton you switch the generator on pushing again switches the generator off v Trigger this option is only recommended when the ON timer is set see Degas screen A short trigger impulse starts the generator The device automatically switches off when the predetermined time is reached see draft in item description Remote start mode gt REMOTE START MODE Here you can adjust how the remote signal works You can choose bet
12. exception that the slave is unreachable or timed out This prevents the master from sending more polls than the gateway can process and building the TCP buffer queue up in the first place You can enable the use extended exception responses in the server configuration as well see page 22 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 34 of 37 sonikKKs LTRASONICS TECHNOLOGY Troubleshooting soniKKs GmbH Ultrasonics Technology Transducer broken Short circuit at RF cable Error on the generator Start frequency too close to resonance frequency Transducer broken Error on the generator Transducer not connected or broken Cable broken Fan broken Error on the generator Doc nr o Replace transducer Replace RF cable Contact soniKKs Select higher value for start frequency Replace transducer Contact soniKKs Connect or replace transducer Replace cable Check fan Check if air suctioning works Contact soniKKs page 35 of 37 KN kks ULTRASONICS TECHNOLOGY Maintenance and care There is no need for special maintenance Please remove any dust and dirt with a damp woven fabric Do not use any chemicals to clean the device Keep the cooling slots clear all time Warranty The period and extent of the warranty is part of the commercial terms and conditions Special agreements are part of the confirmation of the order
13. out 300 polls per minute 5 polls per second but the gateway can only process on average 290 of those per minute and some carry over After 10 minutes you may have up to 100 stale responses waiting in your master s TCP buffer This makes it appear as though there is now a 20 second lag in data reaching the master Here is the source of your data taking longer and longer to propagate to Master Client problem However if the master does implement Modbus TCP sequence numbers then the stale responses are rejected If the master is smart enough to resynchronize itself Response B does not kill poll C but master waits more then this resynchronization will manifest itself as the slave going off line and back on line intermittently If the master is not smart enough to resynchronize once this out of sync behavior occurs your slave goes permanently off line As you can see this Modbus TCP master is out of sync and the only cure may be to either restart the master or power cycle the soniKKs generator Both actions close the socket and purge the backlogged messages The use of a gateway brings out this shortcoming in master client Modbus TCP designs but even a pure MB TCP to MB TCP network would suffer from this problem if the poll cycle approached the average response time Any Modbus TCP network going through WAN will discover this Ideally the Modbus TCP master application used should implement the sequence number and grace
14. see Passwords screen Indeed in this case these settings are not reachable from the Setup screen anymore The procedure to enter a password is the same as for the Setup screen EXIT Pushing the rotary encoder makes you leave the settings and brings you back to the Power screen 4 2 Advanced settings FREQUENCY The start and stop frequencies are adjusted by the manufacturer and should not be modified unless the generator has a problem In this case please discuss any modification with the manufacturer before PASSWORDS The level 1 and level 2 settings are by default protected by user customizable passwords These passwords can be read and modified in this screen Also under particular circumstances the user might want to be granted free access to the level 1 settings This can be achieved by adjusting the level access parameter XXXX XXXX 2015 01 28 soniKKs GmbH Ultrasonics Technology page 12 of 37 sonikKKs iLoiVL ULTRASONICS TECHNOLOGY Em You can choose between the two options below v Secure in the Setup screen a password is required to enter any of three settings including level 1 v Open in the Setup screen no password is asked Pushing the encoder will directly lead you to the level 1 settings The higher level settings are reached from the Advanced setup screen Please note that in any of the configurations above the Advanced setup screen
15. the beeper adjustment Choose between On and Off When ready push one last time to apply the change and quit the adjustment mode 3 Info Here you can see some information about the device v Engine Firmware revision of the generator v Display Firmware revision of the display Y Datecode date of production Y Serial Serial number of the device Runtime total operating time h mm ss 4 Setup To change the settings you need numeric passwords Please ask your reseller or manufacturer if you do not know them In the navigation chart you can see which settings require which password level User settings Password Level 1 gt Intermediate settings Password Level 2 gt Reseller settings Password Level 3 If the user password is disabled see Passwords screen no password is required in this screen Pushing the encoder will directly bring you to the user settings The higher security levels are reached from the Advanced setup screen If it is enabled you will be asked a password If you want to reach the user settings screens for instance you will have to enter the level 1 password 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXX page 9 of 37 CN kke ULTRASONICS TECHNOLOGY Pushing the rotary encoder will lead you to the screen on the right with the first digit displayed Turn the encoder until you reach the desired number When ready push the encoder to edit
16. the next digit As you can see the passwords used are 5 digit long Repeat the same operation for all of them Please note that a wrong combination will lead you to an error message 4 1 User settings gt DEGAS This screen contains the ON and OFF timers which cause when used together the generator to emit power cyclically The emitting and idle periods correspond respectively to the specified ON and OFF timer values When the testbutton or the remote is in Trigger mode the ON timer has a slightly different purpose see Testbutton and Remote start mode screens The OFF timer becomes unused gt NOMINAL SOURCE The nominal power can be controlled by an external voltage or tuned via the user interface the encoder and the communication buses Push the rotary encoder to activate the adjustment mode The currently set option is now highlighted By turning the encoder you can switch between the two options When the desired option is highlighted push the encoder again Herewith you confirm the setting and exit the adjustment mode v External voltage the amplitude can no longer be adjusted with the rotary encoder Instead it is set by an external voltage 5 10 V standard or rather 0 10 V user specific adjustment that corresponds to 50 100 output power v Front Comm Bus the nominal power can directly be adjusted via the rotary 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XX
17. timers When a screen is locked the bottom bar then shows LOCKED instead of PUSH TO ADJUST Trying to adjust parameters while the parameter locking is active will lead to an audio warning and of course the access will be refused gt EXIT Pushing the rotary encoder makes you leave the settings and brings you back to the Power screen 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXX page 18 of 37 ULTRASONICS TECHNOLOGY Operation over Modbus TCP The soniKKs cleaning generators can be equipped with an embedded server that enables them to be operated over TCP IP using the Modbus TCP protocol For these devices the user can configure the network settings as explained in this chapter 1 Basic network information 1 1 IP Configuration Mode The IP address of the device can be set manually in which case it is called a static address or automatically by an auto configuration server commonly a DHCP server it is then called a dynamic address In manual addressing mode the user sets the IP address himself and can additionally set a netmask see explanations below This static configuration will remain the same as long as the user does not change it again The automatic addressing mode includes different modes that correspond to different auto configuration protocols v AutoIP the server automatically generates its own IP in the 169 254 x x range with a Class
18. 00ams Note that this method is only applicable to consecutive registers The response from the device is the same frame without the written values 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 29 of 37 ULTRASONICS TECHNOLOGY 4 Errors In case an error occurs during the configuration on Network Settinas startup an error message will be displayed in the Network Settings screen and the server ERROR configuration will remain unchanged CONFIGURATION FAILED You may want to power cycle your generator again If the problem persists please contact us HOT AVAILABLE 5 Technical Support Using the soniKKs generator with Modbus TCP is normally easy However if a problem occurs it is difficult to troubleshoot without an in depth knowledge of Modbus and the system dynamics of polling Some general guidelines for troubleshooting Start polling slowly and increase speed gradually Keep in mind that in many situations the host application declares No response when in fact the device did respond and the application did not understand the response Recommended poll rates We recommend using the following values to configure your Modbus TCP master assuming that your network load and latency times are within the range of a few msec response timeout 275ms poll rate for fast updating process values 300ms poll rate for slow updating process values e g tempera
19. 20 2 Modbus TCP protocol OVErview ccccccscssccncsecseceececaenecncaesescnecnsessnecncaesesoneaesesousnsarsneasanseeeneanses 20 2 1 Modbus TCP EAS PEU ONE 20 2 2 Data By DCS I MODUS E E 21 2 3 Modbus memory map and functions 22 2 4 CX GED TODS raia 22 3 Operating a soniKKs Cleaning Generator over Modbus TCP 23 Configuring the generator s network 23 3 2 Specifications and adjustments eese eee eee eene nennen nnn nnn nnn nnn nnn nnns 24 3 3 soniKKs cleaning generator s Modbus map 24 3 4 Practical examples us scenbri ave EPibixEPPRUIdU RES dump 28 EOTS 30 b SUDDDLEeniwsviitvebdrten qa Ester RE iui IriM t 30 Biceusi ceo ycm 35 PION AICS and Care 36 MV AL AMY c 36 E HR m 37 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXX page 2 of 37 sonis ULTRASONICS TECHNOLOGY Parameter security The unit features a
20. XX XXxx page 10 of 37 sonikKs ULTRASONICS TECHNOLOGY encoder or the different communication buses gt DATE AND TIME In this screen you can read and modify the date and time of your generator s real time clock Using correct information and keeping the real time clock updated is important For instance this date and time will be fed into the error log which might be used by soniKKs for the maintenance of the device SENSOR INFO This screen displays various information the external voltage that can be used to control the nominal power see Nominal source screen the internal temperature of the generator and the external temperature LANGUAGE Here you can choose the language in which the display contents are displayed Our generators are currently configurable to four different languages English German French and Spanish Proceed as usual to activate the adjustment mode and change the settings ATTENTION For your own safety do not choose a language you do not understand The language changes immediately by confirming your choice and the menu appears in the chosen language which could be foreign to you 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 11 of 37 QsoniKKs ULTRASONICS TECHNOLOGY ADVANCED SETUP This screen allows to reach the intermediate and reseller settings You will especially use it when the user password is disabled
21. as a normally open or a normally closed contactor Normally open means that the relay will be closed 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 15 of 37 CN kke ULTRASONICS TECHNOLOGY upon start of the generator Conversely the relay will be opened upon stop if the relay polarity is set to normally closed gt ERRORLOG Here you can have an overview of the errors which have occurred on your device Each entry is referenced with the date and time the error happened and a small description of the error In some cases this description can be replaced by an error code Only the last one hundred errors are kept in memory Please note that there is no adjustable parameter in this screen Pushing the encoder only allows you to scroll through the log entries gt PASSWORDS The level 1 and level 2 settings are by default protected by user customizable passwords These passwords can be read and modified in this screen Also under particular circumstances the user might want to be granted free access to the level 1 settings This can be achieved by adjusting the level 1 access parameter You can choose between the two options below v Secure in the Setup screen a password is required to enter any of three settings including level 1 Open in the Setup screen no password is asked Pushing the encoder will directly lead you to the level 1 settings The
22. aster receives the Response A it gives up and makes the Modbus RTU assumption that the request must have been lost The master sends out a new MB TCP Poll B A few msec later there is a response that looks like a good Response B but actually is Response A If the master does not use a sequence number which many do not and has forgotten about pending poll A it wrongly assumes this is response B possibly with catastrophic results if Poll B was the same size but different register range Here is the source of the problem Generator returns the wrong data The master is idle and has no outstanding polls Yet the gateway has received Poll B by TCP IP It sends this out to Modbus RTU slave and gets an answer which means it s working normally and as expected 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 32 of 37 ULTRASONICS TECHNOLOGY 9 The gateway then returns Response B to the master if the socket is still open and there it sits in its TCP IP buffer The master is not expecting more responses so it neither receives nor purges the extra response 10 Master sends Poll C and magically finds a response waiting as soon as it looks in the receive buffer yet this is stale Response B received before poll C was even issued If the master does not implement Modbus TCP sequence numbers then it accepts the response B as satisfying poll C Imagine if the master is putting
23. below are accessible at the specified addresses see also section Modbus memory map and functions To simplify the notations only the lower part of the address is shown in the tables e g 44018 4018 Given the nature of the Modbus addressing scheme the address sent in the message should be register address 1 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 24 of 37 sonikKKs ULTRASONICS TECHNOLOGY 3 3 1 1001 1002 1011 1 1 1 2001 2002 2003 2004 2005 2006 2007 1 Coils Read Write Bit Start Stop command Bit reserved Bit reserved Discrete Inputs Read only Bit HF Status Bit ON OFF Status Bit Error Status Bit Start Command Status Bit Overtemp Status Bit Run Status Bit reserved 0 Start the generator 1 Stop the generator reserved reserved 0 No HF detected on output 1 HF detected on output 0 The generator is not emitting power 1 The generator is emitting power 0 Status OK 1 Status Error 0 No start command pending 1 Start command pending 0 Temperature OK 1 Temperature exceeded 0 Generator is idle 1 Generator is running reserved 0 Please note that the Run Status bit can be 1 even if the generator is not currently emitting power Example if an OFF Timer is set the ON OFF status will be 1 during ON periods and 0 during OFF periods whereas Run Status will be 1 during the whole run 2015
24. e content of the register 00 53 gt 834 of output power To tune it to 57 for example 39 the packet should be the following 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXX page 28 of 37 bul is ULTRASONICS TECHNOLOGY Master 00 ACh 00 00n 00 06n OF B5 00 39h The slave returns the same packet as it is a write command NB The output power level can only be set between 50 and 100 3 4 3 Setting timers The ON and OFF timers can be adjusted via the registers 40124 and 40144 Instead of setting them with two separate Write Holding Register commands you might want to adjust both with a single command In that case you can use the Write Multiple Registers function 104 as follows Master 00 ADn 00 00n 00 Oh OF AB 00 04 08 00 00 03 E8 00 00 07 DOn Slave wa Ge owo os 000 When writing multiple coils or registers the length of the data to be written has to be specified Here the master asks slave 1 014 to write to multiple holding registers 10n to the area starting at address 40124 OF AB and involving 4 registers 00 044 the 8 following bytes 084 00 00 03 E8 00 00 07 DO As the ON Timer includes registers 40124 and 40134 it will receive the first 4 bytes each register is 2 byte wide The ON Timer is then set to 00 00 03 1000ams The last 4 bytes will go to register 40144 and 40154 which means that the OFF Timer will be 00 00 07 DO 20
25. e function code to 1 The nature of the exception is then indicated by the data field 02 corresponds to an Illegal Data Address for instance Please refer to the Modbus official documentation for the description of all possible exceptions 3 Operating a soniKKs Cleaning Generator over Modbus TCP 3 1 Configuring the generator s network settings To access your device over the network here is how to proceed gt Ask your administrator for this information v An available IP address v The netmask gt Start your generator gt Go to the Network Settings screen in the level 3 settings gt Set the configuration mode to Manual and enter your IP address and netmask Now configure the Modbus TCP parameters pipeline exceptions First try with the default settings gt Confirm the changes gt Power cyde your generator in order for the changes to be applied 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 23 of 37 sonikKKS ULTRASONICS TECHNOLOGY gt Connect your Modbus TCP master and wait until the left LED of the Ethernet port is steady green 3 2 Specifications and adjustments Modbus TCP connections to the generator should be established using TCP port 502 A 500ms connection timeout makes the connection restart if no poll has been performed in this time frame Thus please make sure that the poll rate respects this timeout otherwise the connection will restart
26. ease do not change these parameters unless you understand the implications 2015 01 28 soniKKs GmbH Ultrasonics Technology XXXX XXXX page 27 of 37 sonikks ULTRASONICS TECHNOLOGY 3 4 Practical examples Here are some actual examples that will help you start operating the soniKKs Cleaning Generator over Modbus TCP 3 4 1 Switching the generator ON and OFF This can be done by setting resetting the value contained in register 1001 using the Write single coil function 054 The actual address to be sent is then 1000 1001 1 which gives 03 set and reset a coil the values to send are respectively FF 00 and 00 00 Therefore the message should look as follows Master 00 AAn 00 00n 00 06n 03 E8 FF 00n Slave The slave returns the same frame as every write commands 3 4 2 Adjusting the output power level The output power level is located in register 40224 and can be accessed using the Read Holding Register and Write Holding Register functions respectively 03 and To read it the master should send the following packet Master 00 ABn 00 00n 00 OF B5 00 01n Slave The master requests the slave number 5 to read in the holding register area function 034 starting at address OF B5 40004 00 015 14 register The data returned by the slave contains the length of the holding register in bytes 024 followed by th
27. from the network Some applications just pack Modbus RTU raw in TCP this is not supported Make sure that you choose Modbus TCP as the protocol in your Modbus master application instead of Modbus RTU over What to do if polls fail The soniKKs generator core probably cannot accept a new poll as fast as you are sending it over TCP TCP IP is a full duplex channel and since you can have up to 8 active sockets it is very easy to have a new request already waiting as your last poll s response is being returned The only 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 31 of 37 ULTRASONICS TECHNOLOGY solution to this is to slow down your Modbus TCP masters so that they never poll before the last poll s response has been seen This manually creates the time delay between polls your device expects My soniKKs generator runs fine for about 10 minutes and then my applications report it off line My soniKKs generator runs fine until it goes off line then it polls only intermittently Sometimes my soniKKs generator returns the wrong data After a while the soniKKs generator seems to take longer and longer to answer After a few hours it takes 10 minutes or more for systems changes to propagate up to the master client All these relate to the same issue a mismatch in queuing behavior and expectation by the master client to the new realities of Ethernet it is not the generator
28. fully handle receipt of stale responses with unexpected sequence numbers Unfortunately the Modbus TCP specification says that this sequence number is optional and can be used by a master to match responses to requests however it can usually be just left as zero The Modbus TCP slave just echoes this back in the response Anyway most Modbus TCP OPC servers today do not implement the sequence number So what is your solution if your Modbus TCP master is first generation Slow down your poll rate You have to consider the worst case response time assume all polls timeout If you are only polling a single slave or poll one slave at a time then you can try to disable the MB Pipeline option in the server configuration see page 22 This will either help or make things hopelessly worse If your OPC server or host application relies on pipelining to send more than one outstanding poll at once then disabling the pipeline will essentially stop all data communication in which case you can just turn the pipeline back on The ideal solution is for your Modbus TCP master to not only support the Sequence Number but also support the receipt of the and OxOB extended Modbus TCP exception response Then 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 33 of 37 soniKKs the master never needs to do retries for each poll it will receive either a value Modbus TCP response or a Modbus TCP
29. higher level settings are reached from the Advanced setup screen Please note that in any of the configurations above the Advanced setup screen can lead you to the level 2 and level 3 settings given the correct password is entered Proceed as usual to activate the adjustment mode and change the settings 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 16 of 37 CN kke ULTRASONICS TECHNOLOGY 1 When the LVL 1 access parameter is set to open the third line will be hidden gt NETWORK SETTINGS This screen deals with the generators network parameters It only concerns cleaning generators which feature an embedded server If your generator does not have any the message on the right will be displayed Otherwise the current configuration of your device will be displayed and adjustable Please refer to the soniKKs generators Modbus addendum for complete information about this feature Depending on the configuration three or less parameters are displayed v Mode the IP configuration mode Manual AutoIP DHCP BOOTP Choosing a manual configuration mode will bring you to set an IP address and a netmask yourself Any other mode is an automatic mode which means that these parameters are provided automatically If the mode is set to manual the two parameters below are adjustable v address the IP address used by the device on the network It can onl
30. indefinitely see Technical Support on page 35 The efficiency of the Modbus TCP protocol is well known However it requires an accurate adjustment of the master and slave settings Therefore you will have to give great attention to your master s tuning in order to optimize the link between your master and the generator If your knowledge about Modbus TCP is limited you can refer to the paragraph called Recommended poll rates of the Technical Support Regarding the slave the generator two parameters are adjustable The pipeline option in pipeline mode the slave processes every command present in its TCP stack one after the other When the option is deactivated the slave only responds to the newest command and ignores all other commands of the stack This way it allows the master to retry old requests without risking building up a stale queue of waiting requests The pipeline option is enabled by default You should disable it only if you are having problems The exceptions option Traditional serial Modbus uses silence to signal some errors However Modbus TCP defines error codes to make the errors explicit The soniKKs generator can return two exceptions depending on the gravity of the error Ox0A and OxOB indicates a hard error where retry is not likely to succeed Conversely OxOB stands for a soft error where a retry may succeed 3 3 soniKKs cleaning generator s Modbus map The parameters
31. ngs On timer Off timer Sensor info Ext amp Gene Temp Ext temp Back to menu items Intermediate settings Frequencies Adjust start stop frequency Back to menu items Nominal Source Ext voltage Front Bus Language English German French Spanish Polish Passwords de activate user password Modify LVL 1 amp 2 passwords Date Time Date and time Advanced Setup To the intermediate or reseller settings Factory settings Restore factory settings ITION Trans i r IS possi Adjustment 2015 01 28 soniKKs GmbH Ultrasonics Technology XXXX XXXX soniKKs ULTRASONICS TECHNOLOGY Reseller Settings Testbutton Off Push Latch Trigger Sonic relay polarity Normally open Normally closed Network Settings Config Mode IP address Netmask MB Pipeline MB Exceptions Back to menu items 2015 01 28 soniKKs GmbH Ultrasonics Technology Remote start mode Latch Static Trigger Error log List of the errors that occured Greetings Hello Logo Error relay polarity Normally open Normally closed Passwords de activate user password Modify LVL 1 amp 2 Parameter locking Lock parameter adjustment in certain screens XXXX XXXX 181011 Trans ble IS possi Adjustment sonics ULTRASONICS TECHNOLOGY Screens overview 1
32. owever the master always specifies an address between 0 and 9998 270E When processing the message the slave will then add an offset corresponding to the block implied by the function code 1 for the coils 10001 for the discrete inputs 30001 for the input registers and 40001 for the holding registers 2 4 Modbus exceptions The Modbus protocol also features some error recognition cases called exceptions When a command is sent there are 4 possible outcomes It does not reach the slave gt the master gets no response It reaches the slave with some glitches gt parity or CRC error gt the master gets no response It reaches the slave with no transmission error and is successfully processed by the slave gt master gets a valid response It reaches the slave with no transmission error but the command cannot be processed gt the master gets an exception response indicating the cause of the failure 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 22 of 37 CN kke ULTRASONICS TECHNOLOGY The exception response has the following pattern Master 00 58h 00 00h 00 06n Oln 03h 00 00 00 OAn In this example the master asks slave number 1 to read the content of the holding registers area 034 starting at address 400014 00 00 and including 10 registers 00 The exception is recognizable thanks to the function field It is signaled by the slave by setting the first bit of th
33. ssue and get the poll onto the Ethernet Delay for the poll to cross Ethernet and arrive error free at the device may include retries and contention Delay for Modbus TCP gateway to process and queue Modbus RTU poll Physical delay to shift poll bit by bit across the serial link Delay in the device to recognize process and start reply Physical delay to shift response out bit by bit across the serial link Delay for Modbus TCP gateway to process and queue Modbus TCP response Delay for the response to cross Ethernet and arrive error free at the master client may include retries and contention Delay a is defined by your OPC or DDE driver For example driver that runs only once each 55 msec using the old DOS timer slice can have a variable delay here of between 0 to 110 msec Delays c and i are defined by the complexity load and link speed of your TCP IP network For example if you are going through radio or satellite links these delays routinely amount to 1000 msec 1 sec or more per poll and another 1000 msec for a response Delays e and g are defined by the baud rate and the amount of data you want to transfer per request Delay f is defined by the device The soniKKs implementation starts the reply within less than 5 msec Delays d e and h are defined by the load on the Modbus TCP gateway I cannot get a slave response The soniKKs generator only expects and processes genuine Modbus TCP
34. t values that can be modified as well as read e g on off command enable disable a mode The discrete inputs are one bit values that cannot be modified by the master They usually are status and thus can only be read e g run status error status The input registers are read only values that can occupy one or more registers depending on their length They are usually used for sensor measurements current temperature current power The holding registers are read write values that can also occupy several registers They are usally used for configurable parameters such as nominal values thresholds 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr 21 of 37 sonikKKs ULTRASONICS TECHNOLOGY 2 3 Modbus memory map and functions The parameters are stored in the slave s memory in 16 bit registers The Modbus protocol defines a memory map that separates the 4 data types depicted above Therefore the memory is subdivided in 4 blocks of registers which contain our parameters In the array below you can see that each of these blocks can be accessed using its appropriate functions For instance the coils registers 1 to 9999 can be read thanks to function 01 only Read Coils Ola Write Single Coil 05a 051 write 00 024 028 10001 19999 CE M ME 03a 03 40001 49999 Write Single Holding Register 157 57 In the messages h
35. ture error code 1000ms commands etc on demand If you find stable results with these values when running the link over a longer period of time 2h you can try to lower the poll rate while keeping the response timeout untouched to allow for congestions to be gracefully resolved See below for a description of timeout factors to take into account How fast can I poll It is important to understand that the link to the generator s processor is realized through a gateway from Modbus TCP to a low speed serial link Therefore you cannot expect to poll any faster than you could by a direct serial link In fact since you are adding a number of queuing systems between your application and device you may even lose a bit of performance For example some download tests showed that remote download by Modbus TCP bridged to Modbus RTU ran about 20 percent slower than direct download by Modbus RTU 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 30 of 37 sonikKs ULTRASONICS TECHNOLOGY Above all remember that the serial speed or baud rate consumes the largest amount of time Suppose you issue a Modbus poll for 125 registers This requires a 255 byte response which at 115 2kbps the speed of the serial link requires over 22msec just to physically shift across the wire The overall time it takes to poll is the combined sum of these delays Delay for master client to recognize need for poll Delay to i
36. unique three level security concept based on numeric passwords gt User settings Password Level 1 gt Intermediate settings Password Level 2 gt Reseller settings Password Level 3 Please ask your retailer or your manufacturer for the passwords Menu items and operation The generator is operated by a rotary encoder which can be turned as well as pushed This makes the operation very easy and uncomplicated The menu is structured in several subitems see navigation chart You can change between the items by turning the rotary encoder Name of the subitem In the first line of the display you see the name of the subitem in the last line you can see whether the screen is only a display or if adjustments can be done see also color code of the navigation chart If you can make settings there is written PUSH TO ADJUST or PUSH TO RESET Possibility of adjustment To activate the adjustment mode push the rotary encoder as denoted in the screen The adjustment of the values or the selection of the options is done by turning the rotary encoder Pushing the rotary encoder another time either brings you to the next parameter s adjustment or closes the adjustment mode if there is only one adjustable parameter in the screen 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXXX page 3 of 37 ULTRASONICS TECHNOLOGY Status LEDs Power LED Indicates that the generator is powered Sonic
37. ween the options Latch Static and Trigger Proceed as usual to activate the adjustment mode and change the settings v Latch activating the remote switches the generator on activating the remote again switches the generator off 9 Storage function v Static the generator directly switches on or off if there is a remote signal No storage function v Trigger this option is only recommended when the ON timer is set see Degas screen A short trigger impulse starts the generator The device automatically switches off when the predetermined time is reached 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 14 of 37 hl is ULTRASONICS TECHNOLOGY generator generator Latch Static remote signal remote signal Generator ON timer Trigger Remote signal ERROR RELAY POLARITY In this screen you can adjust the behavior of the internal error relay The current configuration is indicated by a ticked check box The relay can either behave as a normally open or a normally closed contactor Normally open means that the relay will be closed upon failure of the generator Conversely the relay will be opened upon failure if the relay polarity is set to normally closed SONIC RELAY POLARITY In this screen you can adjust the behavior of the internal sonic relay The current configuration is indicated by a ticked check box The relay can either behave
38. y be set when the mode is set to Manual In automatic mode this line will not be displayed v Netmask the netmask used by the device on the network It can only be set when the mode is set to Manual In automatic mode this line will not be displayed Once you have set the parameters above two additional Modbus TCP related settings appear v Modbus Pipeline the pipeline behavior of your Modbus TCP connection can be adjusted by turning the encoder When set the generator will queue the polls it receives and answer 2015 01 28 soniKKs GmbH Ultrasonics Technology Doc nr XXXX XXxx page 17 of 37 sonikKs all of them in turn When disabled the generator only answers the last received poll and discards all stale polls This feature is enabled by default v Modbus Exceptions traditional Modbus uses silence to signal some errors e g unconfigured slave address timeout CRC error Setting this parameter will cause the generator to issue error messages instead specifying the cause of the error gt GREETINGS This screen allows you to choose what will be displayed on startup You can either select to display the stored logo or a simple Hello message gt PARAMETER LOCKING The parameter locking enables the supervisor to restrict access to the following parameters the Nominal Power and the ON OFF Timers In order to lock them you have to lock the corresponding screen e g Degas for the
Download Pdf Manuals
Related Search
Related Contents
eClass Intranet Teacher User Manual Evaluer le potentiel touristique d`un territoire Copyright © All rights reserved.
Failed to retrieve file