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

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

Advertisement

Interrupt program example
The following figure shows a program example for the interrupt processing with Axis 1 command in-position shown in the
operation example. (Page 297 Operation example)
■Interrupt setting program
This program configures the following interrupt setting for the interrupt setting 1.
• Start an interrupt program by turning off and on Axis 1 command in-position. (This step is not required when the interrupt
setting is configured in "Module Parameter").
The interrupt pointer setting is available only in GX Works3.
Classification
Module label
■Interrupt mask control program
This program sets or clears the interrupt mask of the interrupt setting 1.
Classification
Label Name
Module label
FX5PG_1.stInterruptSettingData_D.unInterruptCauseDetectionFlag_No_D[0]
FX5PG_1.stInterruptSettingData_D.unInterruptCauseResetRequest_No_D[0]
FX5PG_1.stInterruptSettingData_D.unInterruptCauseMask_No_D[0]
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.
12 CONTROL SUB FUNCTION
298
12.9 Other Functions
Label Name
FX5PG_1.stSystemMonitorData2_D.bModuleAccessFlag_D
FX5PG_1.stInterruptSettingData_D.unInterruptCauseSetting_No_D[0]
FX5PG_1.stInterruptSettingData_D.unInterruptCauseAxis_No_D[0]
Description
Module access flag
Interrupt setting No.1 [Pr.900] Interrupt
factor setting
Interrupt setting No.1 [Pr.901] Axis No.
for interrupt factor
Description
Interrupt setting No.1 [Md.65] Interrupt
factor detection flag
Interrupt setting No.1 [Cd.51] Interrupt
factor reset request
Interrupt setting No.1 [Cd.50] Interrupt
factor mask

Advertisement

Table of Contents
loading

Table of Contents