Difference between revisions of "Communication"

From SoftMC-Wiki
Jump to: navigation, search
(Basic Web Server)
(Basic Web Server)
Line 29: Line 29:
 
=Basic Web Server=
 
=Basic Web Server=
 
[[Basic Web Server|'''Basic Web Server''']]<br/>
 
[[Basic Web Server|'''Basic Web Server''']]<br/>
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:53, 21 December 2017

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

LAN


Motion Bus



Serial

Serial Communication

Modbus

Modbus Communication

Basic Web Server

Basic Web Server