208
Gemini GV6K/GT6K Command Reference
NTMASK
Ethernet Network Mask
Type
Communication Interface
Syntax
NTMASK<i,i,i,i>
Units
i,i,i,i = mask
Range
i = 0-255
Default
255,255,255,0
Response
NTMASK: *255,255,255,0
See Also
NTADDR, TNTMAC
Product Rev
GT6K 6.0
GV6K 6.0
Use the
NTMASK
command to configure the Gem6K drive’s network mask.
NOTE
: The Gem6K drive
needs to be reset (cycle power or issue
RESET
command) in order for the new network mask to take effect.
The
NTMASK
setting is automatically saved in battery backed RAM.
NTSFS
Ethernet Send Fast Status Packet
Type
Communication Interface
Syntax
NTSFS
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
NTFEN
Product Rev
GT6K 6.0
GV6K 6.0
The
NTSFS
command allows a Gem6K program to send a
Fast Status packet
, as needed, from the Gem6K
drive to a PC application (COM6SRVR). In a typical application, a PC may be controlling a machine and
using the COM6SRVR’s
Variable Packets
to send variables and “job” instructions to the Gem6K. When
the job is complete, the Gem6K could execute the
NTSFS
command to send a Fast Status packet back to the
PC, thus indicating that the job was completed. Using the VarI and VarB elements of the Fast Status packet
allows the Gem6K to communicate that the job was completed satisfactorily or that a specific error caused
the job to fail.
For details on using Fast Status and COM6SRVR, refer to the
Communication Server Programmer’s
Reference
.
NWHILE
End WHILE Statement
Type
Program Flow Control or Conditional Branching
Syntax
<a_><!>NWHILE
Units
n/a
Range
n/a
Default
n/a
Response
No response when used in conjunction with the WHILE command
See Also
WHILE
Product Rev
GT6K 6.0
GV6K 6.0
The
WHILE
command, in conjunction with the
NWHILE
command, provide a means of conditional program
flow. The
WHILE
command marks the beginning of the conditional statement, the
NWHILE
command marks
the end. If the expression contained within the parenthesis of the
WHILE
command evaluates true, then the
commands between the
WHILE
and
NWHILE
are executed, and continue to execute as long as the expression
evaluates true. If the expression evaluates false, then program execution jumps to the first command after
the
NWHILE
.
Up to 16 levels of
WHILE
....
NWHILE
commands may be nested.
NOTE
:
Be careful about performing a
GOTO
between
WHILE
and
NWHILE
. Branching to a different
location within the same program will cause the next
WHILE
statement encountered to be nested
within the previous
WHILE
statement, unless an
NWHILE
command has already been encountered.
Programming order:
WHILE(expression)
...commands...
NWHILE
www.comoso.com
Содержание Gemini GT6K
Страница 24: ...www comoso com ...
Страница 40: ...www comoso com ...
Страница 344: ...www comoso com ...
Страница 350: ...www comoso com ...