6.3.1.8.1.1 SetTags Method

This optional method writes the I&M1 fields IM_TagFunction and IM_Tag_Location remanent to the PROFINET device and sets the TagFunction and TagLocation variables accordingly.

Signature

	SetTags (
		[in] IMTagSelectorEnumeration Tag_Selector,
		[in] String Tag_Function,
		[in] String Tag_Location
		);
	
Argument Description
Tag_SelectorIf FUNCTION, Tag_Function shall be written, If LOCATION, Tag_Location shall be written, if BOTH both.
Tag_FunctionString containing the new I&M1 | IM_Tag_Function to be written remanent to the device.
Tag_LocationString containing the new I&M1 | IM_Tag_Location to be written remanent to the device.

Method Result Codes

ResultCode Description
Bad_InvalidArgumentThe Server is not able to apply an argument. The argument may be too long or may contain invalid characters.
Bad_UnexpectedErrorThe Server is not able to apply the name because an unexpected error occurred. The device might be temporarily unavailable or unreachable due to network failure.