background image

 

28 

NT-52P - Remote Operation via the Web UI

 

 

7.7 

Setting GPIO Port Parameters 

GPIO ports are used to connect and control hardware devices to the 

NT-52P

 such 

as sensors, switches and LED indicators that input and output digital signals and 
input analog signals.  

 

Figure 16: GPIO Port Settings Page 

The GPIO Port Setting page allows you to configure the following for each selected 
GPIO port: 

 

Trigger type—digital input, digital output, or analog input 

 

Enable and disable the pull-up resistor for the digital input and output 

 

Set the threshold trigger voltage range for the digital input 

 

Set the current status for the digital output signal to high or low 

 

Set the maximum number of reported steps for the analog input 

 

Read—Press to read the state of the port 

 

State—Displays the digital state of the port, either 1 (high) or 0 (low) 

GPIO sub-port states are displayed according to the mode settings of their 
associated port. 

Содержание NT-52P

Страница 1: ...USER MANUAL MODEL NT 52P 2 Port Universal I O PoE Control Gateway P N 2900 300586 Rev 1 www KramerAV com...

Страница 2: ......

Страница 3: ......

Страница 4: ......

Страница 5: ......

Страница 6: ...3 Displaying Connected Clients 22 7 4 Setting Device Name and Time Functions 23 7 5 Setting Communication Parameters 25 7 6 Setting Serial Port Parameters 25 7 7 Setting GPIO Port Parameters 28 7 8 S...

Страница 7: ...etting Page 22 Figure 11 Connected Clients Page 23 Figure 12 Device Settings Page 24 Figure 13 Communication Page 25 Figure 14 Serial Port Settings Page RS 232 Port Type 26 Figure 15 Serial Port Setti...

Страница 8: ...ers GROUP 3 Control Systems GROUP 4 Format Standards Converters GROUP 5 Range Extenders and Repeaters GROUP 6 Specialty AV Products GROUP 7 Scan Converters and Scalers GROUP 8 Cables and Connectors GR...

Страница 9: ...ded Kramer cables available at www kramerav com product NT 52P Do not secure the cables in tight bundles or roll the slack into tight coils Avoid interference from neighbouring electrical appliances t...

Страница 10: ...e collected and recycled To comply with the WEEE Directive Kramer Electronics has made arrangements with the European Advanced Recycling Network EARN and will cover any costs of treatment recycling an...

Страница 11: ...ith selectable port configuration to bidirectional RS 232 RS 232 cross RS 485 IR GPI O or relay control Each port is adaptable for any room device control simply by toggling a button Multiple IP Conne...

Страница 12: ...ased management and support by multiple IP clients over existing LAN Easy firmware upgrades either remotely via existing LAN or locally via USB device port Size DigiTOOLS Mount 3 units side by side in...

Страница 13: ...ayed A long press 5sec locks the saved mode or unlocks the locked mode 7 Port 1 MODE LCD Display Displays selected Port 1 mode function RS 232 RS 232 Cross RS 485 Relay IR GPIO See Table 1 for the mod...

Страница 14: ...6 SERVICE Micro USB Connector Connects to a PC for a local firmware upgrade 17 RESET Button Press and hold while cycling the device power to reset to factory default parameters 18 LAN POE RJ 45 Connec...

Страница 15: ...hen receiving data Flashes when transmitting data RS 485 RS 485 Ground Rx Tx 9600 8 N 1 5001 2 Pink Flashes when receiving data Flashes when transmitting data IR IR IR Ground IR1 IR2 5000 Red ON when...

Страница 16: ...ring the NT 52P 2 Port Universal I O PoE Control Gateway The NT 52P is shipped from the factory with DHCP enabled off by default and a random IP address To connect the NT 52P on first installation you...

Страница 17: ...7 Enter the IP address mask and gateway for static IP addressing and click Set We recommend that you set a meaningful host name If you have changed the IP address from the default setting you must rel...

Страница 18: ...user name is Admin and the password is Admin 5 2 Setting Up an Ethernet Connection on the PC If the control application can directly connect to the Ethernet driver select the host IP and port number a...

Страница 19: ...e 4 1 Connect the device to a LAN or PC via the RJ 45 Ethernet connector 2 Following the Save Settings Procedure set and save RS 232 to Mode 1 3 According to the connections shown in Table 2 connect a...

Страница 20: ...Table 1 for selected mode button color Wait approximately 5 seconds until Save appears on LCD display Press again within about 5 seconds to save the selected mode otherwise Unsaved displays A long pre...

Страница 21: ...ort Directly to a PC You can connect the Ethernet port of the NT 52P directly to the Ethernet port on your PC using a crossover cable with RJ 45 connectors This type of connection is recommended durin...

Страница 22: ...15 Figure 5 Local Area Connection Properties Window 4 Highlight Internet Protocol Version 4 TCP IPv4 and click Properties The Internet Protocol Properties window relevant to your IT system appears as...

Страница 23: ...16 NT 52P Connecting the NT 52P Figure 6 Internet Protocol Version 4 Properties Window Figure 7 Internet Protocol Version 6 Properties Window...

Страница 24: ...the range 192 168 1 1 to 192 168 1 255 excluding 192 168 1 39 that is provided by your IT department Figure 8 Internet Protocol Properties Window 6 Click OK 7 Click Close 6 1 2 Connecting the Ethernet...

Страница 25: ...6 6 1 4 Connecting an IR Device To connect an IR device Following the Save Settings Procedure set and save IR in Mode 1 or Mode 2 Connect the IR device to the configured port 1 or 2 terminal block P1...

Страница 26: ...1 and connecting via Ethernet in Section 6 1 Ensure that your browser is supported see Section 9 7 1 Browsing the Web UI To browse the Web UI 1 Open your Internet browser Type the IP address or host n...

Страница 27: ...s for easy system configuration The configurations are loaded and saved to a local PC Load and save is performed using the buttons at the bottom left hand side of the screen for all pages displayed To...

Страница 28: ...wnloads folder The following parameters are saved to the configuration file UI Page Parameter Device Settings Figure 7 4 Model Name Time Zone Daylight Savings Time mode Use Time Server mode Time Serve...

Страница 29: ...able cell turns blue To lock or unlock the setting click the Locked or Unlocked port button Figure 10 Ports Type Setting Page The text on the LCD displays can indicate different configurations set usi...

Страница 30: ...ice Settings page Figure 12 allows you to view the model name and time server status You can also modify the following fields Device name Device time date and time zone Use a timeserver to set the tim...

Страница 31: ...ired To enable Time Server synchronization 1 Browse to the Device Settings page by clicking Device Settings The Device Settings page is displayed as shown in Figure 12 2 Click the Use Time Server ON b...

Страница 32: ...ss setting for the device is DHCP Figure 13 Communication Page After modifying any of the IP settings click Set to save the changes 7 6 Setting Serial Port Parameters The Serial Port Settings page dif...

Страница 33: ...c internal time after which detected idle connection is disconnected Set the following serial parameters for each serial port Parity Data bits Baud rate Stop bits Select whether or not to send replies...

Страница 34: ...Operation via the Web UI 27 To toggle RS 485 termination Verify that an RS 485 port type is selected see Section 7 2 and click to enable or disable termination Figure 15 Serial Port Settings Page RS...

Страница 35: ...g for each selected GPIO port Trigger type digital input digital output or analog input Enable and disable the pull up resistor for the digital input and output Set the threshold trigger voltage range...

Страница 36: ...0 8V port states according to the user defined voltage threshold levels Pull up resistor enabled default Detects an open circuit as High or a short to ground as Low This is suitable for example for a...

Страница 37: ...19 is displayed Figure 19 Digital Out Selection Warning Popup The digital output mode function is defined by the pull up resistor setup Pullup resistor enabled The port is used for controlling extern...

Страница 38: ...IO Port Settings Page Analog IN Set the trigger type to Analog In With this selection the port is triggered by an analog external device such as a volume control device The trigger is activated once w...

Страница 39: ...t Figure 21 Relay Port Settings Page The relay ports have the following characteristics Rated at 30V DC and 1A Default state of normally open A non latching relay function that is the contact is left...

Страница 40: ...the button changes color and the port 2 white activity LED on the front panel lights See Table 1 for more information 7 9 Configuring IR Command Learning The IR Command Learner page allows you to tea...

Страница 41: ...e copied pasted to another application Test Button and Port Selection Spinner Select the port on which to test the learned command and press the Test button to start the test Retrieve Last Command But...

Страница 42: ...s shown in Figure 24 Figure 24 Security Confirmation Popup 2 Click OK The Authentication Required popup is displayed as shown in Figure 25 Figure 25 Authentication Required Popup 3 Enter the default u...

Страница 43: ...e Web UI Figure 26 Security Activated Page 6 If required click OFF to turn security off or change the password and click Change 7 11 Using the Logs Page The Logs page allows you to View current logs C...

Страница 44: ...Figure 27 Logs Page The display may not update automatically Click Refresh to update the display Use the Log Filter check boxes to select which events to display from the log Use the Log Config check...

Страница 45: ...38 NT 52P Remote Operation via the Web UI 7 12 Kramer Information The About Us page displays the Web UI version and the Kramer company details Figure 28 About Us Page...

Страница 46: ...sing the Web pages see Section 7 9 The device is no longer in normal operation and the NT 52P sends an IR Learning start message to all connected clients 2 Using the IR remote control send the require...

Страница 47: ...the power to the device 2 Press and hold the Reset button on the front panel 3 Turn on the power to the device while holding down the Reset button for a few seconds 4 Release the button The device is...

Страница 48: ...50kbps summed on all ports see Section 9 1 Maximum simultaneous IP client connections 40 Power Power consumption 12V DC 220mA Cooling Convection ventilation Environmental Conditions Operating temperat...

Страница 49: ...tion The NT 52P has two serial ports Each serial port can support up to 150kbps 2 75kbps If each protocol command is 100 bytes that is 800 bits you can safely send and receive a minimum of 96 commands...

Страница 50: ...factory reset the DHCP and the IP address are set to the values shown below Ethernet DHCP Off IP Address 192 168 1 39 Host Name NT 52P xxxx where xxxx are the last four digits of the serial number of...

Страница 51: ...ic video input switching command that routes a layer 1 video signal to HDMI out 1 from HDMI input 2 ROUTE 1 1 2 is entered as follows Terminal communication software such as Hercules The framing of th...

Страница 52: ...al Body Delimiter Destination_id Message CR 11 1 1 1 Simple Command Command string with only one command without addressing Start Body Delimiter Command SP Parameter_1 Parameter_2 CR 11 1 1 2 Command...

Страница 53: ...a message closing character Note A string can contain more than one command Commands are separated by a pipe character Message starting character For host command query For device response Device add...

Страница 54: ...h as X Refer to the controller manual 11 1 5 Command Forms Some commands have short name syntax in addition to long name syntax to allow faster typing The response is always in long syntax 11 1 6 Chai...

Страница 55: ...O threshold voltage GPIO VOLT Get HW GPIO voltage level HELP List of commands IR LEARN Send IR learning command IR SND Send IR command to port IR STOP Stop IR command to port LOGIN Set get protocol pe...

Страница 56: ...ands This section lists the detailed commands applicable to the NT 52P 11 3 1 Functions Permission Transparency Set End User Public Get Description Syntax Set Protocol handshaking CR Get Response nn S...

Страница 57: ...End User Public Description Syntax Set Get Get device build date BUILD DATE CR Response nn BUILD DATESPdateSPtimeCR LF Parameters date Format YYYY MM DD where YYYY Year MM Month DD Day time Format hh...

Страница 58: ...ve_timing Parameters COM_Num machine dependent portType 1 UDP 2 TCP ETHPort TCP UDP port number ETH_rep_en 1 COM port sends replies to new clients 0 COM port does not send replies to new clients TCP_k...

Страница 59: ...sends replies to new clients 0 COM port does not send replies to new clients Timeout Keep alive timeout in seconds 1 to 3600 Response Triggers Notes K Config Example Add COM1 port as TCP port 1 Eth po...

Страница 60: ...le named test DEL test 0x0D 11 3 7 DIR Functions Permission Transparency Set DIR Administrator Public Get Description Syntax Set List files in device DIRCR Get Response Multi line nn DIRCR LF file_nam...

Страница 61: ...parency Set Get ETH TUNNEL Administrator Internal Description Syntax Set Get Get parameters for open tunnels ETH TUNNEL TunnelId Response nn ETH TUNNEL TunnelId ComNum PortType EthPort EthIp RemotPort...

Страница 62: ...etes all user data from the device The deletion can take some time Your device may require powering off and powering on for the changes to take effect K Config Example FACTORY 0x0D 11 3 11 FORMAT Func...

Страница 63: ...Config Example FS FREE 0x0D 11 3 13 GET Functions Permission Transparency Set Get GET Administrator Public Description Syntax Set Get Get file GETSPfile_nameCR Response Multi line nn GETSPfile_name fi...

Страница 64: ...oDir Pullup Get Get HW GPIO configuration GPIO CFG HwGpioNumber Response nn GPIO CFG HwGpioNum HwGpioType HwGpioDir Parameters HwGpioNum hardware GPIO number 1 n HwGpioType hardware GPIO type 0 analog...

Страница 65: ...e regarding the step and voltage in In digital mode the answer is 0 low 1 high In analog mode the answer is 0 to 100 K Config Example Configure GPIO 2 to low state GPIO STATE 2 0 0x0D 11 3 16 GPIO STE...

Страница 66: ...oltage 500 to 28000 millivolts HighLevel voltage 2000 to 30000 millivolts Response Triggers Notes K Config Example Set GPIO 1 voltage levels between 600mV to 15000mV GPIO THR 1 600 15000 0x0D 11 3 18...

Страница 67: ...ommand use HELPSPCOMMAND_NAMECR LF K Config Example HELP 0x0D 11 3 20 IR LEARN Functions Permission Transparency Set IR LEARN End User Public Get Description Syntax Set Send IR learning command IR LEA...

Страница 68: ...l and response commands from device CmdName String IR command name limited to 15 chars Repeat number of times the IR command is transmitted limited to 50 repeats 50 are truncated to 50 1 default Total...

Страница 69: ...F Parameters PortNum IR port 1 to 4 transmitting the command broadcasts to all ports Cmdid serial number of command for flow control and response commands from device CmdName a string the alias of the...

Страница 70: ...s When the permission system is enabled LOGIN enables running commands with the User or Administrator permission level When set login must be performed upon each connection The permission system works...

Страница 71: ...t after restarting the device K Config Example MACH NUM 4 0x0D 11 3 26 MODEL Functions Permission Transparency Set Get MODEL End User Public Description Syntax Set Get Get device model MODEL CR Respon...

Страница 72: ...CR Response Set nn NAMESPmachine_nameCR LF Get nn NAME SPmachine_nameCR LF Parameters machine_name string of up to 15 alpha numeric chars can include hyphen not at the beginning or end Response Trigg...

Страница 73: ...Set Set DHCP mode NET DHCPSPmodeCR Get Get DHCP mode NET DHCP CR Response nn NET DHCPSPmodeCR LF Parameters mode 0 do not use DHCP Use the IP address set by the factory or the NET IP command 1 try to...

Страница 74: ...he Internet Be careful of security problems Consult your network administrator for correct settings K Config Example Set the gateway IP address to 192 168 0 1 NET GATE 192 168 000 001 0x0D 11 3 31 NET...

Страница 75: ...NET MAC 0x0D 11 3 33 NET MASK Functions Permission Transparency Set NET MASK Administrator Public Get NET MASK End User Public Description Syntax Set Set subnet mask NET MASKSPnet_maskCR Get Get subn...

Страница 76: ...Up to 15 printable ASCII chars Response Triggers Notes The default password is an empty string K Config Example Set the password for the Admin protocol permission level to 33333 PASS Admin 33333 0x0D...

Страница 77: ...the port type PORT TYPE PortNumber Response nn PORT TYPE PortNumber PortType PortName 485Term Parameters PortNumber port number 1 n PortType 0 RS 232 1 RS 232X 2 RS 485 3 Relay 4 IR 5 GPIO PortName A...

Страница 78: ...e Triggers Notes K Config Example PROT VER 0x0D 11 3 38 RELAY STATE Functions Permission Transparency Set RELAY STATE End User Public Get RELAY STATE End User Public Description Syntax Set Set relay s...

Страница 79: ...n Syntax Set Reset device RESETCR Get Response nn RESETSPOKCR LF Parameters Response Triggers Notes To avoid locking the port due to a USB bug in Windows disconnect USB connections immediately after r...

Страница 80: ...disable security Response Triggers Notes The permission system works only if security is enabled with the SECUR command K Config Example Enable the permission system SECUR 0 0x0D 11 3 41 SN Functions...

Страница 81: ...015 TIME TUE 01 07 2015 09 45 00 0x0D 11 3 43 TIME LOC Functions Permission Transparency Set TIME LOC End User Public Get TIME LOC End User Public Description Syntax Set Set local time offset from UTC...

Страница 82: ...SRV CR Response nn TIME SRVSPmode time_server_IP time_server_Sync_Hour server_statusCR LF Parameters mode 0 off 1 on time_server_IP time server IP address time_server_Sync_Hour hour in day for time se...

Страница 83: ...e data_bit parity stop_bit serial1_type 485_termCR LF Parameters COM_Num 1 2 baud_rate 9600 115200 data_bit 7 8 parity N none O odd E even M mark S space stop_bit 1 2 serial1_type 0 RS 232 1 RS 485 48...

Страница 84: ...Get VERSION End User Public Description Syntax Set Get Get firmware version number VERSION CR Response nn VERSIONSPfirmware_versionCR LF Parameters firmware_version XX XX XXXX where the digit groups...

Страница 85: ......

Страница 86: ...re opening andservicing For the latest information on our products and a list of Kramer distributors visit our Web site to find updates to this user manual We welcome your questions comments and feedb...

Отзывы: