SMB36-SMB65 HSC0, HSC1, and HSC2 Programming Bytes

Special Memory Bytes 36 - 65 provide the information you need to monitor and control the operation of high-speed counters HSC0, HSC1, and HSC2.

SM Bits
(Read/Write)

Description

SM36.0 -
SM36.4
Reserved
SM36.5 HSC0 current counting direction status bit: 1 = counting up.
SM36.6 HSC0 current value equals preset value status bit: 1 = equal.
SM36.7 HSC0 current value is greater than preset value status bit: 1 = greater than.
SM37.0 Active level control bit for Reset: 0 = Reset is active high:; 1 = Reset is active low
SM37.1 Reserved
SM37.2 Counting rate selection for Quadrature counters: 0 = 4x counting rate; 1= 1x counting rate
SM37.3 HSC0 direction control bit: 1 = count up.
SM37.4 HSC0 update direction: 1 = update direction.
SM37.5 HSC0 update preset value: 1 = write new preset value to HSC0 preset.
SM37.6 HSC0 update current value: 1 = write new current value to HSC0 current.
SM37.7 HSC0 enable bit: 1 = enable.
SMB38

SMB39

SMB40

SMB41

HSC0 new current value: SMB38 is MSB (Most Significant Byte) and SMB41 is LSB (Least
Significant Byte)
SMB42

SMB43

SMB44

SMB45

HSC0 new preset value: SMB42 is MSB and SMB45 is LSB.
SM46.0 -
SM46.4
Reserved
SM46.5 HSC1 current counting direction status bit: 1 = counting up.
SM46.6 HSC1 current value equals preset value status bit: 1 = equal.
SM46.7 HSC1 current value is greater than preset value status bit: 1 = greater than.
SM47.0 HSC1 active level control bit for Reset: 0 = Reset is active high; 1 = Reset is active low.
SM47.1 HSC1 active level control bit for Start: 0 = Start is active high; 1 = Start is active low.
SM47.2 HSC1 counting rate selection for Quadrature counters: 0 = 4x counting rate; 1 = 1x counting rate.
SM47.3 HSC1 direction control bit: 1 = count up.
SM47.4 HSC1 update direction: 1 = update direction.
SM47.5 HSC1 update preset value: 1 = write new preset value to HSC1 preset.
SM47.6 HSC1 update current value: 1 = write new current value to HSC1 current.
SM47.7 HSC1 enable bit: 1 = enable.
SMB48

SMB49

SMB50

SMB51

HSC1 new current value: SMB48 is MSB and SMB51 is LSB.
SMB52

SMB53

SMB54

SMB55

HSC1 new preset value: SMB52 is MSB and SMB55 is LSB.
SM56.0 -
SM56.4
Reserved
SM56.5 HSC2 current counting direction status bit: 1 = counting up.
SM56.6 HSC2 current value equals preset value status bit: 1 = equal.
SM56.7 HSC2 current value is greater than preset value status bit: 1 = greater than.
SM57.0 HSC2 active level control bit for Reset: 0 = Reset is active high; 1 = Reset is active low.
SM57.1 HSC2 active level control bit for Start: 0 = Start is active high; 1 = Start is active low.
SM57.2 HSC2 counting rate selection for Quadrature counters: 0 = 4x counting rate; 1 = 1x counting rate.
SM57.3 HSC2 direction control bit: 1 = count up.
SM57.4 HSC2 update direction: 1 = update direction.
SM57.5 HSC2 update preset value: 1 = write new preset value to HSC2 preset.
SM57.6 HSC2 update current value: 1 = write new current value to HSC2 current.
SM57.7 HSC2 enable bit: 1 = enable.
SMB58

SMB59

SMB60

SMB61

HSC2 new current value; SMB58 is MSB and SMB61 is LSB.
SMB62

SMB63

SMB64

SMB65

HSC2 new preset value; SMB62 is MSB and SMB65 is LSB.