Maxon MODMAX MM-6280IND Manual de usuario Pagina 101

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 306
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 100
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
101
Each variable is defined using the following layout:
Address Format Additional strings
Where:
Address: Any variable as used in ladder logic (eg. #R1, #YDIAG.1).
Format: A string defining the display format of the variable. The format string has the following structure:
(Note: [ ] denotes an optional parameter)
% [Flags] [Width] [.Prec] [_dp] [l] Type
Format
parameter
Options Description
Flags - Left justified
+ Value starts with a + or -
# If type is o, value begins with a 0
If type is x or X, value starts with 0x
If type is e, E or f, value will have a decimal point.
If type is g or G, value will have a decimal point and trailing zeros will not be
removed.
<Blank> If negative, value starts with -
Width n At least n characters are printed. The value is padded with blanks.
0n At least n characters are printed. The value is padded with leading zeros.
.Prec .0 For e, E, f types, no decimal point is printed.
.n n characters or n decimal places are printed. For e, E, f, g, G types, the last digit
printed is rounded.
<Blank> Defaults to .1 for d, i, o, u, x, X types.
Defaults to .6 for e, E, f types.
Displays all significant digits for g, G types.
_dp _n Decimal places. A decimal point is inserted in the output with n digits following. For d,
i, u types only.
l (long) l Displays d, i, o, u, x, X types as long values.
Type d Signed decimal integer
i Signed decimal integer
o Unsigned octal integer
u Unsigned decimal integer
x Unsigned hexadecimal integer using lower-case letters a-f
X Unsigned hexadecimal integer using capital letters A-F
f Floating point signed value of the form
[-]dddd.dddd
e Floating point signed value of the form
[-]d.dddd or e[+/-]ddd
E Same as e, but with capital E for exponent
g Floating point signed value in either the f or e form based on given value and
precision
G Same as g, but with E for exponent if e format is used
b Bit string. Displays the first string if the bit is False or displays the second string if the
bit is True. Strings must be separated by either tabs or spaces.
a Animated string. If the value of the variable is 0, the first string is printed. If the value
is 1 the second string is printed, etc. If the value exceeds the number of given strings
the last string is printed. Strings must be separated by either tabs or spaces.
Vista de pagina 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 305 306

Comentarios a estos manuales

Sin comentarios