Introduction
1
NetLinx Programming Language Reference Guide
Introduction
NetLinx
®
is the second generation of the Axcess
®
programming language and is a superset of the
original Axcess language with extensions for additional data types, new event handlers, structure
support, multi-dimensional arrays, and other features. This document assumes that you are familiar with
Axcess; the focus is on the new language elements and how they extend the functionality of the existing
language.
For background information on Axcess, refer to the
Axcess Programming Language
instruction manual.
For a side-by-side comparison of programming in Axcess and NetLinx, refer to the
NetLinx
Programming Overview
section on page 3.
Conventions Used in this Document
NetLinx contains a number of keywords that define various available operations to perform in a NetLinx
command, such as the word
CALL
in the statement:
CALL 'Read Data' (Buffer)
Keywords are case insensitive. For example, the
PUSH
command is the same as
push
. Keywords are
reserved, meaning that identifiers (device names, constants, or variables) must have unique names. These
keywords are listed and defined in the
Reserved Identifiers
section on page 99. All references to NetLinx
language keywords in this document appear in
THE FONT SHOWN HERE
, in all capital letters.
Programming examples appear in the same fixed font. For example:
DEFINE_VARIABLE
CHAR MyString[32]
INTEGER StrLen
Square brackets indicate an optional element in a command. Angle brackets indicate substitution. In the
example below, the notation
<return type>
indicates that a valid data type (such as
CHAR
,
INTEGER
,
or
FLOAT
) must be substituted for
<return type>
. The square brackets surrounding it indicate that
the return type is optional.
DEFINE_FUNCTION [<return type>] <name> [(Param1, Param2, …)]
{
(* body of subroutine *)
}
Related Instruction Manuals
These instruction manuals contain additional information that relates to the NetLinx Programming
Language:
Axcess Programming Language Instruction Manual
NetLinx Studio Program Instruction Manual
Содержание 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...