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

Use this link to find the valid information.

Development status: Released
Information status: New

Contact:



Class Description


This device server will allow to interact with the Modbus PLC`s.
The target is reading and writing variables and input/outputs of the PLC by using Tango Attributes. Tango Attributes will be generated dynamically using this syntax:

Families: InputOutput

Key words:

Language: Python

License:

Contact:

Class interface


Attributes:

Commands:

Name Description
ReconnectInput: DevVoid
Output: DevString
None.
SetModbusCacheConfigInput: DevVoid
Output: DevString
None.
setLogLevelInput: DevString
Output: DevVoid
None.
UnlockInput: DevVoid
Output: DevVoid
None.
LockInput: DevVoid
Output: DevVoid
None.
isLockedInput: DevVoid
Output: DevBoolean
None.
evaluateFormulaInput: DevString
Output: DevString
None.
updateDynamicAttributesInput: DevVoid
Output: DevVoid
None.
WriteFlagInput: DevVarShortArray
Output: DevVoid
None.
WriteCoilInput: DevVarShortArray
Output: DevVoid
None.
WriteFloatInput: DevVarStringArray
Output: DevString
None.
WriteLongInput: DevVarLongArray
Output: DevVoid
None.
Regs32Input: DevVarShortArray
Output: DevVarLongArray
None.
InputRegsInput: DevVarShortArray
Output: DevVarShortArray
None.
HoldingRegsInput: DevVarShortArray
Output: DevVarShortArray
None.
RegsInput: DevVarShortArray
Output: DevVarShortArray
None.
BitInput: DevVarShortArray
Output: DevShort
None.
FlagInput: DevVarShortArray
Output: DevShort
None.
CoilInput: DevShort
Output: DevShort
None.
IeeeFloatInput: DevShort
Output: DevVarLongArray
None.
InputRegInput: DevShort
Output: DevShort
None.
HoldingRegInput: DevShort
Output: DevShort
None.
RegInput: DevShort
Output: DevShort
None.
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.
WriteIntInput: DevVarShortArray
Output: DevVoid
None.
CoilsInput: DevVarShortArray
Output: DevVarShortArray
None.

Pipes:

Properties:

Name Description
LogLevelDevString This property selects the log level (DEBUG/INFO/WARNING/ERROR)
UseEventsString[]Type Value of this property will be yes/true,no/false or a list of attributes that will trigger push_event (if configured from jive)
CheckDependenciesDevBoolean This property manages if dependencies between attributes are used to check readability.
KeepTimeDevDouble The kept value will be returned if a kept value is re-asked within this milliseconds time (Cache).
KeepAttributesString[]Type This property can be used to store the values of only needed attributes; values are `yes`, `no` or a list of attribute names
DynamicStatusString[]Type Each line generated by this property code will be added to status
DynamicQualitiesString[]Type This property will allow to declare formulas for Attribute Qualities.
DynamicStatesString[]Type This property will allow to declare new States dinamically based on dynamic attributes changes. The function Attr will allow to use the value of attributes in formulas. ALARM=Attr(T1)>70 OK=1
DynamicAttributesString[]Type Attributes and formulas to create for this device. This Tango Attributes will be generated dynamically using this syntax: T3=int(Reg(7007)/10.) The commands Coil; Flag; Reg and fReg will allow to declare Digital; Bit; Integer and Float variables respectively.
ErrorTimeWaitDevLong Number of milliseconds between retries after a Modbus error
AddressOffsetDevLong Integer offset added to Addresses in every Modbus command call.
DefaultReadCommandDevString Default read command executed by Reg and Regs commands
ModbusTimeWaitDevLong Number of milliseconds to wait between asynchronous Modbus calls
ModbusCacheConfigDevLong If ModbusCacheConfig>0 then it will update CacheConfig and CacheSleep properties of the Modbus device using Mapping values.
MappingString[]Type Arrays to be permanently updated, declared like : ARRAY:0,+120 #(VarName:StartAddress,+ArrayLength)
MaxModbusQuerySizeDevLong Maximum amount of data that can be asked in a single Modbus request.
LogLevelDevString Default console output configuration.
Modbus_nameDevString The name of the Modbus Tango Device used to communicate with the PLC. All the information related to the communication must be specified using the Modbus device properties.

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



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:20 Apr 2017, 3:10 p.m.