Unity Pro Schneider



Requirements

Unity Pro is a unique software platform that increases design productivity and performance of your Modicon M580, M340, Momentum, Premium, and Quantum applications. You can migrate your developed programming to Modicon M580 without rewriting your application. Unity Pro conversion tools provide a smooth transition from legacy PLCs to state-of-the-art. Whatever your need, Schneider Electric has the solution. Contact your local sales representative today to learn how Schneider Electric can improve operational performance and help your business achieve a competitive advantage. Unity Pro software selection guide Proven success, proven solutions Small (S) Medium (M) Large (L) XLarge (XL) (XLS). Schneider Electric assumes no responsibility for any errors that may appear in this document. If you have any suggestions for improvements or amendments or have. Unity Pro supports the 1st type of restart behavior described above. Requirements 19 State RAM Pro. 20 State RAM Concept: Unity Pro: Addresses Concept. 3 Language differences. 33002515.15 www.schneider-electric.com Unity Pro 330025 Unity Pro Concept Application Converter User Manual 10/2014. 2 330025 The information provided in this documentation contains general descriptions and/or technical characteristics of the performance of the products contained herein. This documentation is not.

  • Modbus & OPC Client DA Edition or Ultimate Edition
  • Schneider Unity Pro

Downloads

Schneider unity pro programming manual

This tutorial gives you step-by-step instructions on how to use Schneider Unity Pro SoftPLC to control Factory I/O through Modbus TCP/IP.We will be using Unity Pro simulation mode, which simulates an M340 PLC with a Modbus server.Factory I/O will be running as a Modbus TCP/IP client.

Setting up Factory I/O Modbus TCP/IP Client¶

  1. Download the zip archive (top of this page), extract it and open the project in Schneider Unity Pro.

  2. Start Factory I/O and open the Sorting by Height (Advanced) scene.

  3. Press F4 to open the Driver Window. Note that I/O points are already setup with 17 digital inputs (sensors), 13 digital outputs (actuators) adn 1 input register (number shown by the display: Counter).

    Modbus TCP/IP clients can only write to Coils.Read operations can be performed on Coils or Inputs according to settings chosen in the CONFIGURATION panel.

    In Schneider Unity Pro, both Coils and Inputs are stored in internal Boolean memories (%M) and share the same memory space.We are setting an Offset of 17 to Outputs in order to have the first 17 addresses available for Coils (sensors).Also, in Schneider Unity pro, both Discrete Inputs and Holding Registers are stored in internal Word memories (%MW).

    On this sample, digital input I/O points (sensors) are written to %M0 up to %M16, and digital outputs (actuators) are read from %M17 up to %M29.The discrete output point used by the display (Counter) is read from %MW0.

Unity Pro Schneider Tutorial

Setting up Unity Pro¶

UnityUnity Pro Schneider
  1. Start Unity Pro and create a new project (FILE > New). Then select a M340 PLC.

  2. The project has been created and you are now ready to start writing the PLC program. But first, you must define the I/O variables that will be used.

  3. Double Left-click on Elementary Variables and create 17 EBOOL variables named Sensor0 up to Sensor16. These will be the variables used for sensor values. On the Comment fields type in the name of the Factory I/O points they represent so you can easily relate one to another.

  4. Next, create 13 EBOOL variables named Actuator0 up to Actuator12. These will be the variables used for actuators. As you did previously, fill the Comments fields with the name of the Factory I/O points they represent. At last, create 1 INT variable named Counter0 (which is to be used by the counter display).

  5. Create a section for the PLC code by Right-clicking on Program > Tasks > MAST > Sections and selecting New section...

  6. Give a name to the section (e.g. Prg) and choose a programming language (e.g. ST).

  7. You can now start writing the PLC program using the programming language selected above. The next image shows an example of a program written in Structured Text.

  8. For Factory I/O to work together with Unity Pro you must assign memory values to internal variables. You do this by creating a new section called Inputs_FIO_Reading where values of memories %M0 up to %M16 are assigned to Sensor0 up to Sensor16 variables. You must do the same for actuator variables by creating an Outputs_FIO_Writing section and assigning the 13 actuators (%M17 up to %M29) and the Counter0 variable to an Int memory %MW. Note that Inputs_FIO_Reading should be placed first on the section tree so the latest sensor values are available when the program is executed. On the other hand, Outputs_FIO_Writing should be placed last, so actuator values are assigned to memories after the program is executed.

  9. Build the project by clicking on Build > Rebuild All Project.

  10. Select Simulation Mode by clicking on PLC > Simulation Mode. Next, connect to the soft PLC by clicking on PLC > Connect and download the program by clicking on PLC > Transfer Project to PLC. Click on Transfer.

  11. Now, switch the PLC to Run mode by clicking on PLC > Run. Click on OK.

  12. You should select a scan time of 10ms by Right-clicking on the soft PLC icon (taskbar) and selecting Timing...

  13. Go back to Factory I/O, click on CONNECT and close the driver window (Esc).

  14. Finally, switch to Run mode and select Auto by clicking on the selector.

Unity Pro Schneider Free Download

2

The information provided in this documentation contains general descriptions and/or technical characteristics of the performance of the products contained herein. This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications. It is the duty of any such user or integrator to perform the appropriate and complete risk analysis, evaluation and testing of the products with respect to the relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information that is contained herein. If you have any suggestions for improvements or amendments or 35006144 07/2012

Unity Pro Schneider Download

have found errors in this publication, please notify us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without express written permission of Schneider Electric.All pertinent state, regional, and local safety regulations must be observed when installing and using this product. For reasons of safety and to help ensure compliance with documented system data, only the manufacturer should perform repairs to components.When devices are used for applications with technical safety requirements, the relevant instructions must be followed. Failure to use Schneider Electric software or approved software with our hardware products may result in injury, harm, or improper operating results.Failure to observe this information can result in injury or equipment damage. 2012 Schneider Electric. All rights reserved.