Moxa NA-4021 [86/94] C cgi commands

Moxa ioLogik E4200 [86/94] C cgi commands
C
C. CGI Commands
Using a web browser or standard HTTP protocol makes it easier for a Security SCADA system to monitor and
control an ioLogik via CGI commands.
To get all the syntax of the CGI Commands on line, open a web browser and connect to the ioLogik E4200 using
the following syntax. Replace IP with the IP address of the target ioLogik E4200.
Use the following syntax to get the settings. Start with the ioLogik’s IP or URL followed by getParam.cgi and
a question mark. Next, specify the command followed by another question mark. The commands are case
sensitive, and the & (ampersand) symbol is used to combine multiple commands.
getcommand example Description
SLOT00CH00_STATUS Get the slot-0 channel-0 status
SLOT00CH01_STATUS Get the slot-0 channel-1 status
SLOT00CH02_STATUS Get the slot-0 channel-2 status
SLOT01CH00_STATUS Get the slot-1 channel-0 status
SLOT02CH00_STATUS Get the slot-2 channel-0 status
SLOT03CH00_STATUS Get the slot-3 channel-0 status
SLOT00_MOXA Get the slot-0 moxa code
SLOT00_CHANNEL Get the slot-0 number of channels
NUM_SLOTS Get the number of modules attached
FWR_V Get firmware version
SN_NUM Get system serial number
TIME Get system time
DATE Get system date
Use the following syntax to set the parameters. Start with the ioLogik’s IP or URL followed by setParam.cgi
and a question mark. Next, specify the command followed by another question mark. The commands are case
sensitive, and the & (ampersand) symbol is used to combine multiple commands.
setcommand example Description
SLOT00CH00_STATUS=1 Set the slot-0 channel-0 output raw data 1(unsigned decimal)
SLOT00CH01_STATUS=50 Set the slot-1 channel-2 output raw data 50(unsigned decimal)

Содержание

Скачать