NetLinx Programming Overview
5
NetLinx Programming Language Reference Guide
DEFINE_VARIABLES
Axcess Language
NetLinx Language
Axcess supports 5 types of variables:
•
Integer Variables
(default) can contain a value
from 0 to 65,535.
•
Character Arrays
are single element arrays, in
which each element has a value from 0 to 255 with
a maximum of 255 elements
•
2-Dimensional Arrays
equate to a maximum of
255 single element character arrays. Each
element can have a value from 0 to 255.
•
Integer Arrays
are single element arrays, in which
each element can contain a value from 0 to 65,535
with a maximum of 255 elements
•
2-Dimensional Integer Arrays
may have a
maximum value of 65,535.
Variables are Non-Volatile (the variable loses its
value when the program is loaded, but retains its
value if the controller is reset).
DEFINE_VARIABLE
VALUE
ARRAY[3]
ARRAY_2DIM[4][6]
INTEGER INT_ARRAY[6]
NetLinx substantially increased the number of supported
variable types. In addition to more data types, NetLinx
also supports Sets, Structures, and Multi-dimensional
arrays.
Arrays default to Character Arrays. Variables default to
Integer Variables. Variables default to Non-Volatile, but
can be set as Non-Volatile or Volatile (Volatile variables
are initialized when code is loaded or when the system
is reset).
DEFINE_VARIABLE
CHAR VALUE1
WIDECHAR BIGCHAR
INTEGER VALUE2
SINTEGER SIGNED1
LONG BIGVALUE
SLONG SIGNED2
FLOAT DECIMAL
DOUBLE VERYBIGVALUE
INTEGER ARRAY[3][3][3]
VOLATILE INTEGER RESET_VAR
Содержание NETLINX PROGRAMMING LANGUAGE
Страница 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Страница 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Страница 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Страница 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Страница 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Страница 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Страница 114: ...Mainline 98 NetLinx Programming Language Reference Guide FIG 1 Message and Mainline Processing in the NetLinx System...
Страница 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Страница 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Страница 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Страница 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...