Difference between revisions of "Serial communication - ICX-AlphaCom"
From Zenitel Wiki
Line 41: | Line 41: | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
− | * In the Configuration window, select the tab '''Operating Mode''', enable '''Modify'''. Highlight Port 1 (RS232) (or Port 2 | + | * In the Configuration window, select the tab '''Operating Mode''', enable '''Modify'''. Highlight Port 1 (= RS232) (or Port 2 = RS422/485), and select '''Settings'''. Set ''Operation Mode'' = '''TCP Server Mode''', and select which '''TCP port''' to use for the communication between the ICX-500 and the NPort device. |
[[File:NPort Opmode.PNG|600px|left|thumb|Setting port 1 to TCP Server mode, using TCP port 4001]] | [[File:NPort Opmode.PNG|600px|left|thumb|Setting port 1 to TCP Server mode, using TCP port 4001]] | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
− | * In the Configuration window, select the tab '''Serial''', enable '''Modify'''. Highlight Port 1 (RS232) (or Port 2 | + | * In the Configuration window, select the tab '''Serial''', enable '''Modify'''. Highlight Port 1 (= RS232) (or Port 2 = RS422/485), and select '''Settings'''. Set the communication parameters are required by the remote application. |
[[File:NPort Serial.PNG|600px|left|thumb|Setting communication parameters on port 1]] | [[File:NPort Serial.PNG|600px|left|thumb|Setting communication parameters on port 1]] | ||
<br style="clear:both;" /> | <br style="clear:both;" /> |
Revision as of 13:39, 11 August 2020
The serial (RS232) port in the ICX-500 is a console port used for debugging purposes only, and cannot be used for any applications.
In case there is a need for serial communication between the ICX-500 and a remote application, an external Ethernet to Serial Converter is required.
This article describes how to use the Ethernet to Serial Converter NPort 5230 from Moxa to achieve serial communication with the ICX-500.
Configuration of the ICX-500
In AlphaPro, Exchange & System > Serial Ports, select the driver/protocol you want to use, and select Change.
- Enable the data link, and set "Port Type" = TCP/IP Client
- Enter the IP Address of the NPort device, and the TCP Port number to use for the communication between the ICX-500 and the NPort device. The same TCP port number must also be configured in the NPort device.
- Enable TCP Keep Alive to keep the connection established even if there is no traffic on the link
- Enable Connect at AlphaCom Startup
- IF "ACDP Link" was chosen as protocol, you also need to select Link Type, Broadcast enable and enter a Destination name (free text)
Configuration of NPort 5230
- Install NPort Administrator on your Windows laptop. Download the setup program from Moxa’s support website (https://www.moxa.com/support/), and run the installation.
- Run NPort Administrator when the installation has been completed.
- In NPort Administrator, click Search to search your LAN for NPort devices. When your NPort unit appears in the search results, you may click Stop to end the search. You may also wait a few more moments for the search to complete. Since the Search function searches by MAC address and not IP address, all NPorts connected to the LAN will be located, regardless of whether or not they are part of the same subnet as your laptop.
- Before configuring the NPort, you will need to unlock the NPort first. Right-click the unit in the Configuration screen and select Unlock in the pop-up menu. Enter password moxa (default).
- Now right-click your unit in the Configuration screen and select Configure in the pop-up menu.
- In the Configuration window, select the tab Network, and Modify the IP address and other network settings as required.
- In the Configuration window, select the tab Operating Mode, enable Modify. Highlight Port 1 (= RS232) (or Port 2 = RS422/485), and select Settings. Set Operation Mode = TCP Server Mode, and select which TCP port to use for the communication between the ICX-500 and the NPort device.
- In the Configuration window, select the tab Serial, enable Modify. Highlight Port 1 (= RS232) (or Port 2 = RS422/485), and select Settings. Set the communication parameters are required by the remote application.