Difference between revisions of "Communication"

From SoftMC-Wiki
Jump to: navigation, search
(Basic Web Server)
Line 28: Line 28:
 
[[Modbus Communication API|'''Modbus Communication]]<br/>
 
[[Modbus Communication API|'''Modbus Communication]]<br/>
 
=Basic Web Server=
 
=Basic Web Server=
[[softMC HTTP Servers|'''softMC HTTP Servers''']]
+
You can store your files on the Motion Control using softMC basic web server, and access those files using your browser. <br> 
 +
 
 +
==Access Default Page==
 +
At your softMC installed "Basic Web Server". The following steps show how to do that:
 +
# Run your softMC and your computer, on the same network.
 +
# After softMC running, open your browser, and insert softMC IP address at the address line: <br> [[image: WEB 1.PNG]]
 +
# Press '''Enter''' and you will access to the default web server page: <br> [[image: WEB 2.PNG]]
 +
# This page allow you to send Mc-basic commands to softMC, as ControlStudio terminal do.
 +
 
 +
==Upload Files==
 +
As mention, you can store your files at softMC and access them by using your browser. <br>
 +
To do so, you need to install '''Bitvise''' software. This software function as basic file manger, that let you control softMC file. <br>
 +
Steps to upload files: <br>
 +
# Download and install Bitvise from here [[image:Download2.png|90px|link=https://www.bitvise.com]] <br>
 +
# Make sure softMC running, and that your computer is on the same network, and open Bitvise.
 +
# At '''Login''' section, insert the relevant information, according to your sofMC setting - IP address, port, username and password: <br> [[image: WEB 3.PNG]]
 +
# Press '''Login''' button. Tow windows will open - command line window, and file manger (Bitvise SFTP).
 +
# using the file manger window you can put your files on softMC. '''Notice''' - to be allowed to open your files using web browser you must locate them on '''WWW''' folder! <br> [[image: WEB 4.PNG]]
 +
 
 +
{{Note| The default "open file" command sets to open '''html''' file which called '''"index.html"'''. in case you want to open your html file by default save your file under this name.}}
 +
==Simple Example==
 +
In this example we upload to sofMC a basic '''html''' file. <br>
 +
You can find the Example files here: [[image:Download.png|90px|link=http://softmc.servotronix.com/img_auth.php/9/9a/example.zip]]
 +
# Upload to softMC the example files, as explain before: <br> [[image: WEB 5.PNG]] <br>
 +
# At your browser address line, refer to web server address, '''from "WWW" folder''': <br> [[image: WEB 6.PNG]] <br> Press '''Enter'''. <br>
 +
# '''Notice - ''' because we choose to name our example html file "index", the web server automatically opens our file (as explained) : <br> [[image: WEB 7.PNG]] <br>
 +
# In case you want to open other file name or format, at your browser insert file name as showed, and add file name and it's format: <br> [[image: WEB 8.PNG]] <br> Press '''Enter'''. <br>
 +
# the file will open at your browser: <br> [[image: WEB 9.PNG|600px]]

Revision as of 12:51, 21 December 2017

Language: [[::Communication|English]]  • [[::Communication/zh-hans|中文(简体)‎]]

LAN


Motion Bus



Serial

Serial Communication

Modbus

Modbus Communication

Basic Web Server

You can store your files on the Motion Control using softMC basic web server, and access those files using your browser.

Access Default Page

At your softMC installed "Basic Web Server". The following steps show how to do that:

  1. Run your softMC and your computer, on the same network.
  2. After softMC running, open your browser, and insert softMC IP address at the address line:
    WEB 1.PNG
  3. Press Enter and you will access to the default web server page:
    WEB 2.PNG
  4. This page allow you to send Mc-basic commands to softMC, as ControlStudio terminal do.

Upload Files

As mention, you can store your files at softMC and access them by using your browser.
To do so, you need to install Bitvise software. This software function as basic file manger, that let you control softMC file.
Steps to upload files:

  1. Download and install Bitvise from here Download2.png
  2. Make sure softMC running, and that your computer is on the same network, and open Bitvise.
  3. At Login section, insert the relevant information, according to your sofMC setting - IP address, port, username and password:
    WEB 3.PNG
  4. Press Login button. Tow windows will open - command line window, and file manger (Bitvise SFTP).
  5. using the file manger window you can put your files on softMC. Notice - to be allowed to open your files using web browser you must locate them on WWW folder!
    WEB 4.PNG
NOTE-Info.svgNOTE
The default "open file" command sets to open html file which called "index.html". in case you want to open your html file by default save your file under this name.

Simple Example

In this example we upload to sofMC a basic html file.
You can find the Example files here: Download.png

  1. Upload to softMC the example files, as explain before:
    WEB 5.PNG
  2. At your browser address line, refer to web server address, from "WWW" folder:
    WEB 6.PNG
    Press Enter.
  3. Notice - because we choose to name our example html file "index", the web server automatically opens our file (as explained) :
    WEB 7.PNG
  4. In case you want to open other file name or format, at your browser insert file name as showed, and add file name and it's format:
    WEB 8.PNG
    Press Enter.
  5. the file will open at your browser:
    WEB 9.PNG