Controller configuration. Pharos LPC X, DESIGNER, LPC 1/2/4, TPC, BPS, Rio
Annons
Annons
Pharos Designer User Manual
Controller Configuration
With a Controller selected, choose Configure on the Network Menu:
Uniquely, these settings are stored on the Controllers themselves, not in the project or as part of the upload. They can be changed here or by using the
web interface . The Controller does not have to be associated with a project
Controller to do so.
Network
Use these fields to set a static IP address for the Controller, by default the Controller is set to receive an IP address from a DHCP server.
You can also set the Subnet Mask for the controller using CIDR or dotted decimal notation, a Default Gateway and up to two Name Servers.
If the IP settings have been stored on the Controller's memory card as a "
" or "
will be greyed out.
Logging
Select the verbosity (detail) of the log that can be viewed either via the
or from within Designer using the
in the Main Menu and selecting a Controller (which can be connected via Ethernet or
USB):
- 266 -
Controller configuration
Watchdog
Check this to enable the internal watchdog that will reset the Controller automatically in case of a software crash as a result of either a coding error (“bug”) or a random electromagnetic event such as a power brown-out or spike, nearby lightning strike or static discharge. A startup trigger will be required to determine what the Controller should do after such a reset, see
Remote Logging Via Syslog
Check this to enable logging to the specified IP address. Note that there is a performance penalty to pay for using
Syslog so this should only be enabled for debugging.
NTP Server
Check this and enter the IP address of the appropriate Network Time Protocol (NTP) server. You can also set the interval to Query the NTP server for the current time.
Note that Controllers with DHCP enabled will also synchronise with a suitably configured DHCP server.
Network Ports
The ports opened by the Controller for access to the web server using HTTP and for access to the FTP server for file transfer can be manually configured. This can be useful if there are several Controllers in an installation and remote access is required via a router setup for port forwarding to each Controller.
By default the Controller uses port 80 for the web server and port 21 for the FTP server.
Admin Password
Enter a password to protect the Controller from unauthorised access. Once a password has been set it will be required to Upload, Reload Firmware, change the Controller Configuration (these settings) or open the Control and
Configuration sections of the web interface.
Note: When logging into the Web Interface, the username is "admin"
To Change The Controller Configuration Settings:
1. Make the required changes to any of the fields as described above
2. Press Commit, the settings are then stored on the Controller itself (they are not stored in the project)
3. The Controller will reset
Important: This password cannot be reset if it is forgotten, so ensure it is memorable.
Date And Time
All Controllers have an internal realtime clock which is battery backed and so will operate even when the Controller is not powered. Whilst the internal realtime clock is accurate, the use of a Network Time server of some sort (NTP,
DHCP) is recommended where possible (see above).
- 267 -
Pharos Designer User Manual
The Date and Time fields display the current settings of the selected Controller's realtime clock. Only the designated
Time Server needs be accurate as any other networked controllers will automatically synchronize their realtime clocks to the Time Server.
Note that the project
settings include the correct GMT offset so, if using these location settings, you should set the time here to GMT not local time or the offset will be doubled.
To Manually Change The Time Server's Date And Time:
1. Select the designated Time Server
2. Enter the required settings into the Date and Time fields
3. Press Set
To Synchronize The Time Server's Date And Time To Designer:
1. Select the designated Time Server
2. Ensure that the PC running Designer is set to the correct date and time
3. Press Sync to Designer
Memory Card
The capacity of the Controller's memory card is displayed here with the option to format the card if required, press
"Format Memory Card". Formatting the card will erase all project data and so an upload will be required to restore normal operation.
Storing Configuration Settings On The Memory Card (optional)
After a reset, LPCs look for a file called "LPC.cfg" on the memory card before using its current settings. TPCs look for a file called "TPC.cfg". You can use a text editor (e.g. Notepad) to create this file and copy it to the memory card to force the issue, useful for transferring the IP settings on the card with the project data. The format of the file needs to be: ip 192.168.42.56 255.255.255.0 192.168.42.250
http 80 dns1 192.168.42.254
dns2 192.168.42.1
ntp 192.168.42.1
syslog 192.168.42.8
loglevel 3 watchdog off ip Required Defines the IP address, Subnet Mask and Default Gateway for the controller http optional Defines the HTTP port used by the controller (default 80) dns1/dns2 optional Defines a Domain Name Server (DNS) for the controller to use to resolve host names ntp syslog loglevel optional optional optional
Defines the IP address of an ntp server that the controller should get its time from.
Defines the IP Address of a Syslog server on the network
Defines the log level to be used by the controller, options
- 268 -
Controller configuration watchdog off optional Disables the controller's watchdog (not recommended), omit line to enable watchdog
loglevel Options:
0. Critical
1. Terse
2. Normal
3. Extended
4. Verbose
5. Debug
Using the TPC.cfg or LPC.cfg file to store the Controller's configuration on the memory card allows a Controller to be swapped, in case of failure for example, by just moving the memory card into another Controller.
Any settings within a *.cfg files will override settings set from within Designer,
- 269 -
Ladda ner
Annons