IDEC FC6A-C16K1CE Communications Manual page 238

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

Advertisement

11: W
S
EB
ERVER
Example of written data when the maximum number of bytes is even
For {{W,D,2058,0,0,STR_ASCII,4}}, 3 words of data will be written.
Data Register
Before writing
Write A
Write AB
Write ABC
Write ABCD
Note: Metacharacter Format Precautions
The entire string between {{ and }} is recognized as the metacharacters. It cannot contain extra spaces, line breaks, or
characters, such as HTML tags.
For example, the metacharacters cannot be coded as follows when attempting to emphasize the numeric value. This violates the
metacharacter format, and it will not be replaced with the numeric value.
{{<em>W,D,2058,0,0,HEX-D</em>}}
To replace the string and emphasize the value, code the metacharacter format as follows.
<em>{{W,D,2058,0,0,HEX-D}}</em>
Bar Graph (Vertical)
When the monitor function is enabled and the div tag and parameters are coded on the HTML file, it will be automatically
converted to a JavaScript request and the values of the data registers acquired via CGI will be displayed in a vertical bar graph.
To draw a vertical bar graph, first set the id attribute to a string that indicates a unique ID for each graph, set the data-graph
attribute to "vbar" that indicates the type of data, and code the parameters in the div tag.
The parameters that can be set are as follows. If the default value of the parameter is acceptable, it does not need to be set.
device
: The device. Set this to "D" (data register).
address
: The device number. Set this as a numeric value.
driver
: The driver number. Set this to 0.
net_no
: The network number. Set this to 0.
format
: The web data type string.
width
: The width of the div border in pixels. The default value is 300.
height
: The height of the div border in pixels. The default value is 300.
line_col
: The line color of the div border. The default value is "#000000".
barvgutter
: The vertical space from the div border to the graph in pixels.
The default value is 30.
barwidth
: The width of the graph in pixels. The default value is 20.
gutter
: The space between graphs in pixels when displaying multiple graphs.
The default value is 20.
type
: The shape of the ends of the graph. Select "square", "round", "sharp", or "soft". The default setting is "square".
scalewidth
The width of the scale in pixels. The default value is 5.
:
labelvgutter
The vertical space from the graph where the label will be displayed in pixels.
:
The default value is 20.
labelhgutter
The horizontal space from the graph where the label will be displayed in pixels.
:
The default value is 30.
bars[]
An array of parameters that configures each graph. Code the parameters for each array in { } and
:
separate each array element with ",".
11-20
ASCII
Value (hexadecimal)
ASCII
Value (hexadecimal)
ASCII
Value (hexadecimal)
ASCII
Value (hexadecimal)
ASCII
Value (hexadecimal)
FC6A S
M
S
A
ERIES
ICRO
MART
LL
Set Values
D2058
'a' 'b'
6162h
'A' '\0'
4100h
'A' 'B'
4142h
'A' 'B'
4142h
'A' 'B'
4142h
-
-O
T
C
IN
NE
YPE
OMMUNICATION
D2059
'c' 'd'
6364h
'\0' '\0'
0000h
'\0' '\0'
0000h
'C' '\0'
4300h
'C' 'D'
4344h
M
FC9Y-B1730
ANUAL
D2060
'e' 'f'
6566h
'\0' '\0'
0000h
'\0' '\0'
0000h
'\0' '\0'
0000h
'\0' '\0'
0000h

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents