Serial port

From SpinetiX Support Wiki

Jump to: navigation, search

Introduction

The iBX410, iBX410W, iBX440, HMP400, HMP400W, HMP300, HMP350, and the legacy players can send / receive commands to / from external devices compatible with the RS-232 serial communication standard - most professional monitors support this standard for switching on / off operation mode and other configurations.

Note Notes:
  • The communication through the serial port is usually governed by a serial port protocol file, although it is also possible to write and read from the serial port using the JavaScript COM API.
  • The HMP comes with four built-in protocol files and allows uploading custom protocol files with the appropriate commands supplied by the device manufacturer.

Configuration

The settings related to the RS232 port can be found within Control Center, on the

RS232 cables

For iBX410/iBX410W and iBX440 players,a dedicated RJ45 port is available for RS232 communication with the following wiring.

COM port pinout for iBXplayers.jpg
Note Note:
The female DB-9 pin numbering in the table above is to connect to a PC, or any other DTE (data terminal equipment) with a male DB-9 connector. To connect to devices which only have 3 pins (e.g., 3.5mm jack) the pins to connect are RxD, TxD and GND, connecting TxD on one side to RxD on the other.

For HMP400 and HMP400W players, any of the three USB-C 3.0 ports can be used as a serial port. A compatible USB-C to DB-9 cable can be purchased from SpinetiX.

For HMP300, HMP350, and the legacy players, a 3.5 mm TRS jack (3-pin) serial port interface is present, withstanding any voltages up to -25/+25V and driving output voltage levels between -5V/+5V. A compatible cable can be purchased from SpinetiX, or it can be created with the wiring detailed below.
Rs232pinouts.png

Troubleshooting

Known problems

  • Sometimes the 2nd and 3rd pins (see the diagram below) on the projector / screen might have been inverted regardless of the screen documentation (as experienced with the Panasonic devices) - in this case a male-male / male-female 9p null modem adapter (or cable) should be used after the SpinetiX cable.
  • Sharp Aquos monitors are known to turn OFF the RS232 receiver when the PowerOff command is received. Some versions have a "hotel mode" that can be enabled to prevent this (contact your screen manufacturer or reseller to see if your screen has this feature and how to enable it). Alternatively, you can send a "RSPW1" command to the screen which tells the screen to respond to PowerOn commands when it's turned off.

Enable extended logging of com events

SpinetiX Support might require you to enable extended logging of com events in case the serial communication doesn't work as expected. In order to instruct the HMP to log more details regarding the com events, follow the procedure detailed below.

  1. Open the Control Center interface on the HMP.
  2. Enable the "Advanced" menu:
    • On iBX410, iBX410W, iBX440, HMP400, HMP400W, HMP350, HMP300, a special configuration file must be applied - contact SpinetiX Support for details.
    • On HMP200, HMP130, and HMP100, open the "Status" page, find the HMP picture and click where the SpinetiX logo (in case of an HMP200) or the blue button (in case of an HMP130 / HMP100) is displayed. A confirmation dialog appears; click on "Yes" to enable the "Advanced settings" menu on the left side.
  3. Configure the player to log extended information for specific events as detailed below per player model.
  4. Restart the HMP.
  5. Leave the player running and / or make some tests to trigger the serial communication failure.
  6. Generate a new report.
  7. Once done, revert to the default configuration - enable the "Default configuration" option and click the "Update" button.

Configure iBX410, iBX410W, iBX440, HMP400, HMP400W, HMP350, HMP300

To enable the extended logging of events, follow these steps:

  1. Click on "Advanced" > "Log".
  2. Enable "Custom" option and click the "Apply" button.
  3. Go to "Appender" section and find "debugfile" entry.
  4. Enable "Subscribe to all loggers" option and set the "Max Size" to 50000KB .
  5. Click the "Update" button at the bottom of the "Appender" section (and not the one at the bottom of the page!).
  6. Go to "Logger" section and set the "Priority" option (drop-down list) to "Info".
  7. Scroll down and find the "comportfsm" row (under "display"); select "Trace" on the drop-down list on the right-most column and make sure that no checkbox are enabled for that row.
  8. Make sure that no other checkboxes are enabled on the debugfile column.
  9. Click the "Update" button at the bottom.

Configure HMP200, HMP130, and HMP100

To enable the extended logging of events, follow these steps:

  1. From the "Advanced" menu, open the "Logs Settings" page.
  2. Enable "Custom configuration" radio button under the "Config" section. Click the "Apply" button right below it.
  3. Go to "Appender" section and find "debugfile" entry.
  4. Enable "Subscribe to all loggers" option and set the "Max Size" to 50000KB .
  5. Go to "Logger" section and set the "Priority" option (drop-down list) to "Info".
  6. Scroll down and find the "--- comportfsm" row (under "display"); select "Trace" on the drop-down list on the right-most column and make sure that no checkbox are enabled for that row.
  7. Make sure that no other checkboxes are enabled on the debugfile column.
  8. Click the "Update" button at the bottom.
This page was last modified on 11 April 2024, at 13:04.