Professional Documents
Culture Documents
Protocol GEN32 V3.9eng
Protocol GEN32 V3.9eng
COMMUNICATION PROTOCOL
Version 3.9
MUPROTSW Page 2 of 32
rev. 3.9 of 2021-09-01
Communication protocol
By means of the serial interface RS485/RS232 or USB (as serial port), it’s possible to
send commands to, and get replies from the equipment using a half-duplex communication
protocol.
The setting of the communication port is as follows:
A TCP socket on port 50000 can also be used for the same commands/reply.
Each command and each reply is preceded by a start character (STX) and the address
(IND) of the device with which we want to communicate, followed by a stop character (ETX)
and a checksum character (CKSUM) for the information correctness verification.
Each command that contains a parameter, gets a reply with the character (ESI) that can
assume the following values:
Command Reply
0x10 "S" 0x10 "S" Serial number
Command Reply
0x10 "F" 0x10 "F" Firmware version
Command Reply
0x10 O 0x10 O Activity time in hours
Command Reply
0x11 O (string length. Max 6) 0x11 O ESI
Command Reply
0x10 "D" 0x10 "D" System date (YYMMDD)
Command Reply
0x11 "D" Actual date (YYMMDD) 0x11 "D" ESI
Command Reply
0x10 "T" 0x10 "T" System time (HHMMSS)
Command Reply
0x11 "T" Actual time (HHMMSS) 0x11 "T" ESI
MUPROTSW Page 4 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x10 "B" 0x10 "B" Beep options state
Command Reply
0x11 "B" Beep options set 0x11 "B" ESI
Options :
"0" Off
"1" Beep on keys
"2" Beep on events
"3" Beep on keys and events
Command Reply
0x11 "U" NUM Output modes settings 0x11 "U" ESI
Modes:
"0" None NUM = Number between “1” and “8”
"1" Valid test data
"2" Test started
"3" Test in progress
"4" Abnormal End
(Overload/Trip)
"5" Failures
"6" Test end
"7" As an external beep
“8” Nonzero output
“9” SeqTrig1
“10” SeqTrig2
“11” SeqTrig3
“12” SeqTrig4
“13” Diag Mode
MUPROTSW Page 5 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x11 "I" NUM Setting inputs mode 0x11 "I" ESI
Modes:
"0" None
"1" Test start
"2" Test stop
"3" Start/Stop test
"4" Enable start
"5" End test
"6" Status 1
"7" Status 2
“8” Status 3
“9” Status 4
“10” Pause Was ”:” in V2.7
“11” Resume Was ”;” in V2.7
“12” Enable Was ”<” in V2.7
“13” Disable
“14” Next
“15” SeqSel8
“16” SeqSel4
“17” SeqSel2
“18” SeqSel1
Command Reply
0x10 "M" 0x10 "M" Operation mode
Command Reply
0x11 "M" Setting operation modes 0x11 "M" ESI
Modes:
"0" Generator
"1" Booster 1st scale
"2" Booster 2nd scale
"3" Booster 3rd scale
“4” DC control (optional)
Request and setting the generator mode (available only on some models)
Command Reply
0x10 "G" 0x10 "G" Generator mode
Command Reply
0x11 "G" Setting generator operation mode 0x11 "G" ESI
Modes:
"0" AC
"1" DC
Command Reply
0x10 "A" 0x10 "A" Mode
Command Reply
0x11 "A" Set mode 0x11 "A" ESI
Command Reply
0x10 "Q" 0x10 "Q" Mode
Command Reply
0x11 "Q" Set mode 0x11 "Q" ESI
Command Reply
0x10 "N" 0x10 "N" Device Name
MUPROTSW Page 8 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x12 "O" 0x12 "O" Operator name
The “Operator code” is the password of the device, as defined in the relative menu.
(as value and length). For example: “0” is different from “00” or “000”…
Request and sending the alphanumeric code associated with the test
Command Reply
0x12 "C" 0x12 "C" Test code
Command Reply
0x13 "C" Test code (Max length 12) 0x13 "C" ESI
Command Reply
0x12 "N" 0x12 "N" Notes relative to test
Command Reply
0x13 "N" Notes relative to test (Max length 12) 0x13 "N" ESI
Command Reply
0x12 "A" 0x12 "A" Number of test cycles (ARN)
Command Reply
0x13 "A" Number of test cycles (ARN) (From “1” to “999”) 0x13 "A" ESI
(“0” stands for infinite number of cycles)
MUPROTSW Page 9 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x12 "S" 0x12 "S" UMIS Delay between two cycles (ARS)
Command Reply
0x13 "S" UMIS Delay between two cycles (ARS) 0x13 "S" ESI
UMIS
“0” Milliseconds
“1” Seconds
“2” Minutes
“3” Hours
* For the allowed range, refer to machine specifications
Command Reply
0x13 "M" IDX UMIS Test value * 0x13 "M" ESI
UMIS
“0” mV or mA
“1” Volt or Amp
Command Reply
0x13 "W" IDX Number of scale selected * 0x13 "W" ESI
Command Reply
0x13 "T" IDX UMIS Max. time (TIMEOUT) * 0x13 "T" ESI
UMIS
“0” Milliseconds
“1” Seconds
“2” Minutes
“3” Hors
Command Reply
0x13 "P" IDX Mode 0x13 "P" ESI
Mode
“0” Positive
“1” Negative
Command Reply
0x13 "R" IDX Mode Ramp end value * 0x13 "R" ESI
Mode
“0” No ramp
“1” Linear ramp
.
MUPROTSW Page 12 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x12 "G" 0x12 "G" Trigger mode
Command Reply
0x13 "G" Trigger mode 0x13 "G" ESI
Modes:
"0" Internal
"1" External
"2" Auto
Command Reply
0x12 "F" 0x12 "F" Frequency in hundredths of Hz
Command Reply
0x13 "F" Frequency in hundredths of Hz 0x13 "F" ESI
Nota: With internal trigger, only 50Hz or 60Hz frequencies are allowed, with external trigger or auto are
allowed frequencies within the limits specified by the machine.
Request and sending the delayed test stop after trip (DAT = delay after trip)
Command Reply
0x12 "D" 0x12 "D" Delayed test stop (DAT) in ms
Command Reply
0x13 "D" Delayed test stop (DAT) in ms 0x13 "D" ESI
MUPROTSW Page 13 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x12 "H" 0x12 "H" Phase displacement in degrees with
respect to the trigger
Command Reply
0x13 "H" Phase displacement in degrees from “0” to “359” 0x13 "H" ESI
Note: Phase displacement allowed if trigger in EXTERNAL mode and the generator in
AC mode.
Command Reply
0x12 "B" 0x12 "B" Delay in degrees with respect to Zero
crossing
Command Reply
0x13 "B" Delay in degrees from “0” to “359” 0x13 "B" ESI
Nota: The delay is not allowed if the generator is in DC mode (only some models)
Command Reply
0x12 "U" 0x12 "U" Delay in milliseconds
Command Reply
0x13 "U" Delay in ms from “0”(OFF) to “999999” 0x13 "U" ESI
MUPROTSW Page 14 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x12 "L" 0x12 "L" Waveform code
Command Reply
0x13 "L" Waveform code 0x13 "L" ESI
Waveform code:
"0" Sinusoidal
MUPROTSW Page 15 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x14 “E” 0x14 “E” The test state or result
Command Reply
0x14 "N" 0x14 "N" Number of the running test
Command Reply
0x14 “T” 0x14 “T” UMIS Actual test time
UMIS
“0” Milliseconds
“1” Seconds
“2” Minutes
“3” Hours
MUPROTSW Page 16 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x14 “M” 0x14 “M” UMIS Value of actual test
Command Reply
0x14 “S” 0x14 “S” UMIS Actual value
Command Reply
0x14 “A” 0x14 “A” Cycle number of actual test
Command Reply
0x14 “F” 0x14 “F” Phase number of actual test
Command Reply
0x14 "I" 0x14 "I" IN1 IN2 IN3 IN4
“1” Active
Reading the remote connection state
Command Reply
0x14 "L" 0x14 "L" Connection state
Connection state:
“L” Not ACTIVE
“R” Active
MUPROTSW Page 18 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x14 “W” 0x14 “W” UMIS Actual value
UMIS
“0” Milliwatt
“1” Watt
Command Reply
0x14 “V” 0x14 “V” UMIS Actual value
UMIS
“0” Milliwatt
“1” Watt
Command Reply
0x14 “R” 0x14 “R” UMIS Actual value
UMIS
“0” Milliwatt
“1” Watt
Command Reply
0x14 “P” 0x14 “P” UMIS Actual value
UMIS
“0” In thousandths
“1” -
MUPROTSW Page 19 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x14 “Z” 0x14 “Z” UMIS Actual value
UMIS
“0” Milliohm
“1” Ohm
Command Reply
0x14 “O” 0x14 “O” UMIS Actual value
UMIS
“0” Milliohm
“1” Ohm
Command Reply
0x14 “X” 0x14 “X” UMIS Actual value
UMIS
“0” Milliohm
“1” Ohm
MUPROTSW Page 20 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x15 "M" Mode 0x15 "M" ESI
Note: It’s possible to enable the remote control mode only if the machine displays
The start Page.
Test start
Command Reply
0x15 "R" 0x15 "R" ESI
Note: It’s possible to start the test only if it’s in remote control mode, an operator is
selected and the test data has been entered.
The positive result of command means that has been accepted but, in order to be sure
that the start has taken place, it’s necessary to read the machine state (Command 14E).
NOTE: Set of an operation mode (0x31 “QN0”=TEST or 0x31
“QN1”=ADVANCED) is required before.
Test stop
Command Reply
0x15 "S" 0x15 "S" ESI
MUPROTSW Page 21 of 32
rev. 3.9 of 2021-09-01
Command Reply
0x15 "A" IND 0x15 "A" ESI
Note: The new address will be used after a new power-on.
Command Reply
0x15 "C" 0x15 "C" ESI
Reset the Ouputs Status: TEST-END and ABNORMAL_END (Overload/TRIP)
Command Reply
0x15 "W" 0x15 "W" ESI
Can be used to anticipate the selection of the scale to be used, to reduce the
time from START to the effective running. (Accepted only during NOT running).
MUPROTSW Page 22 of 32
rev. 3.9 of 2021-09-01
More info:
1. The waveform parameter is the Wave name. There are some pre-defined waveforms:
a. DC
b. Sinus
c. Square
d. Rect_P (Positive Rectified Sinusoidal)
e. Rect_N (Negative Rectified Sinusoidal)
f. Triangle
g. P.diC. (Similar to the current absorbed by a device with a rectifier as
input stage. See device manual for more info)
Other waveforms name (user defined) can be selected with the relative name.
MUPROTSW Page 24 of 32
rev. 3.9 of 2021-09-01
DOPZ
Bit 0 Disable DHCP
WOPZ
Bit 0:1 00:Internal Trigger
01:External Trigger
10:Trigger Auto
Bit 2 Free angle start(don’t wait zero crossing
Bit 3 Phase “U” current sense enable
Bit 4 Phase “V” current sense enable
Bit 5 Phase “W” current sense enable
Bit 6 Enable Beep on events
Bit 7 Sequence mode
Bit 8 Clear settings at power on
Bit 9 Enable RMS correction
Bit 10 Free running measure (Don’t freeze on stop)
Bit 11 Auto range
MUPROTSW Page 25 of 32
rev. 3.9 of 2021-09-01
Each channel (Voltage/Current) can be connect to the analog Output according the
following table
AOUT
1 Voltage “U”
2 Current “U”
3* Voltage “V”
4* Current “V”
5* Voltage “W”
6* Current “W”
UMIS
“0” Milliseconds
“1” Seconds
“2” Minutes
“3” Hours
Write a Sequence parameter Reply
0x31 “Q” PCODE VALUE 0x31 "Q" ESI
Reset Errors
Command Reply
0x31 "Z" 0x31 "Z" ESI
Reset errors.
Working parametrs are: Option as in WOPZ table,Delay from Zero Crossing,Digital I/O
setting,Analog Out Settings, Parameters used in TEST mode..
MUPROTSW Page 30 of 32
rev. 3.9 of 2021-09-01
Request INFO
Command Reply
0x30 "I" 0x30 "I" INFO_BITS
SUBSTAT = Array of STATUS bytes (The length depends on module numbers in setup)
OVSTAT = Three values, separated by “;”. Each one indicate the percentage of
OVERCURRENT/EXTRAPOWER already used for the three phases (U;V;W).
In single phases systems, the V and W value are not meaningful.
Request Measures
Request Reply
0x30 "M" MTYP CHAN 0x30 "M" ESI MEAS
Note: MEAS is valid only with ESI=”0”
MEAS: The requested measures for a channel are reported, separated by “;”.
If ALL the channel are selected, each channel measure group ids divided by LF (0xa)
character.
When requesting all measures for all the channels they will be sent by phase (1st all
measures of the phase “U”, then all of the phase “V” then the phase “W”)
MUPROTSW Page 32 of 32
rev. 3.9 of 2021-09-01
Version history
V3.1 Added new family of commands.
V3.2 Commands 0x10 and 0x11 “B”: Option Beep on key is now available again.
V3.7 The differences versus old H8 series are now in the “GEN32 vs H8 protocol
differences” manual.
V3.9 Modified command 0x13 “R” for total compatibility with H8 protocol.
Command 0x13 “M” now accept also mV/mA.