148
19 BUILT-IN I/O FUNCTION
19.1 High-speed Counter Function
Special registers list
The following list shows the special registers used with high-speed counters. All set values except for ring length are handled
as signed.
Special registers for individual channels
The following list shows the special registers for individual high-speed counter channels.
R/W: Read or Write
R: Read only
Special register Function Range Default R/W
SD4500 High-speed counter current value (CH1) -2147483648 to +2147483647 0 R/W
SD4501
SD4502 High-speed counter maximum value (CH1) -2147483648 to +2147483647 -2147483648 R/W
SD4503
SD4504 High-speed counter minimum value (CH1) -2147483648 to +2147483647 2147483647 R/W
SD4505
SD4506 High-speed counter pulse density (CH1) 0 to 2147483647 0 R/W
SD4507
SD4508 High-speed counter rotational speed (CH1) 0 to 2147483647 0 R/W
SD4509
SD4510 High-speed counter preset control switch (CH1) 0: Rising edge
1: Falling edge
2: Both edges
3: Constant when ON
Parameter set value R/W
SD4511 Not used
SD4512 High-speed counter preset value (CH1) -2147483648 to +2147483647 Parameter set value R/W
SD4513
SD4514 High-speed counter ring length (CH1) 2 to 2147483647 Parameter set value R/W
SD4515
SD4516 High-speed counter measurement unit time (CH1) 1 to 2147483647 Parameter set value R/W
SD4517
SD4518 High-speed counter number of pulses per rotation (CH1) 1 to 2147483647 Parameter set value R/W
SD4519
SD4520 to SD4529 Not used
SD4530 High-speed counter current value (CH2) -2147483648 to +2147483647 0 R/W
SD4531
SD4532 High-speed counter maximum value (CH2) -2147483648 to +2147483647 -2147483648 R/W
SD4533
SD4534 High-speed counter minimum value (CH2) -2147483648 to +2147483647 2147483647 R/W
SD4535
SD4536 High-speed counter pulse density (CH2) 0 to 2147483647 0 R/W
SD4537
SD4538 High-speed counter rotational speed (CH2) 0 to 2147483647 0 R/W
SD4539
SD4540 High-speed counter preset control switch (CH2) 0: Rising edge
1: Falling edge
2: Both edges
3: Constant when ON
Parameter set value R/W
SD4541 Not used
SD4542 High-speed counter preset value (CH2) -2147483648 to +2147483647 Parameter set value R/W
SD4543
SD4544 High-speed counter ring length (CH2) 2 to 2147483647 Parameter set value R/W
SD4545
SD4546 High-speed counter measurement unit time (CH2) 1 to 2147483647 Parameter set value R/W
SD4547