![Elpro Technologies 105U-G Скачать руководство пользователя страница 152](http://html1.mh-extra.com/html/elpro-technologies/105u-g/105u-g_user-manual_2396090152.webp)
Appendix 2
MAN_105G_1.16
Page 154
Syntax:
<?--#exec cmd_argument=’DisplayDNS1’-->
This function returns the address of the primary DNS server.
DisplayDNS2
Syntax:
<?--#exec cmd_argument=’DisplayDNS2’-->
This function returns the address of the secondary DNS server
DisplayHostName
Syntax:
<?--#exec cmd_argument=’DisplayHostName’-->
This function returns the hostname.
DisplayDomainName
Syntax:
<?--#exec cmd_argument=’DisplayDomainName’-->
This function returns the default domain name.
DisplayDchpState
Syntax:
<?--#exec cmd_argument=’DisplayDhcpState( "Output when ON", "Output when
OFF")’-->
This function returns whether DHCP/BootP is enabled or disabled.
DisplayDhcpSupport
Syntax:
<?--#exec cmd_argument=’DisplayDhcpSupport( "Arg1", "Arg2" )’-->
DHCP support can be disabled using configuration software. This function returns
‘Arg1’ if it’s enabled and ‘Arg2’ if it’s disabled.
DisplayEmailServer
Syntax:
<?--#exec cmd:argument=’DisplayEmailServer’-->
This function returns the currently used SMTP server address.
DipslaySMTPUser
Syntax:
<?--#exec cmd:argument=’DisplaySMTPUser’-->
This function returns the username used for SMTP authentication.
DipslaySMTPPswd
Syntax:
<?--#exec cmd:argument=’DisplaySMTPPswd’-->
This function returns the password used for SMTP authentication.
GetText (
Note - This function cannot be used within email messages)
Syntax:
<?--#exec cmd arbgument=’GetText( "ObjName", OutWriteString ( offset ), n )’-->
This SSI function gets the text from an object and stores it in the OUT area.
ObjName - Name of object.
offset
- Specifies the offset from the beginning of the OUT area (i.e. Fieldbus
Location).