Mitsubishi Electronics FX3G User Manual

Page of 964
368
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
13 High-Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High-Speed Counter Zone Compare
13.6.3 Frequency control mode (HSZ and PLSY instructions) (M8132)
When the special auxiliary relay M8132 for declaring the frequency control mode is specified as 
 in the DHSZ
instruction, the special function shown below is provided if DPLSY instruction is combined.
At this time, only a data register D can be specified as 
, and a constant K or H can be specified as 
. The
available range is limited to "1 
≤ K, H ≤ 128".
A high-speed counter C235 to C255 can be specified as 
.
This function is different from the zone comparison described above.
PLSY instruction is as shown on the next page, and only the pulse output can be changed by users.
1. Control example
Example of table configuration and data setting
Comparison data
Frequency
Table counter D8131
D 301,D 300
K 20
D 302, D 303
K300
0
D 305,D 304
K600
D 306, D 307
K500
1
D 309,D 308
K700
D 310, D 311
K200
2
D 313,D 312
K800
D 314, D 315
K100
3
D 317,D 316
K  0
D 318, D 319
K  0
4
↓ 
   
D
  
S
1
  
S
2
   
S
Number of lines specified
as
Head device (32 bits)
specified as S
1
 
S
2