Home

REMOTE INPUT OUTPUT INTERFACE

image

Contents

1. leroy gt REMOTE INPUT OUTPUT INTERFACE TES TESIS 32 User s Manual P DOC TES 002 E Version 1 0 Thank you for purchasing a Remote I O Terminal of our TES product line This equipment has been developed and manufactured by using the most advanced methods and techniques and we are confident that it will work to your entire satisfaction This TES complies with the following standards NFC 63 850 IEC 801 2 3 4 Military GAM EG 13 Book 63 This manual details the product parameters settings with Tesis32 software Please read it carefully before you operate the equipment for the first time TECHNICAL SUPPORT Phone 33 5 62 24 05 46 Fax 33 5 62 240555 e mail support leroy autom com Windows are registered trademarks of Microsoft Corporation All other brand or product names mentioned herein are registered trademarks of their respective owners LEROY Automatique Industrielle is constantly developing and improving its products information contained herein is subject to change without notice and is in no way legally binding upon the company This manual may not be duplicated in any form without the prior consent of LEROY Automatique ndustrielle Head office Leroy Automatique Industrielle ZAC des Champs Pinsons 31650 ST ORENS FRANCE Tel 33 5 62 24 05 50 Fax 33 5 62 2405 55 Web site http www leroy automation com CONTENTS 1 GENERAL OVERVIEW usssnensesensnsnsnssnsnsnnsensnsnssnenenensnssn
2. 32 Configuration workbench for TES Leroy Automation TESIS32 User s Manual 3 1 2 Running TESIS with a connected TES PRM terminal Connect the TES to a PC with the following cable RS232 TES SubD 9 points Do a bridge between Prm Parameter terminal and terminal OV Power on the TES with 24V Green leds Pwr Run and Prm are on Led Wdg red is down Run TESIS32 with Start Program Leroy Automation Tesis Tesis 32 To connect you to TES execute the command Connection Connected Several options are available in menu Connection e Connected connected to TES without downloading parameters from connected TES e Refresh that command will download settings parameters of connected TES box Mirror settings will be checked this command read TES EEPROM and copy it in your PC RAM memory e Auto detect active the automatic search of TES communication parameters on the port of PC chosen e Auto connect same command than Refresh but automatically run at Tesis start up e Default connection restore the default RS232 settings TES in Prm mode Prm terminal It must be let unconnected in normally running User settings will be activated By connecting Prm terminal to OV TES use the default factory settings describe therefore This operation allows always connecting TESIS workbench to TES RS 232 link Modbus J bus slave 1 9600 bauds 8 bits data parity even 1 b
3. Example 38400 Bds transmission format 8 bits data 1 bit parity 1 bit start 1 bit stop writing one word in TES will take except internal calculation time in master T 8 1 1 1 1000 38 400 x 8 3 8 3 1 5 1 5 9 3 ms Note the low time between end of transmission of master last byte and reception of first bytes of TES reply between 1 and 2ms can when master don t validate quickly its reception buffer involve Time Out errors on master it miss the frame beginning of TES reply In that case TES answer delay can be increased by parameter in Tesis32 software for the RS485 line TES can return following errors codes 1 function code used by master is unknown 2 address TES used isn t correct 4 TES not ready Leroy Automation TESIS32 User s Manual 26
4. If input gt high threshold then the digital output chosen is set to 1 It ll be reset to 0 when analog input will be under the low threshold NOTE the output polarity associated to the threshold can be reversed WARNING Don t choose the same digital output for 2 different analog inputs Leroy Automation 1 0 configuration of analog TES General Digtal inputs Outputs Summary Analog channel choice Channel umber pt 1 Stored values sampling period Zi Disabled Filtering Scale Assistant Courections Thresholds Type of reflex alarm f Thresholds Hysteresis C High Low Lom theshal 7687 pis Output 2 PPP Pee eee HTH Eee eee tee eee a ee High threshold 12537 pts EA ecte nf mi Dice asst TERE Output O g IV Direct Output Oo T Re Output OD M Direct Output Qa V TESIS32 User s Manual 10 4 2 6 3 Thresholds high low Input High threshold direct polarity Low threshold direct m ity Parameters set the high threshold value and its digital output associated Set the low threshold and its digital output associated The 2 outputs must be different Use Bits Modbus If input gt high threshold Then Set to 1 of bit 5 of state word of the channel address Modbus OB to 12h Led associate to analog input will blink Set to 1 digital output associated If input lt low threshold Then Set to 1 of bi
5. 6 4 12 1 Serial link RS 485 diagnosis counters number of exception replies returned by TES number of replies slave not ready returned by TES number of frames correctly executed by TES number of received frames with CRC16 errors 04Bh 075d number of wrong characters received by TES 04Ch 076d number of received frames without errors 04Dh 077d bus double pair not analysed frames by default of silent time bus single pair idem or replies sends by others slaves 6 4 12 2 Serial link RS 232 diagnosis counters number of exception replies returned by TES number of replies slave not ready returned by TES number of frames correctly executed by TES number of received frames with CRC16 errors number of wrong characters received by TES number of received frames without errors not analysed frames by default of silent time 6 4 13 analog inputs storage MP 055h 085d storage period analog inputs Tb 1s From that address master read request or writing can be sometimes refused by TES that reply slave not ready this allows to keep information coherence coded on 32 bits that TES calculate the periodic gap in memory buffers 056h 086d Reserved 057h 087d 120 last values of analog input No 0 OCEh 206d OCFh 207h Reserved 0DOh 208d 120 last values of analog input No 1 147h 327d 328d 149h 329d 120 last values of analog input No 2 1C0h 448d 120 last values of analog input No 3 239h 569d 23Bh 571d 120 las
6. active See TES analog 4 2 3 Inputs filtering One filtered input is an average on the last N values If EA is the instantaneous analog input i the number of samples the value of an analog filtered input is calculated as follow X EAi EA i 1 EA i N 1 N Parameters the number N can take the values 2 4 8 16 32 64 128 or 256 high filtration Leroy Automation TESIS32 User s Manual 7 4 2 4 Scaling Conversion Scaling allows to convert points values of inputs between 0 and 1023 points initial value in an other final value between 32768 and 32767 More exactly TES propose in its memory map the hexadecimal corresponding value 4 2 5 Measure correction The function activate scaling allows to have an access to the screen Corrections Those parameters allow to correct in number of points uncertainty due to components 0 5 max of inputs and outputs Note every new analog TES has been calibrating in our factory corrections parameters have then been set in EEPROM before doing and transmit a new configuration backup the actual configuration done in factory menu TESI S Read EEPROM and save it your new parameters will put out the factory calibration Leroy Automation TESIS32 User s Manual 4 2 6 Thresholds and digital outputs associated Thresholds are used after scaling on the final value If thresholds are put on an incorrect value for the final value the message over
7. and 7 6 4 7 Digital variables Bits 0 to 3 direct inputs not filtered Bits 8 to B direct outputs 023h 035d low threshold of analog input No 0 024h 036d low threshold of analog input No 1 025h 037d low threshold of analog input No 2 Leroy Automation TESIS32 User s Manual 20 6 4 9 digital outputs associated to thresholds Each word below contain in one byte each no between 0 and 3 of the 2 digital outputs associate to high and low threshold of each analog input Apart from those limits any output is commanded MP MP MP MP MP MP MP MP 6 4 10 digital outputs polarity associated to thresholds 059d digital outputs polarity commanded by low and high thresholds of analog inputs 6 4 11 outputs fallback position 6 4 11 1 Time MP 03Ch 060d maximum time in 1 10 seconds separating two master requests on RS485 serial link 6 4 11 2 Digital outputs MP 03Dh 061d Fallback position command word for 4 digital outputs The repartition of bits in the fallback digital outputs command word is the same than in the digital output command word Note If one digital output is associated to an alarm threshold it won t fall back 6 4 11 3 Analog outputs MP MP MP MP MP MP MP MP Rappel TES 8 ESA the first of the 4 analog outputs is the output No 4 MP 046h 070d Fallback authorisation for analog outputs one bit per output Leroy Automation TESIS32 User s Manual 21 6 4 12 Supervising networks
8. as soon as the master has read all the memorized state changes Leroy Automation TESIS32 User s Manual 14 6 2 2 Digital Input and output state words 001h memorized inputs 15 00 memorized inputs 31 16 filtered inputs 15 00 filtered inputs 31 16 directs inputs 15 00 directs inputs 31 16 outputs instantaneous state 15 00 Reserved Reserved MP 00Ah filters duration for inputs state 0 Tb 5ms filters duration for inputs state 1 Tb 5ms 00Ch word 0 of output command choice of blinking outputs 00Dh word 1 of output command choice of fixed states 0 1 in CO C1 duration of state 1 blinking mode 0 Tb 5ms duration of state 0 blinking mode 0 Tb 5ms MP 010h duration of state 1 blinking mode 1 Tb 5ms MP 011h duration of state 0 blinking mode 1 Tb 5ms 6 2 3 Words used to supervise the RS 422 485 link with the master 6 2 3 1 Control of master activity and fallback position i 001h 005h 006h 009h 00Ah 00Cch 00Dh 010h 011h MP MP MP MP i Tb 100ms 6 2 3 2 Control of quality of serial links 6 2 3 2 1 Diagnosis counters for RS 485 link 017h number of exception replies returned by TES 018h number of replies slave not ready returned by TES 019h number of frames correctly executed by TES 01Ah number of received frames with CRC16 errors 01Bh number of wrong characters received by TES 01Ch number of received frames without
9. falling edge input No 7 075h 076h 117d 118d counter of falling edge input No 8 pree eS Siege BES Senet lee ene pe ete ne TES 32 EST 083h 084h 131d 132d counter of falling edge input No 15 085h 086h 133d 134d counter of falling edge input No 16 Fe FREIE hl TES 32 ET OA3h OA4h 163d 164d counter of falling edge input No 31 6 2 5 Chronometers Addresses are arranged in High part low part Time base is of 100 ms 6 2 5 1 chronometers of states 1 OA5h 0A6h 165d 166d duration of state 1 for input No 0 OATh OA8h 167d 168d Wet ee ee en ee ee ee ee TES 16 EST 0B3h 0B4h 179d 180d OB5h OB6h 181d 182d duration of state 1 for input No 8 eae ae ae ee a ee Er TES 32 EST O0C3h 0C4h 195d 196d duration of state 1 for input No 15 OC5h OC6h 197d 198d seh ee SEA ene Re eee eel TES 32 ET OE3h OE4h 227d 228d duration of state 1 for input No 31 6 2 5 2 chronometers of states 0 OE5h OE6h 229d 230d duration of state 0 for input No 0 OE7h OE8h 231d 232d duration of state O for input No 1 Fr ee ee ge Pe U d TES 16 EST OF3h OF4h 243d 244d duration of state O for input No 7 OF5h OF6h 245d 246d duration of state 0 for input No 8 eea e ee e ee a a TES 32 EST 103h 104h 259d 260d duration of state 0 for input No 15 105h 106h 261d 262d duration of state O for input No 16 EEE Fr ee ee ee TES 32 ET 123h 124h 291d 292d duration of state O for input No 31 Leroy Auto
10. E ETE BN ERAN EES 7 4 2 1 Sampl ng period a aE E eE AEE e Aa a E EEA Ae Ea eR A E E Eae EE E aee aaeain ER aeara 7 4 2 2 Meas rino storage eripi EE EAA EA RERE EEE OA E E e sae A R E E a E E 7 AD 3 Inputs A111 a EE AEA sinne SD Nennen E A 7 ADA Sc ling Conversioni tunsoare aa aaia a ax coca AEE EEEE KAE PaA 8 K AES 7 127 AA ARLE EEEE E E E T 8 4 2 6 Thresholds and digital outputs associated 43 ANALOG OUTPUT 4 3 1 Sealing issnin 4 3 2 Fallback position 5 WO TESTING ssusssessnensssensnsnsnsensnsnsnsensnensnnenenensnsensnsnsnnsssnsnenssnenenensssnsnensnnsnsnenssnensnenssnsnsnenssnsnsnsnenssnsnsnsnssssnsnenssnsnsnsnssnsnsnensenssennse 13 6 TES MEMORY MAP zusnsssensnsnssssnsnsnsnsensnenssnenensnsnsensnsnsnnsssnsnenssnensnenssnsnsnenssssnsnenssnensnenssnsssnenssnsnsnensnssnsnsnsnssssnsnenssnsnsnsnssnsnsnenssnssenense 14 6 1 INTRODUETION a2220 anna Re nis EN E RTEE IRENE GES ER 14 62 TES 16 EST 32 EST 32 ET 32 ET S MEMORY MAP voin a aAA E R ERTER Ea AEE EE 14 6 2 1 General state WOT unse innen K E Lact BURN AATA V O E 14 6 2 2 Digital Input and output state WOLS cesarean a ahi Ra e aaier nii 15 6 2 3 Words used to supervise the RS 422 485 link with the master ueensesesesesesenensnnnnnensnnnenensnnnenenensnenennnnnnnennnnsnnennn 15 624 Digital ChANNELS OO ES a a A A REE GZS Chronometet Sirris iin iier ean e nET a CaN E E EARRA ERE R EET ea REIS 6 2 6 Adding up chronometers for digital inputs c cccescscecececsseces
11. P see next page Bit no i of word 3 Bit no i of word 5 Output no i between 0 and 15 o o o o o Command to 0 O SS Command to 1 Leroy Automation TESIS32 User s Manual 17 o Blinking frequency 0 Blinking frequency 1 Bit no i of word 4 Bit no i of word 6 Output no i between 16 and 31 o ee o a Commandto0 O 1l Command to 1 1 0 Blinking frequency 0 Blinking frequency 1 00011d not used 00Ch 00012d not used 00013d not used 6 3 3 Words used for supervise RS 485 communication MP MP MP MP MP MP MP MP MP 016h 022d maximum duration time separating 2 masters request Tb 100ms 6 3 4 serial link RS422 485 diagnosis counters 01Dh 029d bus double pair not analysed frames by default of silent time bus single pair idem or replies sends by others slaves 6 3 5 serial link RS232 diagnosis counters 022h 034d number of wrong characters received by TES 023h 035d number of received frames without errors 024h 036d not analysed frames by default of silent time Leroy Automation TESIS32 User s Manual 18 6 4 Memory map of TES 4EA 4SA 8EA 8ESA 8SA U 6 4 1 Word state of analog TES 8 bits O to 7 are accessible in Jbus with function 8 bits quick read ooon 000d TES status resume the general TES state at the time of the master read request bitOtol TES has been reinitialised power on bitltol TES is in reply position as a result of the communication stop on RS 485 seria
12. added to 1 compared to addresses really used on the line Example program address if MODBUS device 0002 real address in frame 0001 Addressing mode type bit Address of bit i between 0 and F in a word j j x 10h i Example address of bit D in word 7A is 7AD use with bits reading and writing functions 7 1 3 Exchanges description The master manages exchanges it sends a request when the addressee slave had decoded it it sends its reply Each message or frame contains 4 information number of slave 1 byte addressee slave of master request or sender of reply function code 1 byte indicate the direction reading or writing and data type used words or bits data to transmit p bytes control word CRC16 2 bytes to detect transmission errors It is calculate on 16 bits from all bytes of the transmitted or received frame except the 2 bytes of control All information is coded in hexadecimal Leroy Automation TESIS32 User s Manual 24 7 2 Frames structure 7 2 1 Function reading n words frames structure used on Modbus Jbus network Frame request Nq 8 03 or 2 bytes 2 bytes 2 bytes PF pf of PF slave function address of 1st number of words to CRC 16 number code word read Frame reply Nr 5 2n 01 03 or 1 byte 2 bytes 2 bytes 2 bytes to 04 PF PF pf FF of of PF slave function Byte number value of Ist read word value of last word CRC 16 number code read 7 2 2 Writing func
13. d to rc 5232 configuratiorr j J OK X Cancel 4 1 1 Inputs filtering From directs inputs TES create filtered inputs bits Filtered inputs bits are bits that are changing in a new state if the last state has been confirmed during at least X ms Settings X duration is a parameter between 0 and 32765 ms by steps of 5 ms Use See TES modbus memory mapping 4 1 2 Memorized Inputs Function For each input at each state change TES increase an internal counter Following a reading master request if the counter is gt 0 TES reverse the bit memorized input and decrease the counter If the counter 0 TES don t reverse the bit TES resituate at each master request and above all at master speed the state change succession that happens during the eventually communication break Parameters any Function always active Use See TES memory map 4 1 3 Rising edge and falling edge inputs counters TES count the rising edge and falling edge for each input in a 32 bits counter and put those counters in the memory map Modbus master can reset counters with a Modbus writing function Parameters any Function always active Use See TES memory map 4 1 4 States inputs durations For each input TES chronometer the states duration in 1 10s on 32 bits data TES furnished duration of last state at 1 or state at 1 in progress duration of last state at 0 or of state at 0 in progress d
14. errors 01Dh bus double pair not analysed frames by default of silent time bus single pair idem or replies sends by others slaves 6 2 3 2 2 Diagnosis counters for RS 232 link OlEh number of exception replies returned by TES 01Fh number of replies slave not ready returned by TES 020h number of frames correctly executed by TES number of received frames with CRC16 errors 022h number of wrong characters received by TES 023h number of received frames without errors 024h not analysed frames by default of silent time fo N m From that address read or write master request can be sometimes refused by TES that reply slave not ready this allows to keep information coherence coded on 32 bits that TES calculate the periodic gap in memory buffers Leroy Automation TESIS32 User s Manual 15 6 2 4 Digital channels counters 6 2 4 1 Counter of rising edge after filtration high part low part 025h 026h 037d 038d 027h 028h 039d 040d i a O TES 16 EST 033h 034h 051d 052d 035h 036h 053d 054d ER FE cas eB athe Sel teh oe Pee TES 32 EST 043h 044h 067d 068d 045h 046h_ 069d 070d EEE Pr FEB TES 32 ET _063h 064h 099d 100d 6 2 4 2 Counter of falling edge after filtration high part low part 065h 066h 101d 102d counter of falling edge input No 0 067h 068h 103d 104d counter of falling edge input No 1 este Witte i FE TES 16 EST 073h 074h 115d 116d counter of
15. force force force force Frame reply 1 byte 1 byte 2 bytes 2 bytes 2 bytes Number OF address number of CRC 16 slave 1st bit bits forced pf PF force 7 2 6 Quick reading 8 bits function TES reply the 8 bits of word status low part that resume TES state address bit from 0000 to 0007 Frame request Nq 4 1 byte 1 byte 2 bytes No slave 07 CRC 16 Frame reply Nr 5 1 byte 1 byte 1 byte 2 bytes No slave 07 XXXXXXXXX CRC 16 All TES reply to writing frames words bits sends in DIFFUSION MODE address to slave 0 to all slaves In this case TES return any frame and execute simultaneously the master command synchronisation of commands counters reset 7 2 7 Transmission time the duration is calculate from 5 data number Nb de bits from 8 to 11 on which are coded the transmitted bytes transmission speed Vt in Bauds number of bytes transmitted in a request Nq and in a reply Nr numbers Sq and Sr of characters 3 defined in Modbus norm define silent time after any question frame or reply time tr of calculation in TES to rebuild and transmit its reply Typically tr is equal to 1 5 ms TES version 4 1 and more has a parameter answer delay from 0 to 2570 ms answer delay of master tq evaluated to 1 5ms in calculations below Exchange duration request reply between an API and a TES is given by the formula T Nbx1000 Vt x Nq Sq Nr Sr tq tr en ms
16. is Workbench a bridge between Prm terminal and OV will be necessary Parameters modifiable are slave number Transmissions parameters Speed and parity are parameters the number of data bits is set at 8 and the number of stop bits is set to 1 Answer delay like for the RS485 it s sometimes necessary to adjust the TES answer delay typically 1 5ms when it s connected to PLC that take some time to validate their reception buffer that bring about Time Out errors on master that miss the beginning of TES response frame In this case increase Answer delay that is by default to 0 Leroy Automation TESIS32 User s Manual 4 4 TES Functions setting and use 4 1 Digital Input Output 1 0 configuration of digital TES ModBus RS 485 Master watching Information on TES m I 003 Type REST Inputs 16 Dutputs 16 RS 485 configuration inputs filtering Outputs blinking 4 Frequency Confirmation time fora 1 Kt Duration of high state ft S00ms o_o _ oa eom Without ABER AETEN Bais cA Confirmation time fora 0 Fan ee T 15595 ms Duration of low state 0 7500 ms m 1968 pp Dutputs Fallback postion SI TIIITIIWIKITTIT M Outputs blinking B Freguency i Duration of higti state 1 2000 me lt a m Dl Gow Wnt Ql PUL Vom ul QL Pull Com Qui QL Dus ome Qui UR NEARS AA IMLS NANNTEN Legend Duration of low state 0 2000 me T Forcedto0 V Unchanged W Force
17. it stop RS 422 485 link Modbus J bus slave 1 38400 Bauds 8 bits data parity even 1 bit stop delay time 100ms Outputs fallback position all outputs at 0 Digital Inputs filtering time 5 ms Digital Outputs blinking frequency 1 1 Hz blinking frequency 2 10 Hz Analog Inputs scaling deactivation values in points between 0 and 1023 and any other thresholds Analog Outputs scaling deactivation values in points between 0 and 32735 and no fallback positions Note 1 When PC communicates with TES RX 232 and TX 232 leds reception and transmission are blinking If TX 232 doesn t blink that means that TES don t respond to PC request Verify the link connection Note 2 It can happen that RX 485 led is blinking at the same frequency of exchanges on RS 232 line Don t worry RS 485 link is at high impedance in this case exchanges on RS 232 line lead voltage levels on RS 485 line but without any effect on TES running mg Tesis 32 Configuration workbench for TES File TES Connection i PE communication settings i Connected TES Port Speed Parity Type REST comi s600 Even Version 43 Date 30 07 91 Current parameters File Comment V Miror settings Leroy Automation TESIS32 User s Manual 3 3 1 3 RS485 configuration After choosing TES type you can configure RS485 configuration TES slave number Transmissions parameters Speed a
18. l available on our web site http www leroy automation fr In the Modbus J bus network the TES acts as a slave under Parameter Memory E2 PROM the control of a master which can be either a PC or a PLC The TES acts as a remote shared memory address which can be accessed by the master by writing or reading commands The memory structure is shared into two parts One local data memory that is not saved at power loss and EINE an E2PROM which contains configuration parameters This Data Memory RAM E2PROM is not accessible by the network the TESIS software may only modify the data contained At power up parts of these parameters are loaded from E2PROM to the shared working memory RAM This way the parameters can be modified on line debouncing time home position etc but if the TES is powered on again it resumes working with the E2PROM parameters instead of those modified on line Traitement TES gt 2 TESIS set up Minimal informatics Configuration Tesis32 is compatible with Win32 software Windows 95 98 98SE Me NT 4 0 2000 XP with PC with Intel hardware and processors Pentium or ulterior Run Tesis32setup and follow instructions Leroy Automation TESIS32 User s Manual 1 3 Use of TESIS Workbench 3 1 Common implementation to all TES 3 1 1 Running TESIS alone Run TESIS32 with the Windows command Start Program Leroy Automation Tesis Tesis 32 PRES NYA Version MYA 5 f MA
19. l link bits O and 1 are reset to 0 at the first exchange with the Modbus J bus master bit 3 to 1 TES store at least 1 state change on one digital inputs The master must then reread the stored register inputs words 2 bit3to 0 reset to 0 by TES as soon as the master read all stored state changes bit 6 One of analog input s is in low alarm the OR of bits 4 of analog channels status bit 7 One of analog input s is in high alarm the OR of bits 5 of analog channels status bits 6 and 7 will be reset to 0 by master that will then read the registers 11d to 18d to have more information on each analog input 6 4 2 Digital inputs digital filtered inputs 3 0 002h 002d digital stored inputs 3 0 6 4 3 Analog inputs 6 4 4 state words of analog channels bit 1 to 1 Output in fallback position bit 4 to 1 Input lt low threshold bit 5 to 1 Input gt high threshold OOBh 011d State of channel No O can be one input or one output depending on model 00Ch State of channel No 1 State of channel No 2 State of channel No 3 6 4 5 Digital outputs command Digital outputs command 3 0 Leroy Automation TESIS32 User s Manual 19 choice output fixed or blinking bits 11 08 command of states outputs bits 03 00 Note the master can t supervise one digital output connected to an alarm input threshold 6 4 6 Analog outputs command Warning the 4 analog outputs of a TES 8 ESA are the outputs N 4 5 6
20. loaded appears Example After a conversion fixing a final value between 100 and 15000 points a high threshold to 12602 points will be accepted but a low threshold to 200 will be over limits Three types of thresholds are proposed Thresholds simple Hysteresis Thresholds high low 4 2 6 1 Thresholds Parameters choose the value low threshold and the value high threshold Use If input gt high threshold Then Set to 1 of bit 5 of state word of the channel address Modbus OB to 12h Led associate to analog input will blink Any digital output associate If input lt low threshold Then Set to 1 of bit 4 of state word of the channel address Modbus OB to 12h Led associate to analog input will blink Any digital output associate Leroy Automation TESIS32 User s Manual 9 4 2 6 2 Hysteresis Input Parameters set the high and low threshold Choose the digital associated output Use Bits Modbus If input gt high threshold Then Set to 1 of bit 5 of state word of the channel address Modbus OB to 12h Led associate to analog input will blink If input lt low threshold Then Set to 1 of bit 4 of state word of the channel address Modbus OB to 12h Led associate to analog input will blink NOTE the 2 bits are then at 0 if input is normally between the 2 thresholds To obtain the hysteresis bit use the bit of the digital reflex output as describe below Digital reflex output
21. mation TESIS32 User s Manual 16 6 2 6 Adding up chronometers for digital inputs Time base is 100ms 6 2 6 1 Cumulated durations of states at 1 125h 126h 293d 294d cumulated duration of states 1 for input No 0 127h 128h 295d 296d cumulated duration of states 1 for input No 1 BE Se ln e l an a 163h 164h 355d 356d cumulated duration of states 1 for input No 31 6 2 6 2 Cumulated durations of states at 0 for input No X al 357 2x a2 358 2 x 1A3h 1A4h 419d 420d cumulated duration of states 0 for input No 31 6 2 7 TES 32ET S specifics registers broken wires and short circuit detection SC Short Circuit between sensor wired securely R r and terminal TES OC Open Circuit between sensor wired securely R r and terminal TES Word of 16 bits OC inputs E17 to E32 MP Connection Bits allow to set inputs Ei that are wired in security mode MP 1ACh 428d bit i 1 Ei is wired in security mode r R bit i 0 Ei isn t wired in security mode direct input 6 3 TES 32 ST memory map 6 3 1 State Word 000h 000d Bit 0 Set to 1 by TES at initialisation Can be reset to 0 by the master after watching Bit 1 Reset to 0 by TES when in reply after over passing of the master inters request max time 6 3 2 States and outputs commands 003h 003d _ Select FixorBlinkingforoutputsOto15 i 004h 004d Select Fix or Blinking for outputs 16 to 31 005h 006h _ MP MP MP M
22. n 0 is set the outputs fallback position window appears e Fallback position forced to 0 OFF forced to 1 ON unchanged Leroy Automation TESIS32 User s Manual 6 4 2 Analog inputs 120 configuration of analog TES TES analog parameters screen propose General Digital Inputs Outputs Summary To choose among 4 or 8 Analog channel choice channels depending on model i 7 Qo ee ESE To choose the sampling period of SS ee BEEEEEEEEEEEEEREE 1 the 120 last values i To filter inputs Filtering Stored values sampling period j To do the scaling operation Ba a ee De Dur a u Bo a a Dar a Dr Da a Dr Ba a Be le Be a a scale oe To help you how to find the right scale values Filtering Seale Assistant Corrections Thresholds To correct the input values To set the thresholds values Thresholds and to associate digital outputs ne aint p TEE corrections ee of samples Jo OK XM Cancel 4 2 1 Sampling period TES acquire a new analog input every 8ms Then for one input a new sample is available every 32ms on a 4 analog channels TES and every 64 ms for an 8 analog inputs channels 4 2 2 Measuring storage TES store in a FIFO structure the last 120 filtered and scaled values for each input This storage isn t saved in case of power down Parameters channel sampling period 1 per channel per step of 5ms Use Function always
23. nd parity are parameters the number of data bits is set at 8 and the number of stop bits is set to 1 Answer delay it s sometimes necessary to adjust the TES answer delay typically 1 5ms when it s connected to PLC that take some time to validate their reception buffer that bring about Time Out errors on master that miss the beginning of TES response frame In this case increase Answer delay that is by default to 0 Time Modbus RS485 master watching Unit 100ms If at end of this time gt 0 the slave doesn t receive a request it ll put its outputs in fallback position and led Wdg will blinking If a watching time other than 0 is set the Output fallback position parameters appear 120 configuration of digital TES ModBus RS 485 Master watching Information on TES EE ae type BERT ia TE opal E A5 485 configuration inputs filtering Number Speed Dutputs fallback position fi 38400 z BE 237 configurations Answer delay Number Speed Parity Roe Answer delay Ome i Outputs blinking A Frequency alt aie vation tea EEN Outputs blinking B Frequency nl x 3 1 4 RS232 configuration You can configure too the RS232 parameters in the RS232 configuration window we advise you to modify this parameters only if TES must communicate via the RS232 with a modbus master in this case to establish the connection with Tes
24. scssececscesececeseseceseseseceseseseceseseseseeeseseeeaesteeeeeeeneeeeeeeneeeeees 6 2 7 TES 32ET S specifics registers broken wires and short circuit detection 6 3 TES 32 ST MEMORY MAP 6 3 1 State Word nunnnnnnnnene 6 3 2 States and outputs commands essesessesesesesenenenenenenenenenenennn 6 3 3 Words used for supervise RS 485 COMMUNICATION 6 3 4 serial link RS422 485 diagnosis counters 6 3 5 seriallink RS232 diagnosis counters eeescsecesecesecssssececececesececssesecesecesececesesenesecesecesesesecestsesecestseseseetseseatenseeeeteteeeees 64 MEMORY MAP OF TES 4EA 4SA SEA 8ESA 8SA U cceeeesesesesesessseeeecesceesescuceesesesceeseseuceeseseuceeseceueeeseceuceeseseeeeeeeenenes 6 4 1 Word state of analog TES u unse RR EDER E EE EA O42 Digitdlinpuis treet be conch ial otters eid asta hast Mat een whl heii eed eevee eee 64 3 Analog inp tsiccuenekinsenel ineshssiib nun Bine Deus cba abn karina hessen tungstate tea E 19 6 4 4 State words Of analog CHANNELS serine ae er a E EE E Ee Ea a ar ier neiii 19 6 4 5 Digital outputs command uuunenssn sn Races e E E E EAGER EE E E a E a a eran etuaneae 19 6 4 6 gt Anal g ouipuis command sn a AEE A A A ER 20 OAT Digit l variables menaren n E R EEA AAR ERE R E AT daa E 20 6 4 8 values thresholds for analog input S eeeecsscecececscececececesececesecececesesececesececeseseseseseceseseseseseceeeseseeeceseseetetceseeteteeeeeteteeeeees 20 6 4 9 digital outputs associated to
25. snsnsnssssnensnssnenenenssnsnsnensunsnsnsnssnsnsnenssnsssnsnssnsnensnssssnsnsnsnssnsnenssssnsnsnssssnsnsnsnsenen 1 2 TESTS SET R D E E E O E E SE A E 1 3 USE OF TESIS WORKBENCH ssusessssnsssenensnsnsesensnsnsnssnsnenssnensnenssssnsnsnsnssnsnsnssnenenensnsensnsnsnnsnsnsnsnssnenenenssssnsnsnsussnsnsnssnsnsnenssssssnsnsnne 2 3 1 COMMON IMPLEMENTATION TO ALL TES ccccccsesssssssscessessesecoscsecssesscsaecsessecsseseesessesecsseseesessessesssescascescsaesaesaesaescaesaeeaeeaees 2 SLI Running TESIS alone n eueanteninn EISEN IS akeieeh eure 2 3 1 2 Running TESIS with a connected TES PRM ternmindll esscccsssssssessssvevevsssveeseseeseseseseseseseseseseseseseseeeneeeeeseneneneeeneneees 3 SAB ARSASS configuration senunsansannswenseiesis nannten EEEE EEE A a e e heiten 4 SLA xRI232 COnfig rafion z uer seen EES E EEE EE STA 4 4 TES FUNCTIONS SETTING AND USE 4 1 DIGITAL INPUT OUTPUT 4 1 1 Inputs filtering oeeo 41 2 Memorized Inputs asna u E A EA AEE Ro RE 4 1 3 Rising edge and falling edge inputs counters uunssesesesesenenenanenenanenenenenanenenenanenennnnnensnenananenansnensnensnsnensnnnensnsnsnsnennnnn 5 4 1 4 States inputs CUPALIONS sisisi einig aE E r concn a EE EREE AEEA K E Ei 5 ADD O OAE S r aea a a a aE A aine ei 6 4 1 6 Output blinking aunesnueneuuesune nen EEE EuRRREDD ERDE EEE I REEL 6 4 57 QutpuisTallback nun es cision ie asain ae a E E er oD aie 6 42 ANAEOGINPUTS rn anal Seh En DRyETErEE EEE N
26. t 4 of state word of the channel address Modbus OB to 12h Led associate to analog input will blink Set to 1 digital output associated WARNING Don t choose the same digital output for 2 different analog inputs Leroy Automation TESIS32 User s Manual 11 4 3 Analog outputs 4 3 1 Scaling The converter numeric analog CNA converts a value between 0 and 32767 ptsina voltage between 0 and 10V or ina current between 0 and 20mA Scaling allow to convert a user value between 32767 and 32768 in the CNA interval between 0 and 32767 4 3 2 Fallback position The fallback position is a forcing operation to an analog security value in case of communication break with the modbus master network wire breakage modbus master device failure Leroy Automation TESIS32 User s Manual 12 5 1 O testing Once connected to TES you can watch all digital and analog inputs and outputs states and force the digital and analog outputs the button I O Test is then activate and allow to open the following Screen A button m allow you to close this window A button allow you to know the leds signification Digital outputs forcing is done when you click on corresponding outputs command buttons Analog outputs forcing is done when you move the cursor on command bar associated to each analog output Leroy Automation TESIS32 User s Manual 13 6 TES Memory map 6 1 Introduction All values e
27. t values of analog input No 4 262h 690d 263h 264h 692d 120 last values of analog input No 5 32Bh 811d 32Ch 120 last values of analog input No 6 3A4h 932d 933d 3A6h 934d 120 last values of analog input No 7 41Dh 1053d Leroy Automation TESIS32 User s Manual 22 6 4 14 Counters of state change on digital inputs counters store state changes for each filtered inputs high part low part 423h 424h 425h 426h 427h 428h 429h 42Ah 42Bh 42Ch 6 4 15 Chronometers of digital inputs Variables are arranged on 32 bits high part low part Time base is of 100 milliseconds Inputs measured are filtered inputs 6 4 15 1 Duration of actual state for the filtered digital inputs 437h 438h 439h _43Ah 6 4 15 2 Cumulated durations of states for the filtered digital inputs Leroy Automation TESIS32 User s Manual 23 7 Modbus protocol 7 1 Generalities The MODBUS protocol RTU mode binary is a protocol of type master slave only 1 master per network The J BUS protocol is compatible for TES range with the MODBUS protocol 7 1 1 Functions codes 01 and 02 Writing 1 bit O50 Writing n bits POF Readingnwords OB Writing word OG TES accept writing in diffusion mode writing in slave No 0 7 1 2 Addresses Addressing mode type word TES memory is a suite of words of 16 bits from address 0 The address in frame is equal to the digital address Note The addresses used by MODBUS devices are
28. thresNolds v reeecececssssecsssseserecececesecscesecessseseceseseceseseseseseseseseseseseseeeseseseeeeeseeeeeeeeeeeeeeneeeeers 21 6 4 10 digital outputs polarity associated to thresholds uuuueessssessenenesenenenenenenenonenenenonenenononenenononenonononone 21 6 4 11 outputs fallback position neeeeeneeennnnneennnenenenn 6 4 12 Supervising networks 6 4 13 analog inputs storage 6 4 14 Counters of state change on digital inputs 6 4 15 Chronometers Of digital inputs isseire ieii diia aao RE EEE AE EA TEE MODBUS PROTOCDOL usssen0uonsessnsnensunsnensnssnenenensenensnensunsnensnsnsensnensnssnsnenennensnsnenssnsnsnsnssnsnsnsnnsnensnenssnsnsnsnssssnsnsnssnenenenssssnsnensunen 24 7 1 GENERALITIES 7 1 1 7 1 2 7 1 3 72 FRAMES STRUCTURE 7 2 1 7 2 2 7 2 3 7 2 4 7 2 5 7 2 6 7 2 7 Functions codes NA atan A AN AA ERE ENAA OE on EES RE E N EATA E EEATT EEE a E REE AT Exchanges description Function reading n words Writing function n words Writing function 1 word Read funchionn BUS n aa a A E a eS Writing JUNCTION n bitsi un nuseiknns a n eea E EARE EERE RA E EEE NE ET aE seas Quick reading 8 bits function Transmission time 1 General overview This manual contains all the necessary information for the use of TESIS32 workbench software all pre programmed TES functions how to set all parameters the TES Modbus slave memory map Note The implementation manual is detailed in P DOC TES 002 E manua
29. tion n words Frame request Nq 9 2n 01 10 2 bytes 2 bytes 1 byte 2 bytes 2 bytes 2 bytes to PF PF pf PF PF pf FF pf pf pf pf PF slave function address Ist word number words to number of bytes to value of Ist word value of last word CRC 16 number code write write 1 1 2x number of words to write Frame de reply Nr 8 01 10 2 bytes 2 bytes 2 bytes to PF PF pf FF of of PF slave function address Ist word number words to CRC 16 number code write 7 2 3 Writing function 1 word Frame request Nq 8 01 2 bytes 2 bytes 2 bytes to PF PF pf FF of of PF slave function address Ist word number words to CRC 16 number code write Frame reply Nr 8 01 2 bytes 2 bytes 2 bytes to PF PF pf FF of of PF slave function address word value word to write CRC 16 number code 7 2 4 Read function n Bits Frame request 1 byte 1 byte 2 pie 2 bytes 2 ae 01 to FF lor 2 1 to 2000 Slave number Function Address of Ist bit Number of bits CRC 16 Frame reply Nr 5 n 8 1 byte 1 byte 1 byte poe see n bytes Se 2 bytes Olto FF lor2 Slave number Function Number of read bytes 1 read byte Last read byte CRC 16 7 2 5 Writing function n bits Frame request Nq 9 n 8 Leroy Automation TESIS32 User s Manual 25 1 byte 1 byte 2 bytes 2 bytes 1 byte n bytes 2 bytes Number OF address number of number value of CRC 16 slave 1st bit to bits to bytes to bits to pf PF
30. uration cumulated of states at 1 since the last master reset to 0 or the last power on duration cumulated of states at 0 since the last master reset to 0 or the last power on Parameters any Function always active Leroy Automation TESIS32 User s Manual 5 Use See TES memory map 4 1 5 Safety Inputs TES 32EST S allows the wiring broken or short circuit detection between sensor and terminal input Wiring see TES User s manual P DOC TES 001 E TES furnish for each wiring control input one bit state and one bit default it allows to detect 4 states Normally open Normally close short circuit open circuit Parameters it s possible to use one safety input as a normal input Use see memory map 4 1 6 Output blinking Digital outputs can be set in blinking mode 2 frequencies are available frequency A and frequency B Parameters For each frequency you can parameter the duration to 1 and the duration to 0 of period per step of 5ms Use Function always active The choice between not blinking blinking to frequency A and blinking to frequency B is made by the Modbus master with the command of 2 bits in the Modbus memory mapping 4 1 7 Outputs fallback This function depends on the supervising of the master activity e If at end of the programmed duration gt 0 the slave don t see any line activity it set its outputs fallback mode and the Wdg led will be blinking e Ifa supervising duration other tha
31. xchanged with the modbus master are coded in hexadecimal the protocol used is Modbus RTU Analog values Analog input between 0000 and O3FF 1023 if any scaling has been set 8000 FFFF 32768 1 and 0 7FFF 0 32767 depending on the scaling settings in the opposite case Analog output between 0000 and 7FFF 32787 if any scaling has been set 8000 FFFF 32768 1 and 0 7FFF 0 32767 depending on the scaling settings in the opposite case Memory Parameters Those registers are initialised with parameters from EEPROM loaded with TESIS at every 24 V power on 1 column indicates address in hexadecimal 24 column indicates address in decimal 6 2 TES 16 EST 32 EST 32 ET 32 ET S Memory Map 6 2 1 General state word 000h 000d TES general word The 8 bits from 0 to 7 of this state word are accessible with the J bus function 8 bits quick reading bit 0 24v power on TES that use parameters loaded with TESIS Set to 1 by TES reset to 0 by master bit 1 TES is in fallback position because the master doesn t ask it anymore Set to 1 by TES reset to 0 by master bit 2 For TES32EST S only one at least of security input between sensors and one of inputs S declared of TES is in short circuit or broken Set to 1 by TES reset to 0 by the master bit 3 TES stored at least 1 state change on one digital input The master must read or reread the memorized input registers words 1 amp 2 Reset to 0 by TES

Download Pdf Manuals

image

Related Search

Related Contents

生産機械システム技術科(PDF 470kB)  品番 :ECS ECW 使用上のご注意 安全上のご注意 点検とお手入れ 各部  スーパーマックス606(ファイルサイズ:1481KB)  NOBLE EZ INSTALLATION INSTRUCTIONS  Harbor Freight Tools 14 Piece Hydraulic Punch Driver Kit Product manual  Ficha de Datos de Seguridad  HP LE2002xi Getting Started Guide  Utiform - Aislamientos Y Escayolas Laguna Sl..  Philips HybridShell DLM41078  

Copyright © All rights reserved.
Failed to retrieve file