13 Handling of the objects
13.1
The communication channel (PKW area) has the following structure:
Designation
Content
Byte No.
The data is transmitted in the Motorola format as, for example, supported by the S7
PLC from Siemens. Thus, the high byte is on the lower byte of the telegram and the
low byte on the higher byte.
Note:
PKE
Bit
AK:
SPM:
PNU:
•
•
•
Parameter values (= data) of the type Integer/Unsigned Integer (16 Bit) and Long (32
Bit) can be written and read. The data type is specificied in the request identification.
In data set change-over capable parameters (array), the required data set is stated in
the Index Byte (Byte 2).
Note:
Note:
08/08
08/08
Parameter access via communication channel PKW
PKE
Parameter
identification
High
Low
Byte
Byte
0
1
The data set is always on the high byte of "Index" (data set/Byte No. 2).
If the System bus function is available (EM-module with Systembus) a
Systembus address is set on the low byte of "Index" (SB/Byte No. 3). With
the help of this parameter the access to a Systembus subscriber is possi-
ble. For details see the Systembus manual.
Structure of the parameter identification (PKE):
High Byte
15
14
13 12
AK
SPM
Request or reply identification (value range 0 ..15)
Toggle bit for spontaneous result processing
Parameter number (value range 1 to 1599)
The request and reply identifications are stored in the AK area. If no parameter
processing is to be carried out, the "no request" type of function is to be set.
With bit 11 (SPM), the readiness for spontaneous report processing can be
switched on and off (0 = OFF, 1 = ON, in the present application, the spontane-
ous report processing is not supported, so SPM is always 0).
The PNU area transmits the number of the parameter to be processed.
An Excel file, which is available on request, exists for the necessary infor-
mation on the parameters with regards to the data type and data set
change-over capability.
To obtain access to the PKW object on a S7 PLC the functions SFC14/15
must be used.
CM-PDPV1
PKW Area
IND
Index
Parameter value
High-Word
High
Low
High
Byte
Byte
Byte
data set
SB
2
3
11
10
9
8
7
CM-PDPV1
PWE-high
PWE-low
Parameter value
Low-Word
Low
High
Byte
Byte
4
5
6
Low Byte
6
5
4
3
2
PNU
Low
Byte
7
1
0
21
21
Need help?
Do you have a question about the ACTIVE CUBE and is the answer not in the manual?