Difference between revisions of "Communication"

From SoftMC-Wiki
Jump to: navigation, search
(Basic Web Server)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Languages}}
+
{{Languages|Communication}}  
=LAN=
+
= LAN =
* [[IP Address|'''IP Address''']]
 
* [[Socket keep-alive timeouts|'''Keepalive''']]
 
* [[Communication/FastData|'''UDP FastData''']]<br>
 
* '''[[:File:FTPSCRN.PNG| FTP]]'''  standard ftp file accesses
 
<br/>
 
=Motion Bus=
 
* [[CANopen_Protocol|'''CANopen''']] - ''Functions are available since version'' SOCKCAN 0.4.11.2rc8 / CANOPEN 0.4.11.2rc8
 
** [[:Category:CANopen:Firmware Functions|CANopen Firmware Functions Reference]] - CANopen functions provided by firmware
 
** [[:Category:CANopen:Functions|CANopen Functions Reference]] - A list of CANopen functions
 
** [[:Category:CANOpen:Setup|CANopen Setup]] - How to setup can open network and device(s)
 
** [[Program_Examples:CANOpen:DS402_CAN_Drive_Setup|DS402 CAN Drive Setup]] - program example
 
<br/>
 
*'''[[EtherCAT]]'''
 
** [[:Category:EtherCAT:ECAT_GENERAL_GUIDE|EtherCAT - General Guide]]
 
** [[:Category:EtherCAT:EC SETUP|Setup EtherCAT]] - How to setup EtherCAT
 
** [[:Category:EtherCAT:Functions|EtherCAT Functions Reference]] - A list of basic EtherCAT functions
 
** [[:Category:EtherCAT:Advanced Functions|Advanced EtherCAT Functions Reference]] - A list of advanced EtherCAT functions
 
** [[:EtherCAT:DIGITAL-IOS|Digital IOs]] - Associate between System Digital IOs and drives and IO Modules IOs
 
** [[:EtherCAT:Drive Control Bits|Drive Control Bits]] - Implementation of Drive Control Bits under EtherCAT
 
** [[:EtherCAT:EC_INSTALL_STX_CDHD|EC_INSTALL_STX_CDHD]] - How to configure CDHD drives
 
<br/>
 
=Serial=
 
[[Serial Communication|'''Serial Communication''']]
 
<br/>
 
=Modbus=
 
[[Modbus Communication API|'''Modbus Communication]]<br/>
 
=Basic Web Server=
 
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==
+
*[[IP_Address|'''IP Address''']]
At your softMC installed "Basic Web Server". The following steps show how to do that:
+
*[[Socket_keep-alive_timeouts|'''Keepalive''']]  
# Run your softMC and your computer, on the same network.
+
*[[Communication/FastData|'''UDP FastData''']]
# After softMC running, open your browser, and insert softMC IP address at the address line: <br> [[image: WEB 1.PNG]]  
+
*'''[[:File:FTPSCRN.PNG|FTP]]''' standard ftp file accesses
# 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==
+
&nbsp;
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.}}
+
= Motion Bus =
==Simple Example==
+
 
In this example we upload to sofMC a basic '''html''' file. <br>
+
*[[CANopen_Protocol|'''CANopen''']] - ''Functions are available since version'' SOCKCAN 0.4.11.2rc8 / CANOPEN 0.4.11.2rc8
You can find the Example files here: [[image:Download.png|90px|link=http://softmc.servotronix.com/img_auth.php/9/9a/example.zip]]
+
**[[:Category:CANopen:Firmware_Functions|CANopen Firmware Functions Reference]] - CANopen functions provided by firmware
# Upload to softMC the example files, as explain before: <br> [[image: WEB 5.PNG]] <br>
+
**[[:Category:CANopen:Functions|CANopen Functions Reference]] - A list of CANopen functions
# At your browser address line, refer to web server address, '''from "WWW" folder''': <br> [[image: WEB 6.PNG]] <br> Press '''Enter'''. <br>
+
**[[:Category:CANOpen:Setup|CANopen Setup]] - How to setup can open network and device(s)
# '''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>
+
**[[Program_Examples:CANOpen:DS402_CAN_Drive_Setup|DS402 CAN Drive Setup]] - program example 
# 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]]
+
&nbsp;
 +
 
 +
*'''[[EtherCAT|EtherCAT]]'''  
 +
**[[:Category:EtherCAT:ECAT_GENERAL_GUIDE|EtherCAT - General Guide]]
 +
**[[:Category:EtherCAT:EC_SETUP|Setup EtherCAT]] - How to setup EtherCAT
 +
**[[:Category:EtherCAT:Functions|EtherCAT Functions Reference]] - A list of basic EtherCAT functions
 +
**[[:Category:EtherCAT:Advanced_Functions|Advanced EtherCAT Functions Reference]] - A list of advanced EtherCAT functions
 +
**[[:EtherCAT:DIGITAL-IOS|Digital IOs]] - Associate between System Digital IOs and drives and IO Modules IOs
 +
**[[:EtherCAT:Drive_Control_Bits|Drive Control Bits]] - Implementation of Drive Control Bits under EtherCAT
 +
**[[:EtherCAT:EC_INSTALL_STX_CDHD|EC_INSTALL_STX_CDHD]] - How to configure CDHD drives 
 +
 
 +
&nbsp;
 +
 
 +
= Serial =
 +
 
 +
[[Serial_Communication|'''Serial Communication''']]
 +
 
 +
 
 +
 
 +
= Modbus =
 +
 
 +
[http://softmc.servotronix.com/wiki/Category:Modbus_Communication '''Modbus Communication''']
 +
 
 +
= Web Server =
 +
 
 +
[[Basic_Web_Server|'''Basic Web Server''']]<br/> [[webAPI_for_softMC|'''webAPI for softMC''']]
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
&nbsp;
 +
 
 +
= OPC UA =
 +
 
 +
'''[[OPC_UA_Introduction|OPC UA Introduction]]'''
 +
 
 +
'''[[softMC_as_OPC_UA_Server|softMC as OPC UA Server]]'''
 +
 
 +
'''[[OPC_UA_Examples|OPC UA Examples]]'''

Latest revision as of 16:21, 6 February 2020

Language: English  • 中文(简体)‎

LAN

 

Motion Bus

 

 

Serial

Serial Communication


Modbus

Modbus Communication

Web Server

Basic Web Server
webAPI for softMC

 

 

 

 

OPC UA

OPC UA Introduction

softMC as OPC UA Server

OPC UA Examples