Creating A Program To Enable/Disable The Manual Pulse Generator Operation - Mitsubishi Electric MELSEC iQ-R Series User Manual

Programmable
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Creating a program to enable/disable the manual pulse generator
operation
A program must be created to execute a manual pulse generator operation. Consider the "required control data setting", "start
conditions" and "start time chart" when creating the program.
The following shows an example when a manual pulse generator operation is started for axis 1.
Required control data setting
The control data shown below must be set to execute a manual pulse generator operation. The setting is carried out with the
program.
n: Axis No. - 1
Setting item
[Cd.20]
Manual pulse generator 1
pulse input magnification
[Cd.21]
Manual pulse generator
enable flag
[Cd.55]
Input value for manual pulse
generator via CPU
Refer to the following for the setting details.
Page 512 Control Data
Set the movement amount per capture cycle in "[Cd.55] Input value for manual pulse generator via CPU"
within the range of -2147483648 to 2147483647. When set to a value outside of the range, the movement
amount of the manual pulse generator and the movement amount of the output value may not match.
Start conditions
The following conditions must be fulfilled when starting. The required conditions must also be assembled in the program, and
the program must be configured so the operation will not start if the conditions are not fulfilled.
Signal name
Interface signal
External signal
*1 The interlock must be provided so that the buffer memory is accessed after Synchronization flag [X1] turns on. When no interlock is
provided, an unexpected value may be read or written.
*2 The BUSY signal, whose axis No. exceeds the number of controlled axes, cannot be used.
5 MANUAL CONTROL
184
5.4 Manual Pulse Generator Operation
Downloaded from
ManualsNet.com
Setting
Setting details
value
1
Set the manual pulse generator 1 pulse input magnification. (1 to
10000 times)
1(0)
Set "1: Enable manual pulse generator operation".
(Set "0: Disable manual pulse generator operation" when finished
with the manual pulse generator operation.)
Set the values used as the input values for the manual pulse
generator via CPU in order.
Setting range: -2147483648 to 2147483647 [pulse]
PLC READY signal
READY signal
All axis servo ON
*1
Synchronization flag
Axis stop signal
Start complete signal
BUSY signal
Error detection signal
M code ON signal
Forced stop input signal
Stop signal
Upper limit signal (FLS)
Lower limit signal (RLS)
search engine
Signal state
ON
CPU module preparation completed
ON
Preparation completed
ON
All axis servo ON
ON
The buffer memory can be accessed
OFF
Axis stop signal is OFF
OFF
Start complete signal is OFF
OFF
Not operating
OFF
There is no error
OFF
M code ON signal is OFF
ON
There is no forced stop input
OFF
Stop signal is OFF
ON
Within limit range
ON
Within limit range
Buffer memory address
Axis 1 to axis 16
4322+100n
4323+100n
4324+100n
5946
5947
Device
Y0
X0
Y1
X1
[Cd.180] Axis stop
[Md.31] Status: b14
*2
X10 to X1F
[Md.31] Status: b13
[Md.31] Status: b12

Advertisement

Table of Contents
loading

Table of Contents