The IEC 870-5-101 protocol for MORSE is taken from the condensed definition for format FT 1.2 according to IEC 870-5-2. This format is used by SAT and Landis&Gyr, and thus the IEC 870-5-101 protocol is termed MORSE-L&G hereon in. The protocol implemented supports the unbalanced mode (Master/Slave) and partially the balanced mode according to definition of standard IEC 870-5-101.
This definition distinguishes three frames: a frame with variable length, a frame with fixed length and a frame with a single character.These frames are compressed and decompressed by the MORSE-L&G protocol according to the following rule.
The physical layer of the MORSE-L&G protocol uses the RS232 interface (SC channel).
The terminology is unified from Setr version 22.214.171.124 according next schedule:
FEP 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 )
The Landis&Gyr control unit, which is also labelled as an FEP (Front End Processor), is connected through the SCC channel to the RADIOSLAVE radio modem. The RADIOMASTER radio modem is linked to the slave through the SCC channel.
| 0x68/8 | L/8 | L/8 | 0x68/8 | C/8 | A/8 | data/8*(L-2) | chk/8 | 0x16/8|
length C+A+data, range (0..255), typically 11 bytes
address field (address of RM communicated with)
The frame received from the external link is compressed by the MORSE-L&G protocol into the format which is sent via the MORSE communication channel:
| C/8 | data/8*(L-2) |
During compression a check is made on the field length C+A+data (L), field (chk) and the synchronisation field (68, 68 and 16). If one of these does not match the packet is discarded. Furthermore, in the case of the RADIOSLAVE protocol the destination station address is extracted. In the case of the RADIOMASTER protocol the address of the opposite station is designated as the sender of the previously received packet.
During decompression all fields are refreshed. Address field A is refreshed from the header of the MORSE packet, i.e. in the case of decompression in the RADIOMASTER protocol the recipient and in the case of the RADIOSLAVE protocol the sender.
Frames are transmitted in the USER DATA format.
| 0x10/8 | C/8 | A/8 | chk/8 | 0x16/8 |
This frame is compressed by the MORSE-L&G protocol into the format:
| C/8 |
During compression a check is made on the field (chk) and the synchronisation field (10 and 16). If one of these does not match the packet is discarded. Furthermore, in the case of the primary protocol RADIOSLAVE, the destination station address is extracted. In the case of the secondary protocol RADIOMASTER the address of the opposite station is designated as the sender of the previously received packet.
During decompression all fields are refreshed. Address field A is refreshed from the header of the MORSE packet, i.e. in the case of decompression in the RADIOSLAVE protocol the recipient and in the case of the RADIOMASTER protocol the sender.
Frames are transmitted in the USER DATA format.
| 0xE5/8 |
Frame E5 is transmitted as a packet with zero length. Other frames of this type (A2) are discarded.
In the case of the RADIOSLAVE protocol this frame is discarded. In the case of the protocol RADIOMASTER the address of the opposite station is designated as the sender of the previously received packet.
The frame is transmitted in the USER DATA format.
Examples of FEP – RTU communication:
08:56:46.388 rxsim 5 | S00 1049 054E 16 ... FEP Master -> CU RS 06 08:56:46.403| |00000005 00000006|S00I OUT 1| 89 5user 49 ... CU RS 06 -> CU RM 05 (data paketu MORSE) Monitoring: source 690F5505|7. 08:58:17.838 tx 5 | S00 1049 054E 16 ... CU RM 05 -> RTU Slave
Response from the slave (RTU):
08:58:24.315 rxsim 5 | S00 100B 0510 16 ... RTU Slave -> CU RM 05 Monitoring: source 690F5506|0. 08:56:53.016| |00000006 00000005|S00I IN 1|89 5user 0B ... CU RM 05 -> CU RS 06 (data paketu MORSE) 08:56:53.017 tx 5 | S00 100B 0510 16 ... CU RS 06 -> FEP Master
Monitoring: source 690F5506|3. 09:18:13.287 rxsim 5 | S00 1040 0545 16 ... FEP Master -> CU RS 06 09:18:13.294| |00000005 00000006|S00I OUT 1| 89 2user 40 ... CU RS 06 -> CU RM 05 (data paketu MORSE) Monitoring: source 690F5505|5. 09:19:44.718 tx 5 | S00 1040 0545 16 ... CU RM 05 -> RTU Slave 09:19:45.718 tx 5 | S00 1040 0545 16 ... opakované vysílání do RTU parametry CU RM 05: (i)=1000ms, (r)=1
Response from the Slave (RTU):
09:19:49.593 rxsim 5 | S00 1000 0505 16 Monitoring: source 690F5506|4. 09:18:18.250| |00000006 00000005|S00I IN 1|89 2user 00 09:18:18.251 tx 5 | S00 1000 0505 16
09:45:46.024 rxsim 5 | S00 105B 0560 16 09:45:46.040| |00000005 00000006|S00I OUT 1| 89 2user 5B Monitoring: source 690F5505|1. 09:47:17.518 tx 5 | S00 105B 0560 16
Answer from RTU, containing C=08 and a user data ABCD:
09:47:21.921 rxsim 10 | S00 6804 0468 0805 ABCD 8516 Monitoring: source 690F5506|7. 09:45:50.609| |00000006 00000005|S00I IN 3|89 2user 08AB CD 09:45:50.610 tx 10 | S00 6804 0468 0805 ABCD 8516
Monitoring: source 690F5505|3. 09:52:13.614 rxsim 1 | S00 E5 Monitoring: source 690F5506|0. 09:50:42.252| |00000006 00000005|S00I IN 0|89 5user ... frame E5 is transmitted as zero-length packet 09:50:42.252 tx 1 | S00 E5
Reaction of CU6 at the master to frame 105B 0560 16 or 107B 0580 16 with parameter local(7)B5B=on :
09:42:00.926 rxsim 5 | S00 105B 0560 16 ... FEP -> CU06 09:42:00.949 tx 5 | S00 1009 050E 16 ... CU06 -> FEP does not transmit in radio channel
The RADIOMASTER protocol sends its packets to the source of the last request,i.e. to the RADIOSLAVE protocol. (Original member number is zero). This address is not configured.
L&G 870-5-2 IEC parameters: PLC Master - CU RADIOSLAVE ... CU RADIOMASTER - Slave PLC (m):RADIOSLAVE (wired to master) (s)kao:OFF (t):0 (i):11000ms (r):1 (R):0000 (g):0000 (d)uplicate packet check:ON e(X)ept addr::00000000 (a)ddress mode:0 (T)ransparent:OFF local (7)b5b:OFF (c)ts control:OFF m-bus calme(x):OFF fern (n)umbering:OFF t(S)ync:OFF (A):00000000 DEFA(U)LT:00000000 (D):0 (L):2000 (I):0 (E):0 (N):0 (q)uit >>
ATTENTION – The Setr older than 126.96.36.199 uses the reverse labelling !
(s)kao:OFF – obsolete – for communication with Skao device
(t):0 – time synchronisation mode
RADIOSLAVE (primary) – the time in the modem is synchronised from the external device as follows:
RADIOMASTER (secondary) – synchronisation of external device (RTU):
(d)uplicate packet check:ON
RADIOSLAVE checks whether the received response appertains to the sent request. Responses with incorrect serial numbers are discarded.
Exception from parameter (d). For this address duplicated packets from air are accepted.
0 – uses 1 byte of the address
1 – uses 2 bytes of the address
Switches on the transparent transmission of frames mode. The whole frame brought to the SCC port is then considered as data for the MORSE packet and is transmitted like this labelled as packet type 0x0A (prot data).
This mode is not used for packets arriving from the RF channel, because these packets already carry the packet type labelling 0x09 (user data) or 0x0A (prot data).
In the case of the CU RADIOSLAVE a response to frame 105B 0560 16 or 107B 0580 16 is generated, when switching on this parameter, directly in the CU and the packet is not transmitted to air. It is used as a protective measure in the case that FEP generates these frames (RTU functionality test) repeatedly with a short period.
Special parameter for hw configuration.
Special parameter for Clamex temperature gauges, RADIOMASTER unit.
Special parameter for spontanneous packets numbering.
Special parameter for time synchronization.
The packets generated spontaneously in the RTU are send to this address. If it is zero, then this packets are discarded. The packets sent as response to the request from center are sent to the questioners address.
This and the following parameters are used in SPP applications only for spontaneous communication of RADIOMASTER units. It is used in RM units, which generate the RTU’s spontaneous messages.
If the address is written in A then the packet is sent to this address upon spontaneous communication with the CU RM. If A = 0, then the spontaneously generated message is discarded.
Next parameters should be in normal state set OFF:
turns on the spontaneous mode
CU calls locally the RTU’s in set interval (ms) – frame type 0x7b / 0x5b
After this time is sent the keep packet to the RADIOSLAVE.
Number of repeats for call to RADIOSLAVE.
See the time synchronisation RTU in RADIOMASTER mode.