Appendix
HSC4 current value more than preset value bit: 1=more than
Reset valid control bit: 0= high level reset valid, 1=low level reset
valid
Count speed selection of orthography counter: 0=4x count speed;
1=1x count speed
HSC4 direction control bit: 1= addition count
HSC4 update direction: 1= update direction
HSC4 update preset value: 1=write new preset value to HSC4
HSC4 update current value: 1=write new initial value to HSC4
HSC4 new initial value, set SM147.6 as 1 after write new value into
SMD148, then the current value will be updated
HSC4 new preset value, set SM147.5 as 1 after write new value into
SMD152, then the current value will be updated
HSC5 current count direction bit: 1=addition count
HSC5 current value equal to preset value bit: 1=equal
HSC5 current value more than preset value bit: 1=more than
HSC5 direction control bit: 1= addition count
HSC5 update direction: 1= update direction
HSC5 update preset value: 1=write new preset value to HSC5
HSC5 update current value: 1=write new initial value to HSC5
HSC5 new initial value, set SM157.6 as 1 after write new value into
SMD168, then the current value will be updated
HSC5 new preset value, set SM157.5 as 1 after write new value into
SMD162, then the current value will be updated
<Note>
1 The counter status bit is only valid in the interrupt program triggered by HSC event.
2 When you use the HSC external reset interrupt event, do not reset the new current value in the
program, and then re-enable the counter in the interrupt program connected to the event, this
operation will cause serious errors.