On this page
IEC 103 slave
Select IEC 103 slave to publish variables from the current forwarding group to an IEC103 master. Serial, TCP Client and TCP Service transparent byte transports are supported. The group’s range determines membership; variable properties define protocol mappings. See Forwarding configuration and runtime for common operations.
Target and point configuration


The screenshots use an independent memory point: application address7, FUN160 (A0h), INF144 (90h), element0, FullScale2000. Value1700 encodes approximately0.85; the master restores engineering units with the same full scale. The link address is a separate field (default1), and TCP transparent transport still carries IEC103 frames rather than IEC104.
The default point is Type9. Elements0–126 must be contiguous within a multi-element Type3/9 object. FullScale must be finite and positive. Generic Type10 uses FUN254/INF244 and unique GIN group/entry values1–255; KOD1 comes from the source, while additional unique KOD values must exceed1. Ordinary writeback is restricted to an independent Type1 Boolean/Byte point at element0 or a valid Type10 actual value, with all required permissions.
- Create a forwarding group, select its source variables, and add an IEC 103 slave target.
- Set the transport, link address and device time zone. Enter a bind endpoint for TCP Service, or serial settings matching the master.
- Configure each target variable’s application address, type, FUN, INF and element index.
- Save and start the target. The master can interrogate the current point list; changes are reported in their original order.
Generic interrogation ends with an empty COT10 telegram. General interrogation, clock synchronization and process reset use FUN255; generic services use FUN254.
| Mapping | Configuration |
|---|---|
| Double-point state | Type1, Boolean or Byte; Boolean false/true means off/on |
| Normalized measurand | Type3 or9, with full scale; the engineering value is divided by full scale before standard normalization |
| Multiple elements in one object | Contiguous indices starting at0, supported only for types3 and9 |
| Complex monitoring record | Object containing the matching typed protocol element or complete received record |
| Generic actual value | Type10, FUN254, INF244, index0; an Object variable containing a typed generic array with nonzero group and entry numbers |
The application address, type, FUN, INF and index must be unique. GIN must also be unique within an application address. A mapping change ends old connections and responses; the master must initialize and interrogate again.
Generic data
KOD1 comes from the source variable. Configure distinct additional KODs greater than1 in Generic attributes. A single-precision actual value looks like:
{"Type":"Real32","Size":4,"MoreFollows":false,"Values":[{"Kind":"Real32","Value":12.5}]}Supported reads are INF240 group headings, INF244 entry reads, INF241 group/KOD reads, INF243 entry directories and INF245 generic interrogation. Group reads access the requested group’s current mappings. Missing attributes and unavailable sources return explicit rejections carrying GIN/KOD. Both positive and negative entry-directory answers use ASDU11. Count and byte budgets apply before a response is published; an oversized response does not send partial data.
Set Generic group headings on the target, keyed by application address and group number:
[{"Address":7,"Group":2,"Description":"Protection"}]Group numbers must be nonzero and unique within each application address. Descriptions allow up to 239 printable ASCII characters; other characters and line breaks are rejected. Existing generic groups without a configured description return empty text. You may also configure a group that has no entries. INF240 returns only the requested application’s headings, sorted by group, with entry number 0 and KOD10. An application with no groups returns a complete empty directory.
| Parameter | Default and purpose |
|---|---|
| Maximum mappings | 10000, including monitoring and generic variables |
| Connection queue count / bytes | 512frames / 128KiB per connection |
| Maximum response snapshot bytes | 4MiB per complete response |
| Maximum generic values | 65536 logical values across all entries |
| Maximum pending changes | 4096; overflow closes affected connections so the master can interrogate current state again |
| Response timeout | 30000ms; closes a connection whose master does not drain its response |
Writeback and system operations
Independent type1 double points and type10 generic actual values support authorized writeback. Enable target writes, target-variable writes and source-variable RPC writes. The source must remain in the group, enabled and online, with the same address, type and runtime identity. Failed source actions return negative confirmation. Link retries do not repeat an accepted source action.
Generic writes support INF248 staging, INF249 echo confirmation, INF250 execution and INF251 abort. Staging and echoing do not write source values. Each connection holds at most one batch, with a fixed CA/RII and alternating COUNT. GDD continuation supports large arrays; a repeated completed GIN or unfinished dataset cannot execute. Abort can discard an incomplete prefix.
Before the first source RPC, all entries are checked against current mappings, permissions, type, slot width, count and nested shape. Failed preflight cannot apply the first entry. Each subsequent source RPC rechecks its entry. Failure partway through may leave previous entries applied: the target rejects the batch without claiming rollback or replaying it. A single-frame, single-GIN INF250 write uses the direct path.
Staging has separate per-connection limits: 4MiB of incoming ASDU bytes, 16384 frames, 65536 nested values and application elements, and a 30000ms deadline from the first stage. Zero-width values count toward the limit; continuation does not extend the deadline. Expiry, budget violations, or identity/counter conflicts close that connection. Disconnect, link/process reset and point-list changes discard old staging.
Clock synchronization changes only this protocol target’s virtual clock. Protocol process reset requires separate authorization and does not restart the gateway or source device.
Disturbance forwarding
Place a complete disturbance record in an Object variable within the forwarding group. The collection device’s complete or stored disturbance method can provide this value. Set the target-variable type to 26, match the record’s application address and FUN, set INF and element index to zero, and disable variable writeback. Each application-address/FUN pair allows up to 24 records with unique fault numbers.
A master can list and select faults, receive tags, channel ratios and all raw samples, then acknowledge each item and the whole transfer. Raw samples are not scaled again using the target’s measurand full scale. Selection creates one complete snapshot; later source updates cannot change that transfer. Reading or aborting neither deletes the source record nor writes to the variable.
| Setting | Default and purpose |
|---|---|
| Disturbance value limit | 262144, including every channel sample and tag |
| Concurrent disturbance limit | 8 complete transfer snapshots for the target |
| Disturbance transfer timeout | 30000ms from fault selection; continuation does not renew it |
| Response snapshot byte limit | Also bounds the disturbance’s complete encoded size; defaults to 4MiB |
Every stage rechecks current group membership, enable/online/read status and the mapping. Revocation, expiry, disconnect, reset or point-list replacement invalidates the old transfer. Capacity exhaustion or a missing fault returns an explicit ending. A negative item acknowledgement cannot be hidden by a final positive acknowledgement. Directories are included in general interrogation and sent on source changes.
Each model’s point list and network framing must match the master’s actual configuration.
Match the master’s engineering settings
For RS485, use an isolated adapter and match the differential pair, reference ground, termination and bias to the bus design. RS232 TX/RX must not be connected directly to RS485 A/B. Match the serial port, baud rate, parity and stop bits to the master. For transparent TCP, select TCP Client when the master listens, or TCP Service when the master connects. Disable registration packets, extra heartbeats and character conversion in an intermediate serial server. See Channels and transport.
| Target setting | Default and configuration |
|---|---|
| Link address | 1, range 0–254; match the master’s link address. 255 is reserved for broadcast. This is separate from the application address. |
| Device time zone | UTC; select a valid system time-zone identifier matching the station’s protocol timestamps. |
| Allow writes | Disabled; also requires target-variable and source RPC write permissions. |
| Allow clock synchronization | Disabled; permits adjusting this target’s virtual protocol clock only. |
| Allow protocol process reset | Disabled; permits clearing incomplete responses, staged writes and disturbance transfers without restarting the gateway. |
| Generic group headings | Empty; configure application address, nonzero group number and printable ASCII description matching the GIN mappings. |
| Variable setting | Default and configuration |
|---|---|
| Application address | 1, one byte; match the master’s ASDU common address. |
| Type | 9 (Measurands2); use 3 or 9 for measurands, 1 for double points, 10 for generic actual values, or 26 for complete disturbances. Complex records require the matching typed protocol object. |
| FUN | 160, decimal equivalent of A0h; generic data uses 254. |
| INF | 144, decimal equivalent of 90h; generic actual values use 244, and disturbance mappings use 0. |
| Element index | 0, range 0–126; types 3 and 9 support multiple contiguous elements of one object. |
| Measurand full scale | 1; finite and greater than zero. Match the master’s engineering-unit scale. |
| Generic group / entry | Both 1, range 1–255; their pair forms a unique GIN within the application address. Zero is reserved for directory commands. |
| Generic attributes | Empty; at most 63 unique KODs greater than 1, with matching data types and slot widths. KOD1 comes from the source. |
| Allow writes | Disabled; applies only to the supported independent Type1 or Type10 mappings described above. |
For example, configure link address 1, application address 7, Type9, FUN 160, INF 144, element 0, and full scale 100 V. Add a source variable currently reading 50 V, and keep writeback disabled. The master resets the link, interrogates, and interprets normalized value 0.5 with the same 100 V full scale to display about 50 V. This example uses a different scale from the screenshot. For a second element of the same object, keep the address, type, FUN and INF and use index 1; for another INF, configure a separate object at index 0.
Capacity ranges
Inspect the actual backlog before changing a budget. A larger frame queue does not enlarge a complete response snapshot or correct a master that stops polling.
| Setting | Accepted range |
|---|---|
| Connection queue count / bytes | 2–4096 frames / 253–16777216 bytes per connection |
| Maximum mappings / pending changes | Each 1–100000 |
| Response snapshot bytes | 253–16777216 |
| Generic response values / staged write values | Each 1–1048576, including nested values |
| Staged write bytes / frames | 253–16777216 bytes / 1–65536 frames |
| Response timeout / staged write timeout | Each 100–3600000 ms |
| Disturbance values / concurrent transfers | 1–1048576 values / 1–64 snapshots |
| Disturbance transfer timeout | 100–3600000 ms from fault selection |