Mitsubishi Electric MELSEC iQ-R Series User Manual page 288

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

Advertisement

Setting method using an external command signal
The skip function can also be executed using an "external command signal".
The following shows the settings and program example for skipping the control being executed in axis 1 using an "external
command signal".
• Set the following data to execute the skip function using an external command signal. (The setting is carried out using the
program.)
n: Axis No. - 1
Setting item
[Pr.42]
External command function
selection
[Cd.8]
External command valid
Set the external command signal (DI) to be used in "[Pr.95] External command signal selection".
Refer to the followings for the setting details.
Page 411 Basic Setting,Page 512 Control Data
• Add the following program to the control program, and write it to the CPU module.
Program example
Refer to the following for the program example.
Classification
Module label
Global label, local label
8 CONTROL SUB FUNCTIONS
286
8.8 Other Functions
Downloaded from
ManualsNet.com
Setting
value
3
1
Label name
RD78GS_1.stnAxPrm_D[0].uExternalCommandFunctionMode_D
RD78GS_1.stnAxCtrl1_D[0].uExternalCommandValid_D
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.
The following table shows an example for the local label.
search engine
Setting details
Set "3: Skip request".
Set "1: Validate external command".
Buffer memory address
Axis 1 to axis 16
62+150n
4305+100n
Description
Axis 1 External command function
selection
Axis 1 External command valid

Advertisement

Table of Contents
loading

Table of Contents