Siemens SIMATIC S7 System Manual page 815

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

D.14 SMB36-SMB45 (HSC0), SMB46-SMB55 (HSC1), SMB56-SM65 (HSC2), SMB136-SMB145 (HSC3), SMB146-SMB1
Table D- 14
HSC5 configuration and operation
S7-200 SMART
SM address
symbol name
HSC5_Status
SMB156
SM156.0–
SM156.4
HSC5_Status_5
SM156.5
HSC5_Status_6
SM156.6
HSC5_Status_7
SM156.7
HSC5_Ctrl
SMB157
HSC5_Reset_Level
SM157.0
SM157.1
HSC5_Rate
SM157.2
HSC5Dir
SM157.3
HSC5_Dir_Update
SM157.4
HSC5_PV_Update
SM157.5
HSC5_CV_Update
SM157.6
HSC5_Enable
SM157.7
HSC5_CV
SMD158
HSC5_PV
SMD162
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Special memory (SM) and system symbol names
Description
HSC5 counter status
Note: Counter status bits are valid only while the CPU is executing an inter-
rupt routine that a high-speed counter event triggered.
Reserved
HSC5 current counting direction status bit: TRUE: Counting up
HSC5 current value equals preset value status bit: TRUE: Equal
HSC5 current value is greater than preset value status bit: TRUE: Greater
than
HSC5 counter control
HSC5 active level control bit for Reset: FALSE: Reset is active high, TRUE:
Reset is active low
Reserved
HSC5 Counting rate selection for Quadrature counters: FALSE: 4x counting
rate; TRUE: 1x counting rate
HSC5 direction control bit: TRUE: Count up
HSC5 update direction: TRUE: Update direction
HSC5 update preset value: TRUE: Write new preset value to HSC5 preset
HSC5 update current value: TRUE: Write new current value to HSC5 cur-
rent
HSC5 enable bit: TRUE: Enable
HSC5 new current value
You use SMD158 to set HSC5 current value to any value you choose. To
update the current value, write the new current value to SMD158; write 1 to
SM157.6; and execute the HSC instruction. The instruction then writes the
new current value to HSC5's current count register.
HSC5 new preset value
You use SMD162 to set HSC5 preset value to any value you choose. To
update the preset value, write the new preset value to SMD162; write 1 to
SM157.5; and execute the HSC instruction. The instruction then writes the
new preset value to HSC5's preset register.
815

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents