.

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
DigitalInputsSpectrum: DevBoolean
DigitalOutputsSpectrum: DevBoolean
AnalogInputsSpectrum: DevLong
AnalogOutputsSpectrum: DevLong
AI_1Scalar: DevLong
AI_2Scalar: DevLong
AO_1Scalar: DevLong
AO_2Scalar: DevLong
DynAIScalar: unknown
DynAOScalar: unknown
DynamicAttributeScalar: unknown

Commands:

Name Description
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
ReadValuesInput: DevVarStringArray
Output: DevVarShortArray
Read multiple 16bits registers. Uses the pre-defined Address for each type.
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 ...

Pipes:

Properties:

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


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, 10:09 a.m.