This is historical information of device classes implemented in Ads device server.

Use this link to find the valid information.

Development status: Released
Information status: New

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

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 are looking at this version now.



2 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.
Added by:pgoryl2 on:19 Jan 2017, 10:38 a.m.