Name | Modified | Size | Downloads / Week |
---|---|---|---|
C# Client and Server | 2015-02-24 | ||
Posix Client | 2012-03-23 | ||
README.txt | 2011-12-27 | 3.2 kB | |
Totals: 3 Items | 3.2 kB | 0 |
This is a platform for the S/IP application communicates between sercos III devices. Overview All the S/IP services like • TCP Basic Services ( Connect, Ping, Busy, Nameplate) • UDP Basic Services (Nameplate, SupportedUdpServices) • Device Management Services ( Reset) • Explore & IP Configuration Services ( Browse, SetIpConfiguration, Identify) • SERCOS Parameter access Services ( ReadEverything, ReadOnlyData, ReadDescription, ReadDataStatus, ReadSegment, WriteData, WriteDataBits) are implemented as JOBS. Each job has • Begin() method which takes required inputs and starts the job. • End() method to get the results. A connection (object that implements the interface IConnection) is required to execute (Begin) the job. Jobs are independent of the type of connection used to execute the job Both TCPConnection and UDPConnection implements the interface IConnection. Hence every job can be executed using any connection type. All the Jobs are implemented under the namespace SercosIII.SiP.Client.Jobs and All the Connections are implemented under the namespace SercosIII.SiP.Client Refer SIP.chm (Available under ..\Help\ folder) to know more on using Jobs and Connection. Features For detailed information on the features present in SiP, refer SIP.chm (Available under ..\Help\ folder). Components Source code archive has following folder structure. • Client This is an example of client application (Test Client) which uses SiP implementation to communicate with the Sercos III devices. It demonstrates usage of all the jobs using both TCP and UDP connections. • Doc This has license and copyright related documents. • Help This contains API documentation for SiP implementation. • Server This is an example of server (Test Server) that implements Sercos III IPS protocol. • SiP This is the implementation of SiP protocol API. It also contains utility functions which are used in SiP client and SiP Server. • Tools This contains supporting packages which are used SiP, Client and Server. This includes o NUnit framework o Log4Net framework Requirements Following software packages are required to work with this source. • Windows XP or later • Visual Studio 2005 or higher • NET 2.0 or higher Installation Follow the steps below. • Extract the archive anywhere on your computer. • Open SiP.sln file from SiP folder and build. • Binaries will be created under bin\debug or bin\release. Logging: • Client logs will be created under the folder bin\debug\log4net\SiPClientLogs • Server logs will be created under the folder bin\debug\log4net\SiPServerLogs Logging can be customized through following configuration files. • Client log configuration file: Client\log4net\SercosIII.SiPClient.log4net • Server log configuration file: Server\log4net\ SercosIII.SiPServer.log4net Find more on logging using log4net in http://logging.apache.org/log4net License All the source code enclosed in the archive is LGPL licensed. Please see license.txt for the LGPL in its entire length.