started with the demo of factory i/o - winplc7.com · getting started with the demo of factory i/o

5
© 2014, MHJSoftware GmbH & Co. KG – www.mhj.de Page 1 FACTORY I/O is a registered trademark of Real Games Lda Getting started with the Demo of Factory I/O Step1: Installation Install the demo version: Deselect the „Advantechdrivers” when the dialog „Select Components“ appear. This drivers are not necessary for this tutorial. Step2: Activate the 30 day trial Start Factory I/O with admin rights. This is at the 1. Start required, so that the 30day trial license can be activated. To start Factory I/O with admin privileges, click on the start icon on the desktop with the right mouse button and select "Run as Administrator". Now go to the tab "Licensing" and press the button "Get Trial License":

Upload: dangtruc

Post on 24-May-2018

223 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: started with the Demo of Factory I/O - WinPLC7.COM · Getting started with the Demo of Factory I/O

 

 © 2014, MHJ‐Software GmbH & Co. KG – www.mhj.de                                                   Page 1 FACTORY I/O is a registered trademark of Real Games Lda 

Getting started with the Demo of Factory I/O  

Step1: Installation 

Install the demo version: Deselect the „Advantech‐drivers” when the dialog „Select Components“ appear.  

This drivers are not necessary for this tutorial. 

 

 

Step2: Activate the 30 day trial 

Start Factory I/O with admin rights. This is at the 1. Start required, so that the 30‐day trial license can be activated. To start Factory I/O with admin privileges, click on the start icon on the desktop with the right mouse button and select "Run as Administrator". 

Now go to the tab "Licensing" and press the button "Get Trial License": 

 

Page 2: started with the Demo of Factory I/O - WinPLC7.COM · Getting started with the Demo of Factory I/O

 

 © 2014, MHJ‐Software GmbH & Co. KG – www.mhj.de                                                   Page 2 FACTORY I/O is a registered trademark of Real Games Lda 

 

Close the dialog via the "close cross" on the top right in the dialog. 

If you have not started with admin rights, the following error message appears:  

 

 

Step 3: Create a new machine 

Select File‐>New, to create a new machine. In this quick start guide, a “Start Button” and a “Warning Light” are used. The “Warning Light” should light when the “Start Button” is pressed. 

Choose the “Belt Conveyor 4m” from the “Palette‐Window” from the section "Light Load Conveyors". Drag‐and‐drop it into the scene: 

 

The “Belt Conveyor” only serves as a "Mount" for the “Warning Light” and the “Start Button”. 

Page 3: started with the Demo of Factory I/O - WinPLC7.COM · Getting started with the Demo of Factory I/O

 

 © 2014, MHJ‐Software GmbH & Co. KG – www.mhj.de                                                   Page 3 FACTORY I/O is a registered trademark of Real Games Lda 

Now, double‐click the white surface of the conveyor belt. (See image). 

This causes that the subsequent parts (Start Taster and Warning Light) have the correct height after the drag‐and‐drop operation. With this method you can insert parts into the 3D scene quick and easy. 

Now insert a “Warning Light” from the section “Warning Devices” and a “Start Button” from the section “Operators”. 

Now it should look like: 

 

 

Step 4: Select driver and wiring of sensors and actuators 

Select with File‐>Driver configuration the desired driver. With the appropriate driver, you can connect for example with WinSPS‐S7 V5 ('MHJ' driver), PLCSim V5.4/V5.5 (PLCSim of the TIA Portal is not supported) or with an external PLC (S7‐300/400, 1200, 1500, LOGO!). 

 In this example, we select the driver "SIEMENS S7‐300 TCP/IP": 

 

 

 

 

 

Page 4: started with the Demo of Factory I/O - WinPLC7.COM · Getting started with the Demo of Factory I/O

 

 © 2014, MHJ‐Software GmbH & Co. KG – www.mhj.de                                                   Page 4 FACTORY I/O is a registered trademark of Real Games Lda 

 

The sensors located on the left and on the right side you find the actuators of the current scene. Now wire the system with Drag‐and‐Drop: Drag the "Start Button 1" to the input I0. 0.  Drag the actuator "Warning Light 1" to the output "Q0. 0". 

The result:  

 

 

Page 5: started with the Demo of Factory I/O - WinPLC7.COM · Getting started with the Demo of Factory I/O

 

 © 2014, MHJ‐Software GmbH & Co. KG – www.mhj.de                                                   Page 5 FACTORY I/O is a registered trademark of Real Games Lda 

 

The system is ready wired. If you have selected a driver for a PLC, enter now the correct IP address. If you have set the MHJ driver for WinSPS‐S7, then no further adjustments are necessary. Close the configuration via the button "Close". 

Now you need to transfer still the program into the PLC (or the Software PLC of WinSPS‐S7). 

Program: 

A I0.0 = Q0.0   

If the program is transferred, then switch factory I/O in the RUN mode and press the “Start Button” with the mouse: 

 

Further Informationen: 

In the program group of Factory I/O, you find the User's Guide: 

 

 

The driver for S7‐300/400/1200/1500, WinSPS‐S7 uses always the same input and output addresses: 

Please use in your program the following addresses: 

Binary Inputs:  I0.0 – I1.7 

Binary Outputs:  Q0.0 – Q1.7 

Analog Inputs:  IW100 – IW114 

Analog Outputs:  QW100 – QW114