EasyManuals Logo

IDEC MICROSmart FC6A Series Ladder Programming Manual

IDEC MICROSmart FC6A Series
604 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #581 background imageLoading...
Page #581 background image
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 28-7
28: U
SER
-
DEFINED
M
ACRO
I
NSTRUCTION
4. Create a ladder program in the Editor for the created user-defined macro in the same manner as the main program and
subroutines. The content of the argument devices (A1 to A100) configured in the Argument settings dialog box can be
checked in the User-defined Macro Arguments Allocation List window and used in the ladder program as required.
The created user-defined macro can be executed with the UMACRO instruction.
Note: The UMACRO, JMP, JEND, MCR, MCS, LCAL, LJMP, LRET, LABEL, DJNZ, and END instructions cannot be used in a user-
defined macro.
Note: The arguments configured in the Argument settings dialog box can be used in the user-defined macro as devices. For
example, if the device type of A1 is set to data register in the Argument settings dialog box, A1 can be used in the same manner
as a data register.
This concludes registering a user-defined macro.
User-defined Macro Arguments Allocation List window
This window displays the content of arguments set for the user-defined macro.
1. On the View tab, in the Work Space group, click User-defined Macro Arguments Allocation List.
The User-defined Macro Arguments Allocation List window is displayed.
2. The content that was set in the Argument settings dialog box can be checked here.
(1) User-defined Macro Name
Displays the user-defined macro name that was registered in the Argument settings dialog box.
(2) Editing
Opens the Argument settings dialog box. The user-defined macro settings can be edited in this dialog box.
(3) Argument information
Displays the setting content of arguments set for the selected user-defined macro.
User-defined macro simulation and monitoring
This section describes the simulation and monitoring of a user-defined macro set for the UMACRO instruction. For how to use
these operations, see "Simulate Operation" on page 1-9 and "Monitor Operation" on page 1-12.
(1)
(2)
(3)

Table of Contents

Other manuals for IDEC MICROSmart FC6A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IDEC MICROSmart FC6A Series and is the answer not in the manual?

IDEC MICROSmart FC6A Series Specifications

General IconGeneral
BrandIDEC
ModelMICROSmart FC6A Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals