Results
—
—
—
—
Charts
How it was calculated
Decoded fields
| Octets | Field | Value | Reading |
|---|
What it is for
During the commissioning of a SCADA or a gateway you need to read DNP3 and Modbus frames captured on the serial port or the network. This tool splits each field, checks the CRCs and computes how long the master takes to go through all its slaves.
IEC 60870-5-104 frames are read in the IEC 104 APDU decoder.
How it is decoded
Source: MODBUS over Serial Line V1.02; MODBUS Application Protocol V1.1b3
Modbus
RTU: slave · function · data · CRC-16 (0xA001, initial 0xFFFF, low octet first); TCP: transaction · protocol 0 · length · unit · function · dataA function with the highest bit set to 1 is an exception: the next octet gives the cause.
Source: DNP Users Group, A DNP3 Protocol Primer
DNP3
0x05 0x64 · LEN · CTRL · destination · source · CRC; data in blocks of 16 octets + CRC (polynomial 0x3D65)Without the CRCs, what remains is the transport octet (FIN, FIR, sequence), the application control, the function code, the IIN in responses and the object headers: group, variation, qualifier and range.
Source: MODBUS over Serial Line V1.02, 2.5.1
Polling cycle
t = Σ (request + t3.5 + slave response time + response frame + t3.5) + failed · (request + t3.5 + timeout) · (1 + retries)A Modbus RTU character has 11 bits; above 19 200 bit/s the silence t3.5 is fixed at 1.75 ms.
Limits
- In DNP3 it decodes the most common groups; an unknown object is shown as octets.
- It does not join the fragments of a long DNP3 response split across several frames.
- It does not decode Modbus ASCII or DNP3 over TCP with its network header.
- It does not replace the protocol analyser of the commissioning. The example frames are our own.
Frequently asked questions
How do I know whether a Modbus frame is a request or a response?
In a read, the response starts with the count of the octets that follow; the request carries address and quantity. The tool deduces it, but you can force it with the «Direction» field.
Why does a DNP3 frame have CRCs in the middle?
Because the link layer adds a CRC after the header and another every 16 data octets. The tool checks them one by one and removes them before reading the application.
How long does a Modbus polling cycle take?
The sum of each request, the silence, the response time of the slave and its response frame. A slave that does not answer costs the full timeout, multiplied by the retries: that is usually what lengthens the cycle most.
Related guides
Other tools
All tools
Solar energy
PV system sizingPV production and energy costPV I-V curveAGPE classifier and connection proceduresCable voltage dropSolar plants and the grid codeP-Q capability testPPC control testsPlant model validationCND supervision indicatorsPMU tests and commissioningRenewable energy tax incentives (Colombia)
Protection
Function 50/51 overcurrentFunction 27/59 voltageFunction 81 frequencyFunction 67/67N directionalFunction 46 negative sequenceFunction 49 thermal overloadFunction 25 synchronism checkFunction 32 reverse powerFunction 51V voltage overcurrentFunction 64G stator groundFunction 27TN third harmonicFunction 64F rotor groundFunction 78 out-of-stepFunction 50/27 inadvertent energizationFunction 37 undercurrentFunction 38 bearingsFunction 48 incomplete sequenceFunction 66 starts per hourFunction 51LR locked rotorFunction 14 underspeedFunction 47 phase sequenceFunction 59N residual overvoltageFunction 60 fuse failureFunction 55 power factorFunction 46BC broken conductorFunction 68 power swing blockingFunction 87N restricted earth faultFunction 63 Buchholz and pressureFunction 26 oil temperatureFunction 71 oil levelFunction 87B bus differentialFunction 60C bank unbalanceFunction 51G neutral groundFunction 79 reclosingFunction 86 lockoutFunction 94 tripFunction 74 trip supervisionFunction 87L line differentialPhasor diagramRelay coordinationCurrent transformer: burden and saturationVector group compensation (87T)Frequency df/dt rampBreaker failure 50BF87 differential settingCT and VT selectorDistance setting 21MV feeder coordinationMotor protectionBoundary meteringGenerator protectionLoad shedding 81 and UVLSShunt reactorSynchronizing and closing 25/78Secondary arc and single-pole reclosing
Analysis and communications
COMTRADE records: viewer and generatorOscillography analysisIEC 61850 SCL viewerIEC 61850 SCL auditorIEC 61850 network: GOOSE/SV addresses and process busIEC 60870-5-104 APDU decoderIEC 61850 to IEC 60870-5-104 and 101 mappingICCP bilateral table checkerIP and VLAN planTeleprotection channel timeOptical and radio link budgetTime synchronisationMMS control sequenceGOOSE simulatorIEC 61850 station networkInterlocking table and CILO equationsCause-and-effect matrix and logic checkerZones and conduits (IEC 62443-3-2)Zone firewall rule reviewerRoles and permissions (IEC 62351-8)IED X.509 certificate verifierDevice hardening baselineIncident response exercise (CNO 2188)Cybersecurity gap: CNO and IEC 62443
Equipment testing and diagnostics
Commissioning checklistCurrent transformer testsDisconnector and GIS switchgear testsGrounding system testsPower cable testsVoltage transformer testsInsulation diagnosis: dissolved gases (DGA) and temperature correctionTransformer TTR testTransformer winding resistanceTransformer insulation, PI and DARTransformer power factor and capacitanceTransformer excitation currentTransformer SFRATransformer leakage reactanceTap changer dynamic resistanceCalibration and uncertaintyPCB equipment: classification and deadlinesRETIE pre-inspectionTransformer test interpreterCircuit breaker testsTest budgetMaintenance plan and health indexSF6 inventory and leakage
Electrical studies
Lightning protectionShort circuit and per-unit systemGround fault and neutralShort-circuit checkerPower transformerTransformer noiseSafety clearancesArc flashGrounding resistancePower-frequency electric and magnetic fieldsCurrent split factor SfApproach boundariesSubstation configuration selectorBusbar stressesInsulation co-ordinationTRV and short-line faultGenerator circuit-breakerInductive load switchingSwitch-fuse combinationDisconnector and earthing switchMV switchgear and GIS specifierMV cable insulation levelInsulator strings: mechanical checkSeismic qualification of substation equipmentSurge protective device selectionElectric vehicle charging station
Yard equipment control
Circuit breaker controlDisconnector controlTransformer controlMV switchgear controlCapacitor bank controlAuxiliary services controlIEC 61850 bay controllerRecloser control
Industry and power quality
Motor startingHarmonic distortion THD and TDDEquipment harmonic emissionHarmonic emission allocationCapacitor bankBattery sizingRegulatory quality indicatorsCapacitor bank protectionSubstation DC systemsPower qualityGenerating sets to ISO 8528Lighting design to RETILAPControl valve Cv and Kv and affinity laws
