Page 1
Control Unit CU-02 User Manual M.U. CPU-CB/CU-02-5/14.04 Cod. J30 - 478 - 1A CU02 E...
Page 2
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.
Page 5
Prerequisites The products described in this manual should be installed, operated and maintained only by qualified application programmers and software engineers who are almost 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.
Page 6
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...
Hardware description The system described in this User Manual is mainly composed of three components: • Ascon sigmadue series CPU (CU-02), ready to work with OpenPCS EN 61131-3 compliant programming system; • Ascon sigmadue I/O-CB remote I/O series of modules;...
Sigmadue - sigmaPAC CU-02 - User manual Architecture From the programmer’s point of view, a complete system is made up as in “Figure 1.1 - Programming the sigmadue Control Unit” below: Configuration station RS232/USB Service port Programming station Ethernet 10 Mbit base T...
Chapter 1 - Hardware Description 1-1-2 Auxiliary digital I/O General Purpose Digital Input or RUN/STOP program functionality ALARM General Fault Relay Output (IEC 61131 Watch Dog function); WAKE UP Isolated General Purpose Digital Output (can be used, in conjunction with the Real Time Clock, for unattended applications). Serial Connector (X1): RS232 or USB CAN Connector (X0): CANopen Diagnostics LEDs...
Page 10
Sigmadue - sigmaPAC CU-02 - User manual 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 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)
Installing modules and Removing modules A complete description on how the modules can be mounted on or removed from a DIN Rail can be found in the “Control Unit CU-02 Installation Manual” [6]. Electrical installation Refer to: “Figure 1.2 -Control Unit I/O and Communication Ports” “Control Unit CU-02 Installation Manual”...
Sigmadue - sigmaPAC CU-02 - User manual 2-2-2 Connector “A” connections Power supply Use the 6 poles on the right of the “A” connector and respect the polarity. Each of these terminals is doubled in order to allow the user to power, using an additional terminal block, other devices or sensors.
X0 port for the serial RS232 connection or the LAN port for the ethernet connection. Depending on the setup method used, the user must: • Set the X0 or the LAN port (consult the “CU-02 Installation Manual” [9] for details);...
Sigmadue - sigmaPAC CU-02 - User manual 3-1-2 USB Serial Communications Connection Installing In order to connect a Personal Computer using the USB (optional) connection, install the cable an USB standard cable having an USB type “B” connector (CPU side) and an USB type “A”...
CCCCCCCCCCC OOOOOOOOOO AAAAAAAAASSSSSSSSSSSS CCCCCCC OOOOOO Press Enter to Continue_ Press ENTER again to reach the configuration session Main Menu. Main Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration MAIN MENU 1. Network Setup 2. Cpu Setup 3. Modbus TCP/IP Setup 4.
Sigmadue - sigmaPAC CU-02 - User manual Main Menu As in Figure 3.1 - CPU configuration Main Menu, the Main menu has four sub menu selections: Network Setup: To set the parameters of all the communication ports in the CPU;...
Chapter 3 - CPU Setup 3-2-3 CAN Setup Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration CAN SETUP MENU 1. CAN Baudrate (0..2; 4..8): 1 (20kBps) 2. CAN Node-ID: 32 3. Diagnostics (0..1): (1) Node Guarding 4. Enable Sync (0..1): DISABLED 5.
Sigmadue - sigmaPAC CU-02 - User manual 3-2-4 CPU Info Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration CPU INFO Version: Version: OEM-ID: 536 Virtual Machine: 5.3-2 PLC-Status: 0 Exit Enter Selection: Figure 3.5 - CPU Info HW version: Revision of the CPU Hadrware;...
Port, select item 7 and enter the desired value. WARNING Please note that items 2, 4 and 5 MUST have the same subnet in order to avoid communications problems. 3-2-6 Serial Setup Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration SERIAL SETUP MENU Baudrate: (9600bps) Parity: PARITY)
Sigmadue - sigmaPAC CU-02 - User manual 3-2-7 CPU Setup Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration CPU SETUP MENU Startup Timeout Setup Persistency Setup Clock Setup Exit Enter Selection: Figure 3.8 - CPU Setup Menu Startup Timeout Setup: To set the startup timeouts;...
Chapter 3 - CPU Setup 3-2-9 Persistency Setup Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration PERSISTENCY SETUP Erase Program Program Persistency (0..1): ENABLED Control Program Exec (0..1): DISABLED Exit Enter Selection: Figure 3.10 - Pesistency Setup Menu The CPU is able to save a PLC program in persistent memory. This means that, when PLC Program Persistency is ENABLED, the program will be automatically loaded and executed at start-up.
Sigmadue - sigmaPAC CU-02 - User manual 3-2-10 CLOCK Setup Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration CLOCK SETUP MENU 1. Day of the Month: 1 2. Month: 4 3. Year: 5 4. Day of the Week: 5 5.
Page 23
Chapter 3 - CPU Setup 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” -> “Retain Config”. From the “Retain Config”...
Sigmadue - sigmaPAC CU-02 - User manual 3-2-12 Modbus TCP/IP Setup Selecting item 3 on the Main Menu you will arrive at the following menu: Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration MODBUS TCP/IP SETUP 1. Messages per cycle: 10 2.
Chapter 3 - CPU Setup 3-2-13 Modbus TC/IP Secure ADDRS Table Menu Ascon S.p.a. SigmaPAC Control Unit CU-02 Device configuration MODBUS TCP SECURE ADDRRESSES TABLE MENU Insert Address 192.168.0.10 192.168.0.25 192.168.0.100 Exit Enter Selection: Figure 3.15 - Modbus TCP/IP Secure Address Table Menu By this menu, in the case the security functions are enabled, the addresses that the Modbus TCP/IP Server can access are set out.
Page 26
Sigmadue - sigmaPAC CU-02 - User manual...
Chapter 4 Programming the CPU Installing OpenPCS 4-1-1 Hardware and Software Requirements OpenPCS requires a PC with at least: - Pentium II, 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. 4-1-2 Installation OpenPCS is provided on CD-ROM.
Sigmadue - sigmaPAC CU-02 - User manual 4-1-4 Configuring OpenPCS In order to work with the Ascon CPU target, you must install in OpenPCS a cab file. The file Ascon_sigmadue_zzzz.cab contains all the files describing Ascon sigmadue Hardware, drivers, examples and utilities (zzzz are digits to identify the year of the software release).
Page 29
Chapter 4 - Programming the CPU Now, click “Settings” button to set the communication parameters. Figure 4.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 target.
General purpose digital input %IX0.0 Watchdog Timer Ascon CU-02 CPU contain a watchdog control, controlled by 2 specific FBs. Watchdog is fundamentally a down counter, decremented in 100ms intervals. When the count value reaches zero, two different behaviours of the system may occur, depending on how the configuration is: •...
Chapter 4 - Programming the CPU CANopen Extension for Ascon sigmadue CPU 4-6-1 Introduction sigmadue is a system based on two main concepts: the CANopen technology and the IEC61131 standard languages. The integration of these two different worlds is performed by: •...
Page 32
Sigmadue - sigmaPAC CU-02 - User manual...
CPU TFTP File Access TFTP Protocol Access The CU-02 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.
/fs1/errlog_file that can be downloaded from CU-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...
In this chapter are listed the libraries part of Ascon Tecnologic automation CD and those available in the CU-02 firmware device. For each library the complete list of function blocks with a brief description is also indicated. For more details please refer to the specific documentation.
FB to manage the communications error statuses for digital output modules 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 IEC 61131-3 Function Block Library useful for the IEC 61131 programming (see the “...
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 CU-02 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.
AT_Communications_Lib The AT_Communications_Lib allows a simplified access to the communication IEC 61131-3 Function Block Library functions of CU-02 CPU (see the “ ” [4] manual for details). Follows the complete list of the function blocks available with the library: Function Block name...
Chapter 6 - Ascon Tecnologic Function Blocks Libraries AT_IO_Modules_Adv_Lib The AT_IO_Modules_Adv_Lib provides all the functions to manage the sigmadue series I/O modules. To explicit use of the protocol messages (SDO, PDO, EMCY, I/O Function SYNC, …) please use configuration files such as EDS and DCF (see the “...
Sigmadue - sigmaPAC CU-02 - User manual Function Block name Description Select command for FAST/ENHANCED working mode of the AO_08HL_FAST_ENHANCED module Select I/O channels and transfer discrete Input states: DM_08TS_STD ➨ ➨ module CPU and discrete Outputs: CPU module DM_08TS_PWM_PULSE Manage the generation of “PWM”...
Page 41
Chapter 6 - Ascon Tecnologic Function Blocks Libraries Function Block name Description It returns information on the network status in case it has CANOPEN_NETWORK_STATUS been changed for some reasons It executes the agent able to verify and control the CANOPEN_NET_CONTROL_START...
Page 42
Sigmadue - sigmaPAC CU-02 - User manual Function Block name Description 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...
Page 43
Chapter 6 - Ascon Tecnologic Function Blocks Libraries Function Block name Description Set the node_id and timeout parameters of the MB slave MODBUS_SLAVE_SETTINGS agent MODBUS_SLAVE_STATUS Check the status of the MB agent MS_DATALOG_MNGT Mass Storage datalogging management MS_INFO Mass Storage information...
Page 44
Sigmadue - sigmaPAC CU-02 - User manual...
Need help?
Do you have a question about the CU-02 and is the answer not in the manual?
Questions and answers