
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
11-17
11: W
EB
S
ERVER
Monitor Function
The values of data registers can be monitored without the use of complicated JavaScript or CGI.
In the
HMI Module Configuration
dialog box, on the
Web Server
tab, the
Enable data register monitor
check box must be
selected to use this function.
Note:
Processing is added to the headers of the imported htm and html files that loads a JavaScript library when the program is converted in
WindLDR. The web pages may not operate as expected in the web browser depending on the content of the imported htm and html files.
To stop loading this JavaScript library, in the HMI Module Configuration dialog box, on the Web Server tab, clear the Enable data register monitor
check box, and import the files.
Metacharacter Format (Word Device)
When the monitor function is enabled and an html file includes a string with the following format, it is automatically converted to a
JavaScript request and replaced with the value of the data register acquired via CGI.
No special knowledge of JavaScript is required.
{{Read/write type, device, device number, driver number, network number, web data type}}
Example: {{R,D,123,0,0,DEC-W}}
Notes:
•
Strings that do not follow the metacharacter format will not be replaced with numeric values by JavaScript.
•
If communication with the FC6A Series MicroSmart fails or the specified device does not exist, the strings are replaced with "----".
•
The numeric value that had been replaced with the metacharacters (set to read/write type W) can be used to overwrite the data of the
corresponding device in the web browser.
Example
The metacharacters are converted as follows when D2058 is 49910 (C2F6h) and D2059 is 59768 (E978h).
When you click the numeric values in the previous examples, a dialog box will be displayed. A numeric value entered in this dialog
box will be reflected in the device.
Read/write type
: R or W can be set. When R is set, the value is read only. When W is set, a value can also be
written to the device.
Device
: Sets the device to monitor. The device that can be set is D (data register).
Device number
: Sets the device number to monitor as a decimal value.
Driver number
: The driver number. Set to 0.
Network number
: The network number. Set to 0.
Web data type
: Sets the web data type when the metacharacters will be replaced.
{{W,D,2058,0,0,HEX-W}}
→
C2F6
{{W,D,2058,0,0,HEX-D}}
→
C2F6E978
{{W,D,2058,0,0,DEC-W}}
→
49910
{{W,D,2058,0,0,DEC-I}}
→
-15626
{{W,D,2058,0,0,DEC-L}}
→
-1024005768
{{W,D,2058,0,0,DEC-F}}
→
-123.456
Содержание MICROSmart FC6A-C16K1CE
Страница 1: ...B 1730 2 FC6A SERIES All in One Type Communication Manual...
Страница 60: ...3 COMMUNICATION SETTINGS 3 22 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 76: ...4 MAINTENANCE COMMUNICATION 4 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 126: ...5 USER COMMUNICATION INSTRUCTIONS 5 50 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 158: ...6 MODBUS COMMUNICATION 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 200: ...8 J1939 COMMUNICATION 8 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 218: ...10 SEND E MAIL FUNCTION 10 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 252: ...INDEX 4 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 INDEX...