K
K
K
K inco
inco
inco
inco -K
-K
-K
-K S
S
S
S series
series
series
series
19
SM36.4 SM46.4 SM56.4 SM1 2 6.4 Reserved
SM36.5 SM46.5 SM56.5 SM1 2 6.5
Current counting direction:
0 = Down; 1= Up
SM36.6 SM46.6 SM56.6 SM1 2 6.6
Current value equal to preset value:
0 = No,1 =
Yes
SM36.7 SM46.7 SM56.7 SM1 2 6.7
Current value greater than preset value:
0 = No,1 =
Yes
HSC0 HSC1 HSC2 HSC3 Description
SMB140 SMB150 SMB160 SMB170 Current PV segment No.(Start from 0)
2.2.3
2.2.3
2.2.3
2.2.3 Preset
Preset
Preset
Preset value
value
value
value (PV
(PV
(PV
(PV value)
value)
value)
value) setting
setting
setting
setting
K S supports up to 32 PV value for each high speed counter, and supports setting PV value as relative value or
absolute value. It supports “ CV=PV ” interrupt cyclic execution.
Follows take HSC0 as example to describe PV value function and setting.
�
�
�
� How
How
How
How to
to
to
to select
select
select
select “
“
“
“ multiple
multiple
multiple
multiple PV
PV
PV
PV ”
”
”
” mode
mode
mode
mode
In the control byte of each high speed counter, there is one control bit for enable multiple preset value.
In HSC0, this control bit is SM141.0.
If SM141.0 is 0,it will use single PV value, same as K5 PLC.SMD42 is for new PV value,SM37.5 is to
update this new PV value.
If SM141.0 is 1,it will use multiple PV values. In this situation,SM37.5 and SMD42 is invalid. All the PV
values will be in the PV table(SMW142 is for starting address of the table),SM141.4 defines whether it use
the data in PV table or not.If SM141.4 is 1,it means when HSC starts, it will get the data from PV table. If
SM141.4 is 0,when HSC starts,it will ignore the data in PV table and get the data from last preset value.
�
�
�
� Multiple
Multiple
Multiple
Multiple PV
PV
PV
PV table
table
table
table
If using PV table,all the PV value will get from PV table.
Each HSC provides one control word which is used to set the starting address of PV table.If using multiple
PV,then all PV value will get from PV table.The starting address of PV table is odd address of V area,such as
301(Means VB301).
The format of PV table is as follows.