EasyManua.ls Logo

Siemens SIMATIC S7 - Page 815

Siemens SIMATIC S7
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Special memory (SM) and system symbol names
D.14 SMB36-SMB45 (HSC0), SMB46-SMB55 (HSC1), SMB56-SM65 (HSC2), SMB136-SMB145 (HSC3), SMB146-
SMB1
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
815
Table D- 14 HSC5 configuration and operation
S7-200 SMART
symbol name
SM address
Description
HSC5_Status
SMB156
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.
SM156.0
SM156.4
Reserved
HSC5_Status_5
SM156.5
HSC5 current counting direction status bit: TRUE: Counting up
HSC5_Status_6 SM156.6 HSC5 current value equals preset value status bit: TRUE: Equal
HSC5_Status_7 SM156.7 HSC5 current value is greater than preset value status bit: TRUE: Greater
than
HSC5_Ctrl
SMB157
HSC5 counter control
HSC5_Reset_Level SM157.0 HSC5 active level control bit for Reset: FALSE: Reset is active high, TRUE:
Reset is active low
SM157.1
Reserved
HSC5_Rate SM157.2 HSC5 Counting rate selection for Quadrature counters: FALSE: 4x counting
rate; TRUE: 1x counting rate
HSC5Dir
SM157.3
HSC5 direction control bit: TRUE: Count up
HSC5_Dir_Update
SM157.4
HSC5 update direction: TRUE: Update direction
HSC5_PV_Update
SM157.5
HSC5 update preset value: TRUE: Write new preset value to HSC5 preset
HSC5_CV_Update SM157.6 HSC5 update current value: TRUE: Write new current value to HSC5 cur-
rent
HSC5_Enable
SM157.7
HSC5 enable bit: TRUE: Enable
HSC5_CV
SMD158
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_PV
SMD162
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.

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals