![VIPA SSM-BG41 Manual Download Page 245](http://html1.mh-extra.com/html/vipa/ssm-bg41/ssm-bg41_manual_1029239245.webp)
Manual BG41/BG42/BG43
Startup
Rev. 99/49
5-21
5.6 Examples
5.6.1 STX/ETX
With this example a SEND order from interface 1 to interface 2 of an SSM-BG42 or an SSM-BG43
is realised.
With the FB ‘PARA-STX’ the start character is restricted to STX (02H) and the end characterisation
is restricted to the end character ETX (03h) and EOT (04H). In the FIFO mode on interface 1 all
incoming telegrams are filed one behind the other in the card’s 254 byte buffer. With the FB ‘STX-
REC’ one can read these telegrams one after another.
FIFO is not operated on interface 2. Only the last telegram is always in the buffer, all previous
telegrams which have not been disposed of are deleted.
The SEND order is initiated by setting the M13.0. After the order has been completed the M13.0 is
reset.
Cold Restart OB
OB20
BIB
#5095
00000
:
00002
:SPA FB 100
NAME #PROCW
ADR
=KH F080
Base address
KANR =KF +1
Interface number
PROC =KF +1
Procedure STX/ETX
FEHL =MB 199
Error byte
0000E
:
00010
:SPA FB 40
NAME #PARA-STX
ADR
=KH F080
Base address
K/M
=KY 1,1
Interface 1/with FIFO
STX
=KY 0,2
Start classification is 02H
E1/2 =KY 3,4
End classification is 03H04H
ZVZ
=KF +50
2500ms(Value * 50ms)
FEHL =MB 198
Error byte
00020
:
00022
:SPA FB 100
NAME #PROCW
ADR
=KH F080
Base address
KANR =KF +2
Interface number
PROC =KF +1
Procedure STX/ETX
FEHL =MB 199
Error byte
0002E
:
00030
:SPA FB 40
NAME #PARA-STX
ADR
=KH F080
Base address
K/M
=KY 2,0
Interface 2/without FIFO
STX
=KY 0,2
Start classiication is 02H
E1/2 =KY 3,4
End classification is 03H04H
ZVZ
=KF +50
2500ms(Value * 50ms)
FEHL =MB 198
Error byte
00040
:BE
Summary of Contents for SSM-BG41
Page 2: ...Lerrzeichen...
Page 8: ...Contents Manual BG41 BG42 BG43 iv Rev 99 49...
Page 10: ......
Page 16: ......
Page 26: ...Firmware s memory distribution Manual BG41 BG42 BG43 2 10 Rev 99 49...
Page 28: ......
Page 53: ...Manual BG41 BG42 BG43 Interface modules Rev 99 49 3 25 3 2 7 2 Data flow Fig 3 26 Data flow...
Page 114: ...Functional description and allocation of terminal pins Manual BG41 BG42 BG43 3 86 Rev 99 49...
Page 116: ......
Page 215: ...Manual BG41 BG42 BG43 Software Rev 99 49 4 99 Month 06h Year 95h Weekday Tuesday 02h...
Page 222: ...Application of interfaces without data handling blocks Manual BG41 BG42 BG43 4 106 Rev 99 49...
Page 224: ......
Page 258: ...Structure guidelines Manual BG41 BG42 BG43 5 34 Rev 99 49...
Page 260: ......
Page 274: ...Overview cycle load Manual BG41 BG42 BG43 6 14 Rev 99 49...
Page 275: ...Appendix A List of figures A 1 B Index of tables B 1 C Index C 1...
Page 276: ......
Page 280: ...List of figures Manual BG41 BG42 BG43 A 4 Rev 99 49...