PLCnext API Documentation 23.0.2.9
|
This service offers methods to look up texts for the configured devices. The device specific texts need to be transfered with the project. This service only supports project related and system defined information. More...
#include <ITextLookupService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< ITextLookupService > |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
ITextLookupService (void)=default | |
Constructs an ITextLookupService instance. | |
virtual DeviceIdentityInfo | GetDeviceIdentityInfo (uint16 arUserID, const RscString< 6 > &language="")=0 |
Gets the vendor name and the device type name More... | |
virtual NodeIdentityInfo | GetNodeIdentityInfo (uint32 nodeID, const RscString< 6 > &language="")=0 |
Gets the module and submodule type name More... | |
virtual ChannelErrorTypeInfo | GetChannelErrorTypeInfo (uint32 nodeID, uint16 channelErrorType, uint16 extChannelErrorType=0, const RscString< 6 > &language="")=0 |
Gets the text and help to channelErrorType and extChannelErrorType More... | |
virtual ChannelProcessAlarmReasonInfo | GetChannelProcessAlarmReasonInfo (uint32 nodeID, uint16 reason, uint16 extReason=0, const RscString< 6 > &language="")=0 |
Gets the text and help to process alarm reason and ext reason More... | |
![]() | |
IRscService (void)=default | |
Constructs an IRscService instance. | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resouces. | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of the service More... | |
This service offers methods to look up texts for the configured devices. The device specific texts need to be transfered with the project. This service only supports project related and system defined information.
If the given id is unknown, an exception is thrown. If the id is known but the text string not available a substitute value is returned.
This service is defined in library Arp.Io.ProfinetStack.
|
pure virtual |
Gets the text and help to channelErrorType and extChannelErrorType
If the name cannot be resolved, the service returns empty strings.
nodeID | Node ID of the submodule. Throws if node ID ist unknown. |
channelErrorType | Channel Error Type |
extChannelErrorType | Extended channel error type. This is an optional parameter and can be ignored. |
language | Language code. If left empty, primary language (English) is used. |
|
pure virtual |
Gets the text and help to process alarm reason and ext reason
If the name cannot be resolved, the service returns empty strings.
nodeID | Node ID of the submodule. Throws if node ID ist unknown. |
reason | Reason |
extReason | Extended reason. This is an optional parameter and can be ignored. |
language | Language code. If left empty, primary language (English) is used. |
|
pure virtual |
Gets the vendor name and the device type name
arUserID | Project specific user ID of the AR. Throws if ID is unknown. |
language | Language code. If left empty, primary language (English) is used. |
The arUserID can be read with the Arp.Io.ProfinetStack.Controller.Services.IArDataService
|
pure virtual |
Gets the module and submodule type name
nodeID | Node ID of the submodule. Throws if node ID ist unknown |
language | Language code. If left empty, primary language (English) is used. |
The node ID can be determined for a slot/sublot combination with the Arp.Io.ProfinetStack.Controller.Services.IAddressConversionService