Server Side Include (SSI) 46
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
6.4 Argument Functions
6.4.1 General Information
Argument functions are supplied as parameters to certain command functions.
General Syntax:
(Syntax depends on context)
Argument Functions:
6.4.2 ABCCMessage()
This function issues an object request towards an object in the module or in the host application.
Syntax:
ABCCMessage(object, instance, command, ce0, ce1,
msgdata, c_type, r_type)
object - Specifies the Destination Object
instance - Specifies the Destination Instance
command - Specifies the Command Number
ce0 - Specifies CmdExt[0] for the command message
ce1 - Specifies CmdExt[1] for the command message
msgdata - Specifies the actual contents of the MsgData[] subfield in the command
c_type - Specifies the data type in the command (msgdata)
r_type - Specifies the data type in the response (msgdata)
Numeric input can be supplied in the following formats:
Decimal (e.g. 50)-(no prefix)
Octal (e.g. 043)- Prefix 0 (zero)
Hex (e.g. 0x1f)- Prefix 0x
See also...
• “Example (Get_Attribute):” on page 48
• “Example (Set_Attribute):” on page 48
Function Description Page
ABCCMessage() - 46
• Data can be supplied in direct form (format depends on c_type)
• The keyword “ARG” is used when data is supplied by the parent
command (e.g. scanf()).
See also...
• “Command Data Types (c_type)” on page 47
See also...
• “Response Data Types (r_type)” on page 47