EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 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-45 (HSC0), SMB46-55 (HSC1), SMB56-65 (HSC2), SMB136-145 (HSC3): high-speed counters
S7-200 SMART
676 System Manual, 09/2015, A5E03822230-AC
Table D- 10 High-speed counter 1 configuration and operation
S7-200 SMART
symbol name
SM address
Description
HSC1_Status
SMB46
HSC1 counter status
Note
: Counter status bits are valid only while an interrupt routine triggered
by a high-speed counter event is being executed
SM46.0–SM46.4 Reserved
HSC1_Status_5
SM46.5
HSC1 current counting direction status bit: 1 = counting up
HSC1_Status_6
SM46.6
HSC1 current value equals preset value status bit: 1 = equal
HSC1_Status_7
SM46.7
HSC1 current value is greater than preset value status bit: 1 = greater than
HSC1_Ctrl
SMB47
HSC1 control
SM47.0-SM47.2
Reserved
HSC1_Dir
SM47.3
HSC1 direction control bit: 1 = count up 0 = count down
HSC1_Dir_Update
SM47.4
HSC1 update direction: 1 = update direction
HSC1_PV_Update
SM47.5
HSC1 update preset value: 1 = write new preset value to HSC1 preset
HSC1_CV_Update
SM47.6
HSC1 update current value: 1 = write new current value to HSC1 current
HSC1_Enable
SM47.7
HSC1 enable bit: 1 = enable HSC 0 = disable HSC
HSC1_CV
SMD48
HSC1 new current value
SMD48 is used to set HSC1 current value to any value you choose. To
update the current value, write SMD48 with the desired new current value,
write SM47.6 to 1, and execute the HSC instruction. The new current value
is then written to HSC1's current count register.
HSC1_PV
SMD52
HSC1 new present value
SMD52 is used to set HSC1 preset value to any value you choose. To up-
date the current value, write SMD52 with the desired new current value,
write SM47.5 to 1, and execute the HSC instruction. The new preset value
is then written to HSC1's preset register.
Table D- 11 High-speed counter 2 configuration and operation
S7-200 SMART
symbol name
SM address
Description
HSC2_Status
SMB56
HSC2 counter status
Note: Counter Status bits are valid only while an interrupt routine triggered
by a high-speed counter event is being executed.
SM56.0–SM56.4
Reserved
HSC2_Status_5
SM56.5
HSC2 current counting direction status bit: 1 = counting up
HSC2_Status_6
SM56.6
HSC2 current value equals preset value status bit: 1 = equal
HSC2_Status_7
SM56.7
HSC2 current value is greater than preset value status bit: 1 = greater than
HSC2_Ctrl
SMB57
HSC2 control
HSC2_Reset_Level SM57.0 HSC2 active level control bit for Reset: 0 = Reset is active high; 1 = Reset is
active low
SM57.1
Reserved
HSC2_Rate SM57.2 HSC2 counting rate selection for AB quadrature phase counters: 0 = 4x
counting rate; 1 = 1x counting rate

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals