![Anybus CompactCom 40 EtherNet/IP Network Manual Download Page 48](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758048.webp)
Server Side Include (SSI)
48
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
IMPORTANT:
It is important to note that the message will be passed transparently to the addressed object. The SSI
engine performs no checks for violations of the object addressing scheme, e.g. a malformed Get_Attribute request which
(wrongfully) includes message data will be passed unmodified to the object, even though this is obviously wrong. Failure to
observe this may cause loss of data or other undesired side effects.
Example (Get_Attribute):
This example shows how to retrieve the IP address using printf() and ABCCMessage().
<?--#exec cmd_argument='printf( "%u.%u.%u.%u",
ABCCMessage(4,3,1,5,0,0,NONE,UINT8[4] ) )'-->
See also...
Example (Set_Attribute):
This example shows how to set the IP address using scanf() and ABCCMessage(). Note the spe-
cial parameter value ‘ARG’, which instructs the module to use the passed form data (parsed by
scanf() ).
<?--#exec cmd_argument='scanf("IP", "%u.%u.%u.%u",
ABCCMessage(4,3,2,5,0,ARG,UINT8[4],NONE ) )'-->
See also...
PAD0 - 16
Yes
-
NONE
No
-
Variable
Value
Comments
object
4
Network Configuration Object (04h)
instance
3
Instance #3 (IP address)
command
1
Get_attribute
ce0
5
Attribute #5
ce1
0
-
msgdata
0
-
c_type
NONE
Command message holds no data
r_type
UINT8[4]
Array of 4 unsigned 8-bit integers
Variable
Value
Comments
object
4
Network Configuration Object (04h)
instance
3
Instance #3 (IP address)
command
2
Set_attribute
ce0
5
Attribute #5
ce1
0
-
msgdata
ARG
Use data parsed by scanf() call
c_type
UINT8[4]
Array of 4 unsigned 8-bit integers
r_type
NONE
Response message holds no data
Type
Supports Arrays
Comments