Delta AS Series Programming Manual page 742

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

6.
InPulse is the number of already input pulses, which is a signed 32-bit value. The counting value is a latched value.
If the value need be cleared to 0, just set ZeroS from OFF to ON while the instruction is running.
7.
InSpeed displays the counting value for every Period time, which is a signed 32-bit value. If you need convert it into
the value with the unit of Hz, use the calculation formula for conversion by yourself.
8.
The error codes that ErrCode shows are listed in the following table.
Error code
16#1400
16#1401
16#1402
16#1406
9.
When the DPUCNT instruction is enabled or disabled, the PLC will have to notify the module to enable or disable
the high-speed counter function. Thus the instruction can not be used with API1409 DPUMPG together. Otherwise
it may occur that the two instructions enable or disable the counting of the module with each other.
Programming Example
1.
When M0=ON, PUCNT would be executed and InMode is set to Twofold frequency A/B phase input.
2.
When M1=ON, the counted number of pulses on axis 1 in InPulse would be cleared.
3.
When the number of pulses is 100 and the input frequency is 10Hz, the values in InPulse and InSpeed will be seen
as 200 pulses and 20Hz.
The module does not support the function.
The data stored in the module is illegal or exceeds the allowed range.
There is no response from the module; communication timeout occurs.
The PU module does not support the counting function.
Cha p ter 6 App l ied Ins truc tio ns
Description
6_
6-463

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents