IDEC FC6A-C16K1CE Communications Manual page 235

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

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}}
Read/write type
Device
Device number
Driver number
Network number
Web data type
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).
{{W,D,2058,0,0,HEX-W}}
{{W,D,2058,0,0,HEX-D}}
{{W,D,2058,0,0,DEC-W}}
{{W,D,2058,0,0,DEC-I}}
{{W,D,2058,0,0,DEC-L}}
{{W,D,2058,0,0,DEC-F}}
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.
: 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.
: Sets the device to monitor. The device that can be set is D (data register).
: Sets the device number to monitor as a decimal value.
: The driver number. Set to 0.
: The network number. Set to 0.
: Sets the web data type when the metacharacters will be replaced.
C2F6
C2F6E978
49910
-15626
-1024005768
-123.456
FC6A S
M
S
A
ERIES
ICRO
MART
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
M
FC9Y-B1730
ANUAL
11: W
S
EB
ERVER
11-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents