EasyManua.ls Logo

Anybus CompactCom 40 EtherNet/IP - Page 47

Anybus CompactCom 40 EtherNet/IP
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Server Side Include (SSI) 47
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
Command Data Types (c_type)
For types which support arrays, the number of elements can be specified using the suffix ‘[n]’,
where ‘n’ specifies the number of elements. Each data element must be separated by space.
Response Data Types (r_type)
For types which support arrays, the number of elements can be specified using the suffix ‘[n]’,
where ‘n’ specifies the number of elements.
Type Supports Arrays Data format (as supplied in msgdata)
BOOL Yes 1
SINT8 Yes -25
SINT16 Yes 2345
SINT32 Yes -2569
UINT8 Yes 245
UINT16 Yes 40000
UINT32 Yes 32
CHAR Yes A
STRING No “abcde”
Note: Quotes can be included in the string if preceded by backslash(‘\’)
Example: “We usually refer to it as \”the Egg\” “
FLOAT Yes 5.6538e2
BITS8 Yes 8-bit field
BITS16 Yes 16-bit field
BITS32 Yes 32-bit field
OCTET Yes 8-bit field
BIT1 - 7 Yes 1-bit to 7-bit field
PAD0 - 16 Yes 0 - 16-bit field, for filling up a string to a predefined size
NONE No Command holds no data, hence no data type
Type Supports Arrays Comments
BOOL Yes Optionally, it is possible to exchange the BOOL data with a message
based on the value (true or false). In such case, the actual data type
returned from the function will be STRING.
Syntax: BOOL<true><false>
For arrays, the format will be BOOL[n]<true><false>.
SINT8 Yes -
SINT16 Yes -
SINT32 Yes -
UINT8 Yes This type can also be used when reading ENUM data types from an
object. In such case, the actual ENUM value will be returned.
UINT16 Yes -
UINT32 Yes -
CHAR Yes -
STRING No -
ENUM No When using this data type, the ABCCMessage() function will first read
the ENUM value. It will then issue a ‘Get Enum String’-command to
retrieve the actual enumeration string. The actual data type in the
response will be STRING.
FLOAT Yes -
BITS8 Yes -
BITS16 Yes -
BITS32 Yes -
OCTET Yes -
BIT1 - 7 Yes -

Table of Contents

Related product manuals