Parameters

Area that stores the parameters of high speed counter takes up 26 word memory size for each channel. These memory areas can be configured by the user out of M / L / K / D areas on the HSC for PLC-S Special Program in CICON.
If you select M100 as the Start Address of the memory on the HSC for PLC-S Special Program, the data associated with the Channel 1 is written and stored in the 26 word areas from M100 to M350. Thus, the data associated with the Channel 2 is stored subsequent to the Channel 1 data from M360 to M610 with 26 word addresses.
The parameters of each channel are allocated from the Start Address to the order described in the table below. Unless there is a remark Read Only, most of the data can be both read and written in the sequence program.

Offset

Group

Item

Configurations

Memory

Remark

Value

Function

0(+26)

Parameter

Count Mode

H0000

Linear Counter

Word

Read Only

H0001

Ring Counter

+1(+27)

Input Pulse Type

H0000

2 Phase, 2 Input, 2 Multi.

 

 

H0001

2 Phase, 2 Input, 4 Multi.

H0002

1 Phase, 2 Multi. (Low)

H0003

1 Phase, 2 Multi. (High)

+2(+28)

Compare Mode

H0000

<

Word

 

H0001

<=

H0002

=

H0003

>=

H0004

>

H0005

< >

H0006

> <

+3(+29)

Int. Preset Value

-2,147,483,648 ~ 2,147,483,647

Dword

Low Word

+4(+30)

High Word

+5(+31)

Ext. Preset Value

Low Word

+6(+32)

High Word

+7(+33)

Ring Max. Value

Low Word

+8(+34)

High Word

+9(+35)

Compare Max.

Low Word

+10(+36)

High Word

+11(+37)

Compare Min.

Low Word

+12(+38)

High Word

+13(+39)

Compare Output

HFFFF

N/A

Word

 

H0000

Y0010

H0001

Y0011

H0002

Y0012

H0003

Y0013

H0004

Y0014

H0005

Y0015

H0006

Y0016

H0007

Y0017

+14(+40)

Unit Time

1~60,000 mSec

 

 

+15(+41)

Pulse / Rotation

1~60,000 Pulse

 

 

+16(+42)

Control

Counter Enable

Bit 0

SET = Enable

Word

 

Internal Preset

Bit 1

SET = Preset

 

Ext. Preset Enable

Bit 2

SET = Enable

 

Down Counting

Bit 3

SET = Down

Read Only

Compare Output Enable

Bit 4

SET = Enable

Read Only

Select RPM / PPS

Bit 5

RPM(1), PPS(0)

 

Latch Counter

Bit 6

SET = Enable

Read Only

 

Bit 7..F

 

 

+17(+43)

Monitor

RPM/PPS

Measured Value

-2,147,483,648 ~ 2,147,483,647

Dword

Low Word

+18(+44)

High Word

+19(+45)

 

 

 

 

 

+20(+46)

Carry

Bit 0

SET = Carry

Word

Read Only

Borrow

Bit 1

SET = Borrow

Read Only

Compare Result

Bit 2

SET = Result

Read Only

 

Bit 3..F

 

 

+21(+47)

Current Count Value

-2,147,483,648 ~ 2,147,483,647

Dword

Low Word

+22(+48)

High Word

+23(+49)

Input Pulse per

Unit Time

-2,147,483,648 ~ 2,147,483,647

Dword

Low Word

+24(+50)

High Word

+25(+51)

Error Code

Refer to the Error Code Table

Word