Specifications
Special Memory (SM) Bits
C-11
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
SMB66 to SMB85: PTO/PWM Registers
As described in Table C-15, SMB66 through SMB85 are used to monitor and
control the pulse train output and pulse width modulation functions. See the
information on high-speed output instructions in Section 9.5 in Chapter 9 for a
complete description of these bits.
Table C-15 Special Memory Bytes SMB66 to SMB85
SM Byte
Description
SM66.0 to
SM66.3
Reserved
SM66.4 PTO0 profile aborted;
0 = no error, 1 = aborted due to a delta calculation error
SM66.5 PTO0 profile aborted;
0 = not aborted by user command, 1 = aborted by user command
SM66.6 PTO0 pipeline overflow (cleared by the system when using external profiles,
otherwise must be reset by user); 0 = no overflow, 1 = pipeline overflow
SM66.7 PTO0 idle bit: 0 = PTO in progress, 1 = PTO idle
SM67.0 PTO0/PWM0 update the cycle time value: 1 = write new cycle time
SM67.1 PWM0 update the pulse width value: 1 = write new pulse width
SM67.2 PTO0 update the pulse count value: 1 = write new pulse count
SM67.3 PTO0/PWM0 time base: 0 = 1 ยตs/tick, 1 = 1 ms/tick
SM67.4 Update PWM0 synchronously:
0 = asynchronous update, 1 = synchronous update
SM67.5 PTO0 operation: 0 = single segment operation (cycle time and pulse count
stored in SM memory), 1 = multiple segment operation (profile table stored in
V memory)
SM67.6 PTO0/PWM0 mode select: 0 = PTO, 1 = PWM
SM67.7 PTO0/PWM0 enable bit: 1 = enable
SMB68
SMB69
PTO0/PWM0 cycle time value (2 to 65,535 units of time base);
SMB68 is most significant byte, and SMB69 is least significant byte.
SMB70
SMB71
PWM0 pulse width value (0 to 65,535 units of the time base);
SMB70 is most significant byte, and SMB71 is least significant byte.
SMB72
SMB73
SMB74
SMB75
PTO0 pulse count value (1 to 2
32
-1);
SMB72 is most significant byte, and SMB75 is least significant byte.
SM76.0 to
SM76.3
Reserved
SM76.4 PTO1 profile aborted;
0 = no error, 1 = aborted because of delta calculation error
SM76.5 PTO1 profile aborted;
0 = not aborted by user command, 1 = aborted by user command