Writing And Reading The Elapsed Value Of The Pulse Output - Panasonic FPS Series User Manual

Table of Contents

Advertisement

High-Speed Counter and Pulse Output
Example: 16#2009
Group
Value
2
IV
0
III
0
II
9
I
NOTE
Performing a forced stop may cause the elapsed value at the PLC output
side to differ from the elapsed value at the motor input side. Therefore, you
must execute a home return after pulse output has stopped.
Setting the near home input is not possible if counting is prohibited or if a
software reset is performed.
REFERENCE
Please refer to the FPWIN Pro online help for programming examples.

7.4.3.2 Writing and Reading the Elapsed Value of the Pulse Output

The elapsed value is stored as a double word in the special data registers. Access the special
data registers using the system variable sys_diHscChannelxElapsedValue (where x=channel
number).
System variables for memory areas used:
Description
Pulse output: elapsed
value for channel
REFERENCE
Please refer to the FPWIN Pro online help for programming examples.
128
Description
Channel number: 2
(fixed)
Near home input: FALSE
Hex 9 corresponds to binary 1001
Pulse output: stop (bit 3)
(bit 2, fixed)
Count: permit (bit 1)
Reset elapsed value to 0: yes (bit 0)
System variable
0
sys_diPulseChannel0ElapsedValue
2
sys_diPulseChannel2ElapsedValue
1
0
0
1
FPΣ User's Manual
Address
DDT90044
DDT90200

Advertisement

Table of Contents
loading

Table of Contents