Siemens Simatic S7 Series System Manual page 677

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

D.14 SMB36-45 (HSC0), SMB46-55 (HSC1), SMB56-65 (HSC2), SMB136-145 (HSC3): high-speed counters
S7-200 SMART
symbol name
HSC2_Dir
HSC2_Dir_Update
HSC2_PV_Update
HSC2_CV_Update
HSC2_Enable
HSC2_CV
HSC2_PV
Table D- 12
High-speed counter 3 configuration and operation
S7-200 SMART
SM address
symbol name
HSC3_Status
SMB136
SM136.0–SM136.4
HSC3_Status_5
SM136.5
HSC3_Status_6
SM136.6
HSC3_Status_7
SM136.7
HSC3_Ctrl
SMB137
SM137.0–SM137.2
HSC3Dir
SM137.3
HSC3_Dir_Update
SM137.4
HSC3_PV_Update
SM137.5
HSC3_CV_Update
SM137.6
HSC3_Enable
SM137.7
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
SM address
Description
SM57.3
HSC2 direction control bit: 1 = count up
SM57.4
HSC2 update direction: 1 = update direction
SM57.5
HSC2 update preset value: 1 = write new preset value to HSC2 preset
SM57.6
HSC2 update current value: 1 = write new current value to HSC2 current
SM57.7
HSC2 enable bit: 1 = enable
SMD58
HSC2 new current value
SMD58 is used to set HSC2 current value to any value you choose. To
update the current value, write SMD58 with the desired new current value,
write SM57.6 to 1, and execute the HSC instruction. The new current value
is then written to HSC2's current count register.
SMD62
HSC2 new preset value
SMD62 is used to set HSC2 preset value to any value you choose. To up-
date the current value, write SMD62 with the desired new current value,
write SM57.5 to 1, and execute the HSC instruction. The new preset value
is then written to HSC2's preset register.
Description
HSC3 counter status
Note: Counter status bits are valid only while an interrupt routine triggered
by a high-speed counter event is being executed.
Reserved
HSC3 current counting direction status bit: 1 = counting up
HSC3 current value equals preset value status bit: 1 = equal
HSC3 current value is greater than preset value status bit: 1 = greater than
HSC3 counter control
Reserved
HSC3 direction control bit: 1 = count up
HSC3 update direction: 1 = update direction
HSC3 update preset value: 1 = write new preset value to HSC3 preset
HSC3 update current value: 1 = write new current value to HSC3 current
HSC3 enable bit: 1 = enable
Special memory (SM) and system symbol names
677

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents