![VIPA SSM-BG41 Скачать руководство пользователя страница 125](http://html1.mh-extra.com/html/vipa/ssm-bg41/ssm-bg41_manual_1029239125.webp)
Manual BG41/BG42/BG43
Software
Rev. 99/49
4-9
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) and 02h (= set clock).
The data words are irrelevant for the sub-commands 03h (= set clock one hour forward) and 04h
(= set clock one hour back).
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. 4-4: 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
Содержание 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...