background image

 

1

PLC

P I X S Y S

elettr onica

Manuale Installatore

User Manual

EPL101

 

 

Summary of Contents for EPL101

Page 1: ...1 PLC P I X S Y S elettronica Manuale Installatore User Manual EPL101...

Page 2: ...COMx_SEND 29 1 7 14 Aree memoria COMx_RECEIVE ed IR_RECEIVE 29 1 8 Protocollo di comunicazione Modbus RTU slave 29 1 9 Indirizzi word bit del EPL101 per protocollo Modbus RTU 30 2 Programmazione ladd...

Page 3: ..._SEND 66 1 7 14 Memory area COMx_RECEIVE and IR_RECEIVE 66 1 8 Protocol Modbus RTU slave 66 1 9 Addresses word bit of EPL101 for protocol Modbus RTU 67 2 Ladder programming of EPL101 70 2 1 Introducti...

Page 4: ...e della scheda FUSE 1A FUSE 8A 123456 3 4 7 8 9 10 11 5 1 2 6 N Descrizione 1 Led RUN verde Acceso fisso il PLC in RUN e sta eseguendo le istruzioni programmate con l applicativo ladder Lampeggio lent...

Page 5: ...slave del dispositivo 9 Morsettiera uscite e alimentazioni 10 Fusibile delle uscite 11 Fusibile alimentazione della scheda Caratteristiche hardware Alimentazione 24Vac 230Vac 5VA Ingressi analogici AI...

Page 6: ...ti elettrici Nome Descrizione 0 Comune alimentazione 24 230 VAC della scheda Per una migliore immunit ai disturbi consigliato l uso di un secondario di trasformatore dedicato 24 Alimentazione 24 VAC U...

Page 7: ...gitale PNP o ingresso analogico 0 10V 10bit I10 Ingresso digitale PNP I11 Ingresso digitale PNP I12 Ingresso digitale PNP I13 Ingresso digitale NPN Segnale di riferimento per gli ingressi analogici AI...

Page 8: ...sempio di collegamento alla linea RS485 Di seguito riportiamo uno schema di collegamento di pi EPL101 ad una linea RS485 per la comunicazione con un dispositivo master REF 220 Ohm USARE CAVO SCHERMATO...

Page 9: ...e tutte le selezioni possibili per ciascun ingresso Selezione ingresso AI1 AI2 AI3 AI4 1 0 Disabilitato selezione ammessa selezione non ammessa 1 0 1 V 2 0 20 mV 3 0 20 mA 4 4 20 mA 5 TC K 6 TC S 7 TC...

Page 10: ...10K LUX FI e LUX RS su AI1 Lasciare aperto in caso di collegamento di segnali in corrente o in tensione JP3 Chiudere in caso di collegamento di sensori tipo PT100 NI100 a 2 fili NTC 10K LUX FI e LUX...

Page 11: ...ipi di sensori Di seguito sono riportati degli esempi di collegamento dei principali tipi di sensori collegabili al modulo EPL101 Acquisizione di tensioni 0 20 mV o 0 1 V 0 20 mV 0 1 V Acquisizione di...

Page 12: ...isizione di termocoppie Tc Tc Tc N C TC K S T R J E B Acquisizione di PT100 NI100 a 2 fili NTC 10K e Lux FI e Lux RS PT10 0 NI1 0 0 2 w ire NTC 10 K Acquisizione di PT100 NI100 a 3 fili PT10 0 NI1 00...

Page 13: ...are il valore del parametro che indica l offset dell indirizzo Pi precisamente l indirizzo del modulo e dato da INDIRIZZO MODULO OFFSET INDIRIZZO COMBINAZIONE DIP L offset indirizzo valore mantenuto n...

Page 14: ...o nel paragrafo seguente 1 6 Utilizzo della memory card Il PLC modello EPL101 pu essere programmato anche tramite una memory card che permette l aggiornamento del software firmware e ladder anche senz...

Page 15: ...che B W T Area Timer B W PT Area Preset Timer B W C Area Contatori B W PV Area Preset Contatori B W EEP Area EEPROM W 1 7 1 Area memoria variabili V L area di memoria variabili V la memoria dati senza...

Page 16: ...ene sempre forzato ON determinando quindi lo stato RUN del plc In STOP le uscite rel del PLC vengono disabilitate R W Bit 1 Questo bit sempre ON per il primo ciclo di scansione del programma principal...

Page 17: ...gestione dell orologio opzionale da collegare al connettore CO1 R W SM1 2001 Bit diagnostica anomalie guasti Bit 0 Bit 1 Bit 2 Questo bit ON in caso di perdita dei dati a ritenzione dell area EEProm R...

Page 18: ...con il valore impostato nello special marker n 26 parte alta e nello special marker n 27 parte bassa Il bit viene portato automaticamente a OFF al termine dell operazione R W SM3 2003 Tempo ciclo Que...

Page 19: ...icamente a 500 R W SM11 2011 Valore dell uscita analogica AQ1 Il valore di questa word determina il valore dell uscita continua AQ1 Il valore in tensione dell uscita si ricava dalle seguente relazione...

Page 20: ...decimo secondo dell encoder 1 SM31 2031 Conteggi al decimo secondo dell encoder 2 Queste due word contengono il numero di conteggi rilevati negli ultimi 100 ms dagli encoder Queste word sono aggiornat...

Page 21: ...icezione L utilizzo di tali word trova significato nella modalit free port per controllare il numero di caratteri ricevuti Qualsiasi scrittura su queste word imposta il valore corrispondente a zero ci...

Page 22: ...SM41 2041 Configurazione ingresso analogico AI2 SM42 2042 Configurazione ingresso analogico AI3 SM43 2043 Configurazione ingresso analogico AI4 Queste word special marker definiscono il tipo di senso...

Page 23: ...AI2 SM54 2054 Calibrazione offset ingresso analogico AI3 SM55 2055 Calibrazione offset ingresso analogico AI4 SM56 2056 Calibrazione guadagno ingresso analogico AI1 SM57 2057 Calibrazione guadagno ing...

Page 24: ...1 Questa word contiene l offset dell indirizzo di protocollo del plc Il valore di questa word viene sommato al valore ottenuto dalla combinazione dei dip switch di selezione dell indirizzo All accensi...

Page 25: ...s Protocollo slave il ritardo minimo tra la fine della ricezione seriale di dati provenienti da un dispositivo master all inizio della trasmissione dei dati della risposta del plc max 100ms Protocollo...

Page 26: ...ord definisce il numero di errori di comunicazione consecutivi dopo i quali viene segnalata l anomalia nei rispettivi bit di Stato seriale R W SM94 2094 Numero caratteri ricezione IR default 8 Definis...

Page 27: ...o di una uscita Ad esempio lo stato dell uscita digitale Q1 memorizzato nel bit n 0 d ella word 1 dell area Q L area costituita da 8 word La prima viene trasferita alle uscite del plc alla fine di ogn...

Page 28: ...ri di preset dei contatori 1 7 11 Area memoria EEPROM L area EEPROM la memoria a ritenzione dove possono essere salvati i dati che necessitano di non essere persi anche se il plc rimane spento per per...

Page 29: ...re nella modalit normale tali aree vengono gestite direttamente dal protocollo selezionato in fase di programmazione Tali aree sono organizzate a byte 8 bit 1 7 14 Aree memoria COMx_RECEIVE ed IR_RECE...

Page 30: ...e senza nessuna risposta da parte degli slave Interrogazione con indirizzo slave sconosciuto Interrogazione con indirizzo 0xFF a cui risponde qualsiasi slave collegato 1 9 Indirizzi word bit del EPL10...

Page 31: ...ione integrale PID1 azione derivativa PID1 uscita PID1 azione proporzionale PID2 uscita PID8 R 0 0 0 0 0 0 32768 65535 Word area MMC R W EEP 100 Contatti n a ingressi digitali I1 I16 R 101 Contatti n...

Page 32: ...n a marker di appoggio M65 M80 R 0 175 Contatti n a marker di appoggio M81 M96 R 0 176 Contatti n a marker di appoggio M97 M112 R 0 177 Contatti n a marker di appoggio M113 M128 R 0 BIT MODBUS ADDRES...

Page 33: ...Contatti ingressi digitali I I contatti I contengono lo stato degli ingressi digitali del plc ed eventualmente di una sua espansione Il contatto normalmente aperto chiuso on quando il bit vale 1 ingr...

Page 34: ...n dato periodo di tempo dopo che l ingresso stato disattivato Quando la bobina viene attivata il bit di temporizzazione contatto T viene immediatamente attivato e il valore corrente T viene impostato...

Page 35: ...lascer invariato il valore corrente Analogamente al raggiungimento del valore minimo 32 768 il successivo fronte di salita dell ingresso di conteggio all indietro lascer invariato il valore corrente...

Page 36: ...specificata un valore numerico o il valore assunto da un altra locazione di memoria 2 2 8 Funzione di assegnazione BLKMOV La funzione di assegnazione BLKMOV consente di assegnare al blocco di memoria...

Page 37: ...o chiuso on quando il bit vale 1 ingresso attivo Il contatto normalmente chiuso aperto on quando il bit vale 0 ingresso non attivo 2 2 12 Uscite immediate QI Il plc EPL101 consente di agire direttamen...

Page 38: ...llegato un potenziometro utilizzato per impostare il tempo preimpostato PT di un temporizzatore con base tempi 100ms si otterr a seconda della posizione del potenziometro un tempo variabile da 1 0 a 2...

Page 39: ...dei dati il bit SM0 7 SM0 7 o SM0 8 relativi alla porta in trasmissione verr settato a 1 mentre verr portato a 0 ad indicare la fine della trasmissione E possibile controllare un eventuale risposta di...

Page 40: ...ipo di dato word o bit Numero del dato o numero di partenza nel caso di pi dati Area di memoria interna del plc dove leggere o scrivere i dati Numero di word la stessa istruzione di lettura o scrittur...

Page 41: ...mpo integrale a 0 in caso contrario anche in caso di spegnimento il sistema inizier a regolare mantenendo come punto di partenza la stessa percentuale di azione integrale limitando quindi i tempi del...

Page 42: ...o modo alla commutazione dal funzionamento manuale ad automatico l uscita del PID assumer il valore impostato dal manuale e inizier la regolazione La funzione deve quindi essere chiamata solo durante...

Page 43: ...giornata con lo stato attuale della funzione mentre la locazione VD 12 verr scritta con la velocit istantanea del setpoint espressa con tre cifre decimali Tale valore pu essere utilizzato per generare...

Page 44: ...n ingresso una word con segno 32768 32767 in un numero specificato di cifre ascii Alla funzione verr passato come parametro il numero di cifre da salvare Le codifiche di tali cifre saranno salvate una...

Page 45: ...CB FUSE 1A FUSE 8A 123456 3 4 7 8 9 10 11 5 1 2 6 NO Description 1 Led RUN green ON PLC is in RUN mode and is executing the instructions programmed by ladder language Slowly flashing 0 5 s on 0 5 s of...

Page 46: ...digital inputs I1 I3 I10 I12 8 Dip switch for the selection of slave address 9 Terminal block for outputs and suppl 10 Outputs fuse 11 Power supply fuse Hardware data Supply 24Vac 230Vac 5VA Analog i...

Page 47: ...oles not isolated 1 2 Electrical wirings Name Description 0 Common pin for power supply 24 230 VAC To improve noises immunity the secondary of dedicated transformer is highly recommended 24 Supply 24...

Page 48: ...11 Digital input PNP I12 Digital input PNP I13 Digital input NPN Reference signal for analog inputs AI1 Positive signal for analog input AI1 AI2 Positive signal for analog input AI2 AI3 Positive signa...

Page 49: ...n of inputs AI1 AI2 AI3 AI4 1 0 Desabled selection allowed selection not allowed 1 0 1 V 2 0 20 mV 3 0 20 mA 4 4 20 mA 5 TC K 6 TC S 7 TC T 8 TC R 9 TC J 10 TC E 11 TC B 2 12 PT100 3 4 13 NI100 5 6 14...

Page 50: ...on or current signals JP3 Place the jumper for PT100 and NI100 2wires or NTC 10K on AI2 Do not place jumper if you connect the compensation wire for PT100 NI100 on AI1 or tension signals JP4 Place the...

Page 51: ...1 3 1 Examples of wirings ffor the most common sensors signals Tension 0 20 mV or 0 1 V 0 20 mV 0 1 V Current 0 20 mA or 4 20 mA 0 20 4 20 mA 2 wire Reading of thermocouples Tc Tc Tc N C TC K S T R J...

Page 52: ...52 Reading of PT100 NI100 2wires or NTC 10K PT10 0 NI1 0 0 2 w ire NTC 10 K Reading of PT100 NI100 3wires PT10 0 NI1 00 3 w ire...

Page 53: ...6 dips dip set to ON 1 dip set to OFF 0 and values are added according to this formule Combination DIP1 32 DIP2 16 DIP3 8 DIP4 4 DIP5 2 DIP6 1 1 5 Programming the Memory card To program the Memory car...

Page 54: ...ing the led RUN and COM will alternately switch on indicating the program advancement 9 After programmino has been completed when led RUN stays ON remove the Card 10 The program saved on memory Card i...

Page 55: ...ialized at starting of PLC with default values described in the table below This area contains all data related to analog inputs and also some bits controlled by the PLC for the ladder application as...

Page 56: ...transmission R Bit 7 Bit 8 This bit is ON during the transmission of data to serial port COM2 It is automatically set to OFF at the end of transmission R Bit 9 If set to ON this bit enables mode modem...

Page 57: ...d of scanning cycle the counter of encoder1 32 bit is loaded with the value which is set on special marker n 24 most significant part and on special marker n 25 less significant part The bit is automa...

Page 58: ...0V This word is directly modified using the instruction RANGE AQx Min Max Automatically set to zero at starting R W SM10 2010 Max value analog output AQ1 The value of analog output AQ1 for which the...

Page 59: ...nd of encoder 1 SM29 2029 Countings per second of encoder 2 Number of countings completed by the encoders during last second These words are automatically updated every second R SM30 2030 Countings pe...

Page 60: ...se words are used to check the no of received characters in mode free port Any writing on these words will empty the RX buffer setting the value at zero R W SM38 2038 Filter on analog inputs default 5...

Page 61: ...iguration Analog input AI4 These special marker words define the type of sensor connected to analog inputs AI1 AI2 AI3 and AI4 select properly the jumpers for configuration of inputs 0 Desabled 1 Inpu...

Page 62: ...y are used to correct eventual mistakes of reading The formule is as follows Value AIx Value AIx Value AIx Gain calibration AIx 1000 Offset calibration AIx At starting all calibration values are set t...

Page 63: ...00 baud 4 38400 baud 5 57600 baud 6 110 baud 7 150 baud 8 300 baud 9 600 baud 10 1200 baud 11 2400 baud SM88 2088 Format of COM1 SM92 2092 Format of IR SM96 2096 Format of COM2 2 Select format of comm...

Page 64: ...ital inputs is stored It is organized in words each of the 16 bit of the word represents the state of an input For instance the state of digital input I20 is stored on bit no 3 of word 2 in area I The...

Page 65: ...rs Accordng to type of counter at each counting operation the value container in this area will be updated 1 7 10 Memory area preset values of counters PV In this area the preset values of conters PV...

Page 66: ...nt to the relevant serial port They are used only in free port mode In standard mode these areas are handled with the selected communication protocol These ares are divided in byte 8 bit 1 7 14 Memory...

Page 67: ...s 0x00 and no answer by slaves Polling with unknown slave address Polling using address 0xFF any connected slave can answer 1 9 Addresses word bit of EPL101 for protocol Modbus RTU The following table...

Page 68: ...PID1 output PID1 proportional action PID2 output PID8 R 0 TAMP TAMP TAMP 0 TAMP 32768 65535 Word area MMC R W EEP 100 N O contacts digital inputs I1 I16 R 101 N O contacts digital inputs I17 I32 R 102...

Page 69: ...upport markers M65 M80 R 0 175 N O contacts support markers M81 M96 R 0 176 N O contacts support markers M97 M112 R 0 177 N O contacts support markers M113 M128 R 0 BIT MODBUS ADDRES S DESCRIPTION REA...

Page 70: ...LC and eventually of one more expansion The N O contact is closed on when bit value is 1 active input The N C contact is open on when bit value is 0 input not active 2 2 2 Relay outputs auxiliary Q EP...

Page 71: ...eset timer PT After reaching the preset timer timing bit is deactivated and actual value does not increase If input is deactivated for a time which is lower than preset time the timing bit is still ac...

Page 72: ...therwise it is deactivated Please use number of counter to refer both to actual value and to Contact C of the counter itself MDOWN In mode Count Down the counting bit contact C is activated when prese...

Page 73: ...to enter the value of the area n 0 n 1 n N 1 2 2 10 Assignement function MOVTXT Starting with the specified memory location the assignement function MOVTXT allows to save the characters of a string s...

Page 74: ...LSB 2 2 16 Function RANGE The RANGE fuction defines minimum and maximum limits for analog inputs AI and for PID outputs Concerning analog inputs AI the minimum and maximum values allow to traslate th...

Page 75: ...which can be activated by special marker SM32 SM33 and SM34 the protocol which usually handles the serial ports is desabled and the ports as well as the relevant TXT and RX buffers are controlled by t...

Page 76: ...evice by means of a writing instruction this instruction can work only on a single data each time Slave number communication address of slave device Data type word or bit Number of data or starting nu...

Page 77: ...me Derivative time Dead band Parameters can be entered with numeric format or referring to internal variables Integral time is expressed in time unit used for PID function ex PID function recalled eve...

Page 78: ...ction GENSET Function GENSET allows to generate automatically a variable setpoint with option to enter an acceleration and deceleration ramp Function GENSET operates on a series of adjoining variables...

Page 79: ...e function will automatically enter standby modde indicated by value 0 on location VD This means that function GENSET can be always active even when motion is not required 2 2 25 Function CONV The fun...

Page 80: ...r of characters to save will be assigned to this function as parameter Codes of these characters will be saved one character per word starting with the destination word and then in the following ones...

Page 81: ...81...

Page 82: ...82...

Page 83: ...83...

Page 84: ...84 PIXSYS Via Tagliamento 18 30030 Mellaredo di Pianiga VE www pixsys net e mail sales pixsys net support pixsys net Software Rev 1 08 firmware 2300 10 071 RevE 150610 2300 10 071...

Reviews: