Monitoring Of Pulse Input Values; Pulse Input Value Change Function - Panasonic FP-XH M8N16PD User Manual

Programmable controller
Table of Contents

Advertisement

Pulse Input Function

15.1.4 Monitoring of Pulse Input Values

• Pulse input values are saved in the positioning memory (Area no.0/Address H3C0-H3C7).
Pulse input values can be read and monitored via user program.
• Save pulse input values corresponding to the purposes of pulse input (pulsar, and high-
speed counter). (Unit: pulse)
• Accumulated save pulse input values and clear the pulse input values after the pulse input
purposes are changed or the pulse input values are cleared.
 Sample program
An example for monitoring the pulse input value of Axis-1 is given below.
R0
Symbols Specified content of program
Common area
Pulse input value area

15.1.5 Pulse Input Value Change Function

When the pulse input purpose is set to "high-speed counter", it is allowed to change the pulse
input values saved in the positioning memory according to the user program.
 Pulse counting control area (positioning memory area no. 0)
Offset
Address
Name
(Hex)
Request flag for
H3A9
pulse count change
Pulse input change
H3B0- H3B1
value of CH1
Pulse input change
H3B2- H3B3
value of CH2
Pulse input change
H3B4- H3B5
value of CH3
Pulse input change
H3B6- H3B7
value of CH4
15-6
F384 PTBLR
H0
Description
 When the bit corresponding to each axis turns from 0 to 1, change
the pulse input value to the preset pulse count change value.
 This symbol is a pulse edge trigger. Please remember to turn 0 to 1
before the change.
 After the change, the unit controller will automatically clear the
corresponding bit.
bit
0
1
2
3
15-4
Sets the pulse input value to be changed for CH1
Sets the pulse input value to be changed for CH2
Sets the pulse input value to be changed for CH3
Sets the pulse input value to be changed for CH4
H3C0
K2
Specified value of program
CH1
CH2
H3C0
H3C2
Name
CH1 pulse count change
CH2 pulse count change
CH3 pulse count change
CH4 pulse count change
DT200
CH3
CH4
H0
H3C4
H3C6
Initial
Description
value
0
0: Pulse input value not
0
changed
0→1: Pulse input value
0
changed
0

Advertisement

Table of Contents
loading

Table of Contents