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
811
S7-200 SMART
symbol name
SM address
Description
HSC0_CV
SMD38
HSC0 new current value
You use SMD38 to set HSC0 current value to any value you choose. To
update the current value, write the new current value to SMD38; write 1 to
SM37.6; and execute the HSC instruction. The instruction then writes the
new current value to HSC0's current count register.
HSC0_PV
SMD42
HSC0 new preset value
You use SMD42 to set HSC0 preset value to any value you choose. To
update the preset value, write the new preset value to SMD42; write 1 to
SM37.5; and execute the HSC instruction. The instruction then writes the
new preset value to HSC0's preset register.
Table D- 10 HSC1 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 the CPU is executing an inter-
rupt routine that a high-speed counter event triggered.
SM46.0–SM46.4
Reserved
HSC1_Status_5
SM46.5
HSC1 current counting direction status bit: TRUE: Counting up
HSC1_Status_6
SM46.6
HSC1 current value equals preset value status bit: TRUE: Equal
HSC1_Status_7
SM46.7
HSC1 current value is greater than preset value status bit: TRUE: Greater
than
HSC1_Ctrl
SMB47
HSC1 control
SM47.0-SM47.2
Reserved
HSC1_Dir
SM47.3
HSC1 direction control bit: TRUE: Count up FALSE: Count down
HSC1_Dir_Update
SM47.4
HSC1 update direction: TRUE: update direction
HSC1_PV_Update
SM47.5
HSC1 update preset value: TRUE: Write new preset value to HSC1 preset
HSC1_CV_Update
SM47.6
HSC1 update current value: TRUE: Write new current value to HSC1 cur-
rent
HSC1_Enable
SM47.7
HSC1 enable bit: TRUE: enable HSC FALSE: disable HSC
HSC1_CV
SMD48
HSC1 new current value
You use SMD48 to set HSC1 current value to any value you choose. To
update the current value, write the new current value to SMD48; write 1 to
SM47.6; and execute the HSC instruction. The instruction then writes the
new current value to HSC1's current count register.
HSC1_PV
SMD52
HSC1 new preset value
You use SMD52 to set HSC1 preset value to any value you choose. To
update the preset value, write the new preset value to SMD52; write 1 to
SM47.5; and execute the HSC instruction. The instruction then writes the
new preset value to HSC1's preset register.