![AMX NetLinx Master-Ethernet Card/Module NXC-ME260 Programming Manual Download Page 89](http://html.mh-extra.com/html/amx/netlinx-master-ethernet-card-module-nxc-me260/netlinx-master-ethernet-card-module-nxc-me260_programming-manual_2937622089.webp)
Programming
81
NI Series WebConsole & Programming Guide
Programming
Overview
This section describes the Send_Commands, Send_Strings, and Channel commands you can use to
program the Integrated Controller. The examples in this section require a declaration in the
DEFINE_DEVICE section of your program to work correctly. Refer to the
NetLinx Programming
Language
instruction manual for specifics about declarations and DEFINE_DEVICE information.
Port Assignments By NI Model
Master Send_Commands
These commands are specific to the Master and not the Controller. These commands are sent to the DPS
0:1:0 (the Master you are connected to).
A device (<DEV>) must first be defined in the NetLinx programming language with values for the
Device: Port: System (<D:P:S>).
Port Assignments By NI Model
NI Model
RS-232/422/485
IR/Serial
IR/RX
Relays
I/O
NI-700
Ports 1 - 2
Port 3
Port 5
Port 4
NI-900
Port 1
Ports 2-4
Port 6
Port 5
NI-2000
Ports 1 - 3
Ports 5-8
Port 4
Port 9
NI-3000
Ports 1 - 7
Ports 9-16
Port 8
Port 17
NI-4000
Ports 1 - 7
Ports 9-16
Port 8
Port 17
NI-2100
Ports 1 - 3
Ports 5-8
Port 4
Port 9
NI-3100
Ports 1 - 7
Ports 9-16
Port 8
Port 17
NI-4100
Ports 1 - 7
Ports 9-16
Port 8
Port 17
NI-3101-SIG
Ports 1 - 6
Ports 9-16
Port 8
Port 17
Master Send_Commands
Command
Description
CLOCK
Set the date and time on the
Master.
The date and time settings are propagated over the local bus.
Syntax:
SEND_COMMAND <DEV>,"'CLOCK <mm-dd-yyyy> <hh:mm:ss>'"
Variables:
mm-dd-yyyy = Month, day, and year. Month and day have 2 significant digits.
Year has 4 significant digits.
hh-mm-ss = Hour, minute, and seconds. Each using only 2 significant digits.
Example:
SEND_COMMAND 0,"'CLOCK 04-12-2005 09:45:31'"
Sets the Master's date to April 12, 2005 with a time of 9:45 am.
Summary of Contents for NetLinx Master-Ethernet Card/Module NXC-ME260
Page 8: ...vi NI Series WebConsole Programming Guide Table of Contents ...
Page 13: ...Overview 5 NI Series WebConsole Programming Guide ...
Page 14: ...Overview 6 NI Series WebConsole Programming Guide ...
Page 34: ...Onboard WebConsole User Interface 26 NI Series WebConsole Programming Guide ...
Page 36: ...WebConsole WebControl Options 28 NI Series WebConsole Programming Guide ...
Page 88: ...WebConsole System Options 80 NI Series WebConsole Programming Guide ...
Page 104: ...Programming 96 NI Series WebConsole Programming Guide ...
Page 156: ...Appendix A IPSec Configuration File 148 NI Series WebConsole Programming Guide ...
Page 161: ...Terminal Program Port Telnet Commands 153 NI Series WebConsole Programming Guide ...