Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual page 283

Positioning control - intelligent function module
Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

■Buffer memory to be used
Setting item
[Pr.18]
M code ON signal output
timing
[Da.27]
M code ON signal output
timing
*1 N indicates the offset address of each positioning data.
N = ((Positioning data No.) - 1) × 10
Reading M codes
An M code is stored in the following buffer memory address when M code ON signal turns on.
Monitor item
[Md.25]
Valid M code
For details on the stored contents, refer to the following.
Page 442 [Md.25] Valid M code
■Program example
The following shows a program example for reading [Md.25] Valid M code to the CPU module. Read M codes not as rising
edge instructions but as ON execution instructions.
Classification
Label Name
Module label
FX5PG_1.stnAxisMonitorData_Axis_D[0].uValidMcode_D
Global label, local
Define the global label or local label as follows. Setting Assign (Device/Label) for labels is not necessary because the unused internal
label
relay and data device are automatically assigned to the labels.
Setting
Setting detail
value
Set the output timing of M code ON signal.
• 0: WITH mode
• 1: AFTER mode
Set the M code ON signal output timing for each
positioning data.
• 0: Use the set value of "[Pr.18] M code ON signal
output timing"
• 1: WITH mode
• 2: AFTER mode
Monitor
Monitor details
value
Stores the M code number ([Da.10] M code) set in the
positioning data.
Buffer memory address
Axis 1
Axis 2
27
177
*1
*1
2003+N
8003+N
(b0 to b1)
(b0 to b1)
Buffer memory address
Axis 1
Axis 2
808
908
Description
Axis 1 Valid M code
12 CONTROL SUB FUNCTION
12.9 Other Functions
12
281

Advertisement

Table of Contents
loading

Table of Contents