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

Application
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
Refer to the following for the setting details.
Page 470 Control Data
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
PLC READY signal
READY signal
All axis servo ON
Synchronization flag
Axis stop signal
Start complete signal
BUSY signal
Error detection signal
M code ON signal
External signal
Forced stop input signal
Stop signal
Upper limit (FLS)
Lower limit (RLS)
*1 When the CPU module is set to the asynchronous mode in the synchronization setting, the synchronization flag must be inserted in the
program as an interlock condition. When it is set to the synchronous mode, the synchronization flag is turned ON when the CPU module
executes calculation. Therefore, the interlock condition is not required to be inserted in the program.
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.)
Signal state
ON
CPU module preparation completed
ON
Preparation completed
ON
All axis servo ON
*1
ON
The buffer memory can be accessed.
OFF
Axis stop signal is OFF
OFF
Start complete signal is OFF
OFF
Not in operation
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
4322+100n
4323+100n
4324+100n
Device
[Cd.190] PLC READY signal
[Md.140] Module status: b0
[Cd.191] All axis servo ON signal
[Md.140] Module status: b1
[Cd.180] Axis stop
[Md.31] Status: b14
[Md.141] BUSY signal
[Md.31] Status: b13
[Md.31] Status: b12
5 MANUAL CONTROL
5.4 Manual Pulse Generator Operation
5
175

Advertisement

Table of Contents
loading

Table of Contents