Mitsubishi Electronics 0 ユーザーズマニュアル

ページ / 136
75
CHAPTER 8 FUNCTIONS
8
8.
Count
er F
u
nc
tion S
e
lect
io
n
8.5
Counter Function Selection
The count disable function, the latch counter function, the sampling counter function, or the periodic pulse counter 
function can be used by selecting each item in "Counter function selection". The selected counter function is performed 
by the counter function selection start command (A voltage is applied to the function start input terminal or CH 
Counter function selection start command (Y6, YE) is turned on by a program).
The counter function selection permits using only one function of the four counter functions.
(1) Setting method
Select a counter function in "Counter function selection".
Project window 
 [Intelligent Function Module] 
 Model name 
 [Parameter]
● When changing the counter function, change the function with the off state of CH Counter function selection start 
command (Y6, YE).
● The selected counter function can be performed by turning on CH Counter function selection start command (Y6, YE) 
or applying a voltage to the function start input terminal. A signal that is input first takes priority.
● Time for the sampling counter function or the periodic pulse counter function can be set by writing a value of 1 to 65535 
to CH Sampling/periodic time setting (Un\G10, Un\G42). The unit of time is 10ms.
Setting "420" for CH Sampling/periodic time setting (Un\G10, Un\G42)
Item
Description
Reference
Count Disabling Function
Stops counting while CH Count enable command (Y4, YC) is on.
Latch Counter Function
Latches the present counter value when a signal is input.
Sampling Counter Function
Counts pulses input during the specified sampling period (T).
Periodic Pulse Counter Function
Stores the present and previous counter values to CH Periodic 
pulse count present value (Un\G18, Un\G19, Un\G50, Un\G51) and 
CH Periodic pulse count previous value (Un\G16, Un\G17, 
Un\G48, Un\G49), respectively, at the preset cycle (T).
Ex.
420    10 = 4200(ms)