.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_17
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Communication/Ads
Contact:



Class Description


am implemantation of the Beckhoff ADS protocol

Families: Communication

Key words:

Platform: Unix Like

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Commands:

Name Description
StateInput: DevVoid
Output: State
State Code
This command gets the device state (stored in its <i>device_state</i> data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Status description
This command gets the device status (stored in its <i>device_status</i> data member) and returns it to the caller.
ReadCharInput: DevVarStringArray
Output: DevLong
IndexGroup and IndexOffset are stored in an array of strings, a char is read from the PLC and stored in argout
ReadDoubleInput: DevVarStringArray
Output: DevDouble
IndexGroup and IndexOffset are stored in an array of strings, a double (8B) is read from the PLC and stored in argout
ReadFloatInput: DevVarStringArray
Output: DevFloat
IndexGroup and IndexOffset are stored in an array of strings, a float (4B) is read from the PLC and stored in argout
ReadLongInput: DevVarStringArray
Output: DevLong
IndexGroup and IndexOffset are stored in an array of strings, a long is read from the PLC and stored in argout
ReadShortInput: DevVarStringArray
Output: DevLong
IndexGroup and IndexOffset are stored in an array of strings, a short is read from the PLC and stored in argout
WriteCharInput: DevVarStringArray
Output: DevVoid
IndexGroup and IndexOffset are stored in an array of strings, the last string contains the char that is written to the PLC
WriteDoubleInput: DevVarStringArray
Output: DevVoid
IndexGroup and IndexOffset are stored in an array of strings, the last string contains the double that is written to the PLC
WriteFloatInput: DevVarStringArray
Output: DevVoid
IndexGroup and IndexOffset are stored in an array of strings, the last string contains the float that is written to the PLC
WriteLongInput: DevVarStringArray
Output: DevVoid
IndexGroup and IndexOffset are stored in an array of strings, the last string contains the long that is written to the PLC
WriteShortInput: DevVarStringArray
Output: DevVoid
IndexGroup and IndexOffset are stored in an array of strings, the last string contains the short that is written to the PLC

Pipes:

Properties:

Name Description
HostNameDevString PLC hostname
PortNoDevLong PLC port number, e.g.: 801
SimulationModeDevULong 0 real mode, 1 simulation mode


Please log in to comment.

Generated

PDF generated from POGO



README

use this target only

make linux=1 lib

updated $(CPP_SERVERS)/lib/libtgclasses.a

The class Ads will be included to the device servers,
see e.g. Spk

svn:
---

cd ~/Tango/Servers/Communication/Ads/trunk
svn commit

cd ~/Tango/Servers/cppserver/lib
svn commit

23 Feb 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



19 Jan 2017, Piotr Goryl
Updated:
The device server has been updated.
You can see previous version here .



2 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.
Added by:pgoryl2 on:2 Jan 2017, 3:48 p.m.