background image

14. HTTP GET / POST ACTIONS 
 

 

 

The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers. 
HTTP works as a request-response protocol between a client and server.  
 
Two commonly used methods for a request-response between a client and server are: GET and POST. 
 
    GET - Requests data from a specified resource 
    POST - Submits data to be processed to a specified resource 

 

Action Label  Enter any 32 characters.  This label is used in the Event Action Table. 

         Mode  Use the dropdown to select between HTTP 

POST

 and HTTP 

GET

 

          Path  Define the path of the HTTP 

POST

 or 

GET

            Ver  Use the dropdown to select between 

HTTP/1.0

 and 

HTTP/1.1

      Header  Enter the header data of the HTTP 

POST

 or 

GET

         Value  Enter the value data of the HTTP 

POST

 or 

GET

USP3 User Manual

 

Page 21 of 46 
 
 

 

Summary of Contents for USP3-16

Page 1: ...SWITCH PANEL USP3 8 USP3 16 USP3 8D USP3 S24 USP3 Shotbox User Manual 19770 Bahama St Northridge CA 91324 V 818 898 3380 F 818 898 3360 sales dnfcontrols com www dnfcontrols com USP3 User Manual Page...

Page 2: ...18 13 AHSC RECEIVE EVENT 19 14 HTTP GET POST ACTIONS 21 15 SNMP RX TX ACTIONS 23 16 MEM CONFIGURATION 25 17 EVENT ACTION TABLE 26 18 TALLY ASSIGNMENT 30 19 EXAMPLES RECEIVE PATTERN MATCHING 32 20 EXA...

Page 3: ...5 Updated to include new web pages 1 02 10 16 15 Added TALLY ASSIGNMENT web page 1 03 08 09 16 Added MEM SNMP Serial and Toggle Actions with MEM pages 1 05 07 18 17 Added HTTP GET POST ACTIONS and VIE...

Page 4: ...erial Ethernet messages Control Flex Control Network devices Tally them And more Tactile Fast Easy Dependable CONTROL Getting Started 1 Go to Installation Section to install the USP3 2 Go to System Co...

Page 5: ...e to access the desired configuration web pages All configuration settings are saved in non volatile memory in the USP3 Settings are retained when power is removed Settings may be uploaded to a comput...

Page 6: ...N WEB PAGE P1 Software Upgrade Use this link to install the P1 upgrade file provided by DNF Controls Web Upgrade Use this link to install the Web pages upgrade file provided by DNF Controls USP3 User...

Page 7: ...with redundant mode enabled upon powerup If set to Disabled the USP will boot up with redundant mode disabled upon powerup Key Mode on Powerup Use this dropdown to set the Key Mode on Powerup If set t...

Page 8: ...page monitors all incoming data from the selected remote device Use the Refresh link to view incoming data as it is received Use the Clear Log link to clear the log data NOTE View Received Data page d...

Page 9: ...6 GPI EVENTS WEB PAGE GPI Label Enter any 15 characters or symbols For convenience only Used in Event Action Table USP3 User Manual Page 9 of 46...

Page 10: ...HED The GPI turns ON and stays ON The GPI turns OFF and stays OFF MOMENTARY The GPI turns ON for a short time and then turns OFF and stays OFF This pattern repeats every time the GPI become active Deb...

Page 11: ...ce only Used in Event Action Table User Defined ON State RELAY OPEN The relay is OPEN when the GPO is ON The relay is CLOSED when the GPO is OFF RELAY CLOSED The relay is CLOSED when the GPO is ON The...

Page 12: ...viously OFF The GPO turns OFF if it was previously ON Momentary ON Time For MOMENTARY operating mode only ON duration for Momentary GPO Drop down menu settable from 0 01 sec to 2 0 sec Group Radio Gro...

Page 13: ...ontrols USP s AIB s EB 4X s and EG 4 s GTP 32 DC20 Use to connect to DNF Controls GTP 32 and DC20 21 PKM Use to connect to PC for Keymapper functionality USP3 API Use to connect to a 3rd party for dir...

Page 14: ...s not provide guaranteed delivery UDP Attempts provides more than one transmit attempt to deliver the message IP Address URL Enter the IP address or URL for remote device to be controlled or monitored...

Page 15: ...key is pressed the assigned Key Mapper List entry is transmitted to the Panel Key Mapper application pkm exe running on the Microsoft Windows based remote device Label Enter any 32 characters or symbo...

Page 16: ...ess of this USP3 The entered Event Label must exactly match the event label in the Event Notification Table User Register Value For use with UR_ event labels only Enter a value 1 to 255 When the recei...

Page 17: ...GURATION Port Configuration RS232 DTE or RS422 Controller Baud Rate 300 1200 2400 4800 9600 19200 38400 Parity None Odd Even Data Bits Fixed at 8 Stop Bits Fixed at 1 Start Bits Fixed at 1 USP3 User M...

Page 18: ...to add a WAIT time 001 999 milliseconds Three numbers must follow WT The characters preceding WT are sent immediately The characters after WTttt are sent after the wait time expires More than one WT c...

Page 19: ...13 AHSC RECEIVE EVENT Event Label Enter any 32 characters This label is for convenience only and is used in the Event Action Table USP3 User Manual Page 19 of 46...

Page 20: ...X character Enter XX to ignore the received value Use yyyyyyyy to match an exact bit pattern y values are 0 1 or X don t care For example enter 0XXX1XXX to match bit7 0 and bit3 1 Bit0 is on the far r...

Page 21: ...T GET Requests data from a specified resource POST Submits data to be processed to a specified resource Action Label Enter any 32 characters This label is used in the Event Action Table Mode Use the d...

Page 22: ...pe Options available Text plain Text HTML Application XML Application JSON Application x www form urlencoded Data Enter the data of the HTTP POST or GET Remainder of page is blank USP3 User Manual Pag...

Page 23: ...any 32 characters This label is for convenience only and is used in the Event Action Table Community Community string is 1 32 characters in length Typical value is public Command SET GET GET RESPONSE...

Page 24: ...88 Maximum entered decimal value is 99999999 Value Type OID Value OID Value Type Integer Enter decimal value 0 999999 for OID value OctetInteger Enter decimal value 0 999999 for OID value Octet String...

Page 25: ...eb page to control LCD Key text and color In the Event Action Table an Event IN can turn ON turn OFF or TOGGLE the state of a MEM Also a MEM can be used as an Event IN to trigger an ON or OFF ACTION F...

Page 26: ...ssignment web page and change the Device Type or Connection Type for the Remote Device There are 16 Sequence Timers Use each Sequence Timer event number in multiple lines as the Event Type to create a...

Page 27: ...e Event Action table After the timer has expired and its ON ACTION executed the timer automatically restarts for the time period setup in the Event Action table Remote AHSC Receive Event A successful...

Page 28: ...e Redundant Mode Main Backup Select MAIN Select BACKUP Toggle between MAIN BACKUP Restart Timer Restarts the currently selected timer in the Event Action Table Remote AHSC Transmit Action Transmit the...

Page 29: ...Backup Select MAIN Select BACKUP Toggle between MAIN BACKUP Restart Timer Restarts the currently selected timer in the Event Action Table Remote AHSC Transmit Action Transmit the selected AHSC Action...

Page 30: ...when key is pressed Tally is OFF when key is released Follow GPI Tally is ON when GPI is ON Tally is OFF when GPI is OFF Follow GPO Tally is ON when GPO is ON Tally is OFF when GPO is OFF Follow ENAB...

Page 31: ...ue UR1Tally is ON when the received User Register value matches the UR1 value entry UR2 through UR4 Tally is ON when the received User Register value matches the UR1 through UR4 value entry respective...

Page 32: ...irst third and fourth characters are correct All four received character patterns are a successful pattern match A XX C D 1234ABCDEFG 1234A5CDEFG 4AKCDE Successful pattern matches A XX C D ACD No patt...

Page 33: ...splay only Notes 0XXX1XXX Bit7 0 Bit3 1 All other bits are Don t care 01011000 Bit 7 is immediately after the Bit 0 is on the far right A pattern match occurs when Bit 7 0 or Bit3 1 Only one of the bi...

Page 34: ...nd character must be B No pattern match AB CB DB ZB The first character can be any character except A The second character must be B Successful pattern match AB CD The first character can be any chara...

Page 35: ...ry in the Event Action Table When the last Sequence action executes the sequence will automatically turn off and stop executing If the last Sequence action is Sequence Start the sequence will loop unt...

Page 36: ...ess ON action will FLIP FLOP the action of two GPO s The selected MEM that is being toggled will need to be setup in following manner to trigger the FLIP FLOP action ON ACTION TURN ON GPO_1 TURN OFF G...

Page 37: ...he MEM s associated with the Radio Group MEM ON must be selected as the ON action for the Radio Group functionality to work properly Assign each MEM to a specific USP3 Key in the Tally Assignment page...

Page 38: ...n the MEM Configuration page assign a MEM to each GPO that you will be using for your Radio Group Under the Radio Group Dropdown assign all MEM s to the same radio group RG1 RG5 A source event GPI Key...

Page 39: ...Assignment page When a Source Event triggers on the USP3 the MEM tied to this source event will turn ON This MEM ON action will cause its Key tally to turn ON all other Key tallies in the same Radio...

Page 40: ...d 10 seconds to reset IP address to 192 168 10 217 and configuration to factory default SERIAL CONNECTOR Pin RS232 DTE RS422 Controller RS422 Device 1 N C Frame Ground Frame Ground 2 RxD Receive A Tra...

Page 41: ...earby V pin Connect GPI to Ground to turn on GPI Pin Description Pin Description 1 Ground 14 GPI 8 2 GPI 8 15 V 3 V 16 GPI 7 4 GPI 7 17 GPI 6 5 GPI 6 18 V 6 V 19 GPI 5 7 GPI 5 20 GPI 4 8 GPI 4 21 V 9...

Page 42: ...8 Common 15 Common Bus 3 Common Bus 16 GPO 7 N O 4 GPO 7 Common 17 GPO 6 N O 5 GPO 6 Common 18 Common Bus 6 Common Bus 19 GPO 5 N O 7 GPO 5 Common 20 GPO 4 N O 8 GPO 4 Common 21 Common Bus 9 Common B...

Page 43: ...25 USP S24 Key Layout Rear Panel USP3 User Manual Page 43 of 46...

Page 44: ...26 USP3 8D Key Layout Rear Panel USP3 User Manual Page 44 of 46...

Page 45: ...SHOTBOX Key Layout Rear Panel 1 1 3 2 5 1 4 1 1 3 2 5 1 4 1 1 3 2 5 1 4 1 1 3 2 5 1 4 1 6 GPI 1 8 GPI 9 16 GPO 1 8 GPO 9 16 Serial ETHERNET S1 Reset POWER 2 POWER 1 Rear View USP3 User Manual Page 45...

Page 46: ...lace the defective unit DNF Controls will return the unit prepaid to the customer The method of shipment is at the discretion of DNF Controls principally UPS Ground for shipments within the United Sta...

Reviews: