![Anybus CompactCom 40 Common Ethernet Скачать руководство пользователя страница 42](http://html1.mh-extra.com/html/anybus/compactcom-40-common-ethernet/compactcom-40-common-ethernet_design-manual_2948756042.webp)
40 (104)
8.4
Argument Functions
8.4.1
General Information
Argument functions are supplied as parameters to certain command functions.
General Syntax:
(Syntax depends on context)
Argument Functions:
Function
Description
ABCCMessage()
-
8.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
•
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()).
c_type:
Specifies the data type in the command (msgdata), see below.
r_type:
Specifies the data type in the response (msgdata), see below.
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
Anybus
®
CompactCom
™
40 Common Ethernet Design Guide
HMSI-27–269 2.1