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

Use this link to find the valid information.

Development status: Released
Information status: Updated

Contact:



Class Description


This class provides access to Rockwell Automation`s PLCs.
It gives two ways of reading and setting values of tags. 1) by commands 2) by dynamic attributes (see Tags device property) Note! It depends on Tuxeip library.

Families: Communication

Key words:

Language: Cpp

License:

Contact:

Class interface


Attributes:

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.
CloseInput: DevVoid
Output: DevVoid
Close connection to PLC
OpenInput: DevVoid
Output: DevBoolean
Open connection to PLC defined by properties
WriteTagsAsDoubleInput: DevVarDoubleStringArray
Output: DevVarDoubleStringArray
Writes tags, examining first types (by reading) in PLC and then doing proper conversion.
ReadTagsAsDoubleInput: DevVarStringArray
Output: DevVarDoubleStringArray
Reads the tag`s values from PLC and returns values and type
ReadTagInput: DevString
Output: DevString
Read tag value and return it as a string.
WriteTagInput: DevVarStringArray
Output: DevString
Write tag value specified by string.

Pipes:

Properties:

Name Description
IPDevString PLC IP number
PlcTypeDevString PLC type
ConnectionIDDevLong ID of the connection - for own use
ConnectionSNDevShort Connection Serial Number - should be unique in the network
RPIDevLong Request packet interval - used to calculate time-out
PathShort[]Type Path to the device. See Tuxeip documentation.
AutoConnectDevBoolean State if a device should try to reconnect to PLC if there is no connection, for an example in case of previous error...
TagUpdateIntervalDevLong Min interval (in milliseconds) between update of tag`a value.
TagsString[]Type List of tags in PLC. This list is used during device initiation to create attribs. It contains of lines of comma separated values: tagName,tagType,[attribName] tagName - is the name of tag in PLC, could contain array(structure) element selector in square bracket tagType - type of tag in PLC, should contain square bracket with size to determine array attribName - optionally attrib name to be mapped to tag attribName is required in case of tag pointing to element of structures or arrays in PLC

22 Feb 2018, DS Admin
Updated:
The device class has been updated.
You are looking at this version now.



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:22 Feb 2018, 2:28 p.m.