EasyManua.ls Logo

Bosch CL500 - Job Parameters in the Data Module

Bosch CL500
96 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PLC Program Examples
11--6
1070 072 196-101 (00.06) GB
11.2 Job Parameters in the Data Module
Two parameter fields for one reading and one writing job of a data module.
These parameters are added to the request module R5REQ as job parame-
ters.
; ---------------------------------------------------------------------------
; Data Module File
; ---------------------------------------------------------------------------
LENGTH=512 ;Length of the data module in bytes
;***** Read-DM12 to DM11 command *****
;DW0
0 UINT 16#0000
;RSS and channel number
2 UINT 16#0001
;Job number (0x60)
4 UINT 16#0060
;P3 type of command (45=E)/ type of operand (00=Byte)
6 UINT 16#4500
;P4 command code AST (44=DM) / Com. PST (44=DM)
8 UINT 16#4444
;P5 command attribute AST (DM no./data field no.)
10 UINT 11
;P6 block address AST (AST=CL400)
12 UINT 16#00f0
;P7 byte offset AST
14 UINT 16#0000
;P8 command attribute PST (DM no./DF no.)
16 UINT 12
;P9 block address PST (PST=CL400)
18 UINT 16#00f0
;P10 Byte offset PST
20 UINT 16#0000
;P11 amount of data according to type of data
22 UINT 512
;P12 process coordination point /
;field coordination marker 05 = EP or Stop /
;7F = without field coordination marker
24 UINT 16#057f
;IP address of the communication partner 142.2.26.136
;(different representation:
;OSTRING(4) <8e><02><1a><88>)
26 ISTRING ”142.2.26.136”
30 UINT 0

Related product manuals