Home
User manual - Temperature Controller
Contents
1. Dip switch combination Dip switch combination 1 A Oo E ab bl DI wo m 22 H 9 21 e a E all bl DI SO DI 2 NI o o 4 Dip switch combination 2 Dip switch combination 3 20 1 7 PL260 areas The PL260 module provides the user with memory areas where it is possible to read or write program data Memory areas can be entered by instruction with access by single bit B by word W or double word D CODE AREA ACCESS V Variables V area B W D SM Special Marker area B W D Digital inputs area B VV Al Analogue inputs area B VV Q Digital outputs area B VV M Marker area B VV AQ Analogue outputs area B VV T Timer area B VV PT Preset Timer area B VV Counters area B VV PV Preset counters area B VV EEP EEPROM area VV MMC EEPROM MEMORY area VV COM1 TX COM1 TX area COM1 RX COM1 RX area VV EXP1 TX EXP1 TX area VV EXP1 RX EXP1 RX area VV COM2 TX COM2 TX area COM2 RX COM2 RX area VV 1 7 1 Variables V memory area The memory area Variables V is the memory which is used by the program to store data of operations It is composed
2. faster or more stable conversion according to the requirements Allowed frequency value changes from 18 Hz conversion slower and more precise to 1920 Hz conversion faster but less precise SM82 1082 Input Al1 conversion reference default 0 SM83 1083 Input Al2 conversion reference default 0 SM84 1084 Input AI3 conversion reference default 0 SM85 1085 Input Al4 conversion reference default 0 Defines the reference used by the digital analogue R W converter to convert the analogue inputs Al Through these special markers it is possible to change the default reference 0 AI COM moving it from the analogue ground to one of the other analogue inputs realizing a differential reading between two Al inputs Allowed settings are 3 gt AIS 4 gt Al4 33 SM86 1086 SETUP register for converter A D default 10 This special marker allows to change some settings of R W the internal digital analogue converter This register is managed by bit and not all of them can be modified Not used keep it to 0 Conversion speed divisor 0 gt normal conversion speed 1 gt halved conversion speed Bit3 Notused keep it to 1 VREF converter voltage reference 0 gt internal reference 1 25 V 1 gt internal reference 2 50 V Converter input buffer 0 gt disabled buffer 15 enabled buffer Bit0 Notused keepitto 0 34
3. 12 1 5 3 Connection of a load cell Below some examples of connection for a load cell to the analogue inputs of PL260 As showed in the figure to connect a load cell to the PL260 it is necessary to Create the voltage max 5 Vdc to supply the cell through the analogue output AQ4 Connect the load cell signals and to the analogue inputs AI1 signal and 2 signal for reading the differential voltage generated Configure the reference to convert input on Al2 SM82 2 Configure analogue input on 0 20 mV SM40 4 13 1 5 4 Connection of a bidirectional encoder Below an example of connection for a typical bidirectional encoder phase and Z optional which can be connected to the PL260 inputs 1 5 5 Connect PL260 to RS485 Below an example of connection for more modules PL260 to RS485 line for the communication with a master device 220 ohm USARE CAVO SCHERMATO WSAD 2 22 23 54 55 5e 31 323354 35 6 lt x o 2 ESE z CANbus rani 14 1 6 Setting dip switch PL260 is provided with internal dipswitches which allow the user to configure the analogue inputs to select the serial interface EXP1 to be connected to terminals to select the device address and other plc functions WARNING All hardware configuration procedures m
4. 44 1 7 6 Memory area analogue inputs Al 44 1 7 7 Memory area analogue outputs AQ 44 1 7 8 Memory area timer T i 45 1 7 9 Memory area preset timer 45 1 7 10 Memory area counters C 45 1 7 11 Memory area preset values of counters PV 45 1 7 12 Memory area EEPROM WWW nan 45 1 7 13 Memory area MMC 46 1 7 14 Memory areas COMx SEND and EXP1_SEND 46 1 7 15 Memory areas COMx RECEIVE and EXP1 RECEIVE 46 1 8 Modbus slave communication protocol 47 1 9 Addresses word bit of PL260 for protocol Modbus RTU 48 2 PL260 Ladder programming 53 2 T Introduction dete La der seme te tet e ru t Fe ctae 53 2 2 Elements of Ladder programming ess 53 2 2 1 Contacts digital inputs l i 53 2 2 2 Digital outputs Q 2 ttti tiles 53 2 2 3 Bistable relays B delest ie Een 54 24 TImer Lis coe dy ettet aa Ke ia em ala 54 2 2 5 COUNTER nde adire ie utl iaia 55 2 2 6 Mathematical formule FM function oooooWocooo 55 2 2 7 Assignement function MOV WWW 56 2 2 8 Assignement function BLKMONY
5. 5 125 1125 Number of errors for signal on status COM2 def 10 Value entered for this word defines R W If master protocol the number of consecutive communication errors after which the anomaly is notified in the relevant bit of serial status If slave protocol the time in seconds after that the anomaly is notified keeping to 1 all bit of the word serial status 40 COM2 configuration in free port mode These words enable functioning of serial port in free R W port mode selecting also functioning parameters Enabling this mode communication protocol which uses the serial is disabled and so it is possible to access directly the transmission reception of data on port These parameters at switch on are selected to 0 free port mode disabled RW RW R 3 gt 600 baud 9 gt 28800 baud 4 3 1200 baud 10 gt 38400 baud 5 gt 2400 baud 11 gt 57600 baud These bits select the format for the serial port communication data in free port mode 0 gt 8 N 1 6 gt 8 N 2 1 gt 8 0 1 7 8 0 2 2 3 8 E 1 8 gt 8 E 2 33 7 N 1 9 7 N 2 43 7 04 102 7 02 5 gt 7 E 1 112 7 E 2 These bit select communication speed for the serial port in free port mode according to this values 0 gt 110 baud 6 gt 4800 baud 1 gt 150 baud 7 gt 9600 baud 2 gt 300 baud 8 gt 19200 baud by the selected protocol into the This bit selected to 1 enables mode free RAV port if selected to
6. 56 2 2 9 Indexed Assignement Function MOVIND 56 2 2 10 Assignement function MOVTXT oom 56 2 2 11 Contacts Il immediate digital inputs eneee eeen 56 2 2 12 Immediate outputs QU i 57 2 2 19 IF contacti ii dass ted tradet cade 57 2 2 14 SBIT and RBIT functions i 57 2215 BI T cohitact n i ecce d dd 57 2 2 16 RANGE TUNETONI oan etna censa aa an aka 57 2 2 17 Gontacb NOT diri ia 58 2 2 18 Contact P and rocas 59 2 2 19 Function SEND and mode 59 2 2 20 Function TunePOS and POS positioning axis ON OFF 59 2 2 21 Function serial communication COM and EXP 61 2 2 22 MapEXP mapping function for external I O 64 2 2 23 Functions StartPID PID SetOutPID 67 2 2 24 Functions StartPOSPID and 68 2 2 25 Function GENSET oooooooo Wooo Woo 69 2 2 26 Function CONV 71 1 Acquisition actuation module PL260 1 1 Introduction The PL260 is a compact PLC for the acquisition of analogue and digital signals and the execution of complex mathematical functions One of the most important features on PL260 is the logic blocks which allow simple management of complex operations The module may be placed bes
7. 28 SM32 1032 Counting increment for fast counter no 1 SM33 1033 Counting increment for fast counter no 2 SM34 1034 Counting increment for fast counter no 3 SM35 1035 Counting increment for fast counter no 4 SM36 1036 Counting increment for fast counter no 5 Only for PL260 12AD These words contains the number of counts which are added to the relative counter when there is a rising or falling transition of the counter counting input 11 12 115 116 e 13 Status of digital inputs 11 116 for test procedure This word defines the status for digital inputs during R W test procedure SM0 5 1 Each bit of this word RW SM37 corresponds to the status of a digital input starting from the bit less significant SM37 0211 SM37 15D116 This word is zeroed automatically at each starting Digital inputs filter default 10 ms It is possible to filter the signals of digital inputs selecting a delay time If the input status changes the new status will be accepted only if it is stored by the input for the selected time Data will be accepted only when the filter will have cancelled noises and fixed inputs lines on stable values PL260 supports filters with delay time between 0 and 50 ms 29 Analogue input filter default 5 means A filter may be applied to the signals of analogue R W inputs selecting the number of values to consider in
8. Baud rate Programmable Format 8 N 1 8 bit no parity 1 stop default Supported BITS READING 0x01 0x02 functions WORDS READING max 30 word 0x03 0x04 SINGLE BIT WRITING SINGLE WORD WRITING 0x06 MULTIPLE BITS WRITING OxOF 0x05 MULTIPLE WORDS WRITING max 30 word 0x10 Error codes ILLEGAL FUNCTION CODE 0x01 ILLEGAL DATA ADDRESS 0x02 ILLEGAL DATA VALUE 0x04 Broadcast Simultaneous writing to all connected slaves using address 0x00 and no answer by slaves Polling with Polling using address OxFF any connected slave can unknown slave answer address 47 1 9 Addresses word bit of PL260 for protocol Modbus RTU The following tables give all data word and bit which may be entered via Modbus protocol For all data the table gives reading writing elements and the value assumed at starting of PL260 According to initialization value at starting the following options are given 1 ROM fixed value defined by program 2 EEP value stored on Eeprom for 10years even in absence of power supply 3 TAMP value stored on Ram memory with buffer battery These data are stored in absence of power supply for a limited time approx 4 months 4 9 value of these data is unknown at starting 5 Defined value The value assumed at starting is the value defined in the table WORD MODBUS READ RESET ADD
9. the average for the rating of final input value to exclude software filter means for each input to exclude control function which automatically rejects wrong conversions These bits select the number of values to consider in the average to calculate value 1 5 gt number of conversions considered in the average Input Al1 software filter exclusion 0 2 filter enabled 1 2 filter excluded Input Al2 software filter exclusion 0 2 filter enabled 1 2 filter excluded Input Al3software filter exclusion 0 2 filter enabled 1 2 filter excluded Bit7 Input Al4 software filter exclusion 0 gt filter enabled 1 gt filter excluded Bit 8 Input AI5 software filter exclusion 0 gt filter enabled 1 gt filter excluded Input Al6 software filter eclusion 0 gt filter enabled 1 gt filter excluded false conversions discard 0 gt discard enabled 1 gt discard disabled Al2 false conversions discard 0 discard enabled 1 S discard disabled Al3 false conversions discard 0 gt discard enabled 1 gt discard disabled Al4 false conversions discard RW 0 gt discard enabled 1 gt discard disabled Al5 false conversions discard R W 0 gt discard enabled 1 gt discard disabled Al6 false conversions discard 0 gt discard enabled 1 gt discard disabled 30 5 40 1040 Analogue input configuration 7 5 41 1041 Analogue input Al2 configuration amp SM42 1042 Analogue i
10. Register MDEC1 converter A D default 64 This special marker allows to change some settings of R W the internal digital analogue converter This register is managed by bit and not all of them can be modified Not used keep it to 0 Conversion format 0 bipolar 1 gt unipolar Converter internal filter 00 gt Auto 01 gt Fast 10 gt Sinc2 11 gt Sinc3 Not used keep it to 0 Register GAIN converter A D default 0 This special marker allows to change the converter R W input amplifier gain PGA Value selected into this register is valid only for analogue inputs configured in counts SM40 43 19 This register is managed by bit and not all of them can be modified Bit 7 3 Not used keep it to 0 Input amplifier gain PGA 000 gt 1 100 gt 16 001 52 101 gt 32 010 53 4 110 gt 64 01158 111 gt 128 SM89 1089 Register OFFSET converter A D default 0 This special marker allows to select an offset value for R W the input of the internal digital analogue converter Value selected into this register is valid only for analogue inputs configured in counts SM40 43 19 This register is managed by bit and not all of them can be modified Input offset value sign Bit 7 0 gt Positive offset 1 gt Negative offset Bit 6 0 Input offset value Offset Volt VREF Valore Offset 254 PGA 35 Baudrate canbus 1 default 1 Mbit s Value selected into this word def
11. 0 it keeps serial to normal mode where it is managed directly programming phase 41 SM106 1106 Number of timeouts on 1 SM116 1116 Number of timeouts on 1 sM126 1126 Number of timeouts on COM2 These words are counters reset at starting which are RW incremented at each timeout noticed by the function for the managing of each serial port protocol Number of errors on COMI Number of errors on EXP1 Number of errors on COM2 These words are counters reset at starting which are RW incremented at each error Ex wrong checksum wrong number of received data noticed by the function for the managing of each serial port protocol RES Number of characters present in the reception buffer of serial COM1 ES Number of characters present in the reception buffer of serial EXP1 ESS Number of characters present in the reception buffer of serial COM2 These words contains for each serial the number of R W valid characters present into reception buffer The use of these words is significant on free port mode to control number of received characters Any writing on these words selects value corresponding to zero emptying reception buffer sM130 1130 Counts of bidirectional counter encoder 3 high part SM131 1131 Counts of bidirectional counter encoder 3 low part SM132 1132 Counts of bidirectional counter encoder 4 high part SM133 1133 Counts of bidirectional counter encod
12. 1 11 gt 7 E 2 To enable modifications it is necessary to set this word within initialization function If no modification has been completed or if it has been done in other sections of the program baud rate will be kept as default at starting 6 Format may not be modified 8 N 1 To enable modifications it is necessary to set this word within initialization function If no modification has been completed or if it has been done in other sections of the program baud rate will be kept as default at starting 39 1103 Delay answer wait incoming data COMI def 20ms 1113 Delay answer wait incoming data EXP1 def 20ms 1123 Delay answer wait incoming data COM2 def Oms With slave protocol this word defines min delay R W between end of data receiving from master device and the start of answer transmission form PL260 max 100ms With master protocol this word define max waiting between start of query transmission from PL260 and full receiving of answer from slave device Value is expressed in ms With master protocol this word defines min waiting R W between end of data receiving from slave to master and start of transmission for a new query from master to slave With slave protocol this value is not used Value is expressed in ms range 0 100 ms SM105 1105 Number of errors for signal on status COMI def 10 5 115 1115 Number of errors for signal on status EXP1 def 10
13. 3AD 8 digital inputs 8 digital outputs At each I O device some resources on the PL260 memory areas are reserved to manage clearly the data exchange between plc and expansion modules as if the inputs outputs were internal to the plc 16 digital inputs 16 digital outputs 4 analogue inputs outputs 10 word on V area Not all expansion modules utilize all available resources unutilized areas are used by the ladder program for other uses The table below summarizes for each type of device which can be connected to the PL260 expansion bus how many I O or variables V it takes into the plc internal memory Device VW MCM260 1AD 16 MCM260 2AD 16 MCM260 3AD 8 8 actually only 3 I O modules are available and can be connected to the plc Shortly other modules will be provided to manage analogue inputs outputs and other functions 65 The table below summarizes the addresses of the areas reserved to I O devices according to their communication address Addr l Q Al AQ VW 1 17 32 17 32 7 10 5 8 200 209 33 48 33 48 11 14 9 12 210 219 3 49 64 49 64 15 18 13 16 220 229 4 65 80 65 80 19 22 17 20 230 239 5 81 96 81 96 23 26 21 24 240 249 6 97 112 97 112 27 30 25 28 250 259 7 113 128 113 128 31 34 29 32 260 269 8 129 144 129 144 35 38 33 36 270 279 9 145 160 145 160 39 42 37 40 280 289 10 161 176 161 176
14. 4 Analogue output AQ4 positive signal 0 12 5 VDC 12 AQ COM Common negative signal for analogue outputs Common positive signal for digital inputs Connect this signal 21 to one of the digital inputs 11 116 to activate inputs Voltage V available on these pins can supply sensors to connect to the 45 analogue inputs N B on these pins the available supply is Vcc not stabilized PL260 11AD input for bidirectional encoder no 13 M A1 Digital input 1 phase A CARD ADT eta dita PL260 11AD input for inputs short circuit bidirectional encoder no signal TV on the 14 12 B1 Digital input 1 phase B input pin PL260 12AD input for fast counter no 2 Description PL260 11AD input for bidirectional encoder no 1 signal Zero or input 15 13 Z1 A2 Digital input no 2 phase An To activate digital inputs switch PL260 12AD input for terminal V to the fast counter no 5 input terminal Input for bidirectional 16 14 B2 Digital input encoder no 2 phase B 17 15 Digital input 18 16 Digital input 19 I7 Digital input 20 18 Digital input 37 19 Digital input 38 110 Digital input To activate digital 39 111 Digital input inputs switch 40 H2 Digital input terminal to the 41 M3 Digital input input terminal 42 114 Digital input tke A PL260 12AD input for 43 115 Digital
15. 8 Assignement function BLKMOV The function BLKMOV allows to assign to the memory block a numeric value or the value assumed by another block of Memory locations 2 2 9 Indexed Assignement Function MOVIND The indexed assignment function MOVIND allows to assign to a certain memory location specified by another memory location a numeric value or the value assumed by another memory location selected in the area specified by a memory location which is the index This type of assignment allows to consider the memory areas as vectors of a certain number of locations by means of the value assumed by another location called index it is possible 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 assignment function MOVTXT allows to save the characters of a string sent as parameter to the function Following types of format are available for characters of string in the memory area e ONE CHARACTER PER WORD in this format each word of destination area will contain only one character of string e TWO CHARACTERS PER WORD in this format each word of destination area will contain two characters of string starting with high area of the word 2 2 11 Contacts II immediate digital inputs Contacts Il allow to read immediately the state of digital input The N O contact is closed On when bit value is 1 active input The N C contact is open On when bit v
16. If set to ON this bit enables mode modem for R serial port COM2 This means that Timeout between one character and the other character in receiving mode is automatically set to 40mS If set to 1 this bit disables internal clock R W reading writing making faster program uii execution If set to 1 this bit disables counters C 1 16 RAV and enables timers T 49 64 normally disabled Diagnostic Bit faults anomalies Re special marker are lost MB bit is ON if the retaining data of the marker area are lost di AN This bit is ON if the retaining data of EEProm area are lost EES This bit is ON if calibration data are lost This bit is ON if the CPU has been reset or if R W there is a watchdog intervention This bit is ON if there is stack overflow on the ram reserved area Es This bit is ON if an error has occurred during the calibration process EEprom clock Moci bit digital analogue converter timed interrupts 24 This bit is ON if the analogue input is out of range This bit is ON if the analogue Al2 input is out This bit is ON if the analogue AI3 input is out of range This bit is ON if the analogue Al4 input is out of range Bit for management of bidirectional encoders step motor Loading of counter for bidirectional encoder 1 Setting this bit to 1 at the end of scanning cycle the counter of encoderi 32 bit is loade
17. Internal clock seconds 0 59 SM10 1010 Internal clock minutes 0 59 SM11 1011 Internal clock hours 0 23 SM12 1012 Internal clock day 1 31 SM13 1013 Internal clock month 1 12 SM14 1014 Internal clock year 0 99 eee Internal clock day of the week 0 6 05 Sunday 1 gt Monday 6 gt Saturda These words contain the date and time of the internal RW clock Writing on each of these words updates the internal clock An internal battery allows the clock to function during a power failure Interval of timed interrupt no 1 default 100 ms Interval of timed interrupt no 2 default 100 ms These words define the interval for timed interrupts R W Value of interval may be set between 1 and 100 ms example SM16 1 gt 1 ms SM16 100 gt 100 ms For SM16 and SM17 values not included between 1 and 100 the default setting of relevant interrupt is 100 SM16 1016 SM17 ms At starting the values are fixed as 100 gt 100 ms On the interrupts ladder programs it is not allowed to use functions which access EEPROM and MMC areas 27 5 20 1020 Counts of bidirectional counter encoder 1 high area 5 21 1021 Counts of bidirectional counter encoder 1 low area sm22 1022 Counts of bidirectional counter encoder 2 high area SM23 1023 Counts of bidirectional counter encoder 2 low area Only for PL260 11AD These two pa
18. Memory area support marker M Memory area M contains the status of all markers bit contacts used into the program It is organized in words each of 16 bits of the word means the status of a marker Eg status of marker M1 is stored on bit number 0 of word 1 in the area M The area is composed of 8 words 1 7 6 Memory area analogue inputs AI Into this memory area the PL260 stores the value which is measured on the analogue inputs This value is calculated according to min and max limits which have been set as the range of the analogue input 1 7 7 Memory area analogue outputs AQ Memory area analogue outputs AQ is the memory where values for analogue outputs are assigned The percentage of analogue output will be calculated starting from the entered value considering the range min and max of analogue output 1 7 8 Memory area timer This memory area contains timer values If timer is enabled the value contained into this area vvill increase or decrease according to the type of timer vvith the resolution chosen at the starting of timer 1 7 9 Memory area preset timer PT Memory area preset timer PT is the memory where preset values of timers are stored 1 7 10 Memory area counters C This memory area contains counters values Accordingly to the type of counter at each counting operation the value contained into this area will be updated 1 7 11 Memory area preset values of counters PV In this area
19. by 350 locations type word 16 bit or 175 double words 32 bit This area may be edited by operations on bit word or double word The number of double word still refers to the words structure therefore a single double word uses 2 single word addresses eg VDO VW0 VW1 21 Accesso WORD Accesso doppia WORD VO VI bon mi om VA V5 The values are stored also in case of power failure thanks to a rechargeable back up battery After charging the battery stores data for approx 6 months 1 7 2 Memory area special marker SM This area is the memory which contains all data used by the ladder program to interact with the hardware resources of PL260 Some of this data is initialized when starting the PLC with the default values described in the table below This area contains all data related to analogue inputs trimmers counts and set values of encoders and also some bits controlled by the PLC for the ladder application as well as the settings for serial ports The table below includes the content of each single location of the area Special markers giving the address for Modbus protocol and the type of operation allowed for each location R reading We writing R W reading writing 22 inti i SM n Mod Description meaning RUN STOP bit 1 run At starting this bit is RAW always forced to ON obtaining the RUN mode of PLC In STOP mode the relay outputs of PLC are disa
20. logic contact N O and N C Energizing coil the relevant logic contact will change its state it opens if previously closed it closes if previously open The N O contact is closed on when bit value is 1 The N C contact is open on when bit value is 0 At starting of PLC the contact is open 2 2 4 Timer T Three different operating modes are available for Timers e TON Mode Start timing as delay at activation counts time when coil is active ON Timing bit contact T is activated when actual value T is equal or higher than preset time PT When coil is deactivated OFF actual value of timer is reset Timer keeps on counting after reaching preset value and it stops reaching the max value 32767 e TOFF Mode Start timing as delay at deactivation allows to delay the deactivation of an output for a certain time after the input has been deactivated When the coil is activated the timing bit contact T is immediately activated and the actual value T is set to zero At deactivation of coil the timer counts until elapsed time is equals to preset 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 active To start counting the function TOF must notice a transition from activated to deactivated ON gt OFF e Mode Start timing as delay at activation with memor
21. no correct packet with slave address same as the device is not received within the time fixed on SM105 SM115 and SM125 If serial EXP1 is selected as EXP I O CANBUS each bit of word SM110 corresponds to status of each expansion module of I O Specifically bit 0 defines the status of module mapped by instruction MapEXP1 O module online 1 module off line bit 1 defines the status of module mapped by instruction MapEXP2 and so on 38 5 101 1101 Serial baudrate COMI default 9600 baud 5 111 1111 Serial canbus baudrate EXP1 default 9600 baud 5 121 1121 Serial baudrate COM2 default 19200 baud Value selected into this word defines the serial port R W communication speed 0 110 baud 6 4800 baud 1 150 baud 7 gt 9600 baud 2 300 baud 8 19200 baud 3 600 baud 9 28800 baud 4 1200 baud 10 38400 baud 5 2400 baud 11 gt 57600 baud Value selected into this word defines port EXP1 communication speed EXP I O CANBUS mode 0 110 baud 4 4800 baud 1 150 baud 5 9600 baud 2 300 baud 6 19200 baud 3 600 baud 7 gt 28800 baud 1102 Serial COMI format o 1 O 1112 Serial 1 format 1122 Serial COM2 format _ Value selected into this word defines the serial port R W communication data 0 gt 8 N 1 default 6 gt 8 N 2 1 gt 8 0 1 7 8 0 2 2 gt 8 E 1 8 gt 8 E 2 3 2 7 31 9 7 N2 4 gt 7 0 1 10 gt 7 0 2 5 gt 7 E
22. of the operation Bit 9 Only for PL260 12AD RW Loading counter of bidirectional encoder 4 Setting this bit to 1 at the end of scanning cycle the counter of encoder4 32 bit is loaded with the value of SMD138 The bit is RW changed in OFF at the end of the operation Only for PL260 12AD Loading counter of bidirectional encoder 5 Setting this bit to 1 at the end of scanning cycle the counter of encoder5 32 bit is loaded with the value of SMD140 The bit is changed in OFF at the end of the operation PL260 protocol address offset This word contains the PL260 protocol address offset R W Its value is added to the one obtained combining the selection dipswitch addresses see paragraph 1 6 3 At start it is fixed to 1 Status of selection dip This word indicates the position of the selection dipswitch If the dipswitch is closed the correspondent bit will be automatically set to 1 instead if opened it will be set to 0 MT protocol address selection eL protocol address selection Bit2 This bit shows the status of dipswitch 55 5 R 26 Cycle time N cycle resolution 100 uS Min cycle time This word gives the min time of the program last um scanning cycle resolution 100 uS Max cycle time This word gives the max time of the program last E scanning cycle resolution 100 uS SMg 1008 SM9 1009
23. to transmission port will be set to 1 while it will be set to 0 at the end of transmission It is possible to check the answer of a connected device by means of SM35 SM36 and SM37 which contain the number of characters received and saved on RX buffer of each serial port Any writing on each of these special marker will empty the RX buffer Calls to function SEND before the end of previous transmission or with mode free port disabled will be ignored by the program 2 2 20 Function TunePOS and POS positioning axis ON OFF Function TunePOS completes the autotuning which is necessary to rate reaction time and inactivity time of the axis on which a positioning procedure is required The function POS proceeds to the ON OFF positioning of an axis Both functions operate on the same memory area with double word access area marker VD the start address of the used memory area is required as parameter by functions TunePOS and POS The following table shows how data is organized in the memory area used by the two functions starting from the address of specified location 59 Address Contents area VD 0 Encoder counts 2 Counts setpoint value of positioning 4 Counts positioning error 6 Time required to reach max speed tenth of seconds 8 Status of positioning output O stop 1 onwards 1 backwards 10 Counts of inertia onwards 12 Counts o
24. 43 46 41 44 290 299 11 177 192 177 192 47 50 45 48 300 309 12 193 208 193 208 51 54 49 52 310 319 13 209 224 209 224 55 58 53 56 320 329 14 225 240 225 240 59 62 57 60 330 339 15 241 256 241 256 63 66 61 64 340 349 The example below shows how to activate the management of three devices it is possible to see that the module with address 1 is a MCM260 3AD those with address 2 is a MCM260 2AD and those with address 3 is a MCM260 1AD Digital inputs outputs will be available for the address indicated near the figure gt 117 124 e 17 24 gt 133 148 gt Q49 Q64 66 2 2 23 Functions StartPID PID SetOutPID Functions StartPID PID and SetOutPID enables control of a process by means of PID algorithm proportional integral derivative Function StartPID starts the relevant control block and sets parameters as required Function can be activated once at the starting or it may be recalled later to modify quickly control parameters PID integral action is initialized only calling this function and setting integral time to 0 otherwise even in case of switch off the system will start control action keeping the same percentage of integral action and consequently limiting the transient times Parameters required by function StartPID are the following e Proportional band e Integral time e Derivative time e Dead band Parameters can be entered with numeric format or referring to internal variables Integ
25. 50mS during transmission of each frame on one of the available serial ports e gt always during ladder programming or maintenance of PLC updating main program Expansion terminal block for COM1 and EXP1 serial Terminal block for digital inputs with led to signal active input Terminal block for digital outputs with led to signal active outputs Power supply terminal block analogue inputs outputs 1 3 Main hardware features Hardware Power supply 12 24 Vdc 6VA Analogue inputs Voltage 0 10V resolution 10 bit Voltage 0 10V resolution 16 bit Voltage 0 1V resolution 16 bit Voltage 0 20mV resolution 16 bit Current 0 20mA resolution 16 bit FUIS Current 4 20mA resolution 16 bit Thermocouple S T R J E Input PT100 NI100 2 or 3 wires Input NTC 10K 83435 Input PT1000 PT500 PTC 1K Inputs PNP 0 24VDC or 1st input for Encoder inputs 1 1 12 1 bidirectional encoder 25 KHz __ 13 A2 14 B2 Inputs PNP 0 24VDC or 2nd input for bidirectional encoder 25 2 Fast count inputs 11 12 115 116 Input PNP 0 24VDC or fast count 13 inputs Digital inputs 1 16 Inputs PNP 0 24VDC Static outputs 24Vdc 0 7A max Digital outputs Q1 Q16 Each output can produce 0 7A with a combined limit of 4 0A Analogue outputs AQ1 AQ2 Voltage 0 10V resolution 8 bit AQ3 AQ4 Voltage 0 12 5V resolution 14 bit
26. D 2 will reach value of final setpoint the function will automatically enter standby mode indicated by value 0 on location VD This means that function GENSET can be always active even when motion is not required 70 2 2 26 Function CONV The function CONV provides the conversion of source data in one of the available formats Conversion type TO 7SEG SIGNED converts input data one word with sign 32768 32767 in a specified number of digits alredy suitable for a display with 7 segments The number of digits to convert starting from less significant digit will be sent to the function as parameter The codes will be saved one digit for each word starting from destination word and then in the following words accordino to the required number of digits Coversion type TO_7SEG_UNSIGNED is similar to the above described conversion The difference is that the source data is considered as unsigned word 0 65535 the code is composed by one bit set to 1 if the segment must be ON and by one bit set to if the segment must be Off The correspondance between bit and segment is the following Jas JB Baf Eo 3 7 Conversion type TO ASCII SIGNED converts the entering data one word with sign 32768 32767 in a specified number of ascii characters The number 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 t
27. M128 32000 Bit 0 area marker VO R W TAMP 37599 Bit 15 area marker V249 16000 Bit 0 area special marker SMO RW TAMP 18079 Bit 15 area special marker SM129 52 2 1 260 Ladder programming 2 1 Introduction The software tool PLProg for Windows allows programming the module PL260 The ladder programming enables drawing the logic diagram of the application and uploading it to the PLC 2 2 Elements of Ladder programming Available elements with relevant features to create the ladder diagram are listed below 2 2 1 Contacts digital inputs Contacts contains the state of digital inputs of PL260 and of one more expansion module 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 Digital outputs Q PL260 is provided with 256 outputs type Q each composed of one coil and the relevant logic contact and which may be used to draw the ladder diagram On PL260 hardware only 16 static outputs Q are physically available the other ones are available as auxiliary outputs or on expansion module if present Energizing coil the relevant logic contact will close N O or open N C The contacts of physical outputs are all N O and at starting all contacts N O are open 53 2 2 3 Bistable relays 64 bistable relays are available on PL260 Each consists of one coil and the relevant
28. O contacts timer T33 T48 R 0 350 N O contacts counters C1 C16 R 0 50 VVORD MODBUS READ RESET ADDRESS DESCRIPTION VALUE 90 N O contact positioning on off POS1 POS2 R 0 95 N O contact tuning Positioning on off R 0 POS1 POS2 250 N O contact support marker M1 M16 R 0 251 N O contact support marker M17 M32 R 0 252 N O contact support marker M33 M48 R 0 253 N O contact support M49 M64 R 0 254 N O contact support M65 M80 R 0 255 N O contact support marker M81 M96 R 0 256 contact support marker M97 M112 R 0 257 contact support marker M113 M128 R 0 51 BIT MODBUS READ RESET ADDRESS DESCRIPTION WRITE VALUE 1600 contact digital input 11 R W 1855 N O contact digital input 1256 2400 N O contact digital output Q1 R W 0 2655 N O contact digital output Q256 3200 N O contact bistable relay B1 R W 0 3231 N O contact bistable relay B32 4800 N O contact timer T1 R 0 4847 N O contact timer T48 5600 N O contact counter C1 R 0 5615 N O contact counter C16 1440 N O contact positioning on off POSI R 0 1441 N O contact positioning on off POS2 1520 N O contact tuning Positioning on off POSI R 0 1521 N O contact tuning Positioning on off POS2 4000 N O contact support marker M1 R W 0 4127 N O contact support marker
29. PIXSYS electronics PLC E200 User manual 1 Acquisition and actuation module PL260 5 11 Introguctioni EET 5 1 2 Front panel and main features i 6 1 3 Main hardware features 7 1 4 Size and installation essent 8 1 5 Electrical WITING ia dev peer decus 9 1 5 1 Connectors and terminal 9 1 5 2 Connection of sensors to analogue inputs 12 1 5 3 Connection of a load Cell 13 1 5 4 Connection of a bidirectional encoder eeens 14 1 5 5 Connect PL260 to RS485 sse 14 1 6 Setting dip switch enne 15 1 6 1 Setting dip switch to select EXP1 interface 15 1 6 2 Setting dip switch to select analogue input Al1 4 16 1 6 3 Setting dip switch to select analogue intput AI5 6 18 1 6 4 Setting PL260 protocol address eee eeee renerne eee 20 1 7 PE260 memory areas cte eee et ette tert manah 21 1 7 1 Variables V memory area o oooooo WooWoWo Wo Woman 21 1 7 2 Memory area special marker SM oo 22 1 7 3 Memory area digital inputs I 44 1 7 4 Memory area digital outputs 44 1 7 5 Memory area support marker
30. RESS _ DESCRIPTION WRITE VALUE 0 Device type R ROM 1 PL260 program software version R ROM 2 Protocol activated on COM1 R ROM 3 Protocol activated on EXP1 R ROM 4 Protocol activated on COM2 R ROM 5 Protocol address R TAMP 1000 1129 Word area special marker SM RAN TAMP 2000 2349 Word area variables V RW TAMP 12000 12047 Word area timer T R W 0 13000 13047 Word area preset timer PT RAN 0 14000 14015 Word area counters C RAN 0 15000 15015 Word area preset counters PV RAN 0 19000 19065 Word area analogue inputs Al R 0 19400 19463 Word area analogue outputs AQ RAN 0 20000 20999 Word area EEPROM R W EEP 48 VVORD MODBUS READ RESET ADDRESS _ DESCRIPTION WRITE VALUE 19800 19815 Word prop integr deriv outputs PID proportional action PID1 19800 integral action PID1 0 19801 derivative action PID1 TAMP 19802 output PID1 R TAMP 19803 proportional action PID2 TAMP 19804 ie 0 19805 output PID4 S 19815 TAMP 30000 42999 Word area MMC RAN EEP 49 VVORD MODBUS READ RESET ADDRESS DESCRIPTION WEITE AL UE 100 N O contacts digital inputs 11 116 R 2 101 N O contacts digital inputs 117 132 R 2 102 N O contacts digital inputs 133 148 R 2 103 N O contacts digital inputs 149 164 R 2 104 N O contacts digita
31. RS485 available on terminal block COM1 A B C and on COM plug 8 poles galvanically isolated Serial ports 1 RS232 available on terminal block isolated CAN bus for I O expansion COM2 RS232 available on COM plug 8 poles non isolated First encoder input uses hardware inputs 11 and 12 Second encoder input uses hardware inputs 13 and 14 If encoder inputs are used the relevant digital inputs are not available Max frequency for encoders is 25 KHz if not used contemporarily 15 KHz if both inputs are used contemporarily On PL260 12AD 1 4 Size and installation 990004 mM bango gt mmmmEuHEHE D 53 5 m gt Attacco a guida DIN EN50022 Din rail mounting guide EN50022 1 5 Electrical vviring 1 5 1 Connectors and terminal blocks N Name Description 1 k Power supply 12 24V DC 6VA To improve noise immunity 2 e the use of a dedicated supply is recommended 3 Al 1 Analogue input Al1 positive signal 4 Al 2 Analogue input Al2 positive signal 5 Al 3 Analogue input Al3 positive signal 6 Al 4 Analogue input Al4 positive signal 7 Common negative signal for analogue inputs 8 AQ 1 Analogue output AQ1 positive signal 0 10 VDC 9 AQ 2 Analogue output AQ2 positive signal 0 10V DC 10 AQ 3 Analogue output AQ3 positive signal 0 12 5 VDC 11 AQ
32. alue is 0 deactivated input 56 2 2 12 Immediate outputs By means of direct access to outputs PL260 allows to directly work on outputs Q during the ladder program execution even without waiting the end of program The command is allowed only on hardware outputs of PL260 QI1 QI16 2 2 13 IF contact The operation conditional comparison IF allows to compare the values of 2 variables in any memory area Following comparisons are allowed gt lt gt lt lt gt Contact is active when comparison is true 2 2 14 SBIT and RBIT functions SBIT function bring to 1 a bit of a memory area while the coil of the function is active RBIT function bring to 0 a bit of a memory area while the coil of the function is active Number of bit changes from 0 to 15 where bit 0 is the less significant bit LSB 2 2 15 BIT contact This operation brings the value of a memory area bit Contact normally open is closed off when the bit is 1 The contact normally closed is opern on when the bit is 0 Number of bit changes from 0 to 15 where bit 0 is the less significant bit LSB 2 2 16 RANGE function The RANGE function defines minimum and maximum limits for analogue inputs Al for trimmer TR for analogue outputs AQ and for PID outputs Concerning analogue inputs Al and trimmer TR the minimum and maximum values allow to translate the counts value of the analogue digital conversion into a value which ca
33. are stored the preset values of counters PV 1 7 12 Memory area EEPROM EEPROM area is the non volatile memory to store all data which cannot be lost even if PLC is switched off for long periods over 6 months Data stored in this area is tested at the starting of the PLC to check its integrity and in case of anomaly the fault condition is notified SM1 2 and the whole area is initialized at 0 zero Access and writing in this area requires longer time than any other area therefore it is recommended not to use this area for frequent access but only at starting to copy the stored data for example in area V and then to use these for quick access guaranteeing a faster program N B EEPROM memory allows a max number of writings for each location warranted 1000000 after that data integrity is no longer assured so it is necessary to avoid continuously writing into this memory area 1 7 13 area is the optional external memory vhich can be used to save big amounts of data which must be stored even by lack of power supply Memory is Eeprom therefore access to this area is slower than access to area V and SM PL260 does not check integrity of data saved in this area This area is divided in words 0 12999 and can also be entered by Modbus protocol N B MMC memory allows a max number of writings for each location warranted 1000000 after that data integrity is no longer assured so it is necessa
34. ber of consecutive word read wrote External input LS 0 999 0 R 10 External output y 0 999 1000 RW 10 R 7 W Internal relay R 0 999 2000 RW 10 R 7 W Link relay L 0 999 3000 R W 10 R 7 W Timer 0 999 4000 R 10 Counter 0 999 5000 R 10 Index register X 0 0 6000 RW 1 Index register Y 0 0 6001 RW 1 Index register D 0 0 6002 RW 1 Data register DT 0 9999 10000 RW 10 R 7 W Link data LD 0 9999 20000 R W 10 R 7 W register File register 0 9999 30000 RW 10 R 7 W Set value area 0 9999 40000 RW 10 R 7 W Elapsed value 0 9999 50000 R W 10 R 7 W area N B On PL260 XX protocol only elements underlined in grey are enabled the other elements have not to be used The example below describes setting for an EXP instruction to write on the plc with 1 of 8 consecutive bit on external output Y3 and YA taking value from VW10 63 Numero bobina EXP 1 Parametri Azione e indirizzo slave Stivi sullo SLAVE numero sh Indirizzo WordiBit x Min 0 Bit numero 10003 Max 65535 Area Dest per lettura Sor per scrittura Area memoria V word 10 Numero Word Bit letti scritti consecutivi Min 0 N word 8 16 Following example describes the setting for an EXP instruction to read from the plc with address 1 of 10 consecutive bit from data register DTO to DT9 keeping read value
35. bled This bit is always ON for first scanning cycle of main program Eg It is used to execute initialization subprogram This bit makes available a clock impulse of 60 seconds ON for 30 seconds OFF for 30 seconds This bit makes available a clock impulse of second ON for 0 5 second OFF for 0 This bit is a clock of scanning cycle which is active ON for one cycle and disabled OFF for following cycle It may be used as counting input for scanning cycle Bit TEST Setting this bit as ON the reading of digital inputs is disabled Status of inputs is read on word SM37 Setting this word it is possible to execute debug test of the program simulating input starting This bit is ON during the transmission of data to serial port COMI It is automatically set to OFF at the end of transmission This bit is ON during the transmission of data to serial port EXP1 It is automatically set to OFF at the end of transmission This bit is ON during the transmission of data to serial port COM2 It is automatically set to OFF at the end of transmission If set to ON this bit enables mode modem for serial port COM1 This means that Timeout between one character and the other character in receiving mode is automatically set to 40mS 23 between one character and the other character in receiving mode is automatically set to 40mS If set to ON this bit enables mode modem for RW serial port EXP1 This means that Timeout
36. bled and input I7 is used as digital input e P Connect positive signal to 0 10V 10 bit seo Ell digital input 17 and the Osp reference signal to pin VDC d mvp 2 18 Figures below show the settings for dip switch to configure analogue input Al6 Input Al6 Dip switch Notes Analogue input Al6 is disabled Disabled and input 18 is used as digital input Connect positive signal to i digital input 18 and the reference signal to pin VDC 2 19 1 6 4 Setting PL260 protocol address Two dip switches are provided to configure the address of module for serial communication with a master device There are 4 available combinations of these dip switch To connect more than 4 devices to the same network it is necessary to change the address offset value The address is given as follows MODULE ADDRESS ADDRESS OFFSET DIP SWITCH COMBINATION The offset address value stored on PL260 memory default 1 can be modified by writing on SMW4 word Dip switch combinations are EE oo DID O wo 4 22 e E DD 22 el N DS JL R119 Ep dd bl Dio wo 4
37. ctive only vvhen in the project a master communication protocol has been selected for the relevant serial port A Master protocol means a protocol which enables the PL260 to control the serial line communication controlling the data flow towards slave devices The two functions are similar they only refer to a different serial port Instruction COM operates with interface RS485 allowing to connect more devices on the same line while instruction EXP operates with interface RS232 allowing to connect one single device to PL260 Instructions are active while the relevant coil is active Consider also that according to 61 communication protocol the time required for data update can be quite different and read data is not immediately available at activation of coil but only after a certain time depending from communication delays Instructions COM and EXP require the configuration of following parameters e Index max 16 different serial pollings e Type of operation e Reading PL260 will read continuously data from slave device and will store them in an internal memory area e Writing PL260 will write continuously data on an internal memory area of the slave device e Reading Writing PL260 will read data on slave device and will store them in an internal memory area when these internal data on PL260 will be modified by the program any change will be automatically sent also to slave device by means of a writing instruction this in
38. d with the value of SMD24 The bit is automatically set to OFF at the end of operation Loading of counter for bidirectional encoder 2 Setting this bit to 1 at the end of scanning cycle the counter of encoder 2 32 bit is loaded with the value of SMD26 The bit is CE E automatically set to OFF at the end of operation Loading counter of bidirectional encoder 1 with zero impulse Setting this bit to 1 at the next zero impulse of encoder 1 connected to input I3 the counter of encoder1 32 bit is loaded with the value of SMD24 The bit is automatically set to OFF at the end of operation management of a step motor N B If step motor is enabled timed interrupt no 1 is no longer active This bit if set to 1 only if SM2 4 RAN enables output AQ1 to manage step ee This bit if set to 1 on INITIALIZATION RAW CODE of program ladder enables the 25 This bit if set to 1 only if SM2 4 1 and R W SM2 5 1 creates on output AQ1 a series of impulses 0 5V and frequency equal to the one selected 5 16 step motor final frequency The final frequency is reached after an acceleration ramp whose duration in ms is specified by SM18 Bit7 Notused I Bit8 Only for PL260 12AD RW Loading counter of bidirectional encoder 3 Setting this bit to 1 at the end of scanning cycle the counter of encoder3 32 bit is loaded with the value of SMD136 The bit is changed in OFF at the end
39. er 4 low part SM134 1134 Counts of bidirectional counter encoder 5 high part SM135 1135 Counts of bidirectional counter encoder 5 low part Only for PL260 12AD These three pairs of words contains value of fast counters 3 4 and 5 The count is kept also in case of power failure and it is updated automatically at each program scanning 42 Sus 1136 Loading value for encoder 3 counter high part Loading value for encoder 3 counter low part Only for PL260 12AD These two words contain value in counts which is loaded on the counter of encoder 3 when loading bit SM2 8 is selected to 1 Loading value for encoder 4 counter high part Loading value for encoder 4 counter low part Only for PL260 12AD These two words contain value in counts which is loaded on the counter of encoder 4 when loading bit SM2 9 is selected to 1 Loading value for encoder 5 counter high part Loading value for encoder 5 counter low part Only for PL260 12AD These two words contain value in counts which is loaded on the counter of encoder 5 when loading bit SM2 10 is selected to 1 SM142 1142 Counts at second of encoder 3 SM143 1143 Counts at second of encoder 4 SM144 1144 Counts at second of encoder 5 Only for PL260 12AD These two words contain the number of counts made during the last second by the encoders These words are upda
40. f inertia backwards 14 Duration minimum impulse resolution 0 2 mS 16 Counts of displacement after impulse of 100 mS 18 Counts of displacement after impulse of 500 mS 20 Counts of displacement after impulse of 1000 mS To use these functions proceed as follows Use ladder instruction MOV to transfer the counting of used encoder SMD20 Encoder 1 SMD22 Encoder 2 in the field Encoder counts Enter the counts value for axis positioning in the field Counts setpoint value of positioning Enter the counts value of max error allowed to positioning in the field Counts maximum positioning error Enter time value as tenths of second required for the axis to reach max speed Start function TunePOS and wait until contact TunePOS no closes to notify end of Autotuning procedure for axis Data concerning inertia and reaction time are now automatically stored on the indicated memory area where they remain at disposal for function POS Disable function TunePOS Start function POS When the axis reaches the setpoint except for preset error contact POS no will close to notify end of positioning Activate the outputs ONWARDS and BACKWARDS reading value in the field Output If value of Output is given by functions TunePOS and POS as 1 the output ONWARDS must be activated if it is 1 the output BACKWARDS must be activated if it is 0 no o
41. he destination word and then in the following ones according to the no of reguired characters Conversion type TO ASCII UNSIGNED is similar to the one described above but the source data is meant as unsigned word 0 65535 71 PIXSYS Via Po 16 30030 Mellaredo di Pianiga VE www pixsys net e mail sales pixsys net support pixsys net Software Rev 1 22 firmware 2300 10 077 RevJ 311012 72
42. ide the plant to control and communicate with a central controller through RS 485 galvanically isolated allowing simplified signal wiring and increased noise immunity The DIN rail mounting housing has been developed according to CE requirements for light and heavy industry Main features Operating Temperature 0 45 conditions Humidity 35 95UR Box DIN rail mounting self extinguishing UL94 VO Sealing Box IP30 Weight Approx 350 gr Dimensions 90 x 160 depth 58 mm Order codes PL260 Ell El Outputs 1 16 static outputs 4 analogue 0 10V 4 analogue inputs 16 bit resolution 1 16 digital inputs Inputs 2 bidirectional encoders 4 analogue inputs 16 bit resolution 2 16 digital inputs 5 fast count inputs Power supply AD 12 24V DC 1 2 Front panel and main features 11 42 A3 14 15 16 Q 9 10 A1 12 43 14 45 A6 Eu EB E E EX 8 CZ E E Gi E LE E E EB EB HD el N Description 1 Plug connector for serial communication COM1 and COM2 Green led RUN e ON PLC is in RUN mode and is executing the instructions programmed by ladder language e Slowly flashing gt 0 5 s on 0 5 s off PL260 is used as I O module no ladder program loaded e Fast flashing gt 0 2 s on 0 2 s off only boot program is loaded on PL260 no main program and no ladder application Yellow led COM e ON gt for
43. ill be equals to minimum fixed value and for output 100 the PID output will be equals to maximum fixed value For each PID 1 8 minimum and maximum values of output are initialized at starting as 0 and 10000 2 2 17 Contact NOT The operation NOT modifies logic value from 0 to 1 or from 1 to 0 58 2 2 18 Contact P and N The contact positive transition P activates the current flovv for a single scanning cycle at each transition Off On The contact negative transition N activates the current flow for a single scanning cycle at each transition On Off When the operation positive transition P detects a transition of logic value from 0 to 1 it sets this value to 1 otherwise to 0 When the operation negative transition N detects a transition of logic value from 1 to 0 it sets this value to 1 otherwise to 0 2 2 19 Function SEND and mode Free port Function SEND allows to activate data transmission by means of serial ports in mode free port In this mode which can be activated by special marker SM32 SM33 and SM34 the protocol which usually handles the serial ports is disabled and the ports as well as the relevant TX and RX buffers are controlled by the ladder program After loading on buffer the data to send and activating function SEND which uses serial port and no of characters to send as parameters these data will be sent on serial line During the transmission of data bit SMO 7 SMO 7 or SMO 8 according
44. ines the port EXP1 communication speed in EXP I O CANBUS mode 0 gt 50 Kbit s 4 gt 250 Kbit s 1 gt 62 5 Kbit s 5 gt 500 Kbit s 2 gt 100 Kbit s 6 gt 1 Mbit s 3 3 125 Kbit s SM97 1097 Interval for NMT control data transmission to CAN expansion EM ka modules at 500 ma Om o Value selected for this word defines the min interval RW time resolution 0 2 ms between two consecutive transfer of control characters from the PL260 to the expansion modules to determinate the correct functioning range 500 5000 1098 Interval for data transmission to CAN expansion modules default 5 0 2ms 1 0 ms Value selected for this word defines the min interval R W time resolution 0 2 ms between two consecutive outputs updates from the PL260 to the expansion modules mapped on the EXP1 port in EXP I O CANBUS mode range 5 5000 36 SM99 1099 Can modules management flag default 0 Bit 0 This bit defines if the PL260 transmits data to the expansion devices only at regular intervals defined by SM98 or also at each variation of them 0 gt OFF data transmission only at time 1 gt ON data transmission on variation and at time RW Bit 1 This bit defines if bus for transmission of CAN packets to slave modules is free and ff it is possible to a new reading writing instruction reguest to the slave Bit is automatically set to 1 at reguest and it is set to 0 when the request
45. input Pa M PL260 12AD input for 44 116 Digital input faet counter ES 22 Q1 Static output 23 Q2 Static output 24 Q3 Static output 25 Q4 Static output 26 Q5 Static output Output 24Vdc 27 Q6 Static output 0 7A max 28 Q7 Static output Each output can 29 Q8 Static output produce DIA fora 46 Q9 Static output E combined consumption of 47 Q10 Static output 4 0A 48 Q11 Static output 49 Q12 Static output 50 Q13 Static output 51 Q14 Static output 52 Q15 Static output 10 Description 53 Q16 Static output 30 Connect 54 VDC Static outputs power supply 12 24 VDC 31 B Signal RS 32 A Signal RS 33 C Signal RS REF 34 CANH RX Signal CAN or RX RS232 EXP1 35 CANL TX Signal CAN or TX RS232 interface 36 GND Ref signal for serial EXP1 CAN or RS232 N Name Description KA 8 7 COMI 2 RS485 4 COM1 A RS MORS 32 3 2 COM1 C FS FFF MORS 33 PLUG 1 COM1 B FS MORS 31 RJ45 8 Ys 6 COM2 RX232 COM2 5 COM2 TX232 RS232 4 3 2 GND232 2 1 11 1 5 2 Connection of sensors to analogue inputs Below some examples of connection for common sensors to the analogue inputs of the PL260 1 2 3 4 5 6 7 5 11 12 7 8 1 11 12 3 vvires 1 2 3 4 5 6 7 8 11 12 1 2 3 4 5 6 7 8 11 12
46. input type it is necessary to set the relative dip svvitch as indicated in the table belovv Input Dip switch Notes Fl If the analogue input is not used leave all switches off as showed in the figure ON Connect the positive signal to the analogue 0 10V 10 bit input the reference signal to the 1234 AI COM ON Connect the positive signal to the analogue 0 10V 16 bit input and the reference signal to the 1234 AI COM ON Connect the positive signal to the analogue si alla lalla input and the reference signal to the pin p 1234 AI COM 16 Input Dip switch Notes 0 20 MA ON Connect the positive signal to the analogue input and the eventual pin to the 4 20 mA 1234 power supply digital ground pin 2 OM Connect the thermocouple positive signal c T R J E lal nl lalla to the analogue input and the negative to EEA ERA 1234 the Al COM pin If 2 wires PT100 NI100 are used this setting can be selected for all the inputs Connect one of the two wires to the analogue input and the other to the Al COM inputs 100 If 3 wires PT100 NI100 are used this NI100 dea setting can be selected only for Al1 and AIA Connect the white wire to the analogue input Al1 or Al4 while the others red one to the AI COM reference pin and one to the compensation inp
47. irs of words contain the value of bidirectional counters for encoders 1 and 2 Counting is stored also if there is a power failure and it is automatically updated at each program scanning Only for PL260 12AD These two pairs of words contain the value of bidirectional fast counters for encoders 1 and 2 Counting is stored also if there is a power failure and it is automatically updated at each program scanning SM24 1024 Loading value for counter of encoder 1 high area SM25 1025 Loading value for counter of encoder 1 low area These words contain the value in counts which is RW loaded on the counter of encoder 1 when the loading bit SM2 0 is set to 1 Loading value for counter of encoder 2 high area Loading value for counter of encoder 2 low area These words contain the value in counts which is R W loaded on the counter of encoder 2 when the loading bit SM2 1 is set to 1 Counts per second of encoder 1 Counts per second of encoder 2 These words contain the number of counts completed SM26 1026 SM27 by the encoders during the last second These vvords are automatically updated at each second Counts per tenth of second for encoder 1 Counts per tenth of second for encoder 2 These words contain the number of counts completed u by the encoders during the last 100 ms These words are automatically updated at each 100 ms
48. is executed 0 gt bus free 1 5 bus busy RW Bit 2 This bit shows if an answer has been received after PL260 guery to the generic CAN It is automatically reset to zero at each command or reguest of data reading writing 0 5 waiting answer 1 5 answer arrived R W Bit 3 This bit shows if a wrong answer has been received after a PL260 query to the generic CAN slave It is automatically reset to zero at each command or request of data reading writing 0 gt correct answer 1 gt wrong answer R W Bit 4 This bit defines if after a NMT command of the PL260 to a CAN slave module it will answer with a status other than operational This bit defines if a reconfiguration start up proceeding is necessary for the CAN module It is automatically reset to zero at each NMT command 0 gt slave in operational 1 gt slave not in operational 37 R W 5 100 1100 Serial COMI status 5 110 1110 Serial EXP1 status 5 120 1120 Serial COM2 status These words define the status of communication serials COM1 EXP1 and COM2 Each bit of each word signals a condition of missing communication off line or an error for each transmitted received data by instructions COM 1 16 or EXP 1 16 ex SM100 0 1 shows the error on 1 instruction If serial is selected on slave protocol the error condition is signaled setting to 1 all bits of correspondent word whenever
49. l inputs 165 180 R 2 105 N O contacts digital inputs 181 196 R 2 106 contacts digital inputs 197 1112 R 2 107 N O contacts digital inputs 1113 1128 R 2 108 contacts digital inputs 1129 1144 R 2 109 N O contacts digital inputs 1145 1160 R 2 110 N O contacts digital inputs 1161 1176 R 2 111 N O contacts digital inputs 1177 1192 R 2 112 N O contacts digital inputs 1193 1208 R 2 113 contacts digital inputs 1209 1224 R 2 114 N O contacts digital inputs 1225 1240 R 2 115 N O contacts digital inputs 1241 1256 R 2 150 N O contacts digital outputs Q1 Q16 R 0 151 N O contacts digital outputs Q17 Q32 R 0 152 N O contacts digital outputs Q33 Q48 R 0 153 N O contacts digital outputs Q49 Q64 R 0 154 N O contacts digital outputs Q65 Q80 R 0 155 N O contacts digital outputs 481 096 R 0 156 N O contacts digital outputs Q97 Q112 R 0 157 N O contacts digital outputs Q113 Q128 R 0 158 N O contacts digital outputs Q129 Q144 R 0 159 N O contacts digital outputs Q145 Q160 R 0 160 N O contacts digital outputs Q161 Q1 76 R 0 161 N O contacts digital outputs Q177 Q192 R 0 162 N O contacts digital outputs Q193 Q208 R 0 163 N O contacts digital outputs Q209 Q224 R 0 164 N O contacts digital outputs Q225 Q240 R 0 165 N O contacts digital outputs Q241 Q256 R 0 200 N O contacts bistable relays B1 B16 RAN 0 201 N O contacts bistable relays B17 B32 RAN 0 300 N O contacts timer T1 T16 R 0 301 N O contacts timer T17 T32 R 0 302 N
50. n be used inside the program Below an example 57 RANGE Al1 Min 10 Max 200 For analogue input Al1 the function defines the minimum limit as 10 and the maximum limit as 200 In case that analogue input Al1 vvould be connected to a potentiometer to fix a preset time PT of a timer with time base 100ms the result would be a variable time between 1 0 and 20 0 seconds according to the position of potentiometer Concerning analogue outputs AQ minimum and maximum value allow to rate the effective tension value of output 0 10V Below an example RANGE AQ1 Min 200 Max 500 For analogue output AQ1 the minimum limit is fixed as 200 and the maximum limit is fixed as 500 This means that setting numeric value of output as 200 the output AQ1 will be 0 Volt while setting the numeric value as 500 the output AQ1 will be 10Volt In case that entered value are not included in the interval specified by function RANGE the output is kept within minimum and maximum values For intermediate values output tension is rated according to following formula Output volt Value Min 10 Max Min Maximum resolution for output AQ1 and AQ2 is 8 bit Concerning PID outputs minimum and maximum values allow to rate the value for the output of PID control algorithm Below an example RANGE PID1 Min 100 Max 500 For PID1 output minimum limit is fixed as 0 and maximum limit is 500 This means that for output 0 the PID output w
51. nput Al3 configuration SM43 1043 Analogue input Ald configuration amp SM44 1044 Analogue input Alb configuration 5 45 1044 Analogue input Al6 configuration These special marker words define the type of sensor RW connected to analogue inputs Al1 Al6 select the jumpers correctly to configure the inputs At starting these words are automatically selected as input 0 10V 10bit AI5 AI6 as not enabled inputs 0 2 Input disabled 1 gt Input 0 10V resolution 10 bit 2 3 Input 0 10V resolution 16 bit 3 3 Input 0 1V 4 gt Input 0 20mV 5 gt Input 0 20mA 6 gt Input 4 20mA 7 gt Input thermocouple type 8 gt Input thermocouple type S 9 gt Input thermocouple type T 10 gt Input thermocouple type R 11 gt Input thermocouple type J 12 gt Input thermocouple type E 13 gt Not available 14 gt Input PT100 15 gt Input NI100 16 gt Input compensation PT100 NI100 only for PT100 NI100 3 wires Selection allowed only for Al2 and Al3 respectively compensation for Al1 and Al4 17 gt Not available 18 gt Input NTC 10K 823435 19 gt Input conversion counts 20 Input PT1000 21 3 Input PT500 22 gt Input PTC 1K 3 See par Setting dip switch to select analogue intput AI5 6 4 See par Setting dip switch to select analogue intput AI5 6 3l SM46 1046 Min value for Analogue in
52. on area VWO 9 Numero bobina EXP_ 1 Parametri Azione e indirizzo slave Leggi dallo SLAVE numero 1 Indirizzo WordiBit Min 0 Word numero 10000 Max 65535 Area Dest per lettura Sor per scrittura Area memoria V word 0 v Numero WordiBit lettifscritti consecutivi Min 0 N word gt fio Max 16 2 2 22 MapEXP mapping function for external I O MapEXP communication function allows to declare expansion devices of I O expansion connected to the port EXP1 for the automatic reading writing of input outputs and data This function is activated only when for the serial port EXP1 on the project the communication protocol EXP I O CANBUS is selected This protocol allows PL260 to take the control of the CANbus communication line controlling data flow towards slave devices 64 This instruction will be active until the corresponding coil results active It is necessary to know that required time for data updating can change sensibly and that at coil start read data is not available instantly but only after a certain time due to communication delays MapEXP instruction needs this setting parameters e O device address it is possible to select at max 15 I O devices connected to the CAN bus this number will correspond to that of the communication address selected on the I O module e Type of connected8 I O device MCM260 1AD 16 digital outputs MCM260 2AD 16 digital inputs MCM260
53. pressed as milliseconds Derivative time is expressed vvith one decimal point more than integral time Proportional band and dead band are expressed as counts since they refer to encoder 1 Parameters required for function POSPID are the following e Setpoint counts e Value of action F 10000 e Output limits 0 10000 Function POSPID after getting setpoint value expressed as counts value of action F and limit of output will rate value of analogic outputs AQ1 and 68 AQ2 so that value of counts for encoder 1 vvill be equal to selected setpoint Value of action F will be added to the output value rated by PID max 10000 Keeping value of action to 0 a zero this action will not affect regulation The limit of output is conceived to limit the motion speed of axis particularly setting the limit to 5000 the combined output AQ1 and AQ2 will assume max values 5 0V To assure optimal operation the function POSPID must be recalled at regular intervals therefore it is possible to use an internal interrupt All data used by these functions are double word type 32 bit 2 2 25 Function 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 in double word starting with the location which is given as parameter of the function Add
54. put linear Min value for Analogue input Al2 linear SM48 1048 Min value for Analogue input AI3 linear SM49 1049 Min value for Analogue input AM linear SM50 1050 Min value for Analogue input Al5 linear SM51 1051 Min value for Analogue input AI6 linear SM52 1052 Max value for Analogue input linear SM53 1053 Max value for Analogue input AI2 linear SM54 1054 Max value for Analogue input AI3 linear SM55 1055 Max value for Analogue input AM linear SM56 1056 Max value for Analogue input Al5 linear Max value for Analogue input AI6 linear Select min and max numeric limits for the analogue R W conversion of inputs configured as V I current and tension These words are modified using the instruction RANGE Alx Min Max Default settings are 0 for min value and 1000 for max value SM58 1058 Offset calibration Analogue input Al1 SM59 1059 Offset calibration Analogue input Al2 SM60 1060 Offset calibration Analogue input AI3 SM61 1061 Offset calibration Analogue input Al4 SM62 1062 Offset calibration Analogue input AI5 SM63 1063 Offset calibration Analogue input 16 SM64 1064 Gain calibration Analogue input SM65 1065 Gain calibration Analogue input Al2 SM66 1066 Gain calibration Analogue input AI3 Gain calibration Analogue input AI4 SM68 1068 Gain calibration Analogue input AI5 SM69 1069 Gain calibration Analogue inp
55. ral time is expressed in time unit used for PID function ex PID function recalled every 1 sec integral time expressed in seconds Derivative time is expressed with one decimal digit more than integral time Proportional band and dead band are expressed with a numeric value as setpoint and process PID function requires following parameters e Setpoint e Process e Output value e of control action e of output After acquisition of necessary parameters values PID function will enter the value obtained by control algorithm in the variable Output value This value will have been obtained rescheduling the percentage value 0 10000 0 00 100 00 between minimum and maximum value of PID output as entered using the function RANGE For optimal results PID function should be recalled at regular intervals A timer can be used or even an internal Interrupt to get shorter intervals Function SetOutPID is used for control actions which foresee both automatical and manual functions The function allows to avoid process oscillations when changing from manual to automatical PID control Following parameters are required e Output value 67 It allows to set the value of PID output automatically rating the single percentages of proportional and integral action Changing from manual to automatical operation PID output will assume the value entered in manual function and it will start control action Consequently the f
56. res Contents s area VD 0 State of function GENSET 0 gt Stop or end motion 1 gt Function initialization 2 gt Acceleration ramp 3 gt Motion at constant speed 4 gt Deceleration ramp 2 Starting Setpoint Setpoint rated at end of GENSET function counts 4 Final setpoint counts 6 Motion speed counts 1000 time units 8 Duration of acceleration ramp time units 10 Duration of deceleration ramp time units 12 Instant speed of setpoint counts 1000 time units To use this function proceed as follows Enter on location VD 2 the starting setpoint Enter on location VD 4 the final setpoint Enter on location VD 6 max motion speed as counts 1000 time units to have 3 decimals Example setting 12345 will give a speed of 12 345 counts time units 69 Enter on location VD 8 the duration of accelaration ramp expressed as time units if duration of acceleration ramp must be 1 second and function GENSET is recalled by an interrupt of 1 ms enter 1000 Enter on location VD 10 the duration of deceleration ramp Write 1 on location VD to start the function which will automatically start to write on location VD 2 the generated setpoint Location VD will also be updated with current state of function while location VD 12will be updated with instant speed of setpoint expressed with 3 decimals This value may be used to generate action F for function POSPID At end of motion when location V
57. ry to avoid continuously writing into this memory area 1 7 14 Memory areas COMx_SEND and EXP1_SEND Memory area COMx_SEND and EXP1_SEND are used to load data which will be sent to the relevant serial port They are used only in mode free port In standard mode these areas are handled with the selected communication protocol These areas are divided in byte 8 bit 1 7 15 Memory areas COMx_RECEIVE and EXP1_RECEIVE Memory areas COMx_RECEIVE and EXP1_RECEIVE are used to save data received by the relevant serial port They are used only in mode free port In standard mode these areas are handled with the selected communication protocol These areas are divided in byte 8 bit 1 8 Modbus RTU slave communication protocol Module PL260 is conceived for the use vvith SCADA systems or Operator panels via Modbus protocol RTU Serial communication enables reading and modifying of data on available memory areas entering and visualizing any data concerning the PLC Module PL260 is provided vvith 3 serial communication ports which are enabled to operate as slaves with MODBUS protocol COM1 RS485 available on connector plug 8 and on pins 31 32 and 33 EXP1 RS232 available on pins 34 35 and 36 COM2 RS232 available on connector plug 8 Both serials support protocol modbus RTU as described below Therefore the module PL260 may be connected and may communicate with 3 master devices at the same time Modbus RTU main features
58. struction 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 number in case of more data Internal memory area of PL260 where data must be read written Word number the same reading writing instruction can work simultaneously on more consecutive data NAIS MATSUSHITA MASTER PROTOCOL This communication protocol allows to read write data bit or word on a Nais Matsushita plc Generally communication interface is a RS232 and communication format is 9600 8 0 1 The following tables show all elements which can be read written by the plc The address bit or word to be read write is obtained adding the real bit word address between Min and Max to the value showed in the Offset column Each instruction COM or EXP can execute reading writing for each type of data which is indicated in the column Max number of consecutive bid word read wrote 62 ACCESS TO BIT Contact Notation Min Max Offset RW Max number of consecutive bit read wrote External input Xn 0 9999 0 R 8 External output 0 9999 10000 RW 8 Internal relay 0 9999 20000 RW 8 Link relay E 0 9999 30000 RW 8 Timer 0 9999 40000 R 8 Counter 0 9999 50000 R 8 ACCESS TO WORD Data Code Notation Min Max Offset R W Max num
59. t will keep unchanged the actual value Similarly at reaching of minimum value 32 768 the next edge up of the counting down input will keep unchanged the actual value MDOWN in mode Count Down the counting bit contact is activated when present value is equals to zero The counter counts down starting from a preset value PV on the edge up of the counting down input Cx DOWN and it counts up on the edge up of the counting up input Cx UP At reaching of max value 32 767 the next edge up of the counting up input will Keep unchanged the present value The counter resets the counting bit contact C and load present value with preset value PV when loading input Cx RESET is activated The counter in mode count down stops counting when it reaches zero Please use number of counter to refer both to actual value and to Contact C of the counter itself Preset value PV may be directly loaded with a value or it may be loaded by one the variables in the area VW SMW Al TR 2 2 6 Mathematical formule FM function The function FM allows to perform math operations amp lt lt gt gt between two operators and to save the result in another memory location 55 The operators be numeric or they may also refers to available memory areas 2 2 7 Assignement function MOV The function MOV allows to assign to the specified memory location a numeric value or a value assumed by another memory location 2 2
60. ted automatically each second Counts at tenth second of encoder 3 Counts at tenth second of encoder 4 Counts at tenth second of encoder 5 Only for PL260 12AD These two words contain the number of counts Sas Tias EIL noticed during the last 100 ms by the encoders These words are automatically updated each 100 ms 43 1 7 3 Memory area digital inputs I This memory area digital inputs is the area in which the state of digital inputs is stored It is organized in words each of the 16 bits of the word represents the state of an input For instance the state of digital input 120 is stored on bit no 3 of word 2 in area I The area consists of 4 words The first and the second are updated with actual state of inputs at the starting of each cycle while the last two words may contain the state of inputs read via serial communication from an expansion module 1 7 4 Memory area digital outputs Q This memory area stores status of digital outputs It is organized in words each of the 16 bits of the word represents the status of an output Eg the status of digital output Q1 is stored on bit no O of word 1 into the area The area consists of 8 words The first one is transferred to the outputs of PL260 at the end of each cycle the other ones may contain the status of further outputs to write via serial communication to an expansion module 1 7 5
61. unction must be used only in manual control to keep PID output in line with value of manual control This function automatically cancels derivative action If the function is used with process value outside proportional band integral action will be set to 0 2 2 24 Functions StartPOSPID and POSPID Functions StartPOSPID and POSPID are conceived to assure a simple and quick positioning by reading encoder 1 and by motor control with a tension 10V generated as differential by outputs 1 AQ2 Positioning is achieved with PID algorithm adding also action F which is due to theoric speed of axis motion Function StartPOSPID activates control action setting the parameters as required The function can be activated once at starting but it may also be recalled later for a quick change to control parameters Integral action of PID is initialized only starting this function and setting integral time to 0 Otherwise even in case of switch off the system will start regulation keeping as reference the same percentage of integral action therefore limiting the time of transient Parameters required for function StartPOSPID are the following e Proportional band e Integral time e Derivative time e Dead band Parameters can be entered vvith numeric format or even referring to internal variables Integral time is expressed vvith time unit used to recall function POSPID ex function POSPID recalled every 1 ms gt gt Integral time ex
62. ust be done with PL260 switched off 1 6 1 Setting dip switch to select EXP1 interface Pins 34 35 and 36 can have a double function which can be selected through dip switch S6 found under the 6 way terminal block and accessible without removing the cover of the box To enable the required serial EXP1 interface select the dipswitch as indicated in the figure e Serial EXP1 with CAN bus interface for I O expansion modules M4 m e Serial EXP1 with RS232 EKO elolelolele VEE M4 0000 125 Os 0000 82 o RB ar 17800 F a F F l F ae ERE NO u FOO Lil D2 9 8 9 9 9 S d a BENT FA go oo 2 Cop m Me EE EHE E bel AL lo R4 Bg RSg OD ej 15 1 6 2 Setting dip switch to select analogue input Al1 4 Each analogue input can be configured through a 4 way dip switch the correspondence between the inputs and the relative dip switch is showed in the figure below b Darso E M DAS TU DD DS Al gt DM 4 jam Cap gse oL Mi DO TN BH JEN 949 ge ni y Be us a f m Cama a gt To obtain the required
63. ut Al2 or Al3 If 3 wires PT100 NI100 are used this setting can be selected only for AI2 and AI3 as compensation for inputs and Compensation for PT100 NI100 3 wires ES NE Al4 ON Connect one of the two wires to the PT500 E falfa analogue input and the other one to the Al PTC 1K 1234 input reference 17 1 6 3 Setting dip switch to select analogue intput 5 6 Analogue inputs Al5 Al6 are generally selected reset setting through SMW44 and SMW45 as Disabled They can be configured as 0 10V 10 bit only if inputs Al1 and Al2 have not yet been selected as 0 10V 10 bit AI5 uses part of the hardware of Al1 while AI6 uses part of the hardware of Al2 Selecting inputs Al5 and Al6 as 0 10V 10 bit through the relative dip switch see following figures signal applied to input 17 is converted to analogue the read value is deducted and assigned to Al5 the signal applied to input 18 is converted to analogue the read value is deducted and assigned to input Al6 In this way it is possible to obtain two inputs 0 10V in addition to the 4 universal analogue inputs Figures below show the settings for dip switch to configure analogue input Ald Input 15 Dip switch Notes Analogue input Al5 is disabled Disa
64. ut Al6 These words define the calibration of conversion for R W Al1 Al6 They are used to correct possible errors of reading The formule is as follows Value Alx Value Alx Value Alx Gain calibration Alx 1000 Offset calibration Alx At starting all calibration values are set to zero 32 Min value for analogue output 1 Min value for analogue output AQ2 Min value for analogue output AQ3 Min value for analogue output AQ4 These vvords define the value of the softvvare analogue output AQx which corresponds to OV on the physical output These words are modified using the instruction RANGE AQx Min Max At starting they are selected to 0 Max value for analogue output AQ1 Max value for analogue output AQ2 Max value for analogue output AQ3 SM80 1080 Max value for analogue output AQ4 These words define the value of the software analogue R W output AQx which corresponds to 10V on the physical output These words are modified using the instruction RANGE AQx Min Max At starting they are selected to 100 Frequency of digital analogue converter default 55 Hz Defines the conversion frequency in Hz for the digital R W analogue converter Through this parameter it is possible to change the conversion speed to obtain a
65. utput must be activated Set to zero the value of field Output when the functions TunePOS or POS are disabled to avoid that output is still set as Onwards or Backwards 60 ESEMPIO DI UTILIZZO DELLE FUNZIONI TunePOS e POS MOV VDO SMD20 Trasferisce il valore dell encoder 1 nel campo Conteggi encoder MOV VD2 10000 Imposta 10000 nel campo Conteggi valore setpoint di posizionamento MOV VD4 100 Imposta 100 nel campo Conteggi scarto assoluto massimo di posizionamento MOV VDB 50 Imposta il tempo in decimi di sec per raggiungere la max velocit n TunePOS1 VDO Esegue il Tunig dell Asse di posizionamento ON OFF A E salva i parametri calcolati a partire dalla variabile VDO TuneFOS1 01 Alla fine del Tunig dopo aver calcolato i parametri chiude il contatto 01 6C2 12 POS1 VDO Esegue il posizionamento con metodo ON OFF a Usando i parametri di lavoro memorizzati da VDO in poi POSI 5 Quando L asse in posizione chiude il contatto Q2 VD8 1 Q3 AVANTI Se il campo Uscita 1 attiva il rel AVANTI AIr k gt VD8 1 04 INDIETRO Se il campo Uscita 1 attiva il rel INDIETRO 2 2 21 Function serial communication and EXP Communication functions COM and EXP enable the programming of the serial ports COM1 RS485 and EXP1 RS232 for reading writing of data from connected slave devices using the master protocol selected in the project These functions are a
66. y counts time when coil is activated ON Timing bit contact T is activated when actual value T is bigger or equals to preset time PT When coil is deactivated OFF actual value of timer delay at insertion with memory is stored This value allows to accumulate time for more activation peroids of the coil Actual value of timer can be reset with operation MOV Tx 0 Timer keeps on counting after reaching preset value and it stops reaching the max value 32767 Timers with operating modes TON TONR and TOF are available in three different resolutions not depending from number of timer they can be 54 activated with time basis 10 ms 100ms and 1s Each counting of actual value is multiple of time base Example a counting of 50 in a timer with time base 10 ms is equals to 500 ms Preset time PT can be directly loaded with a value or by means of a variable in the area VW SMW Al TR 2 2 5 Counter C Counters are available with two operating modes e MUP In mode Count Up the counting bit contact is activated when present value C is gt to preset value PV Counter counts up every time that the counting up input Cx UP goes from Off to On and it counts down every time that the counting down inputs Cx DOWN goes from Off to On The counter is reset when the reset input Cx RESET is activated or when the operation MOV Cx 0 is executed At reaching of max value 32 767 the next edge up of the counting up inpu
Download Pdf Manuals
Related Search
Related Contents
Digitus External SATA to LAN + USB enclosure Introduction STEP 1 – Login STEP 2 – Select your match Sparkle Technology SPI5002UC power supply unit S08285a Contents Copyright © All rights reserved.
Failed to retrieve file