.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/InputOutput/ModbusPLC
Contact:



Class Description


This class has been to access WAGO/Beckhof acquired values

Families: InputOutput

Key words:

Language: Cpp

License:

Contact:

Class interface


Attributes:

Name Description
DynamicAttributeScalar: unknown
DynAOScalar: unknown
DynAIScalar: unknown
AO_2Scalar: DevLong
AO_1Scalar: DevLong
AI_2Scalar: DevLong
AI_1Scalar: DevLong
AnalogOutputsSpectrum: DevLong
AnalogInputsSpectrum: DevLong
DigitalOutputsSpectrum: DevBoolean
DigitalInputsSpectrum: DevBoolean

Commands:

Name Description
WriteValuesInput: DevVarStringArray
Output: DevVoid
The address is always related to 0 Write multiple coils (digital I/O) state. argin[0]= "DO" argin[1] = first coil address argin[2] = number of coils argin[3] = 1st coil state argin[4] = 2nd coil state ...
ReadValuesInput: DevVarStringArray
Output: DevVarShortArray
Read multiple 16bits registers. Uses the pre-defined Address for each type.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.

Pipes:

Properties:

Name Description
DynamicAttributesString[]Type {AttributeName}=address(XX)[+type({AI/AO/DI/DO})]
DynamicOutputsAdressesInt[]Type Adresses for the Dynamic Attributes created for PLC Outputs: Address1\nAddress2\nAddress3\n...
DynamicOutputsNamesString[]Type Names of the Dynamic Attributes created for PLC Outputs: Name1\nName2\nName3\n...
DynamicInputsAddressesInt[]Type Adresses of the Dynamic Attributes created for PLC Inputs: Address1\nAddress2\nAddress3\n...
DynamicInputsNamesString[]Type Names for the dynamic attributes created for PLC Inputs: Name1\nName2\nName3\n...
RetriesDevShort Number of retries while trying to reconnect to PLC
Ao_addressDevShort Address where the analog outputs are mapped
Ai_addressDevShort Address where the Analog Inputs are mapped
Do_addressDevShort Address where the digital outputs are mapped
Di_addressDevShort Address where the digital inputs are mapped
Modbus_nameDevString Name of the modbus device.


Please log in to comment.

22 Feb 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



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



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 11:09 a.m.