PLC - GX Works3 - System simulation, SD card function (webserver, file manipulation)

PLC - GX Works3 - System simulation, SD card function (webserver, file manipulation)

This article will shortly introduce the setup of the System simulator and gives some example of SD card content usage


1. System Simulator setup

      1.1 Start System Simulation window

            

      1.2 Add System

            

      1.3 Add virtual SD card

            

      1.4 Connect simulation

            

      1.5 Connect plc to the system

            

      1.6 Add files to the Virtual SD card

            You can only add files before start system simulator. If you would like to modify of the content of the memoy card, you have to stop the system simulator.
            
            
            You can reach content of the SD card via the file Explorer. Just need to double click on the VirtualSDMemoryCard and copy the neccessary files.
            

      1.7 Start Simulator

            

      1.8 Write project to the Simulator 

      The attached example contains the webserver setup.
            

2. Test

      2.1 Webserver

            Both system webpage and user webpage can be use in the simulator.
           
            For the detailed webserver setup please read the relevant part of the manual.
            Setup:
                   
            Apply the settings and write the modificaton of the System simulator.
            
            Start he browser (for example Chrome, Edge) in your computer with the appropriet port number of the web server:
                  
             For example: http://localhost:20111
           
            Sytem webpage
                  

            User webpage
                  

      2.2 File read from CSV

            Use the attached gx works 3 program to read out the values from the CSV file. It contains a few value.

            Program1.CSV
            

            Force M310 ON, and check the buffer
            
            
      
      
    • Related Articles

    • System Simulation - PLC and Motion simulation

      This video shows how to run system simulation to simulate PLC with Simple Motion module and servo drives.
    • iQ-R - FTP Server using SD card

      This article explains how to prepare the iQ-R PLC to use the FTP Server function with access to files on the SD card. 1. FTP Server configuration in Module Parameter First, go to the Module Parameter window to enable the FTP Server. You can also ...
    • Summary of the programs included in iQ Works suite

      This article summarizes all the software included in the Mitsubishi iQ Works software suite. An iQ Works license code is required for all programs to work. All software can be downloaded from Mitsubishi Electric main site: ...
    • PLC - GX Works 3 - Device Assignment Confirmation CC Link/CC Link IE TSN

      This article describe Device Assignment Confirmation function in GX Works3 (GX Works2 works the same way), which helps to manage information about mapping of stations registers. Creating CC Link and CC Link IE TSN configuration, we the possibility to ...
    • Real Time Monitor Function guide

      This document describes Real Time Monitor function 1. Opening method There are two methods to start the Realtime Monitor Function. 1.1. Realtime Monitor Function from GX Works Tool menu To start monitoring of PLC controller open Tool->Real Time ...