Cambium Networks cnReach N500 handleiding
Handleiding
Je bekijkt pagina 92 van 253

cnReach N500 User Guide System Configuration
phn-4980_001v004 August 2019)
2-59
PLC Menu
The PLC feature enables the operator to configure cnReach to “act” on a local I/O input event to trigger
local I/O output. The input event handler is programmable using a BASIC-like language, strictly
following BASIC syntax.
Any cnReach with IO capability can host a Local PLC module . The PLC module is a separate software
module that must be downloaded from the support website and installed separately.
PLC is only supported on OS version 5.2.17 and above. A PLC software module needs to be uploaded
and applied to the OS. This separate PLC software module should be downloaded from the
support website and installed on the management/files pages just as an OS upgrade would be
installed. After installation, the PLC menu and options will be visible in the GUI.
This PLC module executes the supplied BASIC language code approximately once every 100ms.
LOCAL PLC Supported Functions
int = fnCRGet(Reg) - Get coil register from Modbus registers.
int = fnDRGet(Reg) - Get discrete register from Modbus registers.
int = fnHRGet(Reg) - Get holding register from Modbus registers.
int = fnIRGet(Reg) - Get input register from Modbus registers.
int = fnHRGetFloat(Reg) - Get float from holding register and register+1, from Modbus registers.
fnCRSet(Reg,Val) - Set coil register in Modbus registers. Val is 0 or non-zero.
fnHRSet(Reg,Val) - Set holding register in Modbus registers. Val is 16 bits, unsigned.
fnHRSetFloat(Reg,Val) - Set float in holding register and register+1, in Modbus registers. Val is float/real.
fnGetSeconds() - Get float/real of uptime seconds.
LOCAL PLC Supported BASIC Language Key Words
Reserved Keywords:
REM, TRUE, FALSE, NIL, MOD, AND, OR, NOT, IS, LET, DIM, IF, THEN, ELSEIF, ELSE, ENDIF, FOR, IN, TO,
STEP, NEXT, WHILE, WEND, DO, UNTIL, GOTO, GOSUB, RETURN, CALL, DEF, ENDDEF, ME, NEW, VAR,
REFLECT, MEM, TYPE, END.
Standard Library:
ABS, SGN, SQR, FLOOR, CEIL, FIX, ROUND, SRND, RND, SIN, COS, TAN, ASIN, ACOS, ATAN, EXP, LOG,
ASC, CHR, LEFT, LEN, MID, RIGHT, STR, VAL, PRINT.
PRINT:
PRINT "string" - print string without trailing carriage return/line feed.
PRINT "string"; - print string with trailing carriage return/line feed.
Bekijk gratis de handleiding van Cambium Networks cnReach N500, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
| Merk | Cambium Networks |
| Model | cnReach N500 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 43613 MB |







