background image

Manuale

operatore

Содержание TD240 series

Страница 1: ...Manuale operatore...

Страница 2: ...2...

Страница 3: ...hes for analog inputs AI1 4 19 6 2 Setting of dip switches for analog inputs AI5 6 21 7 Programming the terminal 23 7 1 Starter Kit Connection of the terminal to the PC 24 7 2 The development environm...

Страница 4: ...10 4 Timer T 73 10 5 Counters C 74 10 6 Mathematic formulas FM 75 10 7 MOV assignments 75 10 8 BLKMOV multiple assignments 75 10 9 MOVIND indexed assignments 76 10 10 MOVTXT assignments 76 10 11 Digit...

Страница 5: ...ged by PLProg development environment which is common to other Pixsys devices The waterproof protection of the facade is IP54 and IP30 for the enclosure 2 Model identification There are two versions o...

Страница 6: ...6 3 Mechanical dimensions and installation...

Страница 7: ...y characteristics 1 DISPLAY Type Back lit LCD resistive touch screen TFT Dimensions Active Area 3 5 70 03 W mm x 52 56 H mm Resolution 320x240 pixels Colours 256 8bit Importable Images bitmap of 256 c...

Страница 8: ...Distinguish supply line from power line Avoid proximity with remote control switches electromagnetic contactors and powerful motors Avoid placing near power installations particularly if phase control...

Страница 9: ...9 5 1 Terminal block M1 Power Supply SUPPLY 12 to 24V ac dc 12 24V AC DC 15 50 60Hz 5 2 Terminal block M2 This terminal block is only for TD240 11AD...

Страница 10: ...or TD240 11AD Analog outputs 1 CAN R CAN interface currently not available Do not use these pins 2 CAN H CAN interface currently not available Do not use these pins 3 CAN L CAN interface currently not...

Страница 11: ...is only for TD240 11AD Digital Inputs Outputs 1 AI COM Negative common signal for analog inputs 2 AI 1 Positive for analog input AI1 3 AI 2 Positive for analog input AI2 4 AI 3 Positive for analog in...

Страница 12: ...ion with RS485 or RS232 The electrical signals are available in two connectors present at the back of the terminal pin DB9 and pin DB25 DB9 FE CONNECTOR PIN N SIGNAL PORT DB9 PINS 1 Not used 2 RX RS23...

Страница 13: ...32 COM2 EXP1 6 Not used 7 GND RS485 RS232 COM2 EXP1 8 Not used 9 Not used 10 Not used 11 RX RS232 COM2 12 TX RS232 COM2 13 Not used 14 GND RS485 RS232 COM2 EXP1 15 RS485 EXP1 16 RS485 EXP1 17 Not used...

Страница 14: ...PIN 14 GND PIN 21 RX 232 PIN 22 TX 232 DB25FE 5 5 1 2 Interface RS485 PIN 14 GND PIN 15 RS485 PIN 16 RS485 DB25FE 5 5 1 2 1 Cable of EXP1 communications in generic RS485 A cable is available cod art 1...

Страница 15: ...PL300 XXAD an optional cable is available that connects port EXP1 in RS485 from connector DB25 of the terminal to port COM1 on PLUG of the PLC 5 5 2 EXP1 on DB9 connector pins The communication port E...

Страница 16: ...ND PIN 9 RS485 PIN 4 RS485 DB9 FE 5 5 2 2 1 Cable of EXP1 comm in generic RS485 A cable is available code art 1620 00 034 optional which provides EXP1 port from connector DB9 in RS485 for a generic co...

Страница 17: ...m connector DB9 of the terminal to port COM1 on PLUG of the PLC 5 5 3 COM2 on DB9 connector The communication port COM2 is available in the 9 pin connector interface RS232 protocol MODBUS SLAVE format...

Страница 18: ...e RS232 or RS485 protocol MODBUS SLAVE format 8 N 1 baud rate settable Usually this is the communications port used for programming the terminal through a PC see Chapter 5 5 5 4 1 Interface RS232 PIN...

Страница 19: ...l other analog inputs Correspondance between analog inputs and their relevant dipswitch is shown in the diagram below N B The device must be switched off before proceeding to any hardware configuratio...

Страница 20: ...couple to pin AI COM PT100 NI100 For two wires PT100 NI100 this setting can be selected for all inputs Connect one wire to analog input and the one to reference pin of AI COM inputs For 3 wires PT100...

Страница 21: ...if inputs AI1 and AI2 are not already selected as 0 10V 10bit In fact input AI5 is exploiting some hardware resources of AI1 as well as input AI6 respectively to AI2 Selecting AI5 and AI6 as 0 10V 10...

Страница 22: ...digital input I5 and the reference signal to pin Vdc Below the diagrams with the setting of dip switches for the configuration of analog input AI6 Input AI6 Dip switch Notes Disabilitato Analog input...

Страница 23: ...kit optional code art 2100 10 008 provides the cable and the development environment to create applications Programming involves the communication port COM2 present in both connectors There are 2 ada...

Страница 24: ...24 7 1 Starter Kit Connection of the terminal to the PC...

Страница 25: ...gic of the operation of the system i e the way in which the memory areas must interact among each other is instead managed by the PLC The TD240 terminal is also a PLC therefore it manages graphics and...

Страница 26: ...ent implemented with TdDesigner and of the time dedicated to the management of the PLC implemented with PLProg 4 xx The default setup foresees an equal division of the execution cycle the terminal wil...

Страница 27: ...27 7 2 1 Creation of a new project...

Страница 28: ...rog 4 xx 3 Creazione nuovo schema Ladder plp nome_file 4 Compilazione schema Ladder plp nome_file 6 Trasferimento progetto al terminale 7 5 Compilazione progetto tdproj nome_file To create a new proje...

Страница 29: ...Start Program menu or from the Desktop icon automatically created at installation 2 Create new project name_file tdproj Once the development environment is opened create a new project as shown in the...

Страница 30: ...handled in other documentation available with the development kit code art 2100 10 008 and assumed here as known by the user 3 Start PLProg 4 xx Start the PLProg 4 xx software from the Start Program...

Страница 31: ...ide to the software and the implementation of the ladder code is available with the development kit code art 2100 10 008 and assumed here as known by the user 5 Compile project file_name tdproj Once t...

Страница 32: ...e the Ladder diagram sketch is finished it is necessary to compile it as shown in the figure below It is this fundamental passage that creates the link between the Ladder file just compiled in the dev...

Страница 33: ...t is not necessary that the file tdproj has the same name of the file plp 7 Transfer the project to the terminal If the compilation was successful now one can carry out the download of the project as...

Страница 34: ...nnected correctly to the PC see diagram of section 4 1 during the transfer the terminal will show this figure on the display At the end of the download the terminal will execute the instructions of th...

Страница 35: ...one progetto tdproj nome_file Avvio TdDesigner e modifiche progetto tdproj nome_file Grafica da modificare Modifiche schema Ladder plp nome_file SI NO Per modifiche al solo PLC non necessario avviare...

Страница 36: ...b AQ Area of Analog Outputs b W T Area of Timer b W PT Area of Preset Timer b W C Area of Counters b W PV Area of Preset Counters b W EEP Area of EEPROM W MMC Area of EEPROM data W EXP Area of buffer...

Страница 37: ...Ladder program to interact with the TD240 hardware Some data are initialized at the start with default values indicated in the table below In this area are the storage words that manage the events rel...

Страница 38: ...ck impulse ON for 0 5 seconds OFF for 0 5 seconds R Bit 4 Bit clock of scan cycles that is active ON for a cycle and deactivated OFF for the successive cycle It can be used as an input for counting sc...

Страница 39: ...Bit ON in case of program load from flash memory R W Bit 4 Bit ON in case of reset of the CPU or intervention of the watch dog R W Bit 5 Bit ON in case of stack overflow in the area reserved for RAM...

Страница 40: ...e found of the program scan cycle resolution 100 S R SM6 1006 Interval of timer interrupt n 1 SM7 1007 Interval of timer interrupt n 2 Word that defines the interval of the timer interrupt The value c...

Страница 41: ...the display R Bit 2 Bit ON in case of up touch release of pressure on the display R Bit 3 Bit ON in case of touch pressure continuous pressure on the display R Bit 4 Bit ON in case of touch repeat aut...

Страница 42: ...e visualized page will remain as it was before After the page change the word is set back to 0 automatically At startup if SM1 0 1 the value is initialized to 0 no change of page otherwise the page pr...

Страница 43: ...ngle scan cycle the number of the last area of memory saved from the graphics As an example if the graphics modifies the variable VW30 there will be for the scan cycle following the modification SM16...

Страница 44: ...clock hours 0 23 R W SM33 1033 Day Internal clock day 1 31 R W SM34 1034 Month Internal clock month 1 12 R W SM35 1035 Year Internal clock year 0 99 R W SM36 1036 Day of the week Internal clock day of...

Страница 45: ...t These parameters are initialized at startup to 0 free port mode disabled Bit 0 3 These bits set the communication velocity of the serial port in the free port mode according to the following values...

Страница 46: ...free port mode 0 returns the serial line control to the protocol selected during the programming phase R W SM43 1043 Num Byte in EXP1 reception buffer SM44 1044 Num Byte in COM2 reception buffer For e...

Страница 47: ...2400 6 7 8 9 10 11 4800 9600 19200 28800 38400 57600 SM50 1050 EXP1 serial format default 8 N 1 SM54 1054 COM2 serial format 8 N 1 non modifiable The value that is set defines the communications data...

Страница 48: ...defines the number of consecutive communication errors after which an anomaly will be signaled in the respective bit of the word Serial state The default value for all of the ports is 10 R W SM73 107...

Страница 49: ...8 SM92 1092 Serial state COM2 49 64 SM93 1093 Serial state COM2 65 80 SM94 1094 Serial state COM2 81 96 SM95 1095 Serial state COM2 97 112 SM96 1096 Serial state COM2 113 128 SM97 1097 Serial state CO...

Страница 50: ...ansmission after the reply of a slave device Possible values 0 100 0 100ms default 5 5ms R W SM120 1120 State of digital inputs I1 I16 during test stage This word sets the state of digital inputs duri...

Страница 51: ...lue of input 1 15 Number of conversions used to rate the mean Bit 4 Exclude software filter for input AI1 R W 0 Filter enabled 1 Filter excluded Bit 5 Exclude software filter for input AI2 R W 0 Filte...

Страница 52: ...ns supposed false AI6 0 enabled 1 desabled R W SM123 1123 Configuration analog input AI1 SM124 1124 Configuration analog input AI2 SM125 1125 Configuration analog input AI3 SM126 1126 Configuration an...

Страница 53: ...ocouple type T 10 Input thermocouple type R 11 Input thermocouple type J 12 Input thermocouple type E 13 Not available 14 Input PT100 PT100 15 Input PT100 NI100 16 Compensation input PT100 NI100 only...

Страница 54: ...I1 SM142 1142 Offset calibration for analog input AI2 SM143 1143 Offset calibration for analog input AI3 SM144 1144 Offset calibration for analog input AI4 SM145 1145 Offset calibration for analog inp...

Страница 55: ...n Max instruction They are automatically set to 0 at starting R W SM160 1160 Max value analog outputAQ1 SM161 1161 Max value analog outputAQ2 SM162 1162 Max value analog outputAQ3 SM163 1163 Max value...

Страница 56: ...refore less accurate conversion R W SM165 1165 Conversion reference for inputAI1 default 0 SM166 1166 Conversion reference for inputAI2 default 0 SM167 1167 Conversion reference for inputAI3 default 0...

Страница 57: ...l reference 1 25 V 1 internal reference 2 50 V Buffer input of converter 0 buffer desabled 1 buffer enabled Bit 0 Not used keep value 0 SM170 1170 MDEC1 register of A D converter default 64 This SM al...

Страница 58: ...for input amplifier PGA 000 1 100 16 Bit 2 0 001 2 101 32 010 4 110 64 011 8 111 128 SM172 1172 OFFSET register for A D converter default 0 Enter an offset value for the input of internal A D converte...

Страница 59: ...ent the state of an output It is accessible also in bits in order to allow the control of each single output 8 5 Area of Marker M Memory area M is comprised of 50 words and contains the state of all t...

Страница 60: ...ntacts preset of the respective timers The areas are organized in signed words thus the resolution of the timer and the preset timer is 16 bits 32767 8 9 Area of Counters C and Preset Counters PV The...

Страница 61: ...e for example to memory area V and then use area V for an access that is more rapid order of 5 10 s 8 12 Area of MMC The memory area MMC is composed of 3000 words This is the memory storage where it i...

Страница 62: ...erally the coils of the Ladder diagram are executed following the sequential order written in the diagram itself The instruction related to the coil at line n 1 is not executed until the full completi...

Страница 63: ...f each scan cycle 9 2 Protocol ModBus RTU ModBus on the serial line is a Master Slave protocol In a network with this type there is a single node the Master that interrogates and commands the Slaves a...

Страница 64: ...lowing figure for the list of possible operations in a ModBus communication reading and writing of a word or bit single or multiple 9 2 1 ModBus RTU Master The protocol ModBus Master can be configured...

Страница 65: ...ve The protocol ModBus Slave can be configured for all three of the ports EXP1 and COM2 With this configuration all of the resources of the terminal are available to the Master device that is eventual...

Страница 66: ...13127 Word area preset timer PT R W 0 14000 14063 Word area counters C R W 0 15000 15063 Word area preset counters PV R W 0 17000 17099 Word area buffer TX EXP1 R 0 17500 17599 Word area buffer RX EX...

Страница 67: ...s Q17 Q32 R 0 181 Contacts n o digital outputs Q497 Q512 R 0 200 Contacts n o bistable relays B1 B16 R W 0 201 Contacts n o bistable relays B17 B32 R W 0 207 Contacts n o bistable relays B113 B128 R W...

Страница 68: ...0 2111 Contact n o digital input I512 R W 0 2400 Contact n o digital output Q1 R W 0 2401 Contact n o digital output Q2 R W 0 2911 Contact n o digital output Q512 R W 0 3200 Contact n o bistable relay...

Страница 69: ...stop bit The following table indicates all of the elements that can be read written from the PLC The address of the bit o of the word to read or write is obtained by adding the real address of the bi...

Страница 70: ...G X 0 0 6000 R W 1 INDEX REG Y 0 0 6001 R W 1 INDEX REG D 0 0 6002 R W 1 DATA REGISTER DT 0 9999 10000 R W 10 R 7 W LINK DATA REGISTER LD 0 9999 20000 R W 10 R 7 W FILE REGISTER FL 0 9999 30000 R W 10...

Страница 71: ...TPUT of the PLC NAIS from Y3 to YA Y10 The following illustration however reads the register DATA REGISTER of the PLC NAIS the 10 words from DT0 to DT9 and copies them in the area of V0 to V9 of the T...

Страница 72: ...tive A contact normally closed N C is opened ON when the bit value is 0 input non active 10 2 Digital output contacts Q The TD240 has 512 type Q outputs These can be used to contain the state of event...

Страница 73: ...the deactivation of the coil the timer will count until the elapsed time becomes greater than or equal to the pre established time preset word PT Once reached the timer bit deactivates and the curren...

Страница 74: ...ounter will be set to zero upon activation of the reset input Cx RESET or when the operation MOV Cx 0 is executed Upon reaching the maximum value 32767 the rise of the next up count will leave the cur...

Страница 75: ...can be numeric constants or refer to the available areas of memory variables 10 7 MOV assignments The function MOV move assigns a numeric value constant or the contents of another location source are...

Страница 76: ...ation and similarly B is the index of area A 10 10 MOVTXT assignments MOVTXT saves string characters passed as a function parameter to a specified location in memory This function permits the followin...

Страница 77: ...e bit 0 is the least significant bit LSB 10 14 BIT contacts This operation extracts the value of a bit of an area of memory A contact normally open is closed ON when the bit value is 1 A contact norma...

Страница 78: ...ifies the state of the flow of current The flow of current stops if it reaches a NOT contact and supplies energy if it doesn t reach it The operation NOT inverts the logical value 0 1 and 1 0 10 17 P...

Страница 79: ...ction before the end of the preceding transmission or with free port mode disabled are ignored by the program 10 19 TunePOS and POS functions The function TunePOS executes an auto tuning procedure ind...

Страница 80: ...and wait that the contact TunePOS normally open closes to indicate the end of the procedure of auto tuning the axis At this point the inertia data and the reaction time of the axis are automatically...

Страница 81: ...ading writing of the data of the connected Slave devices using the Master protocol selected in the project Such functions are active only when a protocol of communication of type Master is selected fo...

Страница 82: ...t Type of operation performed Reading the TD240 continuously reads the data of the Slave device s and memorizes them in an area of internal memory Writing the TD240 continuously writes the data to an...

Страница 83: ...nction StartPID Proportional band Integral time Derived time Dead band The parameters can be inserted in numerical format or can refer to areas of memory The integral time is expressed in the units of...

Страница 84: ...portional components Type of regulation action Intervals of modulation Single direct action 0 Setpoint Setpoint B P 2 Setpoint B P 2 Uscita al 100 Uscita al 0 Single direct action 1 Setpoint Setpoint...

Страница 85: ...d oscillation of size control in switching from manual mode to automatic by the PID algorithm The function uses the following parameters Output value The Output value is set by the PID automatically c...

Страница 86: ...State of the GENSET function 0 Stop or end of movement 1 Initialization function 2 Ramp of acceleration 3 Movement at constant velocity 4 Ramp of deceleration 2 Initial setpoint setpoint calculated by...

Страница 87: ...ameter of the function This gives the start to the function that will automatically begin to write the generated setpoint in the location VD 2 The location VD will be also updated with the actual stat...

Страница 88: ...tion with the difference that the data of origin is segno interpreted as a word without sign 0 65535 The code is comprised of a bit set to 1 if a segment should be lit and if the segment should remain...

Страница 89: ...89 11 Notes Updates...

Страница 90: ...90...

Страница 91: ...91...

Страница 92: ...92 PIXSYS www pixsys net e mail sales pixsys net support pixsys net Software Rev 4 70 2300 10 145 Rev F 040110 2300 10 145 F...

Отзывы: