12.07.2015 Views

Serial Command and Query Protocol - Nikkemedia.fi

Serial Command and Query Protocol - Nikkemedia.fi

Serial Command and Query Protocol - Nikkemedia.fi

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

JUMA TX136/TX500 serial comm<strong>and</strong> <strong>and</strong> query protocolOH2NLT<strong>Protocol</strong> version 1.00 / 11.10.2009GeneralJUMA TX136/TX500 serial protocol is JUMA TX136/TX500 native way to communicate withanother system. The JUMA TX136/TX500serial comm<strong>and</strong> <strong>and</strong> the query protocol is activatedfrom the TX136/TX500 con<strong>fi</strong>g page. Set RS232 = TX136/500.Note 1.RS232 serial port baud rate should be set to match with two communicating units. Highvalues of Baud rates are recommended 38400bd <strong>and</strong> up. High transmission speed keepstransaction times short.Description of the JUMA TX136/TX500 protocolStart <strong>and</strong> end delimiters. Messages always start with a question mark (?) or equal sign (=).Message always terminated with CR (carriage return character). ? mean query <strong>and</strong> = meansset message. LF is added to the response messages. This makes it lot easier to test thecomm<strong>and</strong>s with a terminal program.Start Message Stop? <strong>Query</strong> Message CR= Set message CRMessages may be only one character long (comm<strong>and</strong> character only) or comm<strong>and</strong> <strong>and</strong>parameters. See comm<strong>and</strong> descriptions bellow.<strong>Comm<strong>and</strong></strong>CharacterFOTKSPXACMEBIParameterFrequencyOperating modePTT statusKeyer typeCW speedTX Power levelSpare I/O statePre ampli<strong>fi</strong>er stateFrequency converter stateBeacon MessageSave beacon msg to the EPROMBeacon controlSystem InfoFrequency [F]TX frequency resolution is 1Hz.F <strong>Query</strong>? F CRTX136/TX500 response (example)= F 500000 LF CR


F Set= F 543210 CRAll 6-digits must be set.Operating mode [O]O <strong>Query</strong>? O CRTX136/TX500 response (example)= O 1 LF CRO Set= O 0 CRNumber Operating Mode0 STANDBY1 OPERATE2 TUNEPTT status [T]PTT status is query only comm<strong>and</strong>.T <strong>Query</strong>? T CRTX136/TX500 response (example)= T 1 LF CRNumber PTT0 Off1 OnKeyer type [K]K <strong>Query</strong>? K CRTX136/TX500 response (example)= K 2 CR LFK Set= M 0 CRNumber Keyer0 Dot priority1 Iambic A2 Iambic B3 Straight


4 BeaconCW speed [S]S <strong>Query</strong>? S CRTX136/TX500 response (example)= S 1 5 0 LF CRS Set= S 0 0 5 CRCW speed resolution is 0.1 wpm. All 3 digits must be entered. 200 = 20.0 wpm, 005 =0.5wpm. Acceptable range is from 0.1 wpm to 50.0 wpm.TX power level [P]P <strong>Query</strong>? P CRTX136/TX500 response (example)= P 2 CR LFP Set= P 0 CRNumber Power level0 MIN1 LOW2 HI3 MAXSpare I/O state [X]X <strong>Query</strong>? X CRTX136/TX500 response (example)= X 0 CR LFX Set= X 1 CRNumber Spare I/O state0 Off1 OnPre Ampli<strong>fi</strong>er state [A]


A <strong>Query</strong>? A CRTX136/TX500 response (example)= A 0 CR LFA Set= A 2 CRNumber Spare I/O state0 Off1 10dB2 20dBFrequency converter state [C]C <strong>Query</strong>? C CRTX136/TX500 response (example)= C 0 CR LFC Set= C 1 CRNumber Frequency converter0 Off1 OnBeacon message [M]M <strong>Query</strong>? M CRTX136/TX500 response (example)= M vvv vvv de JUMA Beacon # CR LFM Set= M \P1vvv \P2 vvv \P3vvv de OH2NLT 500kHz Beacon # CRBeacon message can be 238 characters long. See Beacon instructions for special controlcharacter actions. M comm<strong>and</strong> does not store message into the EPROM. Use E comm<strong>and</strong> forEPROM write.Store beacon message to the EPROM memory [E]E Set= E CRE is a set only comm<strong>and</strong>.


Beacon control [B]B <strong>Query</strong>? B CRTX136/TX500 response (example)= B 0 CR LFB Set= B C CRParameter Beacon0 Beacon Off1…9 Beacon On for n timesC Beacon On continouslySystem info [I]System info is a query only comm<strong>and</strong>.I <strong>Query</strong>? I CROr? I Sub comm<strong>and</strong> CRSub comm<strong>and</strong>noneIPSBDActionSystem infoSystem infoPower meter readingSWR meter readingBattery voltageDrain currentSystem Info<strong>Query</strong>? I I CRTX136/TX500 response (example)= I I JUMA-TX500, SW v1.01, DATE 11.10.2008 CR LFTX Power, resolution 0.1W. Example 527 = 52.7W.<strong>Query</strong>? I P CRTX136/TX500 response (example)= I P 5 2 7 CR LFSWR meter reading. Example 100 = 1.00<strong>Query</strong>? I S CRTX136/TX500 response (example)= I S 1 0 0 CR LF


Battery voltage, resolution 10mV. Example 1350 = 13.50V.<strong>Query</strong>? I B CRTX136/TX500 response (example)= I B 1 3 5 0 CR LFDrain current, resolution 0.1A. Example 12 = 1.2A.<strong>Query</strong>? I D CRTX136/TX500 response (example)= I D 1 2 CR LFNo action charactersFor input format flexibility, certain characters are de<strong>fi</strong>ned as no action characters.0x0A0x00Line feedNUL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!