IDEC MICROSmart FC6A Series Ladder Programming Manual page 581

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

Create a ladder program in the Editor for the created user-defined macro in the same manner as the main program and
4.
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.
The UMACRO, JMP, JEND, MCR, MCS, LCAL, LJMP, LRET, LABEL, DJNZ, and END instructions cannot be used in a user-
Note:
defined macro.
The arguments configured in the Argument settings dialog box can be used in the user-defined macro as devices. For
Note:
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.
On the View tab, in the Work Space group, click User-defined Macro Arguments Allocation List.
1.
The User-defined Macro Arguments Allocation List window is displayed.
The content that was set in the Argument settings dialog box can be checked here.
2.
(1)
(3)
(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.
(2)
FC6A S
MICROS
L
ERIES
MART
28: U
P
M
ADDER
ROGRAMMING
ANUAL
-
M
SER
DEFINED
ACRO
FC9Y-B1726
I
NSTRUCTION
28-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents