Home
User Manual
Contents
1. 1246 0 MP D1 16 16 Pos2 Inputs 1 1247 0 MP D1 16 16 Pos2 Inputs 9 44 Chapter 7 CPU I O data 7 4 2 Output Memory Areas Address Size byte Format Q100 0 Digital Outputs Q112 0 AO CHI Q116 0 AO CH2 Q120 0 AO CH3 Q124 0 AO CH4 Q130 0 MP D1 08 08 Pos1 Outputs Q131 0 MP D1 08 08 Pos2 Outputs Q132 0 MP D1 16 16 Pos1 Outputs 1 8 Q133 0 MP D1 16 16 Pos1 Outputs 9 16 Q134 0 MP D1 16 16 Pos2 Outputs 1 8 7 4 3 M0 0 Diagnostics CPU Information M10 0 High Level Input 1 configuration information M11 0 High Level Input 2 configuration information M12 0 High Level Input 3 configuration information M13 0 High Level Input 4 configuration information M14 0 High Level Input 5 configuration information High Level Input 6 configuration information Optional Analogue Output 1 configuration information Optional Analogue Output 2 configuration information Optional Analogue Output 3 configuration information Optional Analogue Output 4 configuration information Optional High Level or Universal Input 7 configuration information Optional High Level or Universal Input 8 configuration information 1 Analog Input_7 Engineering Units 1 Analog Input_8 Engineering Units 1 Model Code Character_1 M101 0 1 Model Code Character_2 M102 0 1 Model Code Character_3 M103 0 1 Model Code Character_4 1 1 1 1
2. 6 Set the command by item 1 7 Set a Refresh command using item 2 The system will answer with Ready for cal Lo 8 Move the potentiometer to the Lo Value 9 Set the command by item 1 10 Set a Refresh command using item 2 The system will answer with Exit Calib 11 Set the command by item 1 to end the calibration Action Next executable action Exec Command to execute the Action Refresh Go to next Calibration Step Exit Return to previous menu 3 2 15 Local AO Channel 1 amp Channel 2 Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL AO CH1 amp CH2 MENU 1 CRI 2 CH2 3 ENABLED Yes 3 Exit Enter Selection Figure 3 22 Local AO Channel 1 amp Channel 2 Menu oe 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 3 2 16 Local AO Channel 3 amp Channel 4 Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL AO CH3 amp CH4 MENU 1 CH3 2 CH4 3 ENABLED Yes 3 Exit Enter Selection Figure 3 23 Local 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
3. 5 5 V 1 5 V 0 10 V 10 10 V 0 20 MA 4 20 MA 9 20 20 mA Input value read Refresh command to update the Read Value item Return to previous menu Channel Input Type Co NI Dj O17 A GO N O Read Value Refresh Exit Note Please note that for both optional high level input channels the setup menu is the same as described here 20 Select an Optional Local Al Universal Channel Setup the Selected Al Universal Channel CH Number Chapter 3 CPU setup Optional Local Al Universal Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL AI UNIVERSAL OPTIONAL MENU 1 CH7 CH8 3 Enable 0 1 Yes 4 Exit Enter Selection Figure 3 19 Additional Local Al Universal Selection Menu Analogue Input Universal Channel 7 Configuration Ch8 Analogue Input Universal Channel 8 Configuration Enable YES if the High Level Analogue Inputs Option is present Exit Return to previous menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL Al UNIVERSAL OPTIONAL CH MENU CH NUMBER peria A ng Channel Input Type 0 RE 6 Type J x Temperature unit 0 2 Cold Junction maan 06 TN Read Value 0 00 C Refresh Freq Rejection 0 1 50Hz Calibration Potetntiometer OIAUBWNH Exit Enter Selec
4. Error name Error Code kLzsModeConflict 1001 kLzsNetlnitError 1501 kLzsNoMem 1002 kLzsNetloError 1502 kLzsHardwareError 1003 kLzsNetlnvalidNodelD 1503 kLzsInvalidPgm 1004 kLzsNetVarCfgError 1504 kLzsDwnldError 1005 kLzsNetNlOverflow 1505 kLzsConfigError 1006 kLzsInvalidModCfg 1007 kLzsStoreProgInFLash 2000 kLzsInvalidPgmNr 1008 kLzsNoMemForRetain 2050 kLzsInvalidSegNr 1009 kLzsNoMemForPersist 2051 kLzsInvalidSegType 1010 kLzsSegDuplicate 1011 klpDivisionByZero 2001 kLzsNoWatchTabEntry 1012 kIpArryIndexInvalid 2002 kLzsUnknownCmd 1013 klpOpcodelnvalid 2003 kLzsModeErr 1014 klpOpcodeNotSupported 2004 kLzsNetError 1015 kIpExtensionInvalid 2005 kLzsNetRecSizeError 1016 kIpTaskCmdinvalid 2006 kLzsProclmgRdWrError 1017 klpPflowNotAvailable 2007 kLzsTimerTaskError 1018 klpInvalidBitRef 2008 34 Chapter 6 CPU remote access Error name Error Code Error name Error Code kLzslpVerError 111019 klpErrorRestoreData 2009 kLzslpExecError 10101020 klpNoValidArrElementSize 2010 kLzsNcExecError 10101021 klpInvalidStructSize 2011 kLzsNoBkupMem 10101022 kLzslOConfigError 111023 klecGeneralError 3001 kLzsNoHDMem 1024 klecFBNotSupported 3002 kLzsNotValidinRunState 1025 klecHardwareError 3003 kLzsCycleLengthExceeded 1101 kLzsRtxBaseTimerLengthExceeded 1102 kLzsStoreProgInFLash 9001 kLzsNetErrorLastSession 1103 kLzsNoMemForRetain 9002 kLzsUplErrorNotEnabled 1104 kLzsN
5. Al High Level CH3 1124 0 Al High Level CH4 1128 0 Al High Level CH5 1132 0 Al High Level CH6 1136 0 Al High Level CH7 1140 0 Al High Level CH8 1152 0 Al Universal CH7 1156 0 Al Universal CH8 1160 0 Al Universal CH7 mV 1164 0 Al Universal CH8 mV 1170 0 Al High Level CH1 Status 1171 0 Al High Level CH2 Status 1172 0 1173 0 Al High Level CH3 Status Al High Level CH4 Status 1174 0 Al High Level CH5 Status 1175 0 Al High Level CH6 Status 1176 0 Al High Level CH7 Status 1177 0 Al High Level CH8 Status 1178 0 Al Universal CH7 Status 1179 0 Al Universal CH8 Status 1180 0 AO CH1 Status 1181 0 AO CH2 Status 1182 0 AO CH3 Status 1183 0 AO CH4 Status 1192 0 1196 0 Temp 1 cold junction temperature Temp 2 internal temperature 1200 0 Counter channel 1 1204 0 Counter channel 2 1208 0 Counter channel 3 1212 0 Counter channel 4 1216 0 Counter channel 5 1220 0 Counter channel 6 1224 0 Counter channel 7 1228 0 Counter channel 8 1240 0 Expansion Unit 1 Status 1241 0 Expansion Unit 2 Status 1242 0 MP D1 08 08 Pos1 Inputs 1243 0 MP D1 08 08 Pos2 Inputs 1244 0 MP D1 16 16 Pos1 Inputs 1 1245 0 MP D1 16 16 Pos1 Inputs 9
6. Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 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 a U hb WN H Exit Enter Selection Figure 3 6 Startup Setup Menu Startup Timeout The time available to enter in the startup session Inactivity Timeout Inactivity Timeout please see 3 1 3 for details After the startup session could be run the PLC program or the I O Watching window 1 PLC 2 I O Watch If enabled the digital output DO1 could be connected to a software function block to signal a watchdog event A counter function can be enabled for each digital input E oan anal 0 counter disabled 1 counter enabled Exit Return to previous menu Post Startup Run DO1 used by watchdog 3 2 6 Persistency Setup Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration PERSISTENCY SETUP 1 Erase PLC Program 2 PLC Program Persistency 0 1 ENABLED 3 Exit Enter Selection Figure 3 7 Pesistency Setup Menu Command to erase the resident PLC program in the non volatile memory PLC Program If enabled every new download of a valid PLC program Persistency will be stored in the non volatile memory Ext TRetumto previous menu The CPU is able to save a P
7. Temp 2 Measured temperature of the internal electronic board Measure Unit used for T1 Possible values are Value Type 0 Celsius 1 Fahrenheit 2 Kelvin T1 Unit Measure Unit used for T2 Possible values are Value Type 0 Celsius 1 Fahrenheit 2 Kelvin Read T1 Command to read T1 value Read T2 Command to read T2 value Refresh Refresh the displayed values T1 and T2 Exit Return to previous menu T2 Unit 25 Sigma microPAC MP 02 User manual 3 2 19 CPU Info Menu Note Production Code MP02 Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration CPU INFO ee e ie A e la cosce 132303314031 HW Version FW Version OEM ID 536 Virtual Machine 5 3 2 1 PLC Status 0 OK 2 Exit Enter Selection 4 0 3 1 b6 Figure 3 26 CPU Info Production Code factory reserved information Status OK Message The system displays the production code as shown 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 PLC Status CPU Status Indication and acknowledge of the active alarms displayed Possible Status Values are Value
8. Type Normal status Data Configuration Error DCE Retain Error RE DCE RE Battery Low BL BL DCE BL RE 0 1 2 3 4 5 6 7 BL RE DCE Return to previous menu The Production Code is registered in the file fs1 prodstr_file and must not be touched modified by the user consult TFTP Protocol Access on page 45 for details Active alarms are acknowledged by entering 1 and the return key displayed by CPU Info screen 26 Chapter 4 CPU Diagnostic Tests 4 1 Entering the diagnostic mask The MP 02 unit provides the user with a diagnostic mask in order to test the on board I Os This mask can be activated from the STARTUP TIMEOUT MENU using the entry Post Startup Run Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 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 a Uu PB UN H Exit Enter Selection Figure 4 1 Startup Setup Menu To run the I O Watch Window the value I O Watch must be set insert the value 3 at the Enter selection input and use the value 2 to activate the diagnostic mask The table that follows displays the possible values for the Post StartUp Run entry Value Value displayed Meaning 1 PLC Ex
9. retained variable file Stops the PLC program note 1 fs2 run_prg Starts the PLC program note 1 fs2 erase_prg fs2 ack_alm Erases the PLC program note 1 Acknowledges the retentive variables file error alarm ONLY note 2 fs2 reset Reset command file note 3 1 These TFTP commands do not have errors feedback because they do not establish any TFTP data exchange 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 To connect the unit the user needs the IP address of the device see Ethernet Setup Menu on page 11 for details and the logic port used whic is always 69 for the TFTP The TFTP protocol has only two different services e GET e PUT The GET service allows the user to upload a file from the MP01 unit while the PUT service allows files to be downloaded Using the TFTP client present in the Windows installation please see C Windows System32 tftp exe the possible commands are 33 Sigma microPAC MP 02 User manual e To GET a file from the MPO1 tftp i lt remote host address gt get lt remote file_name gt lt local file name gt e To PUT a file to the MPO1 tftp i lt remote host address gt put lt local
10. I TO M Copy a specific l 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 specific Qmemory area MEMCPY Q TO M Copy a specific Q memory into a specific M memory area Read 16 digital value from a memory area dedicated to a MB slave MB TCP GET CONN BY ADDR MODBUS GET DIGITAL 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 51 Sigma microPAC MP 02 User manual Function Block name Description 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 OPEN_SERIAL_COMM Configure the serial port and set the protocol used on it RAND Generete random numbers from 0 65535 RESET_PULSE_COUNTER RTC_SETUP Reset the counter value connected to a specific digital input Set the s
11. The terminals are positioned as follows Pin Label Function Run Stop DI1 DO2 DO3 DO4 POWER Signal INPUT INPUT INPUT INPUT OUT OUT OUT OUT 24V 24V Run Stop Digital Input Digital Output Power Supply Digital Input 1 Run Stop terminal connecting this terminal to a 24V source it is possible to launch or stop the execution of the 1131 program loaded in the CPU 2 5 4 Digital Inputs terminals connecting this terminal to a 24V source it is possible to change the status of the input 6 9 1 4 4 Digital Outputs terminals Each source type PNP digital output can manage a 24V 0 5A load 10 11 L 24Vdc power supply terminals 2 2 3 Connector B connections The B terminal block allows the connection of the OV Power Supply 4 Digital Inputs 4 Digital Outputs Signals and the system hearth The terminals are positioned as follows Signal OV INPUT INPUT INPUT INPUT OUT OUT OUT OUT Ground 0V Power Digital Input Digital Output Frame Power supply ground supply 1 M OV power supply terminal 2 5 4 Digital Inputs terminals connecting this terminal to a 24V source it is possible to change the status of the input 6 9 5 8 4 Digital Outputs terminals Each source type PNP digital output can manage a 24V 0 5A load 10 A Frame ground 11 M OV power supply terminal Chapter 2 Installation 2 2 4 Connector E connections The E terminal bloc
12. ascontecnologic com PFrereguisiles iii eee ia ee Dot aaa EN nee eee eee EU Chapter 1 Hardware description rrr del Arcitecture exo opor RS NS ESSERE EE TUAM ND fd me es 1 1 1 Communication ports n aaaea t S ia i Ake ae ae e 1 1 2 Integrated IOS Sissa ts Gg case ne edie RR DERE ORE 1 1 3 DIAGNOSING LEDS ss fu du ued ound Pe ok oe ed bn F3 Dive bn es Chapter 2 Installation 13 xax eoi ra ax atus qud asd RP EZ 2 1 Mechanical installation cresce ere RC OR RO 2 1 1 Installing and Removing the I O expansion modules 2 2 Electrical installation sirene 2 2 1 Connect the communication cables 2 2 2 Connector A connections 2 2 3 Connector B connections 2 2 4 Connector E connections 2 2 5 Connector F connections xo ed eR Ux i aaa aa Chapter 3 CPU setup ke aa hye pees See PME i a 3 1 Connect the Setup Terminal cece eee 3 1 1 Starting the Setup Session 0 4 3 2 CPU Main Menu s a oe toe a EE E SE B QUA IRE ik Me Riek ee 3 2 1 Network Setup Menu 3 2 2 Ethernet Setup Menu essere 3 2 3 Serial Setup Menu ix aia dy it a woken Ror anid 3 2 4 CPU Setup Menu iis fii e es abi sti lesa la ken ha css 3 2 5 Startup Setup Menu ee 3 2 6 Persistency Setup Menu 3 2 7 CLOCK Setup Menu e 3 2 8 Retain CONN sonate tino ala ninni 3 2 9 Modbus TCP IP Setup iena eae bons 3 2 10 Modbus TC IP S
13. i4 sigmaPAC micro i m CPU 28 1 0 m gge Input sensor sigmaPAC micro External 1 0 module 32 digital 1 0 Output Power Controller Figure 1 1 Programming the sigmadue microPAC Control Unit In Figure 1 1 Programming the sigmadue microPAC Control Unit the configura tion station VT100 terminal and the PC with OpenPCS are displayed as two dif ferent devices but it is possible to use just one PC to run both OpenPCS and a VT100 emulator e g HyperTerminal 1 1 1 Communication ports The CPU has 3 communication ports see Control Unit YO and Communication Ports on page 3 The Ethernet port TCP IP will be used for the connection to the PC for CPU configuration using a telnet session Programming debuging and commissioning Modbus TCP data exchange The optional Service RS232 485 port connector XO will be used as Configuration port of the device with VT100 terminal Standard ASCII serial port Modbus RTU data exchange port The optional RS485 port connector X1 will be used as Modbus RTU data exchange port Pinout of all communication ports is described hereafter and in MP 02 Installation Manual 9 Chapter I Hardware Description 1 1 2 Integrated I Os The microPAC base unit can house up to 28 I O ports 6 AI 6 analogue inputs configurable for mA V terminals E1 E6 F1 F6 2 Al 2 optional universal or high level isolated analogue inputs con
14. 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 Installations to substituted drives are not supported by Windows XP 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 29 Sigma 5 2 e microPAC MP 02 User manual 5 1 4 Configuring OpenPCS In order to work with the Ascon Tecnologic CPU target you must install in OpenPCS a cab file The file Ascon_sigmadue_zzzz cab contains all the files describing Ascon Tecnologic sigmadue 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 Ascon sigmadue 2009 cab then nstall Mow im um am om anm ee arri ope e 1 GP Fur dmi LES E RT MH aem pese O o Le je Figure 5 1 OpenPCS OEM Driver Installation OpenPCS Setup To connect the O
15. it is an option The possible values of this indication are as follows Status Value Description 0 The value is in the range of the signal 1 The value is under the low level of the signal 2 The value is over the high level of the signal 4 Channel not configured 8 No valid measure available The memory map for the diagnostic indications Address Size byte Format Data 1170 0 1 BYTE Al High Level CH1 Status 1171 0 1 BYTE Al High Level CH2 Status 1172 0 1 BYTE Al High Level CH3 Status 1173 0 1 BYTE Al High Level CH4 Status 1174 0 1 BYTE Al High Level CH5 Status 261175 0 1 BYTE Al High Level CH6 Status 38 7 1 4 7 1 6 Chapter 7 CPU I O data Address Size byte Format Data 1177 0 1 BYTE Al High Level CH8 Status 1178 0 1 BYTE Al Universal CH7 Status 1179 0 1 BYTE Al Universal CH8 Status 261180 0 1 BYTE AO CH1 Status 1181 0 1 BYTE AO CH2 Status 1182 0 1 BYTE AO CH3 Status 1183 0 1 BYTE AO CH4 Status Onboard Temperature Values The MP 02 unit provides two indications about the internal temperature of the device Measure Description Temperature value presents at the thermocouple input COURS SN Memb used for the internal cold junction compensation Internal Temp 2 Device Internal Temperature The data format used for the value present in the memory map is the floating point 32 bit and
16. present Exit Return to previous menu 23 Sigma microPAC MP 02 User manual 3 2 17 Local AO Ch Setup Menu Note Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL AO CH MENU Ch Number 3 1 Channel Out Mode 0 4 4 4 20mA 2 Channel Out Value 0 00 3 Exit Enter Selection Figure 3 24 Local AO Setup Menu Chosen Analogue Output Channel Note Analogue Output Type Possible values are Value Type 10 10 V Channel Out Mode 20 20 mA 1 2 0 10 V 3 0 20 MA 4 4 20 MA Using this item the analogue output value can be set please note that the range of the value is Channel Cut value 100 0 100 0 for dual polarity signals 0 100 for single polarity signals Exit Return to previous menu Please note that for all 4 optional output channels the setup menu is the same as described here 24 Chapter 3 CPU setup 3 2 18 Temperature Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration TEMPERATURE MENU Temperature 1 31 6 Temperature 2 35 6 1 T1 Unit 0 2 Celsius T1 Unit 0 2 Celsius Read T1 Read T2 Refresh Ub UN 6 Exit Enter Selection Figure 3 25 Temperature Menu ane re i Measured temperature used to compensate the cold junction Temperature 2 i
17. reading of 1 REAL value Modbus Slave reading of 1 WORD value MB SLV WR8 DWORD MB SLV WR8 REAL Modbus Slave writing of 8 DWORD values Modbus Slave writing of 8 REAL values MB SLV WR16 WORD MB SLV WR32 DIGITAL Modbus Slave writing of 16 WORD values Modbus Slave writing of 32 digital values MB SLV WR DIGITAL MB SLV WR DWORD Modbus Slave writing of 1 digital value Modbus Slave writing of 1 DWORD value MB SLV WR REAL MB SLV WR WORD Modbus Slave writing of 1 REAL value Modbus Slave writing of 1 WORD value MODEM CHECK MODEM CONF Modem operational verification Modem configuration management MODEM SMS SEND Modem SMS Short text Message Service send management MP SERIAL PORTS Set the configuration for the ModbusRTU ports of the MP 02 unit SEND EMAIL SMTP server Configuration SERIAL PORTS Set the configuration for the Modbus RTU ports of the CU unit SYS OPRS MNGT Set communication operational parameters on Modbus RTU and TCP agents TCP IP PORT Set the configuration for the Modbus TCP port 50 Chapter 8 Ascon Function Blocks Libraries 8 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 Firmware Function Block Library 3 manual for details for more details please refer to t
18. the unit used C F or K It is specified in the configuration menu please see 3 2 18 Temperature Menu on page 25 for details Address Size byte Format Data 1192 0 4 REAL Temp 1 1196 0 4 REAL Temp 2 Digital Counters In the configuration session please see 3 2 5 Startup Setup Menu on page 13 for details it is possible to enable a counter matched to a digital input In the memory map there is a section with all the values for all the possible counters The data format is unsigned 32 bit Address Size byte Format Data 1200 0 4 UDINT Counter channel 1 1204 0 4 UDINT Counter channel 2 1208 0 4 UDINT Counter channel 3 1212 0 4 UDINT Counter channel 4 1216 0 4 UDINT Counter channel 5 1220 0 4 UDINT Counter channel 6 1224 0 4 UDINT Counter channel 7 1228 0 4 UDINT Counter channel 8 The value of each counter can be reset using a specific function block inside the program environment please see the Ascon Tecnologic Firmware Function Block Library for details Digital Outputs Status Address Size byte Format Data Q100 0 1 WORD Digital Outputs 39 Sigma microPAC MP 02 User manual 7 1 7 Analogue Output Value 7 2 7 2 1 7 2 2 The four analogue output channels are optional and the possible choices are no analogue outputs 2 analogue outputs 4 analogue outputs In the
19. vu xa iau RR 9 1 General and environmental characteristics 9 2 Functional characteristics lt e e o kr ade EC 9 3 1 0 Characteristics uri piro a Danae eta o E XXE ee AL Appendix A Communication Ports Configuration A 1 Configuring the optional serial communications ports A 1 1 Configuring the XO Port uocis ao ari pa tat aa ca ERE A 2 Connect the Setup Terminal elles A 2 1 Telnet Communications Connection A 2 2 Connect the serial setup terminal A 3 Configuring the Modbus Connections A 3 1 Configuring the X1 Modbus Port A 3 2 Configuring the Modbus Ports Appendix B Reference documents hh n 53 53 54 Index continued 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
20. 02 and begin the setup session 57 Sigma microPAC MP 02 User manual A 2 2 Connect the serial setup terminal Setting the comm s parameters On the XO RJ45 connector is an optional serial communications port with RS232 485 protocol Depending to the terminal used to setup the system the user must e Set the XO port as RS232 e Provide the proper connection cable e Set the correct communications parameters e Run the communications program RS232 Serial Communications Connection To connect a VT100 terminal or a PC with Hyper Terminal program connect the XO connector to an RS232 cable with the following characteristics VT100 Terminal side MP 01 side 9 pin sub D connector RJ45 male connector ping Upper view Front view Pin 1 TX 3 Ground 5 oO Q OJI Z XX o NWHADN o Pin 9 Pin 5 At this point the HyperTerminal must be configured in order to communicate with the correct COM Serial port When the Personal Computer has no serial port the connection can be done through a USB Serial adapter in this case the number of the COM port linked 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 in order to match those of the service port Baud rate Data Stop bit Parity Flow Control During the configuration session it
21. Control Unit MP 02 Device configuration MAIN MENU Network Setup Cpu Setup Modbus TCP IP Setup I O Setup Cpu Info Exit Enter Selection Figure 3 1 Base Unit configuration Main Menu The Main Menu see Figure 3 1 has 6 different items Network Setup All the communication ports settings of the CPU CPU Setup Specific CPU parameters ModbusTCP IP Setup Modbus TCP IP Settings I O Setup Onboard I O Configuration CPU Info Firmware and hardware version Exit End the configuration session 10 Chapter 3 CPU setup 3 2 1 Network Setup Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration Network setup menu 1 Ethernet Setup 2 Serial Setup 3 Exit Enter Selection Figure 3 2 Network Setup Menu Ethernet Setup Ethernet Setup Parameters Serial Setup Serial Setup Parameters Exit Return to previous menu 3 2 2 Ethernet Setup Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 QUAUAWNNH Device configuration ETHERNET SETUP MAC Address 00 50 c2 47 60 ff IP Address 192 168 5 11 Subnet Mask 255 255 255 0 Gateway Address 192 168 5 10 Server Address 192 168 5 10 DHCP DISABLED Port 1200 Exit Enter Selection Figure 3 3 Ethernet Setup Menu MAC Address Device Board MAC Address Display IP Address Device IP Address Subnet Mask Device subnet m
22. EN 61131 2 Approvals Functional characteristics CE UL and cUL pending Features Description Programming languages IL ST FBD LD SFC CFC Program memory max 2 MB Dynamic memory 16MB Retentive memory 64kB redundant Data retention in case of power failure 10 years Min cycle time Typical 10ms Min response time Max P 1 D number Input acquisition time cycles execution time Max timer resolution 1ms Real Time Clock Yes Unlimited application dependent suggested up to 20 53 Sigma microPAC MP 02 User manual 9 3 I O Characteristics Features Description Digital Inputs Input power supply 24Vdc ON 5 30V OFF 0 3V Max input frequency 80Hz ON OFF limit Type Sink 800V channels power supply 800V channels logic components Protection Reverse polarity overvoltage Status indicator LED Compliance IEC EN 61131 2 type 1 Digital Outputs Output power supply 24Vdc Output current nominal 0 5A Type Source Protection Overvoltage short circuit Isolation Isolation 800V channels power suply Analogue Inputs 1 6 Configurable 0 10V 0 1V 1 5V 0 5V 0 20mA d 4 20mA Input inpedance gt 100kQ V s3002 mA Configurable the 2 input channels can be configure as 7 8 option note 1 Universal High level input Input inpedance gt 10MQ Resolution 16 b
23. LC program in persistent memory This means that when PLC Program Persistency is ENABLED the program will be automatically loaded and executed at start up Every time the user downloads a new program to the CPU during the development activities it is saved in the persistent memory and at next device start up the last downloaded program will be executed Saving a program in persistent memory is a time consuming activity For that reason the user may want to disable the automatic program save to make development activities more efficient It can be useful to prevent execution of any program at start up Selecting the item Erase PLC program the retentive memory area reserved to store PLC programs is erased This activity take several seconds When the Persistency setup menu screen reappears then the memory has been erased Erase PLC Program 13 Sigma 3 2 7 Note 3 2 8 Standard and Retentive memory management microPAC MP 02 User manual CLOCK Setup Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration CLOCK SETUP MENU Day of the Month 1 Month 4 Year 5 Day of the Week 5 Hour 15 Minutes 23 Seconds 7 Refresh Exit Enter Selection OSNDUAWNH Figure 3 8 Clock Setup Day of the Month Month Year Day of the Week Hour Minutes Seconds Refresh Exit Set the number of the day of the month Set the number of the month of the year Set the y
24. M18 0 M19 0 M20 0 M21 0 M22 0 M23 0 M100 0 M104 0 Model Code Character_5 M105 0 Model Code Character_6 M106 0 Model Code Character_7 M107 0 BYTE Model Code Character_8 M108 0 M1 10 0 WORD Field Code A Al PRECONFIG WORD Field Code B RESERVED 2 2 45 Sigma microPAC MP 02 User manual M112 0 WORD Field Code C RESERVED M1 14 0 WORD Field Code D RESERVED M1 16 0 WORD Field Code E OUT AO1 A04 M118 0 WORD Field Code F RESERVED M120 0 WORD Field Code G COM PORTS M 122 0 WORD Field Code H COM2 PORT M 124 0 WORD Field Code I TERMINALS M126 0 WORD Field Code J PACKAGING M 128 0 WORD Field Code K INSTRUCTIONS CUSTOMIZATION HARDWARE CUSTOMIZATION SOFTWARE SOFTWARE SUB VERSION Serial Number Character 1 Serial Number Character 2 Serial Number Character 3 Serial Number Character 4 Serial Number Character 5 Serial Number Character 6 Serial Number Character 7 Serial Number Character_8 M144 0 Hardware code identifier M146 0 Firmware code identifier M148 0 2 WORD RESERVED M130 0 M1 32 0 M1 34 0 M1 36 0 M137 0 M1 38 0 M1 39 0 M140 0 M141 0 M142 0 M143 0 46 Chapter 8 Ascon Tecnologic Function Blocks Libraries In this chapter all the libraries present in the Asco
25. 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 REAL 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 conversion and management of 8 REAL write values Modbus Master conversion and management of 8 UDINT write values MB SLV RD8 DWORD MB SLV RD8 REAL Modbus Slave reading of 8 DWORD values Modbus Slave reading of 8 REAL values MB SLV RD16 WORD MB SLV RD32 DIGITAL Modbus Slave reading of 16 WORD values Modbus Slave reading of 32 digital values MB SLV RD DIGITAL MB SLV RD DWORD Modbus Slave reading of 1 digital value Modbus Slave reading of 1 DWORD value MB SLV RD REAL MB SLV RD WORD Modbus Slave
26. Y ascon Sigmadue microPAC MP 02 TECNOLOGIC User Manual il SUNT LAN User Manual iso 9601 2008 M U microPAC MP 02 1 13 07 Code ISTR MU MP 02ENG01 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 is 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 deltadue 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 Site www ascontecnologic com E mail address info
27. and several communication ports microPAC I O is a complete family of I O analogue and digital modules with special functions that can be connected to the MP 02 module through a dedicated bus Infoteam OpenPCS is a powerful and useful standard programming system for PLC applications It is a clearly structured easily operated tool for editing compiling debugging managing and printing PLC applications in all the development phases OpenPCS supports EN61131 3 programming under Windows server 2003 Windows XP SP2 or Windows Vista 32 bit The Ascon Tecnologic sigmadue microPAC line is based on the MP 02 module combining its functionality with the capabilities of a PLC Modular concept means that you can adapt the system to your requirements quickly and easily This gives the sigmadue automation system an especially economical price performance ratio This User Manual handbook introduces you to the microPAC line and the Infoteam OpenPCS programming system It explains how to install the hardware and software and how to start up the system Information on maintenance troubleshooting and service are also included Sigmadue microPAC MP 02 User manual 1 1 Architecture From the programmer s point of view a complete system is made up as in Figure 1 1 Programming the sigmadue microPAC Control Unit below Programming Configuration station station VT100 Ethernet RS232 485 10 Mbit base T Service port i 2
28. ar iables will be unaffected At the moment it is possibile to upload or download both the retentive memory areas for the standard and percentage variables using a TFTP session The timeframe window to perform this operation is available only during the boot up phase before the configuration access To upload or download the retentive mem ory files please follow the procedure described at paragraph TFTP Protocol Access on page 33 in chaper 6 paragraph6 1 The name of the files are Retentive standard fs2 retain Retentive percentage fs2 perc_ret During 1131 program execution is possible to recall some information present in certain particular addresses of the percentage memory In particular M0 0 Battery satus 1 low 0 ok MO0 1 Classic retain memory status at startup 1 corrupted 0 ok M0 2 Percentage retain memory status at startup 1 corrupted 0 ok M0 3 Error reading the Production Code The battery status is runtime calculated and updated at the beginning of each cycle The remaining two flags are released at startup and the value remains unchanged after a warm or a cold startup The configuration of all the analogue I O present in the CPU module are mapped in byte at addresses MB10 0 MB21 0 Each byte represents a channel In particular MB10 0 MB15 0 6 AI HL always present MB16 0 MB19 0 4 AO present or absent in couples MB20 0 MB21 0 2 additional UL or HL optional chan
29. arization Pull Up ON OFF default disabled OFF The default communication parameters for the X1 port are Baud Rate 9600 bps Data 8 bit Stop bit 1 Parity none Flow Control none WARNING The default communication parameters can be set only using the specific Function Block See Ascon Firmware Function Block Library 3 for details 59 Sigma microPAC MP 02 User manual A 3 2 Configuring the Modbus Ports To connect an RS485 Modbus fieldbus through the XO and or X1 ports use cables with the following characteristics MP 01 side X0 X1 RJ45 male connector Upper view Front view 8 7 6 5 RS485 Ground 3 4 Tome 7 OT TRS485D 2 3 Modbus field _ _ _ RS485 D 1 Setting the Changes to the RS485 communication parameters can be done through a specific comm s Function Block See Ascon Firmware Function Block Library 3 for details parameters 60 1 2 3 4 5 6 7 8 9 10 11 12 Appendix B Reference documents Infoteam OpenPCS programming system user manual version 6 0 English IEC 61131 3 Programming Industrial Automation Systems Karl Heinz John Michael Tiegelkamp Springer Ascon 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 implement
30. ask Gateway Address The Network Gateway Address Server Address The DHCP Server Address DHCP DHCP Protocol Enable Port OpenPCS Logic Port Number Exit Return to previous menu 11 Sigma microPAC MP 02 User manual 3 2 3 Serial Setup Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration SERIAL SETUP MENU 1 Baudrate 2 9600 bps 2 Parity 0 NO PARITY 3 Stop Bit 1 4 Exit Enter Selection Figure 3 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 3 2 4 CPU Setup Menu Baudrate Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration CPU SETUP MENU Startup Setup Persistency Setup Clock Setup e w N H Retain Config 5 Exit Enter Selection Figure 3 5 CPU Setup Menu Startup Timeout Setup Timeout Setup Parameters Persistency Setup Persistency Parameters Clock Setup Real Time Clock Settings Retain Config Retentive Registers Configuration Exit Return to previous menu 12 Chapter 3 CPU setup 3 2 5 Startup Setup Menu
31. ated in the upper side on the right of the CPU The 8 contacts are arranged as illustrated in the drawing The signals present at the RJ45 connector of the Service Port are 1 D RS485 WAH 2 D RS485 3 GND RS485 Upper side 4 GND RS232 ba laba 5 RX RS232 aay m i ee Female RJ45 ius i si RS232 485 service port of the CPU connector Some parameters of the Service Port can be configured using selectors 4 8 of the microswitch block Please note that the ON OFF position of the selectors is shown by an arrow printed on the selectors block The following a describes the possible options RS232 Soa RS232 disabled 3 RS485 RS232 Termination resistance ON OFF 4 5 6 7 6 aiaialalulululu 6 1100 default disabled OFF _ Line polarization Pull Down ON OFF ON default disabled OFF 8 Line polarization Pull Up ON OFF default disabled OFF The default communication parameters for the XO 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 12 for details WARNING If the communication parameters are changed during the CPU Setup Session the communication parameters of the connected devices must be changed in accordance Cautio
32. ation 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 MP 02 Installation manual code ISTR MI MP 02ENG01 MP 02 User manual code ISTR MU MP 02ENG01 microPAC I O modules Installation Manuals microPAC I O modules User Manuals 61 Sigma microPAC MP 02 User manual 62
33. ative Code Compilation 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 20000ms can be increased by using the following register key HKEY LOCAL MACHINENSOFTWARENinfoteam Software GmbH OpenPCS 6 x x Online TcpDriverTimeout_ms Value 20000 means a timeout of 20 seconds 31 Sigmadue microPAC MP 02 User manual 5 3 Communication Ports Protocols sigmadue MP 02 has various communication ports and protocols The combinations of ports and protocols are shown below LAN Ethernet 10 base T Port X1 RS485 X0 Service Port TCP IP Modbus N Modbus port RS232 485 Modbus q Fm XI wl ASCON sis ML one po m Ga ESTESO ESSI PAC ooe RN NTE m e a aja aja sera n i C LA RA LA EY kA LE js Figure 5 5 Communication Ports and associated Protocols Notes 1 Modbus Master Slave 2 Consult the Installation Guide to polarise and terminate the RS485 ports 5 4 Watchdog Timer Ascon Tecnologie MP 02contains a watchdog control managed by 2 specific FBs Wat
34. chdog is a down counter decreased in 100ms When the count value reaches zero two different behaviors may be set CPU keeps ON the program execution it stores the event and forces the DO01 if enabled please see 3 2 5 Startup Setup Menu for details CPU reset and the program restart Please note that the Watchdog timer is controlled by FBs and it runs independently of the PLC program Therefore if the program is stopped e g during a debug ses sion the timer is still active and behaves as programmed when the counter reaches zero For this reason during the debug session it is advisable to disable Watchdog function 32 6 1 Chapter 6 CPU TFTP File Access TFTP Protocol Access Notes The MPO1 unit allows the user to access to the device using the TFTP Trivial File Transfer Protocol With this protocol it is possible to upload or download device configuration the IEC61131 program the retained variables and error log files For security reasons the name and the number of the accessible files are limited and fixed The following table lists the accessible files File Name Description Ifs1 restore_file Name of the IEC61131 program file fs1 sys_file Name of the configuration file fs1 prodstr_file Product identifcation file Ifs1 errlog_file Name of the RUNTIME errors file fs2 retain Name of the classic retained variable file fs2 perc_ret fs2 stop_prg Name of the
35. d Code C RESERVED 2 2 2 M114 0 2 Field Code D RESERVED 2 2 2 M116 0 Field Code E OUT AO1 A04 M118 0 Field Code F RESERVED M120 0 Field Code G COM PORTS M122 0 2 WORD Field Code H COM2 PORT M124 0 Field Code I TERMINALS M126 0 Field Code J PACKAGING M128 0 Field Code K INSTRUCTIONS 41 Sigma microPAC MP 02 User manual 7 3 3 Possible Values HW and SW versions Size Bytes Data type M130 0 M132 0 M134 0 CUSTOMIZATION HARDWARE CUSTOMIZATION SOFTWARE SOFTWARE SUB VERSION Data type M136 0 Serial Number Character 1 M143 0 Serial Number Character_8 HW and FW versions Add Size Bytes Datatype Dua M144 0 2 WORD Hardware code identifier M146 0 2 WORD Firmware code identifier M148 0 2 WORD ESERVED I O Configuration Information High Level Inputs Address MB10 0 Size byte High Level Input 1 configuration information MB11 0 High Level Input 2 configuration information MB12 0 High Level Input 3 configuration information MB13 0 MB14 0 High Level Input 4 configuration information High Level Input 5 configuration information MB15 0 High Level Input 6 configuration information Address Format Optional High Level or Universal Input 7 configuration information Optiona
36. ear Set the number of the day of the week Set the Hour Set the Minutes Set the Seconds Command to refresh the clock values Return to previous menu Clock values are not automatically updated on the screen refresh the values to upate Retain Config Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration RETAIN CONFIG MENU 1 MB Slave 1 Split register 0 4096 2341 MB Slave 2 Split register 0 4096 121 2056 Simple Split byte 0 16364 Exit Enter Selection Figure 3 9 Retain Config Menu MB Slave 1 Split register MB Slave 2 Split register Simple Split byte Exit The IEC 1131 programming tools allow to declare retentive variables using a spe cific syntax These variables are saved and load from the retained memory which has a 32kB size for security reasons the memory is duplicated and refreshed during runtime operations Differently from this automatic mechanism it is possi ble to specify during the boot up configuration session the amount of retained variables to be used in the percentage area Slave 1 Modbus Memory Area 4096 registers Slave 2 Modbus Memory Area 4096 registers Marker Memory Area 16364 bytes Return to previous menu The standard memory locations usable as retentive variables are accessible as registers up to the maximum amount normally available for each Modbus agent Slave 1 and Slave 2 and up to 16 kB
37. ecure Address Table Menu 3 2 11 Modbus TC IP Priority ADDRS Table Menu 3 2 12 NO Setup Menu i tog eee e e ani ch alee ewe ee es 3 2 13 Setting the Local I O ports 3 2 14 Local Al Universal Pot Cal Menu 3 2 15 Local AO Channel 1 amp Channel 2 Menu 3 2 16 Local AO Channel 3 4 Channel 4 Menu 3 2 17 Local AO Ch Setup Menu 3 2 18 Temperature Menu a 3 2 19 CPU Info Menu DSWNN m 0001010101 Q Index Chapter 4 4 1 Entering the diagnostic Mask 4 2 WO Watch Window soa oe Ga ebbe E eS RE Rs Chapter 5 Programming the CPU curl E AA NANANG 5 1 Installing OpenPCS site AGA pru re d soe Ree aere die EAD 5 1 1 Hardware and Software Requirements 5 1 2 Installations se ic eds et eau res t atea 5 1 3 Starting OpenP GS 4220 gen parus ail hinarang 5 1 4 Configuring OpenPCS eee 5 2 OpeniPOS SSluD cinta cui eus merde te tae ode te Aia 5 3 Communication Ports Protocols e 5 4 Watchdog Timer sss si se cones ERI REN ERE EY quU pedes eis Chapter 6 CPU TFTP File ACCESS o SSSR eh tS Ee RES ew SS 4E E 0 1 TEIP Protocol ACCESS 3 L3 ener eed cde dese Rc UN e Een aa 6 2 1EC61131 3 OpenPCS Runtime Errors log file Chapter 7 CPU VO Data esa 0 haaa RER tae este ceed es see es 7 1 Central Unit Data viaria eh ad e daca di ete n ax wile DR RR eal 7 1 1 Digi
38. figurable for terminals E7 E10 F7 F10 Thermocouples TC J K L N R S T RTD PT100 PT1000 mA V linear inputs Potentiometers 4AO 4 optional high level analogue outputs terminals E11 E14 F11 F14 RS RUN STOP program functionality terminal A1 8 DI General Purpose Digital Inputs terminals A2 A5 B2 B5 8 DO Isolated General Purpose Digital Outputs terminals A6 A9 B6 B9 Ethernet 10 Base T RS485 Modbus Serial ports RS232 485 port LAN 2 LAN Connector X1 configuration Communication Configuration status LEDs microswitches Port Connector X0 RESET button Serial ports XO X1 activity LEDs green Expansion bus connector 8 digital input LEDs yellow Diagnostics LEDs e ERR e RUN e BAT e PWR Power Supply Terminals 424 Vac dc LIL A10 A11 N N Z Ground B10 MA OV B1 B11 Analogue Analogue Analogue Run Stop Digital input Digital output input input output terminal A1 terminals terminals terminals terminals terminals and RS status A2 A4 A6 A9 E1 E6 E7 E10 E11 E14 LED B2 B4 B6 B9 F1 F6 F6 F10 F11 F14 Figure 1 2 Control Unit VO and Communication Ports WARNING The RESET button does not restart the CPU or the 1131 application The RESET button resets all the stored setup parameters and restores the defaut parameters as well as those set by the user Sigma microPAC MP 02 User man
39. file name gt lt remote file_name gt For example if the user wants to GET the configuration file from the MPO1 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 MP01 is 192 168 5 11 If the user wants to PUT the IEC61131 program file to the MPO1 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 6 2 IEC61131 3 OpenPCS Runtime Errors log file In same cases 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 reason it is now available inside the unit a file called fs1 errlog_file that can be downloaded from MP 02 The 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 08 2002 Wed 16 37 25 23 04 08 2002 Wed 16 36 36 23 04 08 2001 Thu 11 56 29 22 04 08 2002 The table of error codes is the following
40. he tag Yes Otherwise the tag used is No Onboard Temperature measurement Exit Return to previous menu The presence absence in the system of either 2 Optional High Level Analogue Inputs or 2 Optional Universal Inputs is determined by the order code 18 Chapter 3 CPU setup 3 2 13 Setting the Local I O ports Standard Local Al Menu Select a Ei scon lecnologic S r l Standard Sigma microPAC Control Unit MP 02 Local Al Device configuration Channel LOCAL Al MENU ils ehi 2 CH2 DENCHS 4 CH4 So EHS 6 CH6 7 Rat Enter Selection Figure 3 15 Standard Local 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 Analogue Input Channel 6 Configuration Return to previous menu Setup the Ascon Tecnologic S r l Selected Sigma microPAC Control Unit MP 02 Local Al Device configuration Channel LOCAL Al HL CH MENU CH NUMBER 1 1 Installed Y 2 Channel Input Type 0 5 3 0 10 volt 3 Read Value 0 00 V 4 Refresh 5 Exit Enter Selection Figure 3 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 V Channel Inp
41. he specific help documentation available in the OpenPCS programming tool Function Block name Description Convert the 4 bytes of the input parameters as the flattened ASCONLFLATTEN TO REAL 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 from 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 CTU Counter Up pulses CTUD Counter Up Down pulses ENABLE MODBUS TCP SERVER Set and activate the MBTCP IP Server agent 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 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
42. in the marker area 14 Note Publishing VO configura tion data Battery and Retain Memory status Chapter 3 CPU setup In particular the range of registers available as retentive are Modbus Slave 1 MW1128 0 MW9320 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 3 10 Percentage retentive areas In the boot up configuration session by a specific dedicated menu it is possibile to define the number of registers for each areas to be used as retentive From the main menu select CPU setup gt Retain Config From the Retain Config menu it is possible to specify the split point between the retentive and the standard memory location In case the ENTIRE memory will be defined as retentive the cycle time of the application will be increased of around 12 ms In case of a Cold start 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 v
43. ion Code Active compensation 0 No Channel Input Type 1 Yes Read Value Input value read Refresh Refresh command to update the Read Value item Set the power rejection filter Possible values are requency Rejection Code ia uiti frequency Zz 60 Hz Calibration potentiometer Exit Return to previous menu Potentiometer Calibration Menu Note Please note that for both optional universal input channels the setup menu is the same as described here 3 2 14 Local Al Universal Pot Cal Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL Al UNIVERSAL POT CAL MENU Channel 0 Action Press Refresh 1 Exec 2 Refresh 4 Exit Enter Selection Figure 3 21 Local Al Universal Pot Cal Menu Due to the fact that the potentiometer input must be calibrated in the field the necessary operations are performed using this menu The following steps are required 1 Enter in the menu of the channel where the potentiometer is connected see Setup the Selected Al Universal Channel on page 21 2 Select Channel Input Type as Potentiometer value 15 3 Enter in Calibration Potentiometer menu using the item 8 4 Set a Refresh command using the item 2 The system will answer with Ready for cal h 22 Chapter 3 CPU setup 5 Move the potentiometer to the Hi Value
44. ion Block HOLD VALUE Sample amp Hold Function Block INBETWEEN Middle Selector Function Block LIMITER VALUE MIN MAX SELECTOR Limiter Function Block Min Max Selector Function Block MONOSTABLE DS Monostable with Delay 47 Sigma 8 2 microPAC MP 02 User manual Function Block name Description MONOSTABLE NED Monostable with Delay on the Negative Edge MONOSTABLE_PED MONOSTABLE_PUL Monostable with Delay on the Positive Edge Monostable Pulse Generator 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 SLOPE_LIMIT Power Fail Condition Monitor Slope Limiter TIMER_ADV Advanced countdown timer function block TOTALIZER Totalizer Function Block TOTALIZER_AVD Advanced Totalizer Function Block 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 AI_COND_ADV Advanced conditioning of an AI value AI_COND_STD ALARM_ABS Standard conditioning of an AI value Absolute Alarm Function Block ALARM_ADVANCED General Alarm Function B
45. it Accuracy 1 800V channels power supply 800V channels logic components Analogue Output 1 4 note 2 Configurable 10V 20mA Resolution 13 bit Isolation Notes 1 All the available input types are listed at Setup the Selected Al High Level Channel on page 20 and Setup the Selected Al Universal Channel on page 21 2 All the available output types are listed at Local AO Ch Setup Menu on page 24 54 Appendix A Communication Ports Configuration The MP 02 system unit has 3 different communication ports see Figure 1 2 Control Unit VO and Communication Ports for details XO Port used to configure the Basic Unit and for Modbus communications It can be set through external microswitches either as RS232 or as RS485 X1 This port is an RS485 dedicated to Modbus communications LAN Ethernet port TCP IP used to configure program debug commission and for Modbus TCP data exchange A 1 Configuring the optional serial communications ports The 2 serial ports are optional and can be configured through 8 selectors located between the two connectors Figure A 1 Position of the serial port configuration microswitches 55 Sigma microPAC MP 02 User manual A 1 1 e A Configuring the X0 Port The XO Service Port can be used to configure the CPU ad its devices using a VT100 terminal The RJ45 RS232 485 Service Port connector is loc
46. iting 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 specified program 27 Sigma 4 2 microPAC MP 02 User manual I O Watch Window Examples Ascon Tecnologic S r l SigmaPAC micro Control Unit MP 02 Device configuration I O WATCH 12345678 AI HIGH LEVEL DI 00000000 CH1 2 50 V 1 DO 00000000 CH2 2 50 V CH3 2 50 V 2 AO CH1 Volt 0 00 CHA 2 50 V 3 AO CH2 Volt 0 00 CH5 2 50 V 4 AO CH3 Volt 0 00 CH6 2 50 V 5 AO CH4 Volt 0 00 CH7 0 00 Vv CH8 0 00 v AI UNIVERSAL CH Not Present pao 31 4 Celsius CH2 Not Present T2 34 0 Celsius 6 Expansion 1 Watch Window Ha Expansion 1 Watch Window 8 Autorefresh 0 5 1 Enter selection Figure 4 2 I O Watch Window Using the O Watch Window the user can e Read the analogue inputs in engineering format e Read the digital inputs in binary format e Set the analogue output values in percentage 0 100 e Set the digital outputs in binary format e Read the temperture values from the connectors used for the cold junction compensation in case of TC input and from the internal board internal use only 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 ad
47. justed using the following table Value Refresh rate 0 No refresh static mask 1 5 Time between 2 refresh sessions 1 5 seconds To set an output value the user must select the output number 1 for the digital 2 5 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 DO 1 DO 2 DO3 DO 4 DO5 DO 6 DO7 DO8 Desired value 0 0 1 0 0 0 1 1 Enter selection 1 Insert new value 0010001 1 Analogue Output Channels Chi Output Type 0 10V Desired value 7 00 V Enter selection 2 Insert new value 70 00 Ch2 Output Type 4 20 mA Desired value 12mA Enter selection 3 Insert new value 50 00 28 Chapter 5 Programming the CPU 5 1 Installing OpenPCS 5 1 1 5 1 2 Note 5 1 3 Hardware and Software Requirements OpenPCS requires a PC with at least Pentium Il 1GHz 512 MB RAM 16 GB of free disk space CD ROM and 1024 768 resolution Windows 2003 Windows XP SPII or Windows Vista 32bit Installation OpenPCS is provided on CD ROM 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 631e exe file available
48. k allows the connection of 6 Analogue Inputs 2 optional Ana logue Inputs and 4 Analogue Outputs The terminals are positioned as follows Pin Label Function Signal Analogue input mA V Analogue input mA V Analogue ouput mA V 1 6 6configurable analogue linear input plus poles These inputs can be configured as mA or V The minus poles are on connector F 7 10 A B 2 optional universal high level analogue linear inputs No 7 8 See the MP 02 Installation Manual for details The number 0 2 and type of input can be identified with the order code The other terminals of these 2 inputs are on connector F 11 14 4 optional analogue output plus poles The number of output O 4 is specified in the order code the type of output is set during the CPU setup phase see the MP 02 Installation Manual for details The minus poles are on connector P 2 2 5 Connector F connections The connector labelled F has 14 terminals Function Univ Al2 Signal Analogue input mA V Analogue input mA V Analogue ouput xmA V 1 6 6 configurable analogue linear input minus poles 7 10 P b 2 optional universal high level analogue linear inputs No 7 8 see the MP 02 Installation Manual for details 11 14 4 optional analogue output minus pole
49. l High Level or Universal Input 8 configuration information MB20 0 1 BYTE MB21 0 1 BYTE 42 Chapter 7 CPU I O data Possible Values High Level Type Universal Type 0 1V 15 15 mV 1 1V 35 35 MV 0 5V 50 50 mV 5 5 V 100 100 mV 1 5V 300 300 mV 0 10V 1 25 41 25 V 10 10 V TC J 0 20 mA TCK 4 20 mA TCL 20 20 mA TC N TCR TC S TCT Pt 100 Pt 1000 Potentiometer 0 1 2 3 4 5 6 7 8 Engineering Units in case of Universal Type Inputs Address Size buko MB22 0 BYTE Analog Input 7 Engineering Units Input_7 Engineering Units MB23 0 BYTE a Uis Input 8 Engineering Units Possible Values Address Si Format MB16 0 Optional Analogue Output 1 configuration information MB17 0 Optional Analogue Output 2 configuration information MB18 0 Optional Analogue Output 3 configuration information MB19 0 Optional Analogue Output 4 configuration information Possible Values 10 10 V 20 20 mA O 10 V O 20 mA 4 20 mA 43 Sigma 7 4 microPAC MP 02 User manual Complete Memory Map 7 4 1 Input Memory Areas Size byte Address 1100 0 Format WORD Data Digital Inputs 1112 0 1116 0 REAL Al High Level CH1 Al High Level CH2 DN a D m gt E 1120 0
50. lly Chapter 2 Installation 2 1 Mechanical installation 2 1 1 The sigmadue microPAC MP 02 Unit and the additional external expansion I O units are designed to be installed on standard DIN rails As the MP 02 has only one expansion connector it must be installed at the left end of the chain Up to two additional external expansion I O units can be connected in chain to the MP 02 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 MP 02 Installation Manual 9 2 2 Electrical installation 2 2 1 RS232 485 Serial Service ModBus Port RS485 Modbus Port LAN Ethernet 10baseT Refer to Figure 1 2 Control Unit VO and Communication Ports and MP 02 Installation Manual 9 for details Connect the communication cables X0 connector The connector X0 on the MP 02 unit is an RJ45 type with the following pinout X1 connector The connector X1 on the MP 02 unit is an RJ45 type with the following pinout Pin 1 2 3 4 5 6 7 8 Signal D RS485 D RS485 GND RS485 NC NC NG NC NC LAN connector The connector on the CPU module is an RJ45 type with the following pinout Sigma microPAC MP 02 User manual 2 2 2 Connector A connections The A terminal block allows the connection of the 24V Power Supply Run Stop 4 Digital Inputs and 4 Digital Outputs Signals
51. lock 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 MP_RTD_LIN RTD Linear rescaling for microPAC ONLY ZrO2_PROBE Carbon Potential calculation ZrO2 PROBE CLN Carbon potential probe cleaning management 48 8 3 Chapter 8 Ascon Function Blocks Libraries 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 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 Respo
52. memory map is reserved for all the four channels and the numerical format used is the 32 bit floating point for the active channels the user has to write the percentage value of the selected scale Address Size byte Format Data Q112 0 4 REAL AO CH1 Q116 0 4 REAL AO CH2 Q120 0 4 REAL AO CH3 Q124 0 4 REAL AO CH4 Expansion Unit Expansion Units I O Diagnostic Status For each expansion unit the indication of the state of the module is available As described in paragraph 7 1 3 I O Diagnostic Status on page 38 the possible values for the indication state are Status Value Description 0 The value is in the range of the signal 4 Channel not configured 8 No valid measure available Please note that values 1 and 2 are meaningless for digital modules Address Size byte Format Data Expansion Unit 1 Type O M le SIN type 1 DM16TS 2 DM32TS Expansion Unit 2 Type O espe He UST type 1 DM16TS 2 DM32TS 1240 0 1 USINT Expansion Unit 1 Status 1241 0 1 USINT Expansion Unit 2 Status Expansion Units Digital Inputs Status In the memory map of the device space is reserved a for all the expansion units available at the moment MP D1 08 08 and MP D1 16 16 and for all the possible positions Pos1 and Pos2 Address Size byte Format Data 1242 0 1 WORD MP D1 08 08 Pos1 Inputs 1243 0 1 WORD MP D1 08 08 Po
53. n The RS232 cable must be shorter than 15 m 56 Appendix A Communication Ports Configuration A 2 Connect the Setup Terminal At start up the system starts a configuration session to perform the setup of the system module and configure the system I O Setup data can inserted using two different instruments e A Personal Computer using a Telnet session connected to the Ethernet port of the Base Unit LAN connector e A VT100 terminal or a Personal Computer with Hyper Terminal program and connected to the optional RS232 port of the Base Unit XO connector A 2 1 Telnet Communications Connection In order to connect the Basic Unit to a Personal Computer using the Ethernet port there are two possibilities 1 Through a Switch or a HUB MP gt HUB Switch gt PC Connect to the LAN 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 MP 01 side HUB Switch side RJ45 male connector RJ45 male connector Upper view Front view N OD RU DN 2 Directly to the Personal Computer Connect to the LAN connector crossed LAN cable to connect the Basic Unit directly to the PC PC side MP 01 side RJ45 male connector RJ45 male connector Upper view Front view N ORU OD NO Once the PC is connected to the basic unit start the Telnet program in order to communicate with the MP
54. n installation of the OpenPCS programming tool and all the function blocks present in the firmware of the MP 02 device are listed For each library the complete list of the function blocks with a little description is also indicated For more details please refer to the specific documentation for the tool in question 8 1 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 Tecnologic 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 Moving Average calculation AVG MOVING 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 Funct
55. nels 15 Sigma microPAC MP 02 User manual Using the conversion tables that follow is possible to find the configuration type of the analogue I Os 6 High 2 optional 2 optional 4 optional Level Inputs High Level Inputs Universal Inputs Analogue Outputs MB10 0 MB15 0 XMB20 0 Yo MB21 0 MB20 0 Yo MB21 0 MB16 0 Yo MB19 0 15 15 mV 10 10V 35 35 mV 20 20 mA 50 50 mV O 10 V 100 100 mV 0 20 MA 300 300 mV 4 20 mA 1 25 1 25 V 10 10V TC J 0 20 mA TCK 4 20 MA TCL 20 20 mA TCN TCR TCS TCT Pt 100 Pt 1000 3 2 9 Potentiometer When the analogue outputs or the optional expansion modules are not installed at the correspondig missed channel is possible to read OxFF 255 WARNING At each warm cold start the I O configuration codes are loaded written in the marker percentage memory If the same marker percentage memory areas are used to store user application data pay extreme attention to the fact that at each warm cold start these memories are written with the I O configuration codes causing the destruction of the application data Modbus TCP IP Setup Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration MODBUS TCP IP SETUP 1 Messages per cycle 10 2 Broken connection timeout s 10 3 Secure Address Setup 4 Priorit
56. nse 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 S2 HCMV Tuning with Step Response Algorithm for Heat and Cool Loops AutoMan station for output manual value direct access for 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 49 Sigma 8 4 microPAC MP 02 User manual AT Communications Lib The AT Communications Lib allows a simplified access to the communication functions of MP 02 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 MPOx MP Ox Serial Comm Ports Management MB MST SYNC Modbus Master Synchronization of operations
57. nt 32 bit format Addr Size byte Format Data 1112 0 4 REAL Al High Level CH1 1116 0 4 REAL Al High Level CH2 37 Sigma microPAC MP 02 User manual 7 1 3 Addr Size byte Format Data 1120 0 4 REAL Al High Level CH3 1124 0 4 REAL Al High Level CH4 1128 0 4 REAL Al High Level CH5 1132 0 4 REAL Al High Level CH6 Analogue Inputs 7 and 8 are optional and the possible configurations are No Input High Level Universal Space reserved for all the possible Input types in the map memory of the device In the map memory of the device it is reserved space for all the possible input types For the Universal Input type the low level measure is also present before the internal linearization that could be mV in case of thermocouple or Ohm in case of thermoresistor If the selected input type is linear the two values are the same Addr Size byte Format Data 1136 0 4 REAL Al High Level CH7 961140 0 4 REAL Al High Level CH8 961152 0 4 REAL Al Universal CH7 961156 0 4 REAL Al Universal CH8 961160 0 4 REAL Al Universal CH7 mV 961164 0 4 REAL Al Universal CH8 mV Caution Please check the MP 02 order code to verify the options present on your device I O Diagnostic Status For each analogue channel Input and Output the MP 02 unit provides an indica tion about the status of the channel even if this is not present because
58. oMemForPersist 9003 kLzsHistNoFreeEntry 1105 kLzsMemAccessAlignErr 9004 kLzsHistlnvalidlD 1106 kLzsWatchdogReset 9005 The 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 35 Sigma microPAC MP 02 User manual 36 A 7 1 7 1 1 7 1 2 Chapter 7 CPU I O Data The sigmadue microPAC MP 02 unit has several onboard I O points that can be easily accessed by the memory map area The memory area is divided into different sections Digital Input Status Analogue Input Value I O Diagnostic Status Onboard Temperature Values Digital Counters Digital Output Status Analogue Output Value Expansion Units I O Diagnostic Status Expansion Units Digital Input Status Expansion Units Digital Output Status Central Unit Expansion Unit Caution Please check the MP 02 order code to verify the available options on your device Central Unit Data Digital Inputs Data Addr 1100 0 1 Size byte Format WORD Data Digital Inputs Analogue Input Value The first 6 High Level Analogue Inputs are always present on the device The inputs configuration is performed using the CPU Setup Menu see Chapter 3 for details The value present in the memory map is expressed in engineering format V or mA using the floating poi
59. penPCS development system to the Ascon Tecnologic target a new connection must be defined 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 name the new connection By pushing the Select button you can pick the driver that manages the communication with the target for Ascon Tecnologic CPU is TCP52 Figure 5 2 OpenPCS Connection Setup 30 Setup Communication Timeout Chapter 5 Programming the CPU Now click Settings button to set the communication parameters Figure 5 3 TCP Settings The Port number and IP address must be the same as those configured at the initial CPU configuration session See the Ethernet setup menu items 7 and 2 OpenPCS environment is now ready to communicate with the Ascon Tecnologic target 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 specifico lito Aso Thai T Erai ciad VO ewhade kim iai a Drit S T ntm Cigranaz atari Do x Figure 5 4 OpenPCS resource Specifications The code Optimization menu allows for three choices of compilation Normal and Speed only refers to the NCC N
60. s Sigma microPAC MP 02 User manual Chapter 3 CPU setup At start up a configuration session is started to setup the system module and configure the system I Os Setup data can be inserted using a VT100 terminal or a Personal Computer with a Hyper Terminal program or a Telnet client 3 1 Connect the Setup Terminal There are 2 ports available on the CPU to enter the configuration session the XO port for the serial RS232 connection or the LAN port for the ethernet connection Depending on the setup method used the user must e Set the XO or the LAN port consult the MP 02 Installation Manual 9 for details e Provide the proper connection cable e Set the correct communications parameters e Run the communications program Caution A Appendix A describes connection and the setup details of the ports connection and configuration of the communication ports Once the setup terminal VT100 or PC is correctly connected to the MP 02 basic unit the user can start the configuration session In Appendix C is inserted the tree structure of the setup menus Sigma microPAC MP 02 User manual 3 1 1 Accessing the Main Menu Starting the Setup Session To start the setup 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 timeo
61. s2 Inputs 1244 0 1 WORD MP D1 16 16 Pos1 Inputs 1 8 1245 0 1 WORD MP D1 16 16 Pos1 Inputs 9 16 1246 0 1 WORD MP D1 16 16 Pos2 Inputs 1 8 1247 0 1 WORD MP D1 16 16 Pos2 Inputs 9 16 40 Chapter 7 CPU I O data 7 2 3 Expansion Units Digital Output Status In the memory map of the device a space is reserved for all the expansion units available at the moment MP D1 08 08 and MP D1 16 16 and for all the possible positions Pos1 and Pos2 Address Size byte Format Data Q130 0 1 WORD MP D1 08 08 Pos1 Outputs Q131 0 1 WORD MP D1 08 08 Pos2 Outputs Q132 0 1 WORD MP D1 16 16 Pos1 Outputs 1 8 Q133 0 1 WORD MP D1 16 16 Pos1 Outputs 9 16 Q134 0 1 WORD MP D1 16 16 Pos2 Outputs 1 8 Q135 0 1 WORD MP D1 16 16 Pos2 Outputs 9 16 7 3 Battery and Retentive Memory Status I O Configuration Information 7 3 1 Battery and Retentive Memory Status Size 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 Production Code 0 Corrupted 1 OK 7 3 2 Production Code Management Variables Model Code Size Bytes Data type M100 0 Model Code Character_1 M107 0 Model Code Character_8 Field Code Size Bytes Data type M108 0 Field Code A Al PRECONFIG M110 0 Field Code B RESERVED M112 0 Fiel
62. t Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration I O SETUP MENU Local High Level AI Optional High Level AI Yes Optional Universal AI No Local AO CH1 amp CH2 Yes Local AO CH3 amp CH4 Yes Expansion 1 No Expansion 2 No Temperature Enter Selection Figure 3 14 O Setup Menu Local High Level Al High Level Analogue Inputs Configuration Optional High Level Al Optional High Level Analogue Inputs Configuration If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No note Optional Universal Optional Universal Analogue Inputs Configuration If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No note Local AO CH1 amp CH2 Analogue Outputs 1 and 2 Configuration If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No Local AO CH3 amp CHA Analogue Outputs 3 and 4 Configuration If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No Expansion 1 First Expansion Unit Configuration If this option is present the CPU inserts automatically the tag Yes Otherwise the tag used is No Expansion 2 Temperature Second Expansion Unit Configuration If this option is present the CPU inserts automatically t
63. tal Inp ts Data Srei gine nga iar le Va ed aere er 7 1 2 Analogue Input Value ee 7 1 3 KO Diagnostic Salus kasdo etim OS elise aid 7 1 4 Onboard Temperature Values LL 7 1 5 Digital COURIBIS 5 254 66 S bua o Re i MESI VS 7 1 6 Digital Outputs Status 206 8 ume ma ERAT Kala aea ee 7 1 7 Analogue Output Value 0000 eee 2 Expansion Ul oserei a oie ea Re REN wr i E au coro DDR 7 2 1 Expansion Units I O Diagnostic Status 7 2 2 Expansion Units Digital Inputs Status 7 2 3 Expansion Units Digital Output Status 7 3 Battery and Retentive Memory Status I O Configuration Information 7 3 1 Battery and Retentive Memory Status 7 3 2 Production Code Management Variables 7 3 3 I O Configuration Information 7 4 Complete Memory Map _ c cece eee eens 7 4 1 Input Memory Areas eee 7 4 2 Output Memory Areas 0h aa ees 7 4 3 Marker Memory Areas Chapter 8 Ascon Tecnologic Function Blocks Libraries 8 1 AT Generic Advanced Lib e 8 2 AT Process Generic LID 3na sama aaa ine 8 3 AT Process Control Lib soit a pete e o e li aloe ence 8 4 AT Communications LID iii a hee es 8 5 Firmware Function Blocks List eee CPU Diagnostic Tests continued 27 27 28 Index continued Chapter 9 Technical dala
64. 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 module 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 Modbus TC IP Priority ADDRS Table Menu Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration MODBUS TCP PRIORITY ADDRESSES TABLE MENU 0 Insert New Address 192 168 0 12 al 2 3 4 192 168 0 75 5 192 168 0 123 6 a 8 9 al 0 31 Exit Enter Selection Figure 3 13 Modbus TCP IP Secure Address Table Menu The insertion rules are the same as described for the Security address poor Addresses inserted in the Priority connection pool are managed by the system in a specific way The Modbus TCP IP server agent can maintain up to 10 TCP connec tions at the same time When a new connection request is made and all available connections are utilized the system will close one of the present active connections to satisfy the new request Addresses not belonging to the Priority connection poor will be closed firs followed by those which have been inactive longest 17 Sigma microPAC MP 02 User manual 3 2 12 I O Setup Menu Note QUAUDAWNH Exi
65. tion Figure 3 20 Optional Local Al Universal Setup Menu Chosen Analogue Input Channel Note Installed Yes If the Universal Analogue Inputs Option is present Channel Input Type Analogue Input Type Possible values Value Type LO range HI range 0 15 15 mV 1 35 35 mV 2 50 50 mV 3 100 100 mV 4 300 300 mV 5 1 25 41 25 V 6 Thermocouple J 210 C 346 F 63K 1200 C 2192 F 1473K 7 Thermocouple K 200 C 328 F 73K 1372 C 2501 F 1645K 8 Thermocouple L 200 C 328 F 73K 600 C 1112 F 873K 9 Thermocouple N 0 C 32 F 273K 1300 C 2372 F 1573K 10 Thermocouple R 0 C 32 F 273K 1600 C 2912 F 1873K 11 Thermocouple S 0 C 32 F 273K 1760 C 3200 F 2033K 12 Thermocouple T 200 C 328 F 73K 400 C 752 F 673K 21 Sigma microPAC MP 02 User manual 13 Thermoresistance PT100 200 C 328 F 73K 1372 C 2501 F 1645K 14 Thermoresistance PT1000 200 C 328 F 73K 850 C 1562 F 1123K 15 Potentiometer 0 00 100 00 In case of temperature measurement this item allows the user to select the desired measurement unit Possible values are Temperature Value Unit Unit 0 C K F In case of Thermocouple measurement this item allows the user to activate or deactivate the internal cold junction compensation Cold Junction Possible values are Compensat
66. ual 1 1 3 Diagnostic LEDs Referring to Figure 1 2 Control Unit VO and Communication Ports a description of the LEDs functions is given in the table below Yellow Action note 1 ON Description RS input active RUN program Red Flickering 10Hz Checksum error in RETAIN data Single flash Double flash CRC error in the configuration file reset to default Problem during file system mount Triple flash Checksum VAR RETAIN error NOTE 2 RUN Green ON 1131 program running OFF 1131 program stopped or not present PWR Green ON Power Supply present BAT Yellow ON Backup battery low Table 1 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 some M variable has been defined as RETAIN see Retain Config Menu on page 14 the system needs to reboot in order to create the dedicated files The error indication will disappear automatica
67. used to emphasize critical instructions 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 Sigma microPAC MP 02 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 manual revisions when published and can be found online at http www ascontecnologic com vi Chapter 1 Hardware description The system described in this User Manual is mainly composed of three main components e Ascon Tecnologic sigmadue microPAC MP 02 with 6 2 optional analogue inputs up to 4 analogue outputs 8 digital inputs and 8 digital outputs ready to work with OpenPCS EN61131 3 compliant programming system e Ascon Tecnologic sigmadue microPAC I O modules e Infoteam OpenPCS EN61131 3 compliant programming system microPAC MP 02 is a powerful processing device based on an ARM RISC processor utilizing different types of memory some onboard I O
68. ut the system ends the configuration session and starts the PLC application In this chapter some templates of a configuration session are shown After the reception of the first CR character the welcome screen appears as follows CCCCCC 000000 NNNNNNNNNNNNN AAA sss CCCCCCCCCCCC 0000000000 NNNNNNNNNNNNNN AAA SSS cccc ccc 000 000 NNN NNN AAA SSSS CCCC 000 OOONNN NNN A AAA ssss CCC 000 OOONNN NNN AAA AAA SSSS ccc 000 OOONNN NNN AAA AAA ssss ccc 000 OOONNN NNN AAA AAA ssssccc ccooo OOONNN NNN AAA AAA ssccc Cccooo OOONNN NNN AAA AAA sssccc cccc 000 000 NNN NNN AAAAAAAAAAAASSSSSSSSSSSS CCCCCCCCCCC 0000000000 NNN NNN AAAAAAAAASSSSSSSSSSSS CCCCCCC 000000 NNN Press Enter to Continue Press ENTER again to reach the configuration session Main Menu Please note that the system has a further timeout that controls the duration of the configuration session 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 ended automatically and the PLC application will be started Both the described timeouts can be set during the configuration The user should not set too short timeouts affecting the possibility to work with the configuration console 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 3 2 CPU Main Menu Ascon Tecnologic S r l Sigma microPAC
69. ut Type 5 V th V 10 V 220 mA 120 mA Read Value Input value read Refresh Refresh command to update the Read Value item Exit Return to previous menu Note Please note that for all 6 high level input channels the setup menu is the same as described here 19 Sigma microPAC MP 02 User manual Optional Local AI High Level Menu Select an Optional Local Al HL Channel Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL Al HL OPTIONAL MENU 1 CH7 2 CH8 3 Enable 0 1 Yes 4 Exit Enter Selection Figure 3 17 Optional Local Al HL Selection Menu Analogue Input Channel 7 Configuration Analogue Input Channel 8 Configuration YES if the High Level Analogue Inputs Option is present Return to previous menu Setup the Selected Al High Level Channel Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration LOCAL AI HL OPTIONAL CH MENU CH NUMBER 7 1 Installed Y 2 Channel Input Type 0 9 9 20 20 mA 3 Read Value 0 00 mA 4 Refresh 5 Exit Enter Selection Figure 3 18 Optional Local Al HL Setup Menu CH Number Chosen Analogue Input Channel Note Installed Yes If the High Level Analogue Inputs Option is present Analogue Input Type Possible values Value Type 0 1 V 1 1 V 0 5 V
70. will be possible to change the baudrate stop bit and parity see Serial Setup Menu on page 12 for details When the communications parameters of the system are changed the communications parameters of the terminal or PC must be changed accordingly The setup is performed by browsing the menus sent to the VT100 terminal or to the terminal emulation program HyperTerminal by the system 58 Appendix A Communication Ports Configuration A 3 Configuring the Modbus Connections A 3 1 Configuring the X1 Modbus Port The X1 Port can be used for Modbus communications The RJ45 RS485 Modbus Port connector is located in the upper side on the left of the CPU Looking at the hole of the plug the 8 contacts are arranged as illustrated in the drawing The signals present at the RJ45 connector of the Service Port are 1 D RS485 12345678 2 D RS485 3 GND RS485 4 NC x 5 NC Female RJ45 6 NC n RS485 Modbus 7 NC Front side port connector 8 NC of the CPU Some parameters of the Modbus Port can be configured using selectors 1 3 of the microswitch block Please note that the ON OFF position of the microswitches is pointed out by an arrow printed on the selectors block The following table describes the possible options Selector Termination resistance ON OFF 1102 default disabled OFF Line polarization Pull Down ON OFF default disabled OFF Line pol
71. y Address Setup 5 Exit Enter Selection L Figure 3 11 Modbus TCP IP Setup Menu Number of processed messages per cycle Valid values from 1 50 Messages per Cycle Broken Connection Inactivity Timeout of a TCP IP connection Timeout Valid values from 10 5400 s 16 Chapter 3 CPU setup Secure Address Setup Secure Address Setup Menu Priority Address Setup Priority Address Setup Menu Exit Return to previous menu To verify the connection state 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 zeroed 2 In the event that the programmed timeout is reached a probe message is sent in order to verify if the connection is still active 3 If an answer to the probe is received then the timeout is zeroed 4 no answer is received the probe will be sent again three times every 10 s 5 After the fourth probe has received no answer the connection will be closed 3 2 10 Modbus TC IP Secure Address Table Menu 3 2 11 Ascon Tecnologic S r l Sigma microPAC Control Unit MP 02 Device configuration MODBUS TCP SECURE ADDRESSES TABLE MENU 0 Insert New Address 192 168 0 10 192 168 0 25 192 168 0 100 1 2 3 4 5 6 7 8 9 iu 0 31 Exit Enter Selection Figure 3 12 Modbus TCP IP Secure Address Table Menu When
72. ystem clock RTC_GET_VALUES Read the system clock Reset dominant Flip Flop 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 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 SERIAL IO WRITE BYTE ASCII serial port Byte writing Delay OFF timer Delay ON timer Time pulse generator WATCHDOG SET Configure the system watchdog WATCHDOG STATUS Checking the status of the system watchdog 52 9 1 9 2 Chapter 9 Technical data General and environmental characteristics Features Description Power supply 24Vdc 15 25 Micro power interruption immunity lt 1 ms repeated 20 times see CE directives Reverse polarity protection Yes Power consumption 10W 5W with I O modules Operating temperature 0 55 C Storage temperature 40 70 C Relative Humidity 5 95 non condensing Protection degree IP20 Mounting DIN rail Vibrations resistance on 3 axis 10 57Hz 0 0375mm 57 150Hz 0 5g Shock resistance 159 Dimensions L 156mm H 110mm W 65mm Weight 450g Isolation resistance Isolation class II 50Vrms EN61010 1 Safety Compliance to
Download Pdf Manuals
Related Search
Related Contents
Samsung 400TSN GUIDE BANQUE EN LIGNE V4 - Crédit Agricole Normandie MUI1400770005-01 - Finestra multilingue F26A3.indd Tru-per A61526_Quick Tips_es.fm FORE-SIGHT ® MC-2000 Series Cerebral Oximeter User Manual AgfaPhoto AF 50882MS P - オムロン PRODUCCIÓN DE ALMÁCIGOS DE CAFÉ EN EL Copyright © All rights reserved.
Failed to retrieve file