Parameter Data Records (Pwm) - Siemens Simatic S7-1500 CPU 1512C-1 PN User Manual

Hide thumbs Also See for Simatic S7-1500 CPU 1512C-1 PN:
Table of Contents

Advertisement

B.8

Parameter data records (PWM)

You have the option of reassigning the pulse width modulation parameters in RUN. The
parameters are transferred with the instruction WRREC via the data record 128 to the PWM
submodule.
If errors occur when transferring or validating parameters with the WRREC instruction, the
module continues operation with the previous parameter assignment. The output parameter
STATUS then contains a corresponding error code. If no error has occurred, the length of

 t he data actually transferred is entered in the 
 o utput parameter STATUS.
You can find a description of the "WRREC" instruction and the error codes in the STEP 7
(TIA Portal) online help.
Data record structure
The following table shows the structure of the data record 128 for the pulse width
modulation. The values in byte 0 to byte 3 are fixed and must not be changed.
Table B- 22
Parameter data record 128
Bit →
7
Byte
0
1
2
3
4
Current
control
0
: Deac-
B
tivated
1
: Re-
B
served
5
Reserved = 0
CPU 1512C-1 PN (6ES7512-1CK01-0AB0)
Manual, 12/2017, A5E40898741-AA
6
5
Major Version = 1
Length of the parameter data of the channel in bytes = 12
Dithering
High-speed output
0
: Deac-
0
: Deactivated
B
B
tivated
1
: Re-
01
: Activated
B
B
served
10
-11
: Reserved
B
B
1)
4
3
Reserved = 0
1)
0001
: PWM (pulse-width modulation)
B
0100
0110
Reserved = 0
Diagnostics
1)
interrupt
0
1
B
Parameter data records
B.8 Parameter data records (PWM)
2
1
Minor Version = 0
Operating mode
0000
: Reserved
B
0010
: Reserved
B
0011
: Reserved
B
: Frequency output
B
to 1110
: Reserved
B
B
1111
: Deactivated
B
Reaction to CPU STOP
: Deac-
00
: DQ substitute value
B
B
tivated
: Activat-
01
: Reserved
B
ed
10
: Operating mode for
B
continuation of operation
11
: Reserved
B
0
187

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents