![VIPA SSM-BG41 Скачать руководство пользователя страница 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
Содержание SSM-BG41
Страница 2: ...Lerrzeichen...
Страница 8: ...Contents Manual BG41 BG42 BG43 iv Rev 99 49...
Страница 10: ......
Страница 16: ......
Страница 26: ...Firmware s memory distribution Manual BG41 BG42 BG43 2 10 Rev 99 49...
Страница 28: ......
Страница 53: ...Manual BG41 BG42 BG43 Interface modules Rev 99 49 3 25 3 2 7 2 Data flow Fig 3 26 Data flow...
Страница 114: ...Functional description and allocation of terminal pins Manual BG41 BG42 BG43 3 86 Rev 99 49...
Страница 116: ......
Страница 163: ...Manual BG41 BG42 BG43 Software Rev 99 49 4 47 Example Output telegram Fig 4 9 Example of an output...
Страница 165: ...Manual BG41 BG42 BG43 Software Rev 99 49 4 49 Example Input telegram Fig 4 12 Example of an input telegram...
Страница 215: ...Manual BG41 BG42 BG43 Software Rev 99 49 4 99 Month 06h Year 95h Weekday Tuesday 02h...
Страница 222: ...Application of interfaces without data handling blocks Manual BG41 BG42 BG43 4 106 Rev 99 49...
Страница 224: ......
Страница 258: ...Structure guidelines Manual BG41 BG42 BG43 5 34 Rev 99 49...
Страница 260: ......
Страница 274: ...Overview cycle load Manual BG41 BG42 BG43 6 14 Rev 99 49...
Страница 275: ...Appendix A List of figures A 1 B Index of tables B 1 C Index C 1...
Страница 276: ......
Страница 280: ...List of figures Manual BG41 BG42 BG43 A 4 Rev 99 49...
Страница 286: ...Index Manual BG41 BG42 BG43 C 4 Rev 99 49...