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
Contact:
Hardware
Manufacturer: none
Bus: Not Applicable
Class interface
Attributes:
Commands:
Name | Description |
---|---|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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. |
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. |
Pipes:
Properties:
Name | Description |
---|---|
SimulationModeDevULong | 0 real mode, 1 simulation mode |
PortNoDevLong | PLC port number, e.g.: 801 |
HostNameDevString | PLC hostname |
Please log in to comment.
Generated
README
use this target only
make linux=1 lib
<pre>updated $(CPP_SERVERS)/lib/libtgclasses.a
</pre>
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