PLC Program Examples
11--7
1070 072 196-101 (00.06) GB
;***** Read-DM13 to DM11 command *****
;DW0
32 UINT 16#0
;RSS and channel number
34 UINT 16#0101
;Job number (0x61)
36 UINT 16#61
;P3 type of command (41=A)/ type of operand (00=Byte)
38 UINT 16#4500
;P4 command code AST (44=DM) / Com. PST (44=DM)
40 UINT 16#4444
;P5 command attribute AST (DM no./data field no.)
42 UINT 11
;P6 block address AST (AST=CL400)
44 UINT 16#00f0
;P7 byte offset AST
46 UINT 16#0000
;P8 command attribute PST (DM no./DF no.)
48 UINT 13
;P9 block address PST (PST=CL400)
50 UINT 16#00f0
;P10 byte offset PST
52 UINT 16#0000
;P11 amount of data according to type of data
54 UINT 512
;P12 Process coordination point /
;field coordination marker 05 = EP or Stop /
;7F = without field coordination marker
56 UINT 16#057F
;IP address of the communication partner 142.2.26.129
;(different representation:
;OSTRING(4) <8e><02><1a><81>)
58 ISTRING ”142.2.26.129”
62 UINT 0