UNI is a very simple Master-Slave type protocol suitable, for
example, for development work in Master-Slave networks. The CU in the
RADIOSLAVE function is able to send an unchanged packet to a specific
address. In the RADIOMASTER function it sends a response to the sender´s
address upon request (without time limitation). The modem connected to the
Slave PLC cannot send a packet to the MORSE network spontaneously, i.e.
without a RADIOSLAVE’s query.
The terminology is unified from Setr version 126.96.36.199 according
PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC
CU (radiomodem) connected via SCC to PLC Master is called
The older Setr uses the reverse terminology, also:
( PLC Master - CU RADIOMASTER ... CU RADIOSLAVE - Slave PLC )
From firmware release 7.07 and up the UNI protocol in the Master
function is able to send a broadcast type packet. The Slave does not send
any reply after receiving the broadcast packet.
The protocol does not use a CRC.
The packet may contain arbitrarily arranged data, for example in the
format of one of the Master-Slave protocols. The only condition is that a
known position (nth byte) contains the lowest byte of the target Slave´s
address. The number of this position is stored as
(a)of the UNI protocol.
There are no special requirements imposed on the format of the data
entering the CU RM.
The UNI protocol uses only the lowest byte of the address. The other
bytes are either added using a mask from the actual address of the node or
whole MORSE addresses are prepared in the Art conversion table.
An 8-bit mask is used for creating a MORSE address:
RS data RM 69AABBFF ---------------> 69AABB22 112233AAAA
UNI parameters: PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC (m)ode :RADIOSLAVE (wired to master) (a):2 (A)ddress mode:BINARY (1 Byte)
>> Monitoring: source 69AABBFF|4. 10:29:56.325 rxsim 5 | S00 1122 33AA AA 10:29:56.340| |00000022 000000FF|S00I OUT 5| 89 0user 1122 33AA AA Monitoring: source 69AABB22|2. 10:29:56.342| |00000022 000000FF|S01I IN 5|89 6user 1122 33AA AA 10:29:56.342 tx 5 | S01 1122 33AA AA
According to parameter
(a) the second byte of data was
selected and inserted as the lowest byte of the destination
Data was received from the source address
69AABBFF, and therefore the nearest
data, which entered through the SCC01 port, is sent by protocol RM to this
>> Monitoring: source 69AABB22|3. 10:30:32.874 rxsim 2 | S01 BBBB 10:30:32.889| |000000FF 00000022|S01I OUT 2| 89 0user BBBB Monitoring: source 69AABBFF|7. 10:30:32.891| |000000FF 00000022|S00I IN 2|89 1user BBBB 10:30:32.892 tx 2 | S00 BBBB
The address is configurable, e.g. 127 = 0x7F:
PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC (m)ode :RADIOSLAVE (wired to master) (a):2 (A)ddress mode:BINARY (1 Byte) (b)roadcast:ON (B)roadcast Address:127 (C)TS sig:OFF T(1):0ms T(2):0ms
11:06:48.483 rxsim 5 | S00 117F 33AA AA 11:06:48.498| |0000007F 000000FF|S00I OUT 5||89 0user brc 117F 33AA AA RF mon |toa frm |dst src |lNo!DQ!RSS size|TT N 11:06:48.529|69AABBFF 69AABBFF|69AAB87C 69AABBFF|008 RFTX 5 09 4datbrc
Data 117F33AAAA is addressed for 0x7F (127 dec). This coincides with
the Broadcast address, which is why it is sent to the network with a set
Note – the appropriate parameters must be filled in in the Broadcast
In RADIOMASTER mode the modem has broadcast switched on in the UNI
protocol parameters. The Broadcast address does not need to be filled in.
The RADIOMASTER does not expect any reply to Broadcast data from SCC. If
any arrives it is discarded.
PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC (m)ode :RADIOMASTER (wired to slave) (a):0 (A)ddress mode:BINARY (1 Byte) (b)roadcast:ON (B)roadcast Address:0 (C)TS sig:OFF T(1):0ms T(2):0ms
Switching on the CTS parameter causes the CTS signal to be set up
when sending data to the port with a lead of T1 and a lag of T2 ms.
11:33:42.524| |00000022 000000FF|S01I IN 5|*89 6user 1122 33AA AA 11:33:42.525 --- 0 | S01;CTS ON 11:33:42.529 tx 5 | S01 1122 33AA AA 11:33:42.536 --- 0 | S01;CTS OFF
The main parameters are Master-Slave resolution and for the CU
RADIOSLAVE parameter (a) which defines the byte number of data containing
the destination address.
UNI parameters: PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC (m)ode :RADIOSLAVE (wired to master) (a):5 (A)ddress mode:BINARY (1 Byte) (b)roadcast:ON (B)roadcast Address:127 (C)TS sig:OFF T(1):0ms T(2):0ms Accept (r)epeats:OFF (t)imeout:0ms Check (N)etNo:OFF (q)uit >>
(m)ode – protocol mode
ATTENTION – The Setr older than 188.8.131.52 uses the reverse
the address position in the packet (which byte contains the
(A)ddress mode – the address writing mode in the packet has
An example of using parameter
(A)dd with value
UNI parameters: PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC (m)ode :RADIOSLAVE (wired to master) (a):2 (A)ddress mode:ASCII/HEX (2 Bytes)
>> 10:39:57.905 rxsim 5 | S00 1161 62CC CC 10:39:57.921| |000000AB 000000FF|S00I OUT 5| 89 0user 1161 62CC CC
61 62 was transferred as
0xABand a packet was sent to this address.
(b)roadcast – In RADIOSLAVE mode it sends data, whose
(B)roadcast Address – Address for broadcast packet definition,
(C)TS sig:ON – Switching on the CTS parameter causes the CTS
T(1):5ms – lead
T(2):5ms – lag
Accept (r)epeats: — receiving of repeated packets, set in
(t)imeout:0ms — Within this dellay the incoming repeated
Check (N)etNo: — Checking the net numbers in the responses
612 03/2003 –
updated with format ASCII/HEX
707 03/2005 –
updated with Broadcast
712 04/2005 –
updated with CTS signal
release 184.108.40.206 06/2007 – unification of terms
RS/RM in the Setr
release 10.0.19.0 11/2007 – added the checking of
release 10.0.21.0 11/2007 – added the net number