.

Average: 0
Rating Count: 0

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



Class Description


Device server for Wago 750 series Programable Fieldbus Controllers and Fieldbus Couplers. The class supports reading and writing to a node consisting of a number of Wago modules. It communicates with device over Modbus TCP or RTU protocol by means of Modbus Tango class.

Families: Controllers

Key words:

Platform: All Platforms

Language: Cpp

License: GPL

Contact:

Hardware


Manufacturer: none

Bus: Modbus

Class interface


Attributes:

Commands:

Name Description
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
DevReadNoCachePhysInput: DevShort
Logical device index.
Output: DevVarFloatArray
Array of values.
Read all physical values of the specified logical device and // return the values as a float array. Physical value are // calculated from module registers according to a predefined // algorithm deduced from the module type in the catalogue. // Read registers from the cache. // // Note: not all the channels of the logical device are // returned but only the ones on modules marked as specials // in the catalogue.
DevWritePhysInput: DevVarFloatArray
Logical device key and values for write
Output: DevVoid
DevReadPhysInput: DevShort
Logical device key
Output: DevVarFloatArray
Placeholder for obtained values
Read physical values of LD
DevWriteDigiInput: DevVarShortArray
Logical device key, then pairs of channel,value.
Output: DevVoid
Write words and bits to output module registers.
DevReadDigiInput: DevShort
Logical device
Output: DevVarShortArray
Array of bit values
Read all input and output word and bits of the specified logical device and return the values as a short array (short per bit). Read from the cache.
DevReadNoCacheDigiInput: DevShort
Logical device
Output: DevVarShortArray
Array of bit values
Read all input and output word and bits of the specified logical device and return the values as a short array (short per bit). Read from the cache.
DevGetKeysInput: DevVoid
Output: DevVarShortArray
Numerical keys
Return all the numerical keys known by the server.
DevKey2NameInput: DevShort
Numerical key
Output: DevString
Logical device name
Return the logical device name associated to a numerical keys name.
DevLog2HardInput: DevVarShortArray
[0] : logical device key [1] : logical channel
Output: DevVarShortArray
[0] : offset in wago controller memory (ex: 0x16) [1] : MSB=I/O LSB=Bit/Word (ex: 0x4957 = (`I`<<8)+`W`) [2] : module reference (ex: 469) [3] : module number (1st is 0) [4] : physical channel of the module (ex: 1 for the 2nd)
Return hardware information of a logical device/logical channel.
DevHard2LogInput: DevVarShortArray
[0] : MSB=I/O LSB=Bit/Word (ex: 0x4957 = (`I`<<8)+`W`) [1] : offset in wago controller memory (ex: 0x16)
Output: DevVarShortArray
[0] : logical device key [1] : logical channel
Returns the logical device/logical channel of a memory location on wago controller
DevName2KeyInput: DevString
Logical device name
Output: DevShort
Numerical key
Return the logical device name associated to a numerical keys name.
DevWcCommInput: DevVarShortArray
[0] : code of command to execute (ex: 0x010c for ILCK_RESET) [1] : 1st parameter [2] : 2nd parameter etc
Output: DevVarShortArray
[0] : 1st argout or error code [1] : 2nd argout etc
Executes a command in the wago controller programm. The communication is done using the ISG protocol.

Pipes:

Properties:

Name Description
modbusDevNameDevString Name of Modbus tango device server used for communication with physical device.
configArray of DevString Configuration of physical modules in device and its projection to LogicalDevices in server.
updatePeriodDevUShort Modbus process image cache update interval.
modulesCatalogueArray of DevString List of know WAGO modules usable by the WAGO Device Server SYNTAX: -the first item should be the date the list has been updated -then, for each module, you must supply: -module reference -number of digital inputs -number of digital outputs -number of word inputs -number of word outputs -number of logical channels (typically SSI32bits==2 words) -string for special module (``none``,``ssi``,``thc``,``thck``,etc) -string for description


Please log in to comment.

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 .



3 Jan 2017,
Deleted:
OmsMaxVIO has been deleted.




3 Jan 2017,
Deleted:
OmsMaxVIO has been deleted.




3 Jan 2017,
Deleted:
OmsMaxVIO has been deleted.




3 Jan 2017,
Deleted:
OmsMaxVIO has been deleted.




3 Jan 2017,
Deleted:
OmsMaxVIO has been deleted.




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



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