Short answer: when the centralized control center, telecontrol (the RTU / dispatch link), AGC (automatic generation control) or primary frequency regulation needs data from the transformer monitoring units in your compact substations (pad-mounted transformers), there are two routes. Either the SCADA or telecontrol RTU already connected to the units forwards it, or each transformer monitoring unit opens one more IEC 60870-5-104 (IEC 104) channel so that the new master station connects to it directly. Whichever route you take, settle six things before commissioning: who the master stations are, which network the traffic takes, IP addresses and ports, the point list, encryption and firewall policies, and time synchronization. The most common problems on site are two master stations crowding onto one channel, IEC 104 parameters that differ between the two sides, shifted point numbers, and an encryption authentication device in the path that has not been set to let the traffic through.
Caution: forwarded data goes into the centralized control center and grid dispatch, and AGC/AVC (automatic voltage control) and primary frequency regulation also use this channel to send control commands down. Commissioning, changes and tests all need a work permit, agreed in advance with the grid dispatcher, the control center and the operator on duty. Changing an IP address or a policy, or restarting a switch or an encryption authentication device, interrupts services that are running, so a work permit is needed even though nothing is de-energized. Before testing remote control or set-point (remote adjustment) commands, confirm the target object; never send commands casually to equipment in service.
Two ways to forward: which to choose
In IEC 104, the master station (controlling station) is the side that opens the connection and sends general interrogations and commands; the slave station (controlled station) responds. The transformer monitoring unit is the slave; SCADA, the telecontrol RTU, the centralized control center, AGC/AVC and the primary frequency regulation device are all its master stations. One IEC 104 connection between a master station and the slave is called a channel.
| Item | Forwarding by SCADA or the RTU | Extra IEC 104 channel direct from the transformer monitoring unit |
|---|---|---|
| What has to change | Only one place, SCADA or the RTU; nothing changes on the compact substation side | A channel added on every monitoring unit; policies added unit by unit on each encryption authentication device and firewall in the path |
| Watch out for | One more forwarding hop, so somewhat more delay; if SCADA stops, forwarding stops too | Each unit can open only a limited number of channels, so first check how many are still free |
| Best for | The control center or telecontrol needs only some of the points and has no special speed requirement | Speed-critical uses such as primary frequency regulation; cases SCADA can't forward |
Older units that have only RS485 ports and can't output IEC 104 can first be connected to a communication gateway, which converts their data to IEC 104.
Six things to settle before commissioning
- Who the master stations are: SCADA, the telecontrol RTU, the centralized control center, AGC/AVC, the primary frequency regulation device, power forecasting and so on. List each one, and write down which points each master needs and whether it sends commands.
- Which network: draw the whole path from the transformer monitoring unit, through the plant's fiber ring and the station switches, to the master station, and mark every router, firewall and encryption authentication device along the way.
- IP addresses and ports: slave IP, master IP, subnet mask, gateway and port (2404 by default for IEC 104). The new master's IP must not conflict with any existing device, and that includes the addresses of the encryption authentication devices.
- Point list: how the information object addresses are arranged; whether telemetry is sent as normalized, scaled or short floating-point values; primary or secondary values, scaling factors and units; and the point numbers, ranges and signs of the remote-control and set-point points.
- Policies: on every encryption authentication device and firewall in the path, allow the traffic by master IP, slave IP and port; if grid dispatch has to issue certificates, apply early.
- Time synchronization: IEC 104 clock synchronization, SNTP or IRIG-B, as arranged for the whole plant.
Under the Chinese secondary-system security policy of security zoning, dedicated network, horizontal isolation and vertical authentication, the monitoring units and SCADA sit in the production control zone, and any data leaving the station or crossing zones has to pass through an encryption authentication device or an isolation device. Data for grid dispatch is sent up centrally by the telecontrol RTU, according to the dispatcher's information list. For the specifics, follow the plant's secondary-system security scheme and the grid dispatcher's requirements.
Align the IEC 104 parameters with the master station
IEC 104 is a standard protocol, but every vendor implements it a little differently. Before joint testing, list the items below and check them against each other. The numbers in brackets are IEC 104 type IDs.
| Parameter | Typical value | Notes |
|---|---|---|
| Port, common address | 2404; per point list | If the common address doesn't match, some masters discard the frames |
| Length of cause of transmission, common address and information object address | 2, 2 and 3 bytes | These lengths are fixed in IEC 104. A master that has copied its length settings from serial IEC 101 will parse the frames wrongly |
| k, w | 12, 8 | k: how many frames can be sent unacknowledged before sending stops; w: after how many received frames an acknowledgement must be sent |
| t0–t3 | 30, 15, 10, 20 s | t1 is the acknowledgement timeout; t3 is the interval for sending test frames when the link is idle. If the master's timeouts are too short, the slightest network delay makes it disconnect and reconnect |
| Telemetry | Normalized (9), scaled (11), short floating point (13) | Normalized values need the full-scale value; scaled values need the scaling factor |
| Tele-signalling | Single-point (1), double-point (3); with time tag 30, 31 | If SOE times are needed, the master must be able to receive time-tagged frames |
| Remote control, set-point | Single command (45), double command (46); set-point (48, 49, 50) | Select-before-operate or direct execute: both sides must match |
| General interrogation, counter interrogation, clock synchronization | 100, 101, 103 | Agree in advance whether energy is interrogated as integrated totals (15) or sent as telemetry |
How to test after commissioning
- Network reachable: ping the slave from the master side. If there is an encryption authentication device or firewall in the path, ping may be blocked anyway, so test port 2404 directly, as described in Step 4 of Whole Line of Transformer Monitoring Units Offline.
- Link comes up: connect once with IEC 104 master simulator software and check that start data transfer (STARTDT) is confirmed and that a general interrogation returns the complete data.
- Check point by point: after a general interrogation, compare each point with the unit and SCADA; test remote control and set-point commands from the simulator first, then from the real master.
- Leave it running: preferably across a full day and night, watching for disconnects and reconnects and for data that stops updating.
When something goes wrong, test segment by segment and capture frames on each segment as evidence. When every vendor says the problem isn't theirs, the frames are what settle it.
Common problems
| Symptom | Most likely | Check first |
|---|---|---|
| Ping works, but IEC 104 won't connect | Wrong port; policy not letting the traffic through; the slave has no channel open for this master, or accepts only configured master IPs | Test the port; check the policies and the slave's channel configuration |
| Two masters drop out in turn | Channel contention: a channel on the slave accepts only one connection, so when the second master connects, the slave drops the first, and the two keep reconnecting in turn; or two masters in the same redundancy group have both sent the start command | One channel per master; check how the slave's channels map to the master IPs |
| Drops as soon as it connects, reconnects over and over | Master timeouts too short; length parameters or common address mismatched | Compare k, w, t1–t3 and the length parameters |
| Connected, but no data or incomplete data | Wrong common address; point list not configured; master hasn't sent a general interrogation | Look at the general interrogation frames and the slave's responses |
| All point numbers shifted | Addresses counted from 0 or 1; decimal and hexadecimal mixed up; points added or removed in the middle of the point list | Compare point-list versions |
| Values off by a whole-number factor | Primary vs secondary values; scaling factor; full-scale value for normalized values | See How to Check CT/PT Ratios in Three Places |
| Values never change | Communication with the downstream device has been lost and the slave is holding the last value; the master isn't reading the quality bits | Check the invalid flag (IV) and the communication-loss status point |
| Remote control or set-point command sent but not executed | Wrong command type or point number; unit in Local; value out of range or wrong sign | Send it once from the simulator and compare the frames |
Common mistakes
- Assuming that because IEC 104 is a standard, a new master will connect straight away: a new master means joint testing all over again.
- Inserting new points in the middle of the point list: everything after them shifts, and every party has to follow. Add new points at the end.
- Changing the IP address in one place only: before changing it, list every master and every policy that involves this unit, then change them together and test them together.
Notes on the NSA series
The NSA3.5 uses only IEC 60870-5-104 for its uplink, with its gateway acting as the slave station on default port 2404. For point numbers, data types and quality bits, the reference is the NSA3.5 Gateway IEC 104 Point Table on the Downloads page. If one slave has to serve several master stations, send us the number of masters and their requirements before commissioning, and we will confirm how the ports and connections are allocated.
Scope
This applies to opening IEC 104 channels from transformer monitoring units and communication gateways in solar, wind and energy-storage plants to master stations such as the centralized control center, telecontrol, AGC/AVC and primary frequency regulation, whatever the manufacturer.
Still stuck? Send the network diagram, the IP and port list, the point list and frame screenshots to sales@aoyipower.com or call +86 10 8646 1328, and our engineers will help.
Still stuck?
Send us what you see and what you have already checked. Our engineers will get back to you, whichever brand your equipment is.