Home

sigmadue microPAC M81 User Manual

image

Contents

1. 2 NTC Custom Measure Unit Unit measured 0 C 1 K 2 F Filter Frequency Filtered frequency 0 50 60 Hz 1 50 Hz 2 60 Hz Read Value Read the Input value Refresh Refresh command to update the Read Value item Exit Return to previous menu Note The setup menu of all the 8 Temperature input channels is as described in the table 29 Sigma microPAC M81 User manual NTC custom AsconTecnologic linearization Sigma M81 Control Unit Menu Device configuration TEMPERATURE AI CH MENU CH NUMBER 1 1 A 0 000888484 2 B 0 000250982 3 C 1 96979E 07 4 T Zero 85 C S T rall 110C 6 R Zero 329500 Ohm 7 R Full 757 6 Ohm 8 Exit Enter Selection Figure 5 19 NTC custom linearization Menu CH Number Chosen Analogue Input Channel Note Parameters for the NTC custom linearization as temperature input probe A B C are those characteristic parameters of Steinhart Hart equation with which is performed the linearization of the NTC Start of temperature measure range low range End of temperature measure range high range Probe resistance at low range Probe resistance at high range Exit Return to previous menu Note The setup menu of the 8 Temperature input channels when set as NTC custom is as described in the table 5 2 14 AO Channel 1 amp Channel 2 Menu AsconTecnologic Sigma M81 Control Uni
2. 44 9 1 Chapter 9 CPU TFTP File Access TFTP Protocol Access The M81 unit allows the user to access the internal device file system using a TFTP Trivial File Transfer Protocol client All files in the Internal Flash Memory present in the instrument and those in the FAT File System of the USB Key can be reached through the TFTP protocol on port 69 of the Ethernet connection As well as for the other files the user can also download the PLC data logging one Caution Working with large files on the USB key is a very slow procedure that impacts the whole cycle time of the application For this reason it is STRONGLY recom mended to not exceed 120 MB maximum as data logging file dimension With TFTP protocol it is possible to upload download the device configuration IEC61131 program retained variables and log files to from the PLC For security reasons the name and the number of the accessible files is limited and fixed The following table lists the Internal Flash Memory accessible files File Name Description fsi restore file IEC61131 program file name fs1 sys_file Configuration file fs1 prodstr_file Product identifcation file fs1 errlog_file RUNTIME errors file name fs2 retain Classic retained variable file name fs2 perc ret retained variable file name fs2 stop_prg Stops the PLC program note 1 fs2 run_prg Starts the PLC program note 1
3. l BYTE Al Status Channel_8 l BYTE Al Status Channel_9 l BYTE AI Status Channel_10 l BYTE Al Status Channel_11 l BYTE AI Status Channel_12 l BYTE AI Status Channel_1 l BYTE Al Status Channel_2 l BYTE Al Status Channel_3 l BYTE AI Status Channel_4 l BYTE AO Status Channel 1 l BYTE AO Status Channel_2 l BYTE AO Status Channel_3 l BYTE AO Status Channel_4 Counter Channel_1 Counter Channel_2 Counter Channel_3 Counter Channel_4 Counter Channel_5 Counter Channel_6 Counter Channel_7 Counter Channel_8 Counter Channel_9 Counter Channel_10 Counter Channel_11 Counter Channel_12 0 3 2 Output Memory type Memory Are Size Bytes Onboard DI status AO CH1 AO CH2 AO CH3 AO CH4 10 3 3 Marker Memory type Memory Are Size Bytes Data type Status DO onboard 0 0 M 1 bit Battery status 0 empty 1 OK Classic Retain Menory Startup Status o Na M i pil 0 Corrupted 1 OK 0 2 9 M 1 bit Percentage Retain Menory Startup Status 0 Corrupted 1 OK 56 Memory type Size Bytes Data type Chapter 10 CPU I O data Data M bit Production Code 0 Corrupted 1 OK M WORD DI Configuration M BYTE AI Configuration Cha
4. Sigma microPAC MP 01 User manual 66
5. fs2 erase_prg Erases the PLC program note 1 fs2 ack alm Acknowledges the retentive variables file error alarm ONLY note 2 fs2 reset Reset command file note 3 Notes 1 These TFTP commands do not have errors feedback because they do not establish any TFTP data exchange 45 Sigma 9 2 microPAC M81 User manual AN 2 Because the Acknowledge command cannot be retained it is not possible to use it for all the other alarm status To acknowledge those ones you have to use the standard procedure as described in CPU Info Menu on page 32 3 This TFTP command does not get any feedback answer from the CPU because it resets itself WARNING The Configuration file fs1 sys_file contains specific information about the system hardware and must not be changed otherwise a memory mismatch may occur Caution The Reset Command file fs2 reset activates the CPU reset command The access to the fs2 reset file using the tftp connection causes the instantane ous reset of the CPU To connect the unit the user needs the device IP address see Ethernet Setup Menu on page 21 for details and the logic port used which is always 69 for the TFTP The TFTP protocol has only two different services GET upload PUT download The GET service allows the user to upload a file from the M81 unit while the PUT service allows files to be downloaded Using the TFTP client available with Windows se
6. 16 GB of free disk space CD ROM and 1024 x 768 resolution Windows server 2003 Windows XP SP2 Windows Vista 32 bit and Windows 7 32 or 64 bit Installation The programming tool is provided within the AT Automation Suite CD The CD auto starts a screen where you can select the software you want to install If auto start is not activated or does not work please start the last distributed OpenPCS programming tool version e g OpenPCS Ver 663e exe file available in X SETUP folder x is the letter assigned to the CD ROM drive in your PC At the end of the installation you will be asked if you want to install hardware drivers If you received drivers with your PLC enter the path to the hardware driver otherwise select Quit If you received drivers for your PLC you also received a licence key for OpenPCS See Licence Editor for how to insert a licence key If you do not have a hardware driver or a licence key OpenPCS is still functional but restricted to SIMULATION mode Starting OpenPCS Start Windows and choose Start gt Programs gt infoteam OpenPCS 2008 gt infoteam OpenPCS 2008 in the start menu to open the Framework or double click on the specific icon from your desktop 41 Sigma microPAC M81 User manual 8 1 4 Configuring OpenPCS In order to work with the Ascon Tecnologic CPU target you must install in OpenPCS a cab file The file AT_sigmadue_zzzz cab contains all the files describing sig
7. MB_SLV_WR_DWORD Modbus Slave writing a DWORD value MB_SLV_WR_REAL Modbus Slave writing a REAL value MB_SLV_WR_WORD Modbus Slave writing a WORD value MODEM_CHECK MODEM_CONF MODEM_SMS_SEND SEND_EMAIL SERIAL_PORTS Modem operational verification Modem configuration management Modem SMS Short text Message Service send management SMTP server Configuration Set the configuration for the Modbus RTU ports of the CU unit SYS_OPRS_MNGT agents Set communication operational parameters on Modbus RTU and TCP TCP_IP_PORT Set the configuration for the Modbus TCP port 11 5 Firmware Function Blocks List The Firmware function blocks coming with the M81 hardware version 5 0 1 0 are listed in this section For each of the function blocks a short description is provided see the Ascon Tecnologic Firmware Function Block Library 3 manual for details for more details please refer to the specific help documentation available in the OpenPCS programming tool Function Block name Description ASCON_FLATTEN_TO_REAL Convert the 4 bytes of the input parameters as the flattened equivalent of a real number which is then output returned ASCON_REAL_TO_FLATTEN Convert the REAL variables in their FLATTEN equivalents CLOSE_MODBUS_TCP_SERVER Disable MBTCP IP Server CLOSE_SERIAL_COMM Close the serial communication port CONV_ASCII_TO_CHAR ASCII conversion fro
8. Note The setup menu of all the 4 high level input channels is as described in the table Channel Input Type 28 Chapter 5 CPU setup Temperature Analogue Input Menu Select a AsconTecnologic Temperature Sigma M81 Control Unit Analogue Device configuration Input Channel TEMPERATURE AI MENU 1 CH1 2 CH2 3 CH3 4 CH4 5 CH5 6 CH6 7 CH7 8 CH8 9 Exit Enter Selection Figure 5 17 Temperature Al Selection Menu Temperature Input Channel 2 Configuration Temperature Input Channel 3 Configuration Temperature Input Channel 4 Configuration Temperature Input Channel 5 Configuration Temperature Input Channel 6 Configuration Temperature Input Channel 7 Configuration Temperature Input Channel 8 Configuration Return to previous menu Setup i AsconTecnologic Temperature Sigma M81 Control Unit Channels Device configuration TEMPERATURE RESISTOR_PARAMS CH NUMBER 1 1 Thermoresistance Param 2 Channel Input Type 0 2 0 Pt1000 3 Measure Unit 0 2 C 4 Filter Frequency 0 2 50 60 Hz 5 Read Value 0 00 C 6 Refresh 7 Exit Enter Selection Figure 5 18 Temperature Al Setup Menu CH Number Chosen Analogue Input Channel Note Analogue Input Type Possible values Value Type 0 Pt1000 200 850 C 1 NTC SEMITEC 103AT 2 40 125 C Channel Input Type
9. Priority connection table are managed in a specific way The Modbus TCP IP server agent can support up to 10 TCP connections at the same time When a new connection request is made and all available connections are used the system will close one of the present active con nections to satisfy the new request Addresses not belonging to the Priority connec tion table will be closed first followed by those which have been inactive longest 5 2 12 Local I O Setup Menu AsconTecnologic Sigma M81 Control Unit Device configuration IO SETUP MENU High Level AI Temperature AI AO CH1 amp CH2 Yes AO CH3 amp CH4 Yes Expansion 1 No Expansion 2 No Temperature 0 SNQUAWNH Exit Enter Selection Figure 5 14 VO Setup Menu High Level AI High Level V mA Analogue Inputs Configuration Temperature NTC Pt1000 Analogue Inputs Configuration AO CH1 amp CH2 Analogue Outputs 1 and 2 Configuration AO CH3 amp CH4 Analogue Outputs 3 and 4 Configuration First Expansion Unit Configuration Temperature Al Expansion 1 If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No Second Expansion Unit Configuration Expansion 2 If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No Temperature Onboard Temperature Sensor Exit Return to previous menu 27 Sigma micr
10. default disabled OFF The default communication parameters for the X10 port are RS232 and RS485 Baud Rate 9600 bps Data 8 bit Stop bit 1 Parity none Flow Control none The serial port communication parameters can be changed during the CPU Setup Session see paragraph Serial Setup Menu on page 21 for details Caution The RS232 cable must be shorter than 15 m 14 Chapter 4 Communication Ports Configuration 4 2 Connect the Setup Terminal 4 2 1 At start up the system starts a configuration session to perform the setup of the system module and configure the system I Os Setup data can be inserted using two different instruments e A Personal Computer using a Telnet session connected to the Ethernet port of the System Unit ETHERNET connector e AVT100 terminal or a Personal Computer with Hyper Terminal program and connected to the optional RS232 port of the Base Unit X10 connector Telnet Communications Connection In order to connect the Basic Unit to a Personal Computer using the Ethernet port there are two possibilities Through a Switch or a HUB M81 gt HUB Switch gt PC Connect to the ETHERNET connector a straight through not crossed LAN cable to connect the Basic Unit to the Switch or HUB the connection between the HUB Switch is also a straight through connection M81 side HUB Switch side RJ45 male connector RJ45 male connector Upper view
11. 0 M WORD Field Code E OUT AO1 A04 118 0 M WORD Field Code F USB PORT 120 0 M WORD Field Code G COM PORTs 122 0 M WORD Field Code H CAN PORT 124 0 M WORD Field Code I TERMINALS 126 0 M WORD Field Code J PACKAGING 128 0 M WORD Field Code K INSTRUCTIONS 130 0 M WORD CUSTOMIZATION HARDWARE 132 0 M WORD CUSTOMIZATION SOFTWARE 57 Sigma microPAC M81 User manual Memory type Size Bytes Data type Data M WORD SOFTWARE SUB VERSION M BYTE Serial Number Character 1 M BYTE Serial Number Character 2 M BYTE Serial Number Character 3 M BYTE Serial Number Character 4 M BYTE Serial Number Character 5 M BYTE Serial Number Character 6 M BYTE Serial Number Character 7 M BYTE Serial Number Character_8 M WORD Hardware code identifier M WORD Firmware code identifier M WORD RESERVED 2 1 1 1 1 1 1 1 1 2 2 2 58 Chapter 11 Ascon Tecnologic Function Blocks Libraries In this chapter are listed the libraries part of Ascon Tecnologic automation CD and those available in the M81 firmware device For each library the complete list of function blocks with a brief description is also indicated For more details please refer to the specific documentation AT Generic Advanced Lib The AT Generic Advanced Lib is a function block library that contains a set of generic functionalities that come from the Ascon Te
12. 21 21 22 23 23 24 24 26 26 27 27 28 30 31 32 32 35 35 35 36 36 36 39 39 40 Index continued Chapter 8 Programming the CPU aan 8 1 Installing OpenPCS 2 ka NG ieee seen ER RE ER RR AA NG 8 1 1 Hardware and Software Requirements 8 1 2 Installation saci4 cinerea vedo RET ORAS URS BERE DE bans 8 1 3 Starting OpenPES 12 pira wa ed EH ee Rea ate i N 8 1 4 Configuring OpenPCS 00 eens 8 2 OpenPCS Setup ass EE ER Ka EE kk ME a E RR A RR wees 8 3 Communication Ports Protocols lees 8 4 Watchdog Timer 0 iss KG s EAR RAE TA nnn Chapter 9 CPU TFTP File Access wi sms N RE ee ER Re sl ie ON Me es Re 9 1 TFTP Protocol ACCESS id be oe Be RE e EE RE REX 9 2 1EC61131 3 OpenPCS Runtime Errors log file Chapter 10 CPU Data Memory Map rrr hh 10 1 Central Unit Data iron 10 1 1 Digital Inputs Status DIT DI12 ee 10 1 2 High Level Analogue Inputs Al1 Ald LL 10 1 3 Temperature Analogue Input Value Al5 A112 10 1 4 VO Diagnostic Status irrita ol va cis 10 1 5 Onboard Temperature Values 10 1 6 Digital Counters 10 1 7 Digital Outputs Status DO1 DO10 10 1 8 Analogue Output Value AO1 AO4 nanna eee eee 10 2 Battery and Retentive Memory Status VO Configuration Information RR ER RR 10 2 1 Battery and Retentive Mem
13. COM PORTs 122 0 M 2 WORD Field Code H CAN PORT 124 0 M 2 WORD Field Code I TERMINALS 126 0 M 2 WORD Field Code J PACKAGING 128 0 M 2 WORD Field Code K INSTRUCTIONS HW and SW versions Memory type Data type CUSTOMIZATION HARDWARE CUSTOMIZATION SOFTWARE SOFTWARE SUB VERSION 54 Serial Number Code Data type Chapter 10 CPU I O data Serial Number Character 1 HW and FW versions Data type Serial Number Character_8 Hardware code identifier Firmware code identifier 10 3 Complete Memory Map 10 3 1 Input Memory Areas Memory type Size Bytes Data type RESERVED Al value Channel_5 Al value Channel_6 Al value Channel_7 Al value Channel_8 AI value Channel_9 AI value Channel_10 AI value Channel_11 Al value Channel_12 Al value Channel_1 Al value Channel_2 Al value Channel_3 Al value Channel_4 Al ohm value Channel_5 Al ohm value Channel_6 Al ohm value Channel_7 Al ohm value Channel_8 Al ohm value Channel_9 Al ohm value Channel_10 Al ohm value Channel_11 240 0 l BYTE Al ohm value Channel_12 AI Status Channel_5 Ln mk 241 0 l BYTE AI Status Channel_6 55 Sigma microPAC M81 User manual Memory type Size Bytes Data type Data l BYTE Al Status Channel_7
14. Contact configuration SPST Single Pole Single Throw Contact rate 2 A for resistive loads 2500V between channel and Power Supply and between channel and main electronics Output connectors X7 and X8 Isolation Note The output of the watchdog timer function can be addressed to the DOS relay output 1 3 3 Analogue Inputs Al1 Al12 High level Al1 Al4 are 4 High Level Analogue Inputs that can be configured through the Analogue Inputs Setup masks The characteristics of these Inputs are Alt Al4 Features Description 0 1 5 V 0 2 10 V Ratiometric with 5 V reference Type ot inpak and 0 4 20 mA Resolution 16 bit Accuracy 0 5 Input inpedance gt 100kQ V lt 300Q mA 2500V between channel and Power Supply and between channel and main electronics Isolation Input connectors X12 Chapter I Technical data Temperature AIS Al12 are 8 Temperature Analogue Inputs that can be configured through the Analogue Inputs Setup masks The characteristics of these Inputs are AI5 AI 12 Features Description Type of input Pt1000 NTC SEMITEC 103AT 2 NTC Custom Resolution 16 bit Accuracy 1 800V channels power supply 800V channels logic components Input inpedance gt 10MQ Input connectors X14 and X15 Isolation 1 3 4 Analogue Output AO1 AO4 Features Description AO1 AO4 note 2 0 10V Load 51 ka Resolution 16 bit
15. Front view NURON 2 Directly to the Personal Computer Connect to the ETHERNET connector crossed LAN cable to connect the Basic Unit directly to the PC PC side M81 side RJ45 male connector RJ45 male connector Upper view Front view Front view M OQ ROO Oo WARNING Even if many Personal Computers and ETHERNET switches are able to manage the connection switching the signals to match the type of connection made straight or crossed is suggested to use the correct type of cable Once the PC is connected to the basic unit start the Telnet program in order to communicate with the M81 and begin the setup session Sigma 4 2 2 Setting the comm s parameters microPAC MP 01 User manual Connect the serial setup terminal Depending to the configuration the user should e Set the X10 port as RS232 e Provide the proper communication connection cable e Set the correct communications parameters e Run the communications program RS232 Serial Communications Connection A VT100 terminal or a PC with Hyper Terminal program can be connected to the X10 port through an RS232 cable with the following characteristics VT100 Terminal side M81 side 9 pin sub D connector 5 poles male connector Upper view Front view The HyperTerminal must be configured accordingly to the communication port desired When the Perso
16. WORD is organized like xxxx 0 xxxx 11 where the input status of DIT DI12 are present while xxx 15 returns the status of the button present on PLC front side called PB as Push Button 49 Sigma microPAC M81 User manual 10 1 2 High Level Analogue Inputs A11 Al4 The 4 High Level Analogue Inputs are always present on the device The inputs Configuration is performed using the CPU Configuration Session see Chapter 4 for details The values present in the memory map are in engineering unit V or mA using a REAL 32 bit floating point format Addr pi Bytes Data type Data 132 0 l 4 REAL Al value Channel 1 136 0 l 4 REAL Al value Channel 2 140 0 l 4 REAL Al value Channel 3 144 l 4 REAL AI value Channel_4 These four High Level Analogue Inputs can be configured as Valueto be inaened im Range selected 1 0 5V 2 1 5V 3 0 10V 4 2 10V 5 0 20 mA 6 4 20 mA 7 Ratiometric with 5 V generator 10 1 3 Temperature Analogue Input Value A15 Al12 Also the 8 Temperature Analogue Inputs A105 Al12 are always present in the CPU and their value can be found in a REAL 32 bit floating point format at addresses Data type Al value Channel_5 Al value Channel_6 Al value Channel_7 Al value Channel_8 Al value Channel_9 Al value Channel_10 Al value Channel_11 Al value Channel_12 The Ohm raw value of these
17. X17 Ethernet 10 Base T port LAN 2 LAN status LEDs C DOS DS DOS DO6 C DO7 DO8 C DO9 DO10 1 Li C Al5 AI6 AI7 AI8C AI9 AIO Al11 Al12 X14 X15 Y ASCON TECNOLOGIC M81 ERR RUN L1 USBCOM2 COMI MSG RUN PWR vyv v v_ v ww v X13 M AN1 Al2 Al3 Al4 5 12 AO1 AO2 M M AO3 AO4 SZ SZ X1 Supply X2DO1 X3DO2 X5 AA C NO NCC NO NC M DI1 DI2 DI3 DI4 M DI5 DI6 DI7 DI8 MDI9 DI10 DI11 D12 24 VACIVDC Figure 8 5 Communication Ports and associated Protocols Notes 1 Modbus Master Slave 2 Consult the Installation Guide to polarise and or terminate the RS485 ports 8 4 Watchdog Timer Ascon Tecnologic M81 contains a watchdog control managed by 2 specific FBs WATCHDOG_SET and WATCHDOG_STATUS Watchdog is a down counter that is reset every program cycle When the count value reaches zero two different operational modes may be set CPU keeps ON the program execution it stores the event and forces the DO3 if enabled please see 5 2 5 Startup Setup Menu for details e CPU reset and the program restart Please note that the Watchdog timer is controlled by FBs and it runs independently from the PLC program Therefore if the program stops the timer is still active and behaves as programmed when the counter reaches zero The output of the Watchdog timer can be adderssed to the DOS relay output
18. boot up configuration session by a specific dedicated menu it is possibile to define the number of registers for each area to be saved as retentive From the main menu select CPU setup gt Retain Config The Retain Config menu allows to specify the split point between the ones to be retained and the standard memory location In case of ENTIRE memory defined as retentive the cycle time of the application will be increased by about 12 ms In case of a Cold star command the standard retentive variables will be reset or will assume the initialization value whereas the percentage retentive variables will be reset In case of CRC error the 2 areas are separately reset or initialized In case of a Warm Star command both the standard and percentage retentive variables will be unaffected In case of file corruption the percentage retentive var iables will be reset In case of a Hot star command both the standard and percentage retentive variables will be unaffected It is possibile to upload or download both the retentive memory areas standard and or percentage variables using a TFTP session The timeframe window to per form this operation is available only during the boot up phase before the configura tion session To upload or download the retentive memory files please follow the procedure described at paragraph Chapter 9 TFTP Protocol Access on page 45 During PLC program execution is possibl
19. file is in text mode can be opened by Windows Notepad for example and it is organized in rows The history goes back to maximum 10 events and it is organized as day of the week hh mm ss dd mm yy error code Following an example Wed 16 37 28 23 04 12 2002 Wed 16 37 25 23 04 12 2002 Wed 16 36 36 23 04 12 2001 Thu 11 56 29 22 04 12 2002 The table of error codes is the following Error name Error Code Error name Error Code kLzsModeConflict kLzsNetlnitError kLzsNoMem kLzsNetloError kLzsHardwareError kLzsNetlnvalidNodelD kLzsInvalidPgm kLzsNetVarCfgError kLzsDwnldError kLzsNetNIOverflow kLzsConfigError kLzsInvalidModCfg kLzsStoreProgInFLash kLzsInvalidPgmNr kLzsNoMemForRetain kLzsInvalidSegNr kLzsInvalidSegType kLzsNoMemForPersist kLzsSegDuplicate klpDivisionByZero kLzsNoWatchTabEntry kLzsUnknownCmd kIpArryIndexInvalid klpOpcodelnvalid kLzsModeErr klpOpcodeNotSupported kLzsNetError kLzsNetRecSizeError klpExtensionInvalid klpTaskCmdlnvalid kLzsProclmgRdWrError klpPflowNotAvailable kLzsTimerTaskError klpInvalidBitRef kLzslpVerError klpErrorRestoreData kLzslpExecError klpNoValidArrElementSize kLzsNcExecError kIpInvalidStructSize kLzsNoBkupMem kLzslOConfigError klecGeneralError kLzsNoHDMem klecFBNotSupported kLzsNotVa
20. function on DI1 Exit Return to previous menu The CPU can save the PLC program in a persistent memory support Every time the user downloads a new program into the CPU during the development activities it is saved permanently and at next device start up the stored program will be executed The selection Erase PLC program deletes the stored PLC program This activity can take several seconds When the Persistency setup menu screen reappears then the PLC program has been erased 23 Sigma microPAC M81 User manual 5 2 7 RTC Clock Setup Menu AsconTecnologic Sigma M81 Control Unit Device configuration CLOCK SETUP 1 Day of the Month 4 2 Month 11 3 Year 5 4 Day of the Week 5 5 Hour 14 6 Minutes 1 7 Seconds 34 8 Refresh 9 Exit Enter Selection Figure 5 8 Clock Setup Day of the Month Sets the day of the month number Month Sets the month of the year number Year Sets the last 2 digits of the year Day of the Week Sets the day of the week number monday 1 Hour Sets the Hour value based on the 24 h format Minutes Sets the Minutes value Seconds Sets the Seconds value Refresh Command to refresh the clock values Exit Return to previous menu Note Clock values are not automatically updated on the screen select refresh to upate 5 2 8 Retain Config AsconTecnologic Sigma M81 Control Unit Device configuration RETAIN CONFIG MENU MB Slav
21. inputs can be found at addresses Data type 180 0 l 4 REAL Al ohm value Channel_5 184 0 l 4 REAL Al ohm value Channel_6 188 0 l 4 REAL Al ohm value Channel_7 192 0 l 4 REAL Al ohm value Channel_8 196 0 l 4 REAL Al ohm value Channel_9 200 0 l 4 REAL Al ohm value Channel_10 50 10 1 4 10 1 5 Data type Chapter 10 CPU I O data Data REAL Al ohm value Channel_11 REAL VO Diagnostic Status For each analogue channel Input and Output the M81 unit provides an indica tion about the status of the channel even if this is not present because it is an option The possible values of this indication are as follows Al ohm value Channel_12 Status Value Description The value is in the Range of the signal The value is under the low level of the signal The value is over the high level of the signal Channel not Configured AI N oO No valid measure available Memory map for the input diagnostic indications Data type Al Status Channel_5 Al Status Channel_6 Al Status Channel_7 Al Status Channel_8 Al Status Channel_9 Al Status Channel_10 Al Status Channel_11 Al Status Channel_ 12 l BYTE AI Status Channel_1 249 0 l BYTE AI Status Channel_2 250 0 l BYTE Al Status Channel_3 251 0 l BYTE Al Status Channel_4
22. still active 3 If an answer to the test is received then the timeout is reset 4 In case of no answer the test will be sent again three times every 10 s 5 After the fourth test has received no answer the connection will be closed 5 2 10 Modbus TC IP Secure Addresses Table Menu AsconTecnologic Sigma M81 Control Unit Device configuration MODBUS TCP SECURE ADDRESSES TABLE MENU 0 Insert New Address 192 168 5 5 1 2 3 4 DE 6 7 8 9 1 0 31 Enter Selection Figure 5 12 Modbus TCP IP Secure Addresses Table Menu When the security functions are enabled please see the Firmware Function Block Library Manual the list of the addresses present in this menu will indicate the Modbus TCP IP Clients that can access the CPU Modbus TCP IP server To insert a new address select 0 then type in the new address it will be inserted in the first free position To delete an address select the number of the address you want to remove 26 Chapter 5 CPU setup 5 2 11 Modbus TC IP Priority Addresses Table Menu AsconTecnologic Sigma M81 Control Unit Device configuration MODBUS TCP PRIORITY ADDRESSES TABLE MENU 0 Insert New Address 192 168 0 12 KHUDTIAUBWNE 31 Enter Selection Figure 5 13 Modbus TCP IP Secure Addresses Table Menu The procedure to insert the desired values is the same as described above for the Secure address table Addresses inserted in the
23. the dedicated files The error indication will disappear automatically in case of positive result Chapter 3 Installation 3 1 Mechanical installation The sigmadue microPAC M81 unit and the additional external expansion I O units are designed to be installed on standard DIN rails The M81 unit has the expansion port connector on the right side of the case For this reason consider to keep enough space in case of needs of expansion modules Up to two additional external expansion VO units can be connected in chain to the M81 Installing and Removing the I O expansion modules A complete description on how the modules can be mounted on or removed from the system can be found in the M81 Installation Manual 9 3 2 Electrical installation 3 2 1 3 2 2 3 2 3 X4 Connector X5 Connector Refer to Figure 2 2 Control Unit Supply VO and Communication Ports and M81 Installation Manual 9 for details X1 Supply 24 VAC DC Power Supply Connector This 2 terminals connector brings the Power Supply to the CPU They have no polarity as the 24 V Power Supply can be in Direct or Alternate Current X2 X3 DO1 DO2 Digital Output SPDT Relays 5A These 3 terminal connectors are the output ports of the DO1 and DO2 SPDT relays The terminals of both the connectors have the following Pinout ESE EE es EE REN Signal Common Normally Open position Normally Close position X4 X5 X6 DI1 DI12 Digital Input for Fre
24. 0 M 1 BYTE AI Configuration Channel_10 17 0 M 1 BYTE AI Configuration Channel_11 18 0 M 1 BYTE AI Configuration Channel_12 19 0 M 1 BYTE Al Configuration Channel_1 20 0 M 1 BYTE Al Configuration Channel_2 21 0 M 1 BYTE Al Configuration Channel_3 22 0 M 1 BYTE Al Configuration Channel_4 31 0 M 1 BYTE Al Channel_5 E U note 32 0 M 1 BYTE AI Channel_6 E U note 33 0 M 1 BYTE AI Channel_7 E U note 34 0 M 1 BYTE AI Channel_8 E U note 35 0 M 1 BYTE AI Channel_9 E U note 36 0 M 1 BYTE Al Channel_10 E U note 37 0 M 1 BYTE AI Channel_11 E U note 38 0 M 1 BYTE AI Channel_12 E U note 51 0 M 1 BYTE AO Configuration Channel_1 53 Sigma microPAC M81 User manual Note 10 2 3 Data type Data BYTE AO Configuration Channel_2 BYTE AO Configuration Channel_3 BYTE AO Configuration Channel_4 The value of each Analogue Input channel in engineering units con be set as C 1 K 2 F Production Code Management Variables Model Code Size Bytes Data type Model Code Character_1 Field Code Data type Model Code Character_8 2 Field Code A AI PRECONFIG 2 Field Code B OOUT DO1 2 Field Code C OUT DO2 2 Field Code D OUT DO7 DO10 116 0 M 2 WORD Field Code E OUT AO1 AO4 118 0 M 2 WORD Field Code F USB PORT 120 0 M 2 WORD Field Code G
25. 6 DI1 DI12 Digital Input for Free Voltage Contacts 3 2 4 X7 X8 DO3 DO10 Digital Output SPST Relays 2A 3 2 5 X9 Power Supply 15 VDC for external devices 3 2 6 X10 X11 Serial Communication Ports Connectors 3 2 7 X12 Alt Al4 High Level Analogue Inputs 3 2 8 X13 AO1 AO4 Analogue Outputs 0 EE EE Ee ee 3 2 9 X14 X15 Al5 Al12 Temperature 2 Wires Analogue Inputs 3 2 10 X16 LAN Ethernet 10baseT Connector 3 2 11 X17 USB Flash Drive Connector ONO OD O0 OWWWNNN N m m mM O O o o O o O O 10 10 10 11 11 11 11 Index continued Chapter 4 Communication Ports Configuration 4 1 Configuring the optional serial communications ports 4 1 1 Configuring the COM1Port 2 00 cece eren 4 2 Connect the Setup Terminal ee eee 4 2 1 Telnet Communications Connection 4 2 2 Connect the serial setup terminal 4 3 Configuring the Modbus Connections 4 3 1 Configuring the COM2 Modbus Port 4 3 2 Connecting the Modbus Ports Chapter 5 CPU Configuration Session 5 1 Connect the Setup Terminal 5 1 1 Starting the Configuration Session 5 2 CPU Main Menu siii rei eee ee awe 5 2 1 Network Setup MENU 5 2 2 Ethernet Setup Menu 29 iii ea 5 2 3 Serial Setup Menu riti
26. Accuracy 0 5 800V channel power supply 50V channel main electronics Connector X13 Isolation Notes 1 All the available input types are listed at Setup Temperature Channels on page 29 and Setup the Selected Al Channel on page 28 2 All the available output types are listed at AO Channels Setup Menu on page 31 1 3 5 Auxiliary Analogue Output Features Description 5 VDC Output Voltage Power output 1 30 mA max Max load X12 Output connector 12 VDC Output Voltage Power output 2 80 mA max Max load X12 Output connector 15 VDC Output Voltage Power output 3 200 mA max Max load x9 Output connector 1 4 Communication ports 1 4 1 Serial Communication ports COM1 and COM2 Features Description Isolation 800V between the com port and main electronics Connector X10 and X11 Sigma microPAC M81 User manual Chapter 2 Hardware description The system described in this User Manual is mainly composed by e Ascon Tecnologic sigmadue microPAC M81 CPU with 8 analogue temperature inputs NTC Pt1000 4 high level analog inputs 0 4 20 mA 0 10 V 0 5V ratiometric 12 free voltage inputs up to 4 0 10V analogue outputs 2 x Normally Closed Form C SPDT 5A and 8 x Normally Open Form A SPST 2A Relay Outputs sigmadue I O ModBus modules nfoteam OpenPCS programming tool system microPAC M81 is a powerful proces
27. Control Unit Device configuration Network setup menu 1 Ethernet Setup 2 Serial Setup 3 Exit Enter Selection Figure 5 2 Network Setup Menu Ethernet Setup Ethernet Setup Parameters Serial Setup Serial Setup Parameters Exit Return to previous menu 5 2 2 Ethernet Setup Menu AsconTecnologic Sigma M81 Control Unit Device configuration ETHERNET SETUP MAC Address 00 50 c2 47 6f ff IP Address 192 168 5 11 Subnet Mask 255 255 255 0 Gateway Address 192 168 5 10 DNS Server Address 192 168 5 10 DHCP DISABLED Port 1200 Exit Oo 0U PUN H Enter Selection Figure 5 3 Ethernet Setup Menu MAC Address Device MAC Address Values IP Address Device IP Address Subnet Mask Device subnet mask Gateway Address Network Gateway Address DNS Server Address DNS Server Address DHCP DHCP Protocol Enable Disable Port OpenPCS Logic Port Number Exit Return to previous menu 5 2 3 Serial Setup Menu This menu must be used to configure the RS232 serial port COM1 to different values from the default 9600 baud s no parity 1 stop bit for the COM 1 port WARNING The Serial Setup Menu configures the COM1 serial port parameters for configura tion purposes only The type RS232 RS485 of the COM1 X10 connector can be changed using the DIP switches located nearby the Serial port communica tions connectors See the installation manual for futher details 21 Si
28. IT Push Button PB dre Supply Digital Outputs 2 Digital Inputs up to 12 inputs 24 VAC DC SPDT relays 5 A for free voltage contacts Figure 2 2 Control Unit Supply VO and Communication Ports WARNING The PB button performs different operations accorndingly to the system status but does not restart the CPU or the 1131 application WARNING 1 At Power ON if the PB button is pressed the stored setup parameters are restored the factory defaut as well as those set by the user 2 Then a phase while is possible to manage the upload download of the status configuration and program files from to the USB Key as described in the Chapter 6 USB Mass Storage Device 3 While the PLC program is running the PB behaves as a Standard Input as described in Chapter 10 Digital Inputs Status DIL DI12 Sigma microPAC M81 User manual 2 1 3 Diagnostic LEDs Referring to Figure 2 2 Control Unit Supply VO and Communication Ports a description of the LEDs functions is given in the table below PWR Blue Action note 1 ON Description Power Supply present RUN LED during the normal PLC operations ON 1131 program running RUN Green OFF 1131 program stopped or not present RUN MSG LEDs RUN Green GREEN Flickering RED Flickering Configuration MSG Red GREEN Flickering RED OFF Watch Monitor MSG LED during the normal PLC operations OFF Normal Ope
29. L Modbus Master conversion and management of 8 REAL read values MB_MST_RD8_UDINT Modbus Master conversion and management of 8 UDINT read values MB_MST_WR8_DINT Modbus Master conversion and management of 8 DINT write values MB_MST_WR8_DWORD Modbus Master conversion and management of 8 DWORD write values MB_MST_WR8_REAL MB_MST_WR8_UDINT Modbus Master Modbus Master conversion and management of 8 REAL write values conversion and management of 8 UDINT write values MB_SLV_RD8_DWORD Modbus Slave reading of 8 DWORD values MB_SLV_RD8_REAL Modbus Slave reading of 8 REAL values MB_SLV_RD16_WORD Modbus Slave reading of 16 WORD values MB_SLV_RD32_DIGITAL Modbus Slave reading of 32 digital values 61 Sigma Function Block name microPAC M81 User manual Description MB_SLV_RD_DIGITAL Modbus Slave reading a digital value MB_SLV_RD_DWORD Modbus Slave reading a DWORD value MB_SLV_RD_REAL Modbus Slave reading a REAL value MB_SLV_RD_WORD Modbus Slave reading a WORD value MB_SLV_WR8_DWORD Modbus Slave writing of 8 DWORD values MB_SLV_WR8_REAL Modbus Slave writing of 8 REAL values MB_SLV_WR16_WORD Modbus Slave writing of 16 WORD values MB_SLV_WR32_DIGITAL Modbus Slave writing of 32 digital values MB_SLV_WR_DIGITAL Modbus Slave writing a digital value
30. Memory map for the output diagnostic indications Addr sai Bytes Data type Data 260 0 l 1 BYTE AO Status Channel 1 261 0 l 1 BYTE AO Status Channel 2 262 0 l 1 BYTE AO Status Channel 3 263 0 l 1 BYTE AO Status Channel 4 Onboard Temperature Values The M81 unit provides an indication about the internal temperature of the device The data format used for the value present in the memory map is a REAL 32 bit floating point format in engineering unit C F or K Memory Size EES roses e ES NEN Ero pu j REAL mema Temperature Value 51 Sigma microPAC M81 User manual 10 1 6 10 1 7 10 1 8 Digital Counters In the Configuration session please see 5 2 5 Startup Setup Menu on page 23 for details it is possible to enable a Counter function to each digital input In memory map there is a section where all the values of the Counters are available The data format is the Unsigned Double INTeger UDINT 64 bit Data type Counter Channel_1 Counter Channel_2 Counter Channel_3 Counter Channel_4 Counter Channel_5 Counter Channel_6 Counter Channel_7 Counter Channel_8 Counter Channel_9 Counter Channel_10 Counter Channel_11 AIAI PP PP AB PP PP Counter Channel 12 The value of each Counter can be Reset using a specific function block inside the PLC program see the Ascon Firmware Function Block Libra
31. OM2 Port terminals are as printed on M81 case Front Signal SSS D RS485 D RS485 m Upper side led GND RS485 OOO Some operational hardware settings of the COM2 Port can be configured using DIP switches 1 3 Please note that the ON OFF position is pointed out by an arrow printed on the selectors block The following table describes the possible options Termination resistance ON OFF 110Q default disabled OFF Line polarization Pull Down ON OFF connector X11 COM2 2 default disabled OFF 3 Line polarization Pull Up ON OFF default disabled OFF WARNING The default communication parameters can be set only using the specific Function Block See Ascon Firmware Function Block Library 3 for details Sigma 4 3 2 e microPAC MP 01 User manual Connecting the Modbus Ports To connect an RS485 Modbus fieldbus through the X10 and or X11 ports use cables with the following characteristics M81 side X10 five poles male connector Upper view Front view _ _ _ _R8485 D To the Lo _ _RS485 D D Modbus field 5485 Ground oe Tx Rx M81 side X11 three poles male connector Upper view Front view 2 _RS485D D To the _ _ _ _RS485 D 5 Modbus field _ _ _ _RS485 Ground GND 18 Chapter 5 CPU Configuration Session At Power ON a configuration session is started to setup t
32. Read data from the ASCII serial port SERIAL_IO_READ_BYTE ASCII serial port Byte reading SERIAL_IO_WRITE Write data on the ASCII serial port 63 Sigma microPAC M81 User manual Function Block name Description SERIAL IO WRITE BYTE ASCII serial port Byte writing TOF Delay OFF timer Delay ON timer TP Time pulse generator WATCHDOG SET Configure the system watchdog WATCHDOG STATUS Checking the status of the system watchdog 64 1 2 3 4 5 6 7 8 9 10 11 12 Appendix A Reference documents Infoteam OpenPCS programming system user manual IEC 61131 3 Programming Industrial Automation Systems Karl Heinz John Michael Tiegelkamp Springer Ascon Tecnologic Firmware Function Block Library IEC 61131 3 Function Block Library Estensioni per gestire porte di comunicazione dell ambiente OpenPCS V1 0 Maurizio Grassi Modbus Messaging on TCP IP implementation guide http www Modbus IDA org MODBUS over Serial Line Specification amp Implementation guide http www Modbus IDA org MODBUS APPLICATION PROTOCOL SPECIFICATION http www Modbus IDA org M81 Installation manual code J30 658 1AM81 E M81 User manual code J30 478 1AM81 E sigmaPAC I O modules Installation Manuals sigmaPAC I O modules User Manuals 65
33. V ascoy Sigmadue microPAC M81 TECNOLOGIC User Manual COMPANY WTH QUALITY HAMACEMENT User Manual SYSTEM CERTIFIED ST ON M U microPAC M81 1 12 11 Cod ISTR M M81ENG01 Sigma microPAC M81 User manual Copyright 2007 2013 Ascon Tecnologic Srl All rights reserved No part of this document may be stored in a retrieval system or transmitted in any form electronic or mechanical without prior written permission of Ascon Tecnologic Srl Ascon Tecnologic has used the best care and effort in preparing this manual and believes that the information contained in this publication are accurate As Ascon Tecnologic continues to improve and develop products the information contained in this manual may also be subject to change Ascon Tecnologic reserves the right to change such information without notice Ascon Tecnologic makes no warranty of any kind expressed or implied with regard to the documentation contained in this manual Ascon Tecnologic shall not be liable in any event technical and publishing error or omissions for any incidental and consequential damages in connection with or arising out of the use of this manual sigmadue gammadue and deltaduc are trademarks of Ascon Tecnologic Srl All other trade names or product names are trademarks or registered trademarks Ascon Tecnologic srl Headquarters via Indipendenza 56 27029 Vigevano PV Phone 39 0381 69871 Fax 39 0381 698730 Internet S
34. _MANAGER USB Mass Storage operations manager MUX_A8 Analog Multiplexer 8 Input MUX_A16 Analog Multiplexer 16 Input MUX_D8 Digital Multiplexer 8 Input MUX_D16 Digital Multiplexer 16 Input RESCALE Rescaling Function Block POWER_FAIL Power Fail Condition Monitor SLOPE_LIMIT Slope Limiter TIMER_ADV Advanced countdown timer function block TOTALIZER Totalizer Function Block TOTALIZER_AVD Advanced Totalizer Function Block 11 2 AT Process Generic Lib The AT Process Generic Lib is a function block library which contains a set of generic process function blocks useful for the IEC 61131 programming The table here reported gives the complete list of the function blocks Function Block name Description Al COND ADV Advanced conditioning of an Al value Al COND STD Standard conditioning of an Al value ALARM ABS Absolute Alarm Function Block ALARM ADVANCED General Alarm Function Block ALARM BND Band Alarm Function Block ALARM DEV Deviation Alarm Function Block ALARM RATE Rate Alarm Function Block DEW POINT Dew Point calculation FO CALCULATION Sterilization time for bacterial load reduction calculation HR DRY WET BULB Relative humidity calculation method with dry wet bulb MASS FLOW Compensate Flow calculation ZrO2 PROBE Carbon Potential calculation ZrO2 PROBE CLN Carbon potential probe c
35. artion Single flash CRC error in the configuration file reset to default Double flash Flash File System error Triple flash Checksum VAR RETAIN error note 2 Blinking Backup battery low Flickering Checksum error in RETAIN data COMI OFF PLC in Configuration or Watch monitor Blinking Normal PLC operation data traffic on COMI COM2 OFF PLC in Configuration or Watch monitor Blinking Normal PLC operation data traffic on COM2 RUN USB ON USB Mass Storage Device Inserted Blinking Access to the USB Mass Storage Device OFF USB Mass Storage Device not present ERR L1 ON OFF The LED can be managed by the application Table 2 1 Diagnostics LEDs description Notes 1 As the ON OFF sequence of the LEDs has a specific meaning it is important that the user recognizes each LED status Sequence Meaning OFF The LED is not lit Steady ON The LED is lit in a stable way Blinking The LED blinks at a frequence of 2 5 Hz slow Flickering The LED blinks at a frequence of 10 Hz fast Single flash The LED lits once for at least 200 ms Double flash The LED lits twice with pulses of 200 ms each Triple flash The LED lits three with pulses of 200 ms each 2 The first time M variables have been defined as RETAIN see Chapter 5 Retain Config Menu the system needs to reboot in order to properly create
36. ays the production code as shown factory reserved i information Error The system displays the message Code Info Error Invalid File note HW Version Revision of the CPU hardware FW Version Revision of the CPU firmware OEM ID Ascon Tecnologic CODE for the runtime software Virtual Machine Version of the runtime software 32 Chapter 5 CPU setup CPU Status Indication and acknowledge of the errors Possible Errors Values are Value Type 0 Normal status 1 Data Configuration Error DCE 2 Retain Error RE 3 DCE RE 4 Battery Low BL 5 BL DCE 6 BL RE 7 BL RE DCE 8 Flash File System Error FSE 9 FSE DCE 10 FSE RE 11 FSE RE DCE 12 FSE BL 13 FSE BL DCE PLC Status 14 FSE BL RE 15 FSE BL RE DCE 16 Error Retain Data ER 17 ER DCE 18 ER RE 19 ER RE DCE 20 ER BL 21 ER BL DCE 22 ER BL RE 23 ER BL RE DCE 24 ER FSE 25 ER FSE DCE 26 ER FSE RE 27 ER FSE RE DCE 28 ER FSE BL 29 ER FSE BL DCE 30 ER FSE BL RE 31 ER FSE BL RE DCE Exit Return to previous menu Note The Production Code is registered in the file fs1 prodstr file and must not be touched modified by the user consult Chapter 9 CPU TFTP File Access on page 45 for details Active errors are ackno
37. cnologic AC Station Device useful for the IEC 61131 programming see the IEC 61131 3 Function Block Library 4 manual for details The table here reported gives the complete list of the function blocks of the library Function Block name Description AVG_ADV_8REAL Advanced Instantaneous Average calculation AVG_MOVING Moving Average calculation AVG_RUNNING Running Average calculation CHARACTERIZER_8 Linear Interpolation with 8 points CHARACTERIZER_16 Linear Interpolation with 16 points COMPARATOR Comparator with hysteresis Function Block CONV_AD8 From BYTE to 8 bits CONV_AD16 From WORD to 8 bits CONV_AD32 From DWORD to 8 bits CONV_DA8 From bits to BYTE CONV_DA16 From bits to WORD CONV_DA32 From bits to DWORD COUNTER Rising Edge Counter DECODER_8 Decoder Function Block FLIPFLOP_D D Type FlipFlop Function Block FLIPFLOP_JK JK Type FlipFlop Function Block HOLD_VALUE Sample amp Hold Function Block INBETWEEN Middle Selector Function Block LIMITER_VALUE Limiter Function Block MIN_MAX_SELECTOR Min Max Selector Function Block MONOSTABLE_DS Monostable with Delay 59 Sigma microPAC M81 User manual Function Block name Description MONOSTABLE_NED Monostable with Delay on the Negative Edge MONOSTABLE_PED Monostable with Delay on the Positive Edge MONOSTABLE_PUL Monostable Pulse Generator MS
38. e 1 Split register 0 4096 MB Slave 2 Split register 0 4096 Simple Split byte 0 16364 Exit Enter Selection Figure 5 9 Retain Config Menu MB Slave 1 Split register Slave 1 Modbus Memory Area 4096 registers MB Slave 2 Split register Slave 2 Modbus Memory Area 4096 registers Simple Split byte Marker Memory Area 16364 bytes Exit Return to previous menu Standard and The IEC 1131 programming tool allows to declare retentive variables using specific Retentive files and syntax These variables are saved and loaded from to the 32kB size mem memory ory for security reasons the memory is duplicated for redundancy and refreshed management during runtime operations Differently it is possible to declare variables up to 16 kB in the marker memory area 8192 Bytes for each Modbus slave agent The standard memory locations available as retentive variables can be accessible by using the specific IEC 1131 data types up to the maximum amount normally available for each Modbus agent Slave 1 and Slave 2 24 Note Publishing VO configura tion data Battery and Retain Memory status Chapter 5 CPU setup In particular the range available as retentive are Modbus Slave 1 MW1128 0 YoMW9320 0 Modbus Slave 2 MW10128 0 MW18320 0 Marker Area MB22000 0 MB38363 0 Slave 1 Slave 2 Marker 4096 4096 16364 registers registers bytes Figure 5 10 Percentage retentive areas In the
39. e C Windows System32 tftp exe the possible commands are e To GET a file from the M81 tftp i remote host address get remote file name local file name e To PUT a file into the M81 tftp i remote host address put local file name remote file name For example if the user wants to GET the configuration file from the M81 unit and store it in a local file named configuration bin the command is tftp i 192 168 5 11 get fsl sys file configuration bin where the IP address of the M81 is 192 168 5 11 If the user wants to PUT the IEC61131 program file into the M81 unit using the source file Resource prs the command will be tftp i 192 168 5 11 put Resource prs fsl restore file Please note that the application binary file that contains the program compiled with OpenPCS is located in the project folder project_root GEN Resource and has always the name Resource prs Alternatively the free software called Tftpd32 or 64 in case of 64 bit OS provides a nice graphical interface in order to perform the same above described operations IEC61131 3 OpenPCS Runtime Errors log file Sometimes it is very useful to have a report of errors organized by date and time in order to understand the source of a possible problem in the application For this 46 Chapter 9 CPU remote access reason it is now available inside the unit a file called s1 errlog_file that can be uploaded from the M81 The
40. e Voltage Contacts These connectors are the input terminals of the DI1 DI12 for free voltage contacts Digital Inputs The connectors have the following pinout DIT DI4 Digital Inputs M DI1 DI2 DI3 DI4 Signal Common DIT Input DI2 Input DI3 Input DI4 Input DIS DI8 Digital Inputs M DI5 DIG DI7 DI8 Signal Common DI5 Input DIG Input DI7 Input DI8 Input Ce Sigma X6 Connector 3 2 4 X7 Connector X8 Connector 3 2 5 3 2 6 X10 Connector X11 Connector 3 2 7 microPAC M81 User manual DIY DI12 Digital Inputs Se e quu BE p BU Signal Common DI9 Input DI10 Input DI11 Input DI12 Input X7 X8 DO3 DO10 Digital Output SPST Relays 2A These connectors are the output terminals of the DO1 DO10 SPST relays The connectors have the following pinout DO3 DOG Digital Outputs Labs C bos Dog Bos nos Signal Common DOS Output DO4 Output Common DOS Output DOS Output DO7 DO10 Digital Outputs c pos Doro Signal Common DO Output DOS Output Common DOS Output DOTO Output X9 Power Supply 15 VDC for external devices The maximum load applicable to this output is 3 W The connectors have the following pinout Label UM 15 X10 X11 Serial Communication Ports Connectors Through these 2 connectors is possible to connect 2 different serial communica tion ports Some parameters of these ports can be configured using
41. e to verify some operational information In particular M0 0 Battery status 1 low O OK MO0 1 Standard retain memory status 1 corrupted 0 OK M0 2 Percentage retain memory status 1 corrupted 0 OK M0 3 Error reading the Production Code The battery status is checked at Power ON and runtime on daily bases The remaining two bits are updated at startup and the value remains unchanged after a warm or a cold startup 25 Sigma microPAC M81 User manual 5 2 9 Modbus TCP IP Setup AsconTecnologic Sigma M81 Control Unit Device configuration MODBUS TCP IP SETUP Messages per cycle 10 Secure Address Setup T 2 Broken connection timeout s 120 3 4 Priority Address Setup 5 Exit Enter Selection Figure 5 11 Modbus TCP IP Setup Menu Max number of processed messages per cycle Valid values from 1 50 Broken Connection Inactivity Timeout of a TCP IP connection Timeout Valid values from 10 5400 s Secure Address Setup Secure Address Setup Menu Priority Address Setup Priority Address Setup Menu Exit Return to previous menu Messages per Cycle To verify the connection status after a long period of inactivity the TCP IP keep alive protocol is used The protocol performs the following steps sequentially 1 At each received message the timeout is reset 2 If timeout expires a test message is sent in order to verify if the connection is
42. gma microPAC M81 User manual AsconTecnologic Sigma M81 Control Unit Device configuration SERIAL SETUP HW Configuration COM1 Available 1 Baudrate 0 7 2 9600 bps 2 Parity 0 2 0 NO PARITY 3 Stop Bit 1 2 1 4 Exit Enter Selection Figure 5 4 Serial Setup Menu Serial Setup Connection Baudrate Possible Values Value Baudrate 2400 4800 9600 19200 38400 57600 115200 Serial Setup Connection Parity Possible Values Value Parity 0 None 1 Even 2 Odd Stop bit Serial Setup Connection Stop bit valid values are 1 or 2 Exit Return to previous menu 5 2 4 CPU Setup Menu Baudrate AsconTecnologic Sigma M81 Control Unit Device configuration CPU SETUP MENU Startup Setup Persistency Setup RTC Clock Setup BB w N pa Retain Config ul Exit Enter Selection Figure 5 5 CPU Setup Menu Startup Setup Timeout Setup Parameters Persistency Setup Persistency Parameters RTC Clock Setup Real Time Clock Settings Retain Config Retentive Registers Configuration Exit Return to previous menu 22 Chapter 5 CPU setup 5 2 5 Startup Setup Menu AsconTecnologic Sigma M81 Control Unit Device configuration STARTUP TIMEOUT SETUP Startup Timeout 2 120s 10 Inactivity Timeout 2 120s 30 Post Startup Run 1 2 PLC DO1 used for watchdog 0 1 Disabled DI 1 8 Coun
43. he system module and configure the system I Os Setup data can be inserted using a VT100 terminal with an Hyper Terminal program or a Personal Computer with a Telnet client 5 1 Connect the Setup Terminal There are 2 ports available on the CPU to enter the configuration session the X10 COM port in case of serial connection or the X16 ETHERNET port Depending on the setup method used the user must e Set the X10 or the X16 port consult the M81 Installation Manual 9 for details e Get the proper connection cable e Set the correct communications parameters e Run the communication program Caution A Chapter 4 describes the connection set up details and communication ports configuration Once the setup terminal VT100 or PC is correctly connected to the M81 basic unit the user can start the configuration session 19 Sigma microPAC MSI User manual 5 1 1 Accessing the Main Menu Starting the Configuration Session To start the Configuration session press the ENTER the PC sends a CR Carriage Return character to the CPU key on the setup terminal while RUN and ERR LEDs are blinking on the Basic Unit at Power ON If the character CR is not sent before a predefined time start up timeout the system exits the configuration session and runs the PLC application In this chapter some screens of a configuration session are shown After the acnowledgement of the first CR character the welcome screen appears as follow
44. igure 7 2 VO Watch Window Through the O Watch Window the user can e Read the analogue input values in engineering format Read the digital input values as bit mask e Display Set the analogue output values in percentage 0 100 e Display Set the digital outputs as bit mask The window is updated continuously in order to allow the user to test the I O connected to the unit The refresh rate can be adjusted using the following table Value Refresh rate 0 No refresh static mask 14 5 Refresh Time Value 1 5 seconds To set an output value the user must select the output number 1 for the digital 2 b for the analogue output and then specify the desired value A percentage 0 100 for the analogue without regard tor the output type A digital value for the digital Digital Output Channels Digital Output DO1 DO2 DO3 DO4 DOS DOG DO7 DO8 Desired value 0 0 1 0 0 0 1 1 Enter selection Insert new value 0010001 1 Analogue Output Channels Chi Output Type 0 10 V Desired value 7 00 V Enter selection 2 Insert new value 70 00 Ch2 Output Type 4 20 mA Desired value 12 mA Enter selection 3 Insert new value 50 00 40 Chapter 8 Programming the CPU 8 1 Installing OpenPCS 8 1 1 8 1 2 8 1 3 Hardware and Software Requirements OpenPCS requires a PC with at least Pentium II 1GHz 512 MB RAM
45. istics CE UL and cUL pending Features Description Programming languages IL ST FBD LD SFC CFC Program memory Max 2 MB internal 3 5 MB on USB key Dynamic memory 16 MB Retentive memory 64 kB redundant Data retention for power failure 10 years for Flash memory Min cycle time Typical 10ms Max timer resolution 1 ms Real Time Clock Yes Max P 1 D number Unlimited application dependent suggested up to 20 Sigma microPAC M81 User manual 1 3 VO Characteristics 1 3 1 Digital Inputs DIT DI12 Features Description Input type For free of voltage contacts contact closure 800V channels power supply 800V channels logic components Compliance IEC EN 61131 2 type 1 Output connectors X4 X5 and X6 1 3 2 Digital Outputs D01 DI10 Relay Outputs DO1 and DO are relay outputs with SPDT Single Pole Double Throw contacts DO1 and DO2 configuration The characteristics are Isolation Features Description Contact configuration SPDT Single Pole Double Throw Contact rate 5 A for resistive loads 2500V between channel and Power Supply and between channel and main electronics Output connectors X2 and X3 Isolation Relay Outputs DO DO10 are 8 relay outputs with SPST Single Pole Single Throw Normally DOG DO10 Open contacts configuration The characteristics are Features Description
46. ite www ascontecnologic com E mail address info ascontecnologic com PrelCQuISHCS ld hee SoS Sa Sede esas RGKS S ME EE E Using this manual x assum d a eboli Gas Rd bau Kus beca eor as Ed hoes Current Documentation on the Internet Chapter 1 Technical dala RE csi ea ee xau ed E ERES 1 1 General and environmental characteristics 1 2 Functional characteristics eee 1 33 VO Characteristics sined ess sae a See inn 1 3 1 Digital Inputs D11 DI12 2234 55 pA BESEERDE DEE DE PRE ES wae 1 3 2 Digital Outputs D01 DIO EE EE EE ee ee ee 1 3 3 Analogue Inputs Al1 AI12 LL 1 3 4 Analogue Output AO1 AO4 LL 1 3 5 Auxiliary Analogue Output 1 4 Communication ports sesso rey ae aa 1 4 1 Serial Communication ports COM1 and COM2 Chapter 2 Hardware description rrrr 2 1 Architecture sis ee ER Eg IIa ax ee Ure RERO Ry we 2 1 1 Communication ports for sedes Ye cep E DRESS 2 1 2 Integrated I Os os sus trus RE SEE PEERS ERES E REM 2 1 3 Diagnostic LEDS si sk RE RR HELEN DERE RAN Tra Chapter 3 installalion ses iss EER EA PREMIER a brio ah 3 1 Mechanical installation leen 3 1 1 Installing and Removing the I O expansion modules 3 2 Electrical installation saak sa eee 3 2 1 X1 Supply 24 VAC DC Power Supply Connector 3 2 2 X2 X3 DO1 DO2 Digital Output SPDT Relays 5A 3 2 3 X4 X5 X
47. leaning management 11 3 AT Process Control Lib The AT Process Control Lib is a function block library dedicated to the process control It includes advanced function blocks combining the basic PID functions coming within the M81 firmware in order to provide a ready to use solution The most advanced function blocks in the library are a complete standard PID single action controller and the equivalent double action for heat and cool applications Advanced auto tuning function blocks also with the klibrary using different tuning algorithms such as Natural Frequency or Step Response 60 Chapter 11 Ascon Tecnologic Function Blocks Libraries Follows the complete list of the function blocks available with the library see the IEC 61131 3 Function Block Library 4 manual for details Function Block name S2 CONTROLLER Description Single Action Controller S2 EZ TUNE Tuning with Modified Step Response Algorithm for Single Action Loops S2 FILTER First Order Filter 2 HC CONTROLLER Heat and Cool Controller S2 HC EZ TUNE Tuning with Modified Step Response Algorithm for Heat and Cool Loops S2 HC TFUZZY Tuning with Fuzzy Logic for Heat and Cool Loops S2 HC TNATFREQ Tuning with Natural Frequency Algorithm for Heat and Cool Loops S2 HC TSTEPRESP Tuning with Step Response Algorithm for Heat and Cool Loops 2 HCMV AutoMan station for output manual value direct access fo
48. lease note that the range of the value is 0 100 for single polarity signals Exit Return to previous menu Caution The only option available is 0 10 Volts analogue output No other option can be selected 31 Sigma microPAC M81 User manual 5 2 16 Internal Temperature Menu To acquire the internal temperature the M81 CPU is equipped with a thermistor The value can be read through the Temperature Menu AsconTecnologic Sigma M81 Control Unit Device configuration 1 2 3 4 TEMPERATURE MENU Temperature l 31 6 T1 Unit 0 2 Celsius Read T1 Refresh Exit Enter Selection Figure 5 23 Temperature Menu Temperature 1 Measured temperature of the internal electronic board Measure Unit used for T1 Possible values are T1 Unit Value Type 0 Celsius 1 Kelvin 2 Fahrenheit Read T1 Command to read T1 value Refresh Refresh the displayed values T1 Exit 5 2 17 CPU Info Menu Sigma Production Code M81 2 OEM ID Virtual Machine Return to previous menu AsconTecnologic M81 Control Unit Device configuration CPU INFO RRRVSS E E 00122707415010 HW Version 5 0 FW Version 1 0 b8 536 5 3 2 1 PLC Status 0 OK Exit Enter Selection Figure 5 24 CPU Info l Status Message Production Code OK The system displ
49. lidinRunState klecHardwareError kLzsCycleLengthExceeded kLzsRtxBaseTimerLengthExceeded kLzsStoreProgInFLash kLzsNetErrorLastSession kLzsNoMemForRetain kLzsUplErrorNotEnabled kLzsNoMemForPersist kLzsHistNoFreeEntry kLzsMemAccessAlignErr kLzsHistlnvalidlD kLzsWatchdogReset Error 1103 it is not saved because it is generated every time the application restarts from a previous error situation The errors log file is generated in FIFO mode First In First Out 47 Sigma microPAC M81 User manual 48 Chapter 10 CPU Data Memory Map The sigmadue microPAC M81 unit has several onboard I O points that can be easily accessed by the memory map area The memory areas are divided into different sections Digital Input Status Analogue Input Value VO Diagnostic Status Central Unit Onboard Temperature Values DigitalCounters Digital Output Status Analogue Output Value Expansion Units I O Diagnostic Status Expansion Units Expansion Units Digital Input Status Expansion Units Digital Output Status A Caution Please check the M81 order Code to verify the available options in your device 10 1 Central Unit Data 10 1 1 Digital Inputs Status DI1 DI12 The 12 Digital Input channels are always present on the CPU and their status can be found in a word data type at address Memory Size EIE AF NT Doe Note The
50. llowing pinout Label Aoi TA M MW A03 A04 Signal AOi 7402 Common Common AGS soe X14 X15 Al5 Al12 Temperature 2 Wires Analogue Inputs X14 and X15 are used to connect up to 8 Temperature Analogue Inputs Al5 Al12 to the system types NTC Pt1000 all with two wires connection The connectors have the following pinout A15 Al8 Temperature Analogue Input C AI5 AI6 AI7 AI8 Signal Common AI5 Input Al6 Input AI7 Input Al8 Input Al9 Al12 Temperature Analogue Input C Al9 Al10 AI11 Al12 Signal Common Al9 Input AI10 Input Al11 Input Al12 Input X16 LAN Ethernet 10baseT Connector The X16 connector is a standard Ethernet RJ45 type X17 USB Flash Drive Connector The X17 connector is a standard USB Type A receptacle to connect a flash drive system files upload or data logging download 11 Sigma microPAC M81 User manual 12 Chapter 4 Communication Ports Configuration The M81 system unit has 3 different communication ports see Figure 2 2 Con trol Unit Supply VO and Communication Ports for details X10 COMI can be set through the DIP switches as RS232 or RS485 and can be used to configure the Basic Unit and for Modbus communications X11 COM2 is an RS485 dedicated to Modbus communications X16 Ethernet port TCP IP used to configure program debug commission and for Modbus TCP data exchange 4 1 Configuring the optional serial communication
51. m binary code to character CONV_CHAR_TO_ASCII ASCII conversion from character to binary code CTRL_HCMV Automan Station for heat and cool regulation CTRL_MV Automan Station for single action regulation CTRL_PID PID algorithm CTRL_SPLITMV Automan Station for heat and cool regulation with split range CTRL_SRV Servomotors algorithm CTRL_SRV_POS Servomotors algorithm close loop potentiometer CTRL_TPO Time proportional output CTD Counter Down pulses 62 Function Block name Chapter 11 Ascon Tecnologic Function Blocks Libraries Description CTU Counter Up pulses CTUD Counter Up Down pulses ENABLE_MODBUS_TCP_SERVER Set and activate the MBTCP IP Server agent F_TRIG Falling edge detection R_TRIG Rising edge detection MB_TCP_CLOSE_CONN Close one of the 10 active connections MB_TCP_CONN_STATUS Show the status of a MBTCP IP connection MB_TCP_GET_CONN_BY_ADDR Return information of a connection identified by the IP address of the client MB_TCP_GET_CONN_CONFIG Return configuration data of a specified active connection MEMCOPY_FROM_M Copies data from M memory areas MEMCOPY_TO_M Copies data into M memory areas MEMCPY_I_TO_M Copy a specific Jel memory into a specific M memory area MEMCPY_M_TO_M Copy a specific M memory into a specific M memory area MEMCPY_M_TO_Q Copy a specific M memory into a s
52. madue Hardware drivers examples and utilities zzzz are digits to identify the year of the software release In the OpenPCS Extras menu select tools Driver install Select the desired cabinet e g AT_sigmadue_2012 cab then Instalf Ta it Figure 8 1 OpenPCS OEM Driver Installation 8 2 OpenPCS Setup To connect the OpenPCS tool to the Ascon Tecnologic target a connection should be defined The installation procedure creates itself a connection In case a new one select Connections item in the PLC menu In the window of OpenPCS Connection Setup select New Now in the window Edit connection it is possible to set the new connection In the field Name you can assign a name to the connection By pushing the Selec button you can pick the driver that manages the communication with the target for Ascon Tecnologic CPU is TCP52 z so 8 nd Ra Sirio i nt aem m ionem Figure 8 2 OpenPCS Connection Setup 42 Setup Communication Timeout Chapter 8 Programming the CPU Now click Settings button to set the communication parameters Figure 8 3 TCP Settings The Port number and IP address must be the same as those configured from the initial CPU configuration session See the Ethernet setup menu items 2 and 7 see Figure 5 3 Ethernet Setup Menu for details OpenPCS environment is now ready to communicate with the Ascon Tecnologic targe
53. nal Computer has no serial ports the connection can be made through an USB Serial adapter the COM number assigned to the USB connector can be found in Start ControlPanel System Hardware Peripherals Ports COM and LPT Using the COM port number open a new session of HyperTerminal and set the default communication parameters to match those of the service port Baud rate 9600 Data 8 bit Stop bit 1 Parity None Flow Control None During the configuration session it will be possible to change the baudrate stop bit and parity see Serial Setup Menu on page 21 for details If the communications parameters of the system are modified those of the terminal or PC must be changed accordingly 16 Chapter 4 Communication Ports Configuration 4 3 Configuring the Modbus Connections 4 3 1 WARNING The data blocks transmitted by M81 on the Mobus slave RTU TCP on the commu nication ports are 44 WORD 22 REAL lenght maximum Pay particular attention when connecting the CPU on a Modbus network in order to verify that the Modbus Master Client uses a block length compatible with the one indicated less than or equal to 44 WORD Configuring the COM2 Modbus Port When present the COM2 Port can be used for Modbus communications The RS485 Port connector is located in the upper right side of the CPU Looking at the connector the 3 terminals are arranged as illustrated in the drawing The signals present on the C
54. nnel_5 M BYTE AI Configuration Channel_6 M BYTE AI Configuration Channel_7 M BYTE AI Configuration Channel_8 M BYTE AI Configuration Channel_9 M BYTE AI Configuration Channel_10 M BYTE AI Configuration Channel_11 M BYTE AI Configuration Channel_12 M BYTE AI Configuration Channel_1 M BYTE AI Configuration Channel_2 M BYTE AI Configuration Channel_3 M BYTE AI Configuration Channel_4 M BYTE AI Channel_5 E U note M BYTE AI Channel_6 E U note M BYTE AI Channel_7 E U note M BYTE AI Channel_8 E U note M BYTE AI Channel_9 E U note M BYTE AI Channel_10 E U note M BYTE AI Channel_11 E U note M BYTE AI Channel_12 E U note NT NINI ND ND NI NI NI N N N NI N SIS RB dA dai SARA AI AA HA AI AI AAA AAA AI AI AI AI ND M BYTE AO Configuration Channel_1 52 0 M BYTE AO Configuration Channel_2 53 0 M BYTE AO Configuration Channel_3 54 0 M BYTE AO Configuration Channel_4 100 0 M BYTE Model Code Character_1 107 0 M BYTE Model Code Character_8 108 0 M WORD Field Code A AI PRECONFIG 110 0 M WORD Field Code B OOUT DO1 112 0 M WORD Field Code C OUT DO2 114 0 M WORD Field Code D OUT DO7 DO10 116
55. oPAC M81 User manual 5 2 13 Setting the I O Channels Standard Al Menu Selecta ee 713 sconTecnologic Standard Al Sigma M81 Control Unit Channel Device configuration LOCAL AI MENU 1 CH1 2 CH2 3 CH3 4 CH4 5 GES 6 Exit Enter Selection Figure 5 15 Standard Al Selection Menu Analogue Input Channel 1 Configuration Analogue Input Channel 2 Configuration Analogue Input Channel 3 Configuration Analogue Input Channel 4 Configuration Analogue Input Channel 5 Configuration ratiometric only Return to previous menu Note Channel 5 is internally connected to a 5 Volts generator which must be connected to ratiometric sensors therefore input 5 is always configured as input in Volts Setup the AsconTecnologic Selected Al Sigma M81 Control Unit Channel Device configuration LOCAL AI HL CH MENU CH NUMBER 1 Installed Y 2 Channel Input Type 0 6 2 0 10 Volt 3 Read Value 0 00 V 4 Refresh Ha 5 Exit Enter Selection Figure 5 16 Local Analogue Input High Level Setup Menu CH Number Chosen Analogue Input Channel Note Installed For the high level analogue inputs this item is always Yes Analogue Input Type Possible values Value Type 15V 5 V 210V sak NOY 20 mA 20 mA Ratiometric with 5 V generator Read Value Read the Input value Refresh Refresh command to update the Read Value item Exit Return to previous menu
56. oer ce ete oak RI E ER RUE IR RS 5 2 4 CPU Setup Menu isis BREER ER ee cee mA ERE RE RE WE 5 2 5 Startup Setup Menu 23 5 Ew dae etr Oe RSS Et PLL 5 2 6 Persistency Setup Menu 5 2 7 RTC Clock Setup Menu 2 EE EE Ee ee ek ed ek ee 5 2 8 Retain Gong weg SEE DERE EDS me EED SE DE N DENG De 5 2 9 Modbus TCP IP Setup ct iors tice ts EER BEG x need t weis x 5 2 10 Modbus TC IP Secure Addresses Table Menu 5 2 11 Modbus TC IP Priority Addresses Table Menu 5 2 12 Local I O Setup Menu EE Re ee ee 5 2 13 Setting the I O Channels cee eee 5 2 14 AO Channel 1 amp Channel 2 Menu 5 2 15 AO Channel 3 amp Channel 4 Menu 5 2 16 Internal Temperature Menu 2c eee eee 5 2 17 CPU Info Menu stato encre tede e eae a epe e d Chapter 6 USB Mass Storage Device enn 6 1 Configuring the CPU with the USB Mass Storage Device 6 1 1 Boostrap Sequence vau Soest SE qu ptus aeu dies De 6 1 2 Upload of the status configuration and program files from the PLC 6 1 3 Download of the status configuration and program files in the PLC 6 1 4 File system support for the PLC application Chapter 7 CPU Diagnostic Tests ii du N RR EG Ee EE GE rues 7 1 Accessing the diagnostic session 7 2 NO Watch Window uses ARENA ANAN edie Vx RE a ds 13 13 14 15 15 16 17 17 18 19 19 20 20 21
57. ol Unit Device configuration STARTUP TIMEOUT SETUP Startup Timeout 2 120s 10 Inactivity Timeout 2 120s 30 Post Startup Run 1 2 PLC DO1 used for watchdog 0 1 Disabled DI 1 8 Counter Enable 00000000 ECO Mode 0 4 1 Na Uu kb WN H Exit Enter Selection Figure 7 1 Startup Setup Menu To run the Diagnostic Watch Window the value I O Watch must be set to the value 2 The table that follows displays the possible values for the Post StartUp Run entry Value Value displayed Meaning 1 PLC Exiting the configuration session the system runs the PLC 1131 application Exiting the configuration session the system 2 VO Watch runs the I O Watch Window When the user exits the configuration session the system restarts running the selected option 39 Sigma microPAC M81 User manual VO Watch Window Examples AsconTecnologic Sigma M81 Control Unit IO WATCH 123456789ABC AI HIGH LEVEL AI HIGH LEVEL pepara Belate lle at lll CH1 54 80 C CH1 2 50 V 1 DO 0000000000 CH2 881 50 C CH2 2 50 V CH3 881 50 C CH3 2 50 V AO 0 10v CH4 881 50 C CH4 2 50 V 2 CH1 V 0 00 CH5 881 50 C CH5 5 00 V 3 CH2 V 0 00 CH6 881 50 C 4 CH3 V 0 00 CH7 881 50 C 5 CH4 V 0 00 CH8 881 50 C T1 32 7 Celsius 6 Expansion 1 Watch Window 7 Expansion 2 Watch Window 8 Autorefresh 0 5 5 Enter Selection F
58. onfiguration 3 Configuration station station VT100 Ethernet RS232 485 i 10 Mbit base T Service port B sigmaPAC M81 CPU 34 1 0 gt Output Power Controller Figure 2 1 Programming the sigmadue M81 Control Unit In Figure 2 1 Programming the sigmadue M81 Control Unit the configuration station VT100 terminal and the PC with OpenPCS are displayed as two different devices but it is possible to use just one PC to run both OpenPCS and a VT100 emulator e g PuTTY HyperTerminal Input sensor s 2 1 1 Communication ports The CPU has 3 communication ports see Chapter 2 Control Unit Supply I O and Communication Ports One Ethernet port TCP IP to be used for the connection to the PC for CPU configuration using a telnet session Programming debugging and commissioning Modbus TCP data exchange One Service RS232 485 port connector X10 to be used as Standard ASCII serial port Modbus RTU master slave data exchange port One RS485 port connector X11 to be used as Standard ASCII serial port Modbus RTU master slave data exchange port One USB port for data logging and backup restore functions uploading or downloading the configuration and the programs to from an external USB mass memory storage Pinout of all communication ports is described hereafter and in M81 Installation Manual 9 2 1 2 Analogue inputs Analogue outputs Analogue In
59. ory Status 10 2 2 O Configuration Information o 10 2 3 Production Code Management Variables 10 3 Complete Memory Map een B Ie 10 3 1 Input Memory Areas serere 10 3 2 Output Memory Areas eee 10 3 3 Marker Memory Areas 00 0 2 cee eee 41 41 41 41 41 42 42 44 44 45 45 46 49 49 49 50 50 51 51 52 52 52 53 53 53 54 55 55 56 56 Chapter 11 Ascon Tecnologic Function Blocks Libraries 11 1 AT Generic Advanced Lib 11 2 AT Process Generic Lib 11 3 AT Process Control Lib 11 4 AT Communications Lib 11 5 Firmware Function Blocks List Appendix A Reference documents Index continued 59 59 60 60 61 62 65 vi Prerequisites The products described in this manual should be installed operated and maintained only by qualified application programmers and software engineers who are familiar with EN 61131 3 concepts of PLC programming automation safety topics and applicable national standards Using this manual Specifications within the text of this manual are given in the International System of Units SI with non SI equivalents in parentheses Fully Capitalized words within the text indicate markings found on the equipment Words in bold style within the text indicate markings found in the Configuration Tools Warnings Cautions and Notes are used to emphasize critical instruction
60. pecific Qmemory area MEMCPY_Q_TO_M Copy a specific Q memory into a specific M memory area MODBUS_GET_DIGITAL_SLAVE Read 16 digital value from a memory area dedicated to a MB slave MODBUS_GET_SLAVE_DATA Read registers from a memory area dedicated to a MB slave MODBUS_MASTER_EXECUTE Execute a query in compliance with the MB protocol MODBUS_MASTER_STATUS Check the status of the MB agent MODBUS_SET_DIGITAL_SLAVE Write 16 digital value to a memory area dedicated to a MB slave MODBUS_SET_DWORD_DATA Write two contiguous registers 4 bytes to a memory area dedicated to a MB slave MODBUS_SET_WORD_DATA Write registers to a memory area dedicated to a MB slave MODBUS_SLAVE_SETTINGS Set the node_id and timeout parameters of the MB slave agent MODBUS_SLAVE_STATUS Check the status of the MB agent MS_DATALOG_MNGT Mass Storage datalogging management MS_INFO Mass Storage information OPEN_SERIAL COMM Configure the serial port and set the protocol used on it RAND Generete random numbers from 0 65535 RESET_PULSE_COUNTER Reset the counter value connected to a specific digital input RTC_SETUP Set the system clock RTC_GET_VALUES Read the system clock RS Reset dominant Flip Flop SR Set dominant Flip Flop SEND_EMAIL Set the configuration for a client SMTP to send e mail SERIAL_IO_CONFIG Configure the ASCII serial port SERIAL_IO_READ
61. puts External sensors power supply 5 and 12 VDC e e Chapter 2 Hardware Description Integrated I Os The M81 base unit can house up to 36 VO ports 8AI Analogue temperature inputs configurable for NTC Pt1000 connectors X14 X15 4 AI High level isolated analogue inputs configurable for 0 1 5 V 0 2 10 V Ratiometric 5 V reference and 0 4 20 mA connector X12 4 AO High level analogue outputs 0 10 V connector X13 12 DI General purpose Digital Inputs for Free Voltage Contacts connectors X4 X6 2 DO Isolated General Purpose SPDT 5A Relay Outputs connectors X2 X3 8 DO Isolated General Purpose SPST NO 24A Relay Outputs connectors X7 X8 Digital Outputs Ethernet 10 Base T Power supply RS232 485 RS485 8 SPST NO port LAN 15 VDC for Communication Modbus relays 2A 2 LAN status LEDs external devices Configuration i A E DI ia Ee E C DO3 DO4 C DO5 DOG C DO7 DO8 C DO9 DO10 M 15 Rx Tx GND D D D D GND X7 X8 XI X10 comi X11 come C Al5 Al6 AI7 AI8C AI9 AI10 Al11 Al12 ETHERNET USB USB Port X14 X15 X16 X17 Y ASCON TECNOLOGIC e Expansion bus connector Diagnostics LEDs e L1 e USB e COM2 CAN X12 Xi8 ERR RUN e COMI MAI AI2 Al3 Al4 5 12 AO1 AO2 M M AO3 A04 Li USBCOM2COM1 MSG RUN PWR e MSG w x Ue v A e RUN e PWR X1 Supply A A X2 DO1 X3 DO2 X5 24 VAC VDC C NO NC C NO NC M DI1 DI2 DI3 DI4 M DIS DI6 DI7 DI8 MDI9DITO DI11 D
62. r double action loop S2 MV AutoMan station for output manual value direct access for single action loop S2 SPLITMV AutoMan station for output manual value direct access for double action loop with SplitRange S2_TFUZZY Tuning with Fuzzy Logic for Single Action Loops S2_TNATFREQ Tuning with Natural Frequency Algorithm for Single Action Loops S2_TSTEPRESP Tuning with Step Response Algorithm for Single Action Loops 11 4 AT Communications_Lib The AT_Communications_Lib allows a simplified access to the communication functions of M81 CPU see the EC 61131 3 Function Block Library 4 manual for details Follows the complete list of the function blocks available with the library Function Block name Description COMMS_MNGT_M81 M81 Serial Comm Ports Management MB_MST_SYNC Modbus Master Synchronization of operations MB_MST_RD_COIL Modbus Master Coil reading MB_MST_WR_COIL Modbus Master Coil writing MB_MST_RD_WORD Modbus Master Word reading MB_MST_WR_WORD Modbus Master Word writing MB_16WORD_TO_ARRAY Modbus Master packaging of 16 WORD in an array MB_ARRAY_TO_16WORD Modbus Master un packaging of an array into 16 WORD MB_MST_RD8_DINT Modbus Master conversion and management of 8 DINT read values MB_MST_RD8_DWORD Modbus Master conversion and management of 8 DWORD read values MB_MST_RD8_REA
63. r sets the parameter Persistency Support to O the program will be saved in the Internal Flash Memory of the PLC Seting the parameter to value 1 the program will be saved in the USB Key If the user selects to save the PLC application in the USB Key the address where the program file is saved is applic res file bin 36 Chapter 6 CPU setup If the user selects to save the PLC application in the Internal Flash memory the address where the program file is saved is fsl restore file Application file generated by OpenPCS The binary application file generated using OpenPCS standard IEC61131 compliant to be downloaded via tftp to the instrument is in the SGENS Resource directory of each project The procedure for downloading the file is Open a tftp client set the IP address and port 69 of the device you want to connect Execute a put command where the source file name will be project root GEN Resource Resource prs while the name of the output file will be fsl restore file for the Flash file system or 1 applic res file bin for the USB Key 37 Sigma microPAC M81 User manual 38 Chapter 7 CPU Diagnostic Tests 7 1 Accessing the diagnostic session The M81 unit provides the user with a diagnostic session in order to test the on board I Os It can be activated from the STARTUP TIMEOUT MENU using the entry Post Startup Run AsconTecnologic Sigma M81 Contr
64. ry for details Digital Outputs Status DO1 DO10 Data Status DO onboard Analogue Output Value AO1 AO4 The four analogue output channels are optional and the possible choices are noanalogue outputs 4 analogue outputs Even if the AO channels are optional the specific memory areas are anyway reseved The values are espressed in REAL 32 bit floating point For the active channels the user has to write the percentage value Data type REAL REAL REAL REAL 52 Chapter 10 CPU I O data 10 2 Battery and Retentive Memory Status VO Configuration Information 10 2 1 Battery and Retentive Memory Status Memory Size Addr type bit Format Data 0 0 M 1 bit Battery status 0 empty 1 OK Classic Retain Menory Startup Status 0 Corrupted 1 OK Percentage Retain Menory Startup Status 0 Corrupted 1 OK 0 3 M 1 bit Production Code 0 Corrupted 1 OK 0 1 M 1 bit 0 2 M 1 bit 10 2 2 VO Configuration Information Digital Configuration Information 3 M 2 WORD DI Configuration Analogue Configuration Information Data type 11 0 M 1 BYTE AI Configuration Channel_5 12 0 M 1 BYTE AI Configuration Channel_6 13 0 M 1 BYTE AI Configuration Channel_7 14 0 M 1 BYTE AI Configuration Channel_8 15 0 M 1 BYTE AI Configuration Channel_9 16
65. s DANGER Indicates an imminently hazardous situation which if not avoided will result in death or serious injury WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage Note Highlights important information about an operating procedure or the equipment vii Sigma microPAC M81 User manual Current Documentation on the Internet Make sure you are always working with the latest version of this document Ascon Tecnologic Srl reserves the right to make changes to its products in the name of technological advancement New documents revisions when published can be found online at http www ascontecnologic com viii 1 1 1 2 Chapter 1 Technical data General and environmental characteristics Features Description Power supply 24 Vac dc 15 25 Power consumption 10 W 5 W with I O modules Operating temperature 0 50 C Storage temperature 40 70 C Relative Humidity 5 95 non condensing Protection degree IP20 Mounting DIN rail Dimensions L 175 mm H 110 mm D 60 mm Weight 450g Protection Degree IP20 Safety Compliance to EN 61131 2 Isolation class Il 50Vrms EN61010 1 Approvals Functional character
66. s TTTTITTITTIT TTTTTTTTTT TTTTTTTTT TTTTTTT TTTTT EEEE CCC TTTTTTT Ti E TTTTT TTT ud Press Enter to Continue Press ENTER again to reach the configuration session Main Menu Please note that the system has a 30 seconds timeout if NO KEY is pressed this is the inactivity timeout If the user does not work with the console for a time greater than this timeout the configuration session will be closed automatically and the PLC application will be started Both the described timeouts can be set during the configuration session The user should not set too short timeouts to avoid undesired abort of the configuation session To select an item of a menu or to insert a value for a parameter the user must type the corresponding number and than press ENTER 5 2 CPU Main Menu AsconTecnologic Sigma M81 Control Unit Device configuration MAIN MENU Network Setup Cpu Setup Modbus TCP IP Setup I O Setup Cpu Info au e WNB Exit Enter Selection Figure 5 1 Base Unit configuration Main Menu The Main Menu see Figure 3 1 has 6 different items Network Setup CPU communication ports settings CPU Setup Specific CPU parameters ModbusTCP IP Setup Modbus TCP IP Settings VO Setup Onboard I O Configuration CPU Info Firmware and hardware version Exit End the configuration session 20 Chapter 5 CPU setup 5 2 1 Network Setup Menu AsconTecnologic Sigma M81
67. s ports The 2 serial ports are optional and can be configured through 8 DIP switches located nearby to the Serial Ports connectors Front Upper side Ld Serial ports D i 3x D D Tv configuration GND GND or DIP switches RS485 RS485 rd DE I X11 COM2 X10 COM1 Communications connectors Figure 4 1 Position of the serial port configuration DIP switches 13 Sigma microPAC MP 01 User manual 4 1 1 AN Configuring the COM1Port The X10 COM1 Port can be used to configure the CPU using a VT100 terminal The RS232 485 COM1 connector is located in the upper right side of the CPU Looking at the connector the 5 terminals are arranged as illustrated The signals present on the COM1 Port terminals are as printed on M81 case D R5485 D RS485 GND RS485 GND RS232 RX RS232 TX RS232 H Some operational hardware settings of the TIT COM Port can be configured using DIP switches D 45678 4 8 Please note that the ON OFF position of D pai the selectors is shown by an arrow printed on the GND Eg iT selectors block RS485 The following table describes the possible options X10 COM1 connector RS232 enabled RS232 disabled RS485 RS232 Termination resistance ON OFF 110Q default disabled OFF Line polarization Pull Down ON OFF default disabled OFF Line polarization Pull Up ON OFF
68. s sts err log bin fs2 perc ret sys sts retper v bin fs2 retain sys sts ret var bin 1 identifies the drive letter assigned to the USB key by the File System Download of the status configuration and program files in the PLC Once the copy activity described in paragraph 4 1 2 has ended the system copies some files from the USB key if present to the PLC memory File location in the USB key File location in the PLC cnfg sys apl rest bi fsl restore file cnfg sys sys conf bi fs1 sys file cnfg sys ret var bin fs2 retain cnfg sys retper v bi fs2 perc ret 1 identifies the drive letter assigned to the USB key by the File System File system support for the PLC application Application file executed by the PLC The program executed by the PLC may reside in the internal Flash file system or in the USB key The memory support where the program will be present can be set in the Persistency Menu using the Setup terminal AsconTecnologic Sigma M81 Control Unit Device configuration PERSISTENCY SETUP Erase PLC Program PLC Program Persistency 0 1 ENABLED Persistency Support 0 1 Internal Flash DI Control Program Exec 0 1 DISABLED Exit Enter Selection Figure 6 1 Pesistency Setup Menu Through the Persistency Support parameter the user can set the area where a persistent copy of the PLC program will be saved If the use
69. sing device based on an ARM RISC 32 bit proc essor with different memory types onboard l Os and up to 3 communication ports sigmadue I O is a family of I O analogue and digital modules with special functions that can be also connected to the M81 module through a dedicated ModBus RTU serial bus Infoteam OpenPCS is a powerful and useful standard EN61131 3 compliant programming tool for PLC applications It is a clearly structured and easily operated tool to edit compile debug manage and print PLC applications during all the development phases OpenPCS runs on Windows server 2003 Windows XP SP2 Windows Vista 32 bit and Windows 7 32 or 64 bit platforms The Ascon Tecnologic M81 unit based on sigmadue microPAC line combines its functionalities with the capabilities of a PLC Modular concept means that you can adapt the system quickly and easily to your requirements This gives the sigmadue automation systems an amazing price performance ratio This User Manual handbook introduces you to the microPAC line and the Infoteam OpenPCS programming tool It explains how to install the hardware and software and how to start up the system Information on maintenance troubleshooting and services are also included Sigmadue microPAC M61 User manual 2 1 Architecture From the programmer s point of view a complete system can be arranged as in Figure 2 1 Programming the sigmadue M81 Control Unit below i Programming C
70. t Device configuration LOCAL AO CH1 amp CH2 MENU 1 CH1 2 CH2 3 ENABLED Yes 4 Exit Enter Selection Figure 5 20 AO Channel 1 amp Channel 2 Menu Chi Analogue Output Channel 1 Configuration Ch2 Analogue Output Channel 2 Configuration Enabled Yes if the Optional Analogue Output Channel 1 and 2 are present Exit Return to previous menu 30 Chapter 5 CPU setup 5 2 15 AO Channel 3 amp Channel 4 Menu AsconTecnologic Sigma M81 Control Unit Device configuration LOCAL AO CH3 amp CH4 MENU 1 CH3 2 CH4 3 ENABLED Yes 4 Exit Enter Selection Figure 5 21 AO Channel 3 amp Channel 4 Menu Ch3 Analogue Output Channel 3 Configuration Ch4 Analogue Output Channel 4 Configuration Enabled Yes if the Optional Analogue Output Channel 3 and 4 are present Exit Return to previous menu AO Channels Please note that for all 4 optional output channels the setup menu is the same as Setup Menu described here AsconTecnologic Sigma M81 Control Unit Device configuration LOCAL AO CH1 amp CH2 MENU Ch Number 1 1 Channel Out Mode 0 10 Volt 2 Channel Out Value 0 100 0 00 3 Exit Enter Selection Figure 5 22 AO Setup Menu Ch number Chosen Analogue Output Channel Note Analogue Output Type Channel Out Mode Value Type 0 0 10 V warning Field to be used to set temporary the analogue output Channel Out Value value p
71. t The project must be set up in order to use the CPU Select the Resource Properties item in the PLC menu select Ascon in the Hardware Module field then select the newly created TCP connection in the Network Connection field Figure 8 4 OpenPCS resource Specifications The Optimization option menu allows to select between three compilation choices Normal and Speed only refers to the NCC Native Code Compiler while Size only refers to the standard code Please note that the use of NCC does not permit the user to insert break points in debugging projects There are several conditions that could make it necessary to set the Ethernet Port communication timeout to a value higher than the default value This timeout checks the dialogue between OpenPCS and the target CPU When dealing with large programs it may be necessary to set a longer driver timeout The default value of 20000 ms can be increased by using the following register key Value 20000 means a timeout of 20 seconds 43 Sigma microPAC M81 User manual 8 3 Communication Ports Protocols sigmadue M81 has various communication ports and protocols The combinations of ports and protocols are shown below COM1 and COM2 configuration microswitches RS232 485 RS485 Communication Modbus Configuration Modbus si ZZZ SS M 15 Rx Tx GND D D D D GND X9 X10 comi X11 coma ZS zx X LYA AH USB
72. ter Enable 00000000 ECO Mode 0 4 1 N au B UN H Exit Enter Selection Figure 5 6 Startup Setup Menu Startup Timeout Timeframe window to enter the startup session Inactivity Timeout Inactivity Timeout please see 3 1 3 for details After the startup session will run the PLC program or the I O Watching window 1 PLC 2 I O Watch If enabled the digital output DOS is reserved to the specific function block for the watchdog event A counter function can be enabled for each digital input DIT Hom EE ME 0 counter disabled 1 counter enabled Activates relays PWM management for energy saving Eco ede and prevent overheating Exit Return to previous menu Post Startup Run DO3 used by watchdog 5 2 6 Persistency Setup Menu AsconTecnologic Sigma M81 Control Unit Device configuration PERSISTENCY SETUP Erase PLC Program PLC Program Persistency 0 1 ENABLED Persistency Support 0 1 Internal Flash DI Control Program Exec 0 1 DISABLED Exit Enter Selection Figure 5 7 Pesistency Setup Menu Command to erase the resident PLC program in the flash memory PLC Program Persistency Stores a valid PLC program in the flash memory Media on which the persistent copy of the PLC Erase PLC Program Persistency Support program is present 0 Internal Flash Memory 1 USB Mass Storage Device DI Control Program Exec Enables PLC program RUN STOP
73. the switches of the DIP switch block located close to the X10 connector see the Installaton Manual for more information COMI RS232 485 Port The X10 connector allows to connect an RS232 485 terminal also for setup pur poses Through this port using the protocol Modbus master slave or serial ASCII the PLC can connect a fieldbus network The connector has the following pinout er RX TX G0 De RX RS232 TX RS232 GND RS232 RS485 D RS485 D RS485 COM2 RS485 Port Connector X11 RS485 port to connect a fieldbus network using the Modbus pro tocol master slave or serial ASCII The connector has the following pinout label D GND Di RS485 D RS485 GND RS485 X12 AH Al4 High Level Analogue Inputs X12 is used to connect up to 4 High Level Analogue Inputs A11 Al4 to the system types 0 1 5 V 0 2 10 V ratiometric with 5 V reference 0 4 20 mA On the connector are present also two different voltage outputs that can be used to power external sensors transmitters The connector has the following pinout Label Mm An Az AS AM 12 Signal Common DAT Input AI Input ATS Input A input 75 VDC 12 VOC 10 3 2 8 3 2 9 X14 Connector X15 Connector 3 2 10 3 2 11 Chapter 3 Installation X13 AO1 AO4 Analogue Outputs X13 is used to connect up to 4 Analogue Outputs AO1 AO4 to the system type 0 10 V The connector has the fo
74. wledged by entering 1 and the return key while displaying the CPU Info screen 33 Sigma microPAC M81 User manual 34 Chapter 6 USB Mass Storage Device 6 1 Configuring the CPU with the USB Mass Storage Device The instrument can use an USB Mass Storage Device USB key to download upload to from the PLC system configuration application files Both processes take place at the same instant as a result of a specific sequence of actions Boostrap sequence The flowchart that follows illustrates the activities that are performed after the power ON and before to start the system configuration session via telnet hyperterminal Power ON Alternative LEDs flashing at 300 ms USB Mass Storage Device inserted 3 seconds Timeout has expired The PB key has been pressed System Files copy PLC gt USB Mass Storage System Files copy USB Mass Storage gt PLC Yes Start of the Telnet Hyperterminal configuration phase 35 Sigma microPAC M81 User manual 6 1 2 Note 6 1 3 Note 6 1 4 Upload of the status configuration and program files from the PLC At the end of the bootstrap phase the PLC copies some files in the USB key if present File location in the PLC File location in the USB key s1 restore_ file sys_sts apl_rest bin fsl sys file sys sts sys conf bin fsl errlog file sy

Download Pdf Manuals

image

Related Search

Related Contents

Manuale - BlackVue  Table of Contents - VarTech Systems Inc.  Anleitung - CONRAD Produktinfo.  programa especial de análise da saúde    für Drucker und Zubehör - Hewlett  Project:Stock Trading System (ST ck Trading System (STS) ding  Samsung P2450H Užívateľská príručka  Western Digital AV-GP 1TB  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.