Mitsubishi Electric RD77MS2 User Manual page 286

Melsec iq-r simple motion module
Hide thumbs Also See for RD77MS2:
Table of Contents

Advertisement

Reading M codes
"M codes" are stored in the following buffer memory when the M code ON signal turns ON.
n: Axis No. - 1
Monitor item
[Md.25]
Valid M code
Refer to the following for information on the storage details.
Page 468 Monitor Data
The following shows a program example for reading the "[Md.25] Valid M code" to the data register (D110) of the CPU
module. (The read value is used to command the sub work.)
Read M codes not as "rising edge commands", but as "ON execution commands".
■Program example
Refer to the following for the program example.
Classification
Module label
Global label, local label
8 CONTROL SUB FUNCTIONS
284
8.9 Other Functions
Monitor
value
Label name
RD77_1.stnAxMntr[0].uStatus.C
RD77_1.stnAxMntr[0].uM_Code
Defines the global label or the local label as follows. The settings of Assign (Device/Label) are not required for the label that the
assignment device is not set because the unused internal relay and data device are automatically assigned.
Storage details
The M code No. ([Da.10] M code/Condition data No./Number
of LOOP to LEND repetitions/Number of pitches) set in the
positioning data is stored.
Buffer memory address
2408+100n
Description
Axis 1 M code ON
Axis 1 Valid M code

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RD77MS2 and is the answer not in the manual?

This manual is also suitable for:

Rd77ms16Rd77ms4Rd77ms8

Table of Contents

Save PDF