1 FUNCTIONS
1.12 Web Server Function
145
1
■Parameter settings of JavaScript objects
• When an optional parameter setting is omitted, the object will be displayed as default. Also, when the optional parameter
setting is abnormal, the object will be displayed as default.
• Set parameters using the specified data formats. A parameter error occurs if a parameter is set in the data format other
than the specified one (for example, when a character string such as '1' is set in the parameter that should be a numeric
value).
• If the X- and Y- coordinates are omitted, the object will be placed at the upper left end (coordinates 0, 0).
• For an RGB value specified for parameters or HTML specifications such as a color name, the range check is not
performed. The operation for an abnormal setting differs depending on the browser.
• When specifying a device name which includes \, such as Un\G and Jn\X, repeat \ as Un\\G and Jn\\X. (\ is an escape
sequence.)
• The following table lists formats and positional notations available for the devices which can be set for JavaScript objects.
: Can be set, : Cannot be set
Classification Type Device name 16-bit signed
16-bit unsigned
32-bit signed
32-bit unsigned
Single-precision
real number
Double-precision
real number
Bit
User device Bit Input (X)
Output (Y)
Internal relay (M)
Latch relay (L)
Link relay (B)
Annunciator (F)
Link special relay (SB)
Edge relay (V)
Step relay (S)
Bit/word Timer (T) : Unsigned decimal/
hexadecimal
Retentive timer (ST) : Unsigned decimal/
hexadecimal
Bit/double word Long timer (LT) : Unsigned decimal/
hexadecimal
Long retentive timer
(LST)
: Unsigned decimal/
hexadecimal
Bit/word Counter (C) : Unsigned decimal/
hexadecimal
Bit/double word Long counter (LC) : Unsigned decimal/
hexadecimal
Word Data register (D) : Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Link register (W) : Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Link special register
(SW)
: Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Bit Direct access input (DX)
Direct access output
(DY)
System device Bit Special relay (SM)
Word Special register (SD) : Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Index register Word Index register (Z) : Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Double word Long index register (LZ) : Decimal/hexadecimal : Decimal for single-
pre
cision real number
File register Word File register (R) : Decimal/hexadecimal : Decimal/hexadecimal : Decimal
File register (ZR) : Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Refresh data
register
Word Refresh data register
(RD)
: Decimal/hexadecimal : Decimal/hexadecimal : Decimal
Other devices SFC block device (BL)
SFC step device (BLn\S)