Home » Quick Start Guides » Getting Started
Cytec’s latest IF-12 control module comes with expanded capabilities for LAN communications, including a Local Discovery Tool. Legacy control modules will still require an RS232 connection to set the IP address of the device. Follow the instructions for your specific device.
The control module is set at the factory to the following default settings:
IP Address: 10.0.0.144
Netmask: 255.0.0.0
Gateway 0.0.0.0
Telnet Port: 23
TCP/IP Port 0: 8080
TCP/IP Port 1: 8081
Telnet Lockout: 0 (disabled) Telnet Sessions allowed by default.
Telnet Echo: 0 (disabled) Telnet Sessions do not echo.
TCP Idle 60 (socket will time out after 60 seconds).
To change these you will need to access the serial interface using any standard terminal emulation program from the COM port on your computer. See the section on RS232 communication for further details on setup. Once you have established a serial connection the following commands can be used for configuration:
D command returns a list of current settings:
A1, E1, V0 Answerback = ON, Echo = ON, Verbose = OFF
Baudnumber = 6, RS Handshaking = 1
IP Address = 10.0.0.144
Netmask = 255.255.255.0
Gateway = 0.0.0.0
Port0 = 8080, Port1 = 8081
TCP idle = 60
Telnetlock = 0, Telnet Echo = 0
Battery Ram = 0, Default List = 0
IFConfig command is used to set the static IP address. The syntax for this command is:
ifconfig aaa.aaa.aaa.aaa nnn.nnn.nnn.nnn
a = ip address in dotted decimal format n = subnet mask in dotted decimal format
Example: ifconfig 10.0.0.100 255.0.0.0
Typing ifconfig and hitting the enter key will return the current settings.
Since you may be connected via Telnet to do this, the IP address will not actually change until you reboot the Cytec switch. This helps prevent anyone from mistakenly setting the IP to an unknown address by accident. It is a good idea to double check the settings with the D command before you reboot.
SNET TCP PORT command sets the Port number for TCP/IP sockets. The syntax for this command is:
SNET TCP PORT n m where = equals one of two sockets and m is the port number
Example:
snet tcp port 0 8088 socket 0 is port #8088
snet tcp port 1 8089 socket 1 is port #8089
Port numbers must be between 1024 and 65535.
The Telnet port (23) may also be available. See TELNETLOCK command.
SNET TCP Idle command sets the socket life for the connection. The syntax for this command is:
SNET TCP Idle n (n=seconds) (1 to 3600 sec)
Default = 60 sec
SNET TCP Idle (display)
TCP Idle = 60
SNET TCP Idle 0 Socket never dies until the computer that established the socket kills it.
Setting the TCP Idle to 0 will force the socket to stay alive until the program that established the socket kills it.
WARNING: This can lead to issues if there is a network disconnect or the computer that established the socket locks up. If the computer that establishes the socket cannot kill the socket, no one will be able to connect to the switch until the Cytec unit is rebooted.
Dynamic IP Address (DHCP): The Cytec IF12 is set at the factory to attempt to obtain an address from a DHCP server when the application boots. If you are connected to a network with a DHCP server, then the device IP address, network mask and gateway should be configured automatically. If your PC is on the same DHCP network, you will be able to communicate with the device after a short boot period of 2-3 seconds.
Static IP Address: If the module is plugged in to a network that does not have a DHCP server, you must provide a static IP address, network mask and gateway. These addresses should be provided by your network administrator.
Auto IP Address: The factory application contains an auto IP negotiation system. This allows the device to automatically configure its address in the absence of a central DHCP server, and without the need for a static IP address. This scheme is utilized as a fallback that will activate when both dynamic and static IP addresses fail to initialize. In order to communicate with a device in auto IP mode, the host system must support auto IP. Auto IP support is included in both Windows and OS X operating systems. By default, auto IP addressing starts in the 169.XXX.XXX.XXX address range.
Find Your Device
Our recommended option to locate the device is to use a local discover utility. You can do this by navigating to the Cytec web site and downloading the tool localdiscover.exe. The executable sends out a request to all Cytec devices on the local network. It opens a browser page on the first device to respond that lists all of the discovered devices, or a page that show that no devices were found.
Note: If these options are failing, there may be a firewall issue blocking the applications from sending the UDP broadcast that is used to locate Cytec devices. Always grant Cytec applications the ability to get through your OS firewall and ensure that UDP port 20034 is open for use.
Find Your Device
Open Device Manager on Windows computers and navigate to Ports. The COM port number will be bracketed next to the device description.
Configure Your Device
The RS232 interface can be accessed using any standard terminal emulation program such as PuTTY which can be downloaded from putty.org.
Enter the COM port number in the field for the Serial line to connect to.
The default values set at the factory are:
The first thing you should do is turn on Echo. This will enable you to see what you are typing. Make sure you turn Echo back off when you are done with the terminal session. Echo being left on will normally interfere with programs written specifically to control the switch.
Echo
Echoes the characters back to your screen while you type them so you can see what you type.
Answerback
Answerback allows the Control Module to return information to the COM port. Answerback should almost always be left on. If Answerback is enabled, the Answerback byte must be read back by the requesting device. Failure to do so could have unpredictable results.
Verbose
Verbose causes the system to return more specific information when you request status or read answerback characters. It is sometimes helpful when troubleshooting but it slows the interface down a lot. While there may occasionally be a good reason to turn on Verbose during a Hyperterm session, it is almost never used in a programmatic interface. All of the same information can be generated in code based on the non-verbose responses without slowing down the RS232 interface.
Baud Rate: To configure the baud rate use the following table to find the baud number corresponding to the required baud rate.
Baud Rate: Baud #
The baud rate may be modified by the ‘P19’ command. Command syntax: “P19 n 73”. For example, “P19 7 73” sets baud rate to 19200. If the Baud rate is inadvertently set to an unknown rate, the default value may be restored. See the section on Setting Defaults for the procedure. Obviously as soon as you reset the Cytec baud rate you will no longer be able to communicate with the switch until you reset the baud rate on your controlling computer or communication device.
CTS/RTS Handshake: RTS/CTS handshaking is on by default from the factory. This is the recommended setting.
Command syntax: “P6 handshake 73”
Also known as GPIB (General Purpose Interface Bus), IEEE-488 is the international standard for a parallel interface used for attaching sensors and programmable instruments to a computer. When connecting IEEE-488 cables, some rules apply. The total number of devices should be 15 or less. The total length of all cables should not exceed 2 metres multiplied by the number of connected devices, up to a maximum of 20 metres. And no more than three connectors should be stacked together.
Find Your Device
Our recommended option to locate the device is to use NI Measurement & Automation Explorer (NI MAX), which can be downloaded from their website. Link to NI. Search for instruments in the application and the Cytec device should be found at default GPIB address 7.
Configure Your Device
GPIB Address: Command syntax: “P14 n 73”. For example, “P14 8 73” sets the GPIB address to 8.
The factory application that is included with the IF12 Control module includes:
The URL request should look like the following:
http://<Device IP>
Where <Device IP> is replaced with the corresponding IP address. For more information on finding the IP address of your device, please see the previous section of this guide, Device Discovery for the IF12.
For 32 Channel systems with an IF12 control module it is possible to set the following parameters on the Set System Parameters page:
Manual Control: If MODE is set to Matrix on the front panel the user will be able to latch all of the 32 switchpoints at the same time. If MODE is set to Multiplex on the front panel the user will be able to latch one of the 32 switchpoints at a time in SINGLE 32 mode or one switchpoint per module in QUAD 8 or DUAL 16 mode.
Remote Control: Commands sent remotely will not have the same limitations as the front panel. The coder is able to latch all 32 switchpoints using the Latch command “L”. The Multiplex Modes (SINGLE 32, QUAD 8 and DUAL 16) only affect the Multiplex command “X”, as detailed in the examples below.
Example 1: Configuration QUAD 8. The following commands are sent in the respective order:
Example 2: Configuration DUAL 16. The following commands are sent in the respective order:
Example 3: Configuration SINGLE 32 (1X32 MTX SIZE). The following commands are sent in the respective order:
To recap: The latch command “L” will always latch the relay requested if it is in the range of allowable relays. The multiplex command “X” will unlatch all of the other relays if the Mux Mode is set to SINGLE 32. If Mux Mode is set to QUAD 8 or DUAL 16 the multiplex command “X” will unlatch all of the relays on the same module as the requested relay.
The Cytec Application is configured to allow users to send commands to either a Mainframe Chassis or an Expansion Chassis in a Mesa System. For Mainframes the Current Matrix should always be set to 0. This is set in the Matrix Parameters Section and displayed at the top of the Control Grid.
The Cytec Application allows users to store nine lists of switch points, List1 through List9, in non-volatile memory. List0 also exists but is a list of the current closed switch points.
Clicking on a list shows the switch points that are currently in the list. The name of the list should appear in the Filename text box and a list of all of the switch points currently in the list should appear in the box below this. Click on the grid to add points to the list, or to remove selected switch points from the list. Press Save List to save the list or Clear List to clear it.
Once the list has been saved it will be available to use in the Switch Control Grid.
The File Manager allows you to view, download and upload files stored in RAM.
To view a file click on the link in the first column. To download a file click on the link in the second column.
To upload a file right click on the choose file button and select a file. Click the Send File button to upload. Note: This is an embedded device and the only file types that should be uploaded are text files less than 16k in size.
To delete a file type the exact name of the file with the extension into the Delete File text box. You cannot delete List0.cfg.
The GUI looks for specific file names for grid column and row labels. Specifically modLabelsN.txt and rlyLabelsN.txt, where N is the Matrix number. For example, the filenames for a Mainframe system should be modLabels0.txt and rlyLabels0.txt. The format of the file should be