FY6900 Serial Communication Protocol
FY6900 Serial Communication Protocol
Host Computer
Communication Protocol
Specification
Rev 1.8
Overview
飞逸科技 www.feeltech.net 1
FY6900 Serial communication protocol FeelTech
The overall structure of control command using the command line, the
baud rate of fixed value 115200bps, the command issued by PC, the
of main wave
main wave
Read
Set amplitude
WMA xxxxxxxx 0x0a 0x0a amplitude of RMA 0x0a xxxxxxxx 0x0a
of main wave
main wave
Set offset of WMO xxxxxxxx 0x0a 0x0a Read offset of RMO 0x0a xxxxxxxx 0x0a
main wave main wave
飞逸科技 www.feeltech.net 2
FY6900 Serial communication protocol FeelTech
Read duty
Set duty cycle
WMD xxxxxxxx 0x0a 0x0a cycle of main RMD 0x0a xxxxxxxx 0x0a
of main wave
wave
Set phase of Read phase of
WMP xxxxxxxx 0x0a 0x0a RMP 0x0a xxxxxxxx 0x0a
main wave main wave
Set On/Off of Read On/Off of
main wave WMN xxxxxxxx 0x0a 0x0a main wave RMN 0x0a xxxxxxxx 0x0a
output output
Set waveform Read
of auxiliary WFW xxxxxxxx 0x0a 0x0a waveform of RFW 0x0a xxxxxxxx 0x0a
wave auxiliary wave
Set frequency Read
of auxiliary WFF xxxxxxxx 0x0a 0x0a frequency of RFF 0x0a xxxxxxxx 0x0a
wave auxiliary wave
Set amplitude Read
of auxiliary WFA xxxxxxxx 0x0a 0x0a amplitude of RFA 0x0a xxxxxxxx 0x0a
wave auxiliary wave
Set offset of Read offset of
WFO xxxxxxxx 0x0a 0x0a RFO 0x0a xxxxxxxx 0x0a
auxiliary wave auxiliary wave
Set duty cycle Read duty
of auxiliary WFD xxxxxxxx 0x0a 0x0a cycle of RFD 0x0a xxxxxxxx 0x0a
wave auxiliary wave
Set phase of Read phase of
WFP xxxxxxxx 0x0a 0x0a RFP 0x0a xxxxxxxx 0x0a
auxiliary wave auxiliary wave
Set On/Off of Read On/Off of
auxiliary wave WFN xxxxxxxx 0x0a 0x0a auxiliary wave RFN 0x0a xxxxxxxx 0x0a
output output
frequency of frequency of
main wave main wave
Set pulse Read pulse
amount amount
WPN xxxxxxxx 0x0a 0x0a RPN 0x0a xxxxxxxx 0x0a
triggered by triggered by
main wave main wave
Generating WPO xxxxxxxx 0x0a 0x0a
manual trigger
source
飞逸科技 www.feeltech.net 3
FY6900 Serial communication protocol FeelTech
Set the Read the
Modulation Modulation
WPR xxxxxxxx 0x0a 0x0a RPR 0x0a xxxxxxxx 0x0a
Rate of Main Rate of Main
Wave AM Wave AM
Set FM Read FM
Modulation Modulation
Frequency WFM xxxxxxxx 0x0a 0x0a Frequency RFM 0x0a xxxxxxxx 0x0a
Offset of Main Offset of Main
Wave Wave
Set PM Read PM
Modulation Modulation
WPP xxxxxxxx 0x0a 0x0a RPP 0x0a xxxxxxxx 0x0a
Phase Offset of Phase Offset
Main Wave of Main Wave
Set coupling
WCC xxxxxxxx 0x0a 0x0a
mode
Reset Counter WCZ xxxxxxxx 0x0a 0x0a
Pause the
WCP xxxxxxxx 0x0a 0x0a
measurement
Set gate time Read gate time
of WCG xxxxxxxx 0x0a 0x0a of RCG 0x0a xxxxxxxx 0x0a
measurement measurement
Read
frequency of
RCF 0x0a xxxxxxxx 0x0a
external
measurement
Measurement
Read external
RCC 0x0a xxxxxxxx 0x0a
counting value
Read external
RCT 0x0a xxxxxxxx 0x0a
counting period
Read positive
pulse width of
RC+ 0x0a xxxxxxxx 0x0a
external
measurement
Read negative
pulse width of
RC- 0x0a xxxxxxxx 0x0a
external
measuremen
Read duty
cycle of
RCD 0x0a xxxxxxxx 0x0a
external
measurement
飞逸科技 www.feeltech.net 4
FY6900 Serial communication protocol FeelTech
Set sweep
SOB xxxxxxxx 0x0a 0x0a
object
Set start data
SST xxxxxxxx 0x0a 0x0a
of sweep
Set end data of
SEN xxxxxxxx 0x0a 0x0a
sweep
Sweep
Save
parameters of
USN xxxxxxxx 0x0a 0x0a
current two
channels
Load
parameters
ULN xxxxxxxx 0x0a 0x0a
from storage
position
System Setting
Add Read
synchronization USA xxxxxxxx 0x0a 0x0a synchronizatio RSA 0x0a xxxxxxxx 0x0a
mode n information
Cancel
synchronization USD xxxxxxxx 0x0a 0x0a
mode
Set buzzer Read buzzer
UBZ xxxxxxxx 0x0a 0x0a RBZ 0x0a xxxxxxxx 0x0a
on/off status
Set uplink Read uplink
UMS xxxxxxxx 0x0a 0x0a RMS 0x0a xxxxxxxx 0x0a
mode mode
Set local uplink Read local
UUL xxxxxxxx 0x0a 0x0a RUL 0x0a xxxxxxxx 0x0a
status uplink status
Read local ID UID 0x0a xxxxxxxx 0x0a
Read local
UMO 0x0a xxxxxxxx 0x0a
Model
飞逸科技 www.feeltech.net 5
FY6900 Serial communication protocol FeelTech
Set Main waveform Parameter:
1) WMW:set up main waveform form
Format:WMWxx+0x0a
Which "XX" represents the waveform of the 2 figures ,among:
WMW6 expressed as DC
飞逸科技 www.feeltech.net 6
FY6900 Serial communication protocol FeelTech
WMW20 expressed as N-Fall-Log
WMW33 expressed as AM
WMW34 expressed as FM
飞逸科技 www.feeltech.net 7
FY6900 Serial communication protocol FeelTech
Which "xxxxxxxxxxxxxx" represents the frequency value of the 14 digits, the
frequency value is fixed to uHz as a unit, for example
WMF1000000000 indicates that the setting frequency is 100Hz
WMF000123456 indicates that the setting frequency is123.456mHz
WMF000000001 indicates that the setting frequency is 1uHz.
飞逸科技 www.feeltech.net 12
FY6900 Serial communication protocol FeelTech
(4)WFO:To set the Offset of subsidiary waveform
Form as:WFO xx.xx+ 0x0a
Above “xx.xx” shows the offset value needed. For example:
WFO 2.351 means the offset is set to 2.351V
WFO -2.352 means the offset is set to -2.352V
3. Modulation correlation
(1) WPF: Setting up the main wave modulation mode
Format: WPFx + 0x0a
飞逸科技 www.feeltech.net 15
FY6900 Serial communication protocol FeelTech
Where "x" is the modulation mode to be set, for example:
WPF0 indicates setting the main wave modulation mode to ASK
WPF1 indicates setting the main wave modulation mode to FSK
WPF2 indicates setting the main wave modulation mode to PSK
WPF3 indicates setting the main wave modulation mode as trigger
WPF4 indicates setting the main wave modulation mode to AM
WPF5 indicates setting the main wave modulation mode to FM
WPF6 indicates setting the main wave modulation mode to PM
飞逸科技 www.feeltech.net 16
FY6900 Serial communication protocol FeelTech
WPM1 indicates setting the modulation source as an external AC
coupling channel
WPM2 indicates that the modulation source is set manually.
WPM3 indicates that the modulation source is set as an external DC
coupling channel.
(6) RPN: Number of trigger pulses read from the main wave
PC sends RPN + 0x0a.
If the machine returns to 0000000068, the number of trigger pulses
飞逸科技 www.feeltech.net 17
FY6900 Serial communication protocol FeelTech
currently set is 68.
4、Measurement command
飞逸科技 www.feeltech.net 19
FY6900 Serial communication protocol FeelTech
(1)RCF:Read frequency of external measurement
PC sends RCF + 0x0a ,
If the machine returns 0000000668 ,
When the gate time is 1s, the frequency result is 668Hz.
When the gate time is 10s, the frequency result is 66.8Hz.
When the gate time is 100s, the frequency result is 6.68Hz.
Note: Please read the gate time first before do this command to confirm
the magnitude.
(2)RCC:Read external counting value.
PC sends RCC + 0x0a ,
If the machine returns 0000000668 , it means the value counted is 668.
(3)WCZ:Reset the counter.
Form as:WCZx+ 0x0a
Above “x” means the object of reset. For example:
WCZ0 means reset the counter.
飞逸科技 www.feeltech.net 20
FY6900 Serial communication protocol FeelTech
(7)RC-:Read width of positive pulse of external measurement.
PC sends RC- + 0x0a ,
If the machine returns 0000060668, it means the width of negative pulse is
60668ns.
飞逸科技 www.feeltech.net 21
FY6900 Serial communication protocol FeelTech
5、Sweep command
(1)SOB:Set the object of sweep.
Form as:SOBx+ 0x0a
Above “x” is the object needed of sweep. For example:
SOB0 means set the frequency to be object.
SOB1 means set the amplitude to be object.
SOB2 means set the offset to be object.
SOB3 means set the duty cycle to be object.
(2)ULN: Load the parameters of current two channels (Frequency, amplitude, offset,
duty cycle, waveform and so on) from a certain position.
Form as:ULNxx+ 0x0a
Above “xx” means the position needed to load. For example:
ULN06 means load parameters from position 6.
ULN01 means load parameters from position 1.
Note: If the position 1 has data saved, the machine will load these data when
start-up. If the position needed to load doesn’t have data saved, the machine will
not load. It will maintain current parameters.
飞逸科技 www.feeltech.net 24
FY6900 Serial communication protocol FeelTech
(3)USA: Add synchronization mode.
Form as:USAx+ 0x0a
Above “x” means the synchronization object. For example:
USA0 means set the waveform of second channel synchronized with first
channel.
USA1 means set the frequency of second channel synchronized with first
channel.
USA2 means set the Amplitude of second channel synchronized with first
channel.
USA3 means set the offset of second channel synchronized with first channel.
USA4 means set the duty cycle of second channel synchronized with first
channel.
Note: Synchronization function is not available in sweep status.
飞逸科技 www.feeltech.net 26
FY6900 Serial communication protocol FeelTech
(6 RMS:To read the uplink mode.
Form as:RMS+ 0x0a
NOTE: Feeltech reserves the right to modify all protocol without notice
飞逸科技 www.feeltech.net 27
FY6900 Serial communication protocol FeelTech
Please download latest communication protocol from our website:
http://www.feeltech.net/
飞逸科技 www.feeltech.net 28