![VIPA SSM-BG41 Manual Download Page 113](http://html1.mh-extra.com/html/vipa/ssm-bg41/ssm-bg41_manual_1029239113.webp)
Manual BG41/BG42/BG43
Interface modules
Rev. 99/49
3-85
The allocation of the data words from DW2 up to DW5 is only of significance for the sub-command
01h (= transfer time and date in BCD format to PLC).
For the sub-command 05h (= transfer time and date in ASCII format to the PLC) the string to be
transferred is filed in the data words DW2…DW11.
The following character string is, for example, transmitted:
Fr 02.06.89 22:55:58
Allocation of the Data Blocks
Example FB102 (UHR)
Function "set clock": the clock is to be set to:
Tuesday
06.06.89
14:53:00
DB 99 is to be allocated the following values:
DL
DR
DW0
40h
00h
Acknow. byte
Error byte
DW1
40h
02h
Address clock
Set clock
DW2
00h
53h
Seconds
Minutes
DW3
14h
06h
Hours
Day
DW4
06h
89h
Month
Year
DW5
02h
00h
Weekday
Tab. 3-18:Example FB102 (UHR)
OB Cycle
BAUSTEIN#OB1
BIB
#14026
00002
:
00004
:UN
M 0.0
00006
:S
M 0.0
Time in every cycle
0000C
:
0000E
:SPA FB 102
NAME #UHR
ADR
=KH F080
Building block’s base address:
F080h
DB
=DB 99
Clock DB-Nr:99
FRG
=M 0.0
Enable bit
NEUS =M 0.1
Restart flag, which is to be
0001A
:
placed in OB22
0001E
:U
M 0.1
Erase restart flag
00020
:R
M 0.1
00022
: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...