Special memory (SM) and system symbol names
D.14 SMB36-SMB45 (HSC0), SMB46-SMB55 (HSC1), SMB56-SM65 (HSC2), SMB136-SMB145 (HSC3),
SMB146-SMB155 (HSC4), SMB156-SMB165 (HSC5): high-speed counters
S7-200 SMART
812
System Manual, V2.3, 07/2017, A5E03822230-AF
Table D- 11 HSC2 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 the CPU is executing an inter-
rupt routine that a high-speed counter event triggered.
SM56.0–SM56.4
Reserved
HSC2_Status_5
SM56.5
HSC2 current counting direction status bit: TRUE: Counting up
HSC2_Status_6
SM56.6
HSC2 current value equals preset value status bit: TRUE: Equal
HSC2_Status_7
SM56.7
HSC2 current value is greater than preset value status bit: TRUE: Greater
than
HSC2_Ctrl
SMB57
HSC2 control
HSC2_Reset_Level
SM57.0
HSC2 active level control bit for Reset: FALSE: Reset is active high; TRUE:
Reset is active low
SM57.1
Reserved
HSC2_Rate
SM57.2
HSC2 counting rate selection for Quadrature counters: FALSE: 4x counting
rate; TRUE: 1x counting rate
HSC2_Dir
SM57.3
HSC2 direction control bit: TRUE: Count up
HSC2_Dir_Update
SM57.4
HSC2 update direction: TRUE: update direction
HSC2_PV_Update
SM57.5
HSC2 update preset value: TRUE: Write new preset value to HSC2 preset
HSC2_CV_Update
SM57.6
HSC2 update current value: TRUE: Write new current value to HSC2 cur-
rent
HSC2_Enable
SM57.7
HSC2 enable bit: TRUE: enable
HSC2_CV
SMD58
HSC2 new current value
You use SMD58 to set HSC2 current value to any value you choose. To
update the current value, write the new current value to SMD58; write 1 to
SM57.6; and execute the HSC instruction. The instruction then writes the
new current value to HSC2's current count register.
HSC2_PV
SMD62
HSC2 new preset value
You use SMD62 to set HSC2 preset value to any value you choose. To
update the preset value, write the new preset value to SMD62; write 1 to
SM57.5; and execute the HSC instruction. The instruction then writes the
new preset value to HSC2's preset register.
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...