Entering Applied Instructions - Mitsubishi Electric FX2N Beginners Manual

Hide thumbs Also See for FX2N:
Table of Contents

Advertisement

More Advanced Programming
Category
Insructions for a
CF memory card
mounted in a
special adapter
FX
-CF-ADP
3U
5.1.1

Entering applied instructions

Programming applied instructions in GX Works2 FX is simple. Just position the cursor in the
place in the program line where you want to insert the instruction and type the abbreviations for
the instruction and its operand(s). GX Work2 will automatically register that you are entering
an instruction and will open the input dialog (see below). Alternatively, you can also position the
cursor and then click on the insert instruction tool in the toolbar
You can also select the instruction from the
drop-down list, which you can display by
clicking on the " " icon.
Then enter the abbreviations for the instruction and its operand(s) in the input field, separating
them by spaces.
All numbers must be preceded by a letter character, which either identifies the device type or –
in the case of constants – specifies the number format. The letter "K" identifies decimal con-
stants and "H" identifies hexadecimal constants.
Help
The
tion you want to perform. The help also contains information on how the functions work and the
type and number of devices that they take as operands.
Then you just click on OK to insert the
applied instruction into the program.
If you are programming in Instruction List format enter the instruction and its operand(s) in a
single line, separated by spaces.
FX Beginners Manual
Instruc-
Function
tion
FLCRT
Create/check file
Delete file/CF card format
FLDEL
FLWR
Write data to CF card
FLRD
Read data from CF card
FX
-CF-ADP command
FLCMD
3U
FLSTRD
FX
-CF-ADP status read
3U
button opens a dialog in which you can search for a suitable instruction for the func-
Applied Instructions Reference
Controller
FX
FX
FX
1S
1N
FX
In the example on the left a MOV instruction
is used to write the value 5 to data register
D12.
M457
FX
3G
FX
2N
3U
FX
FX
3GC
3S
FX
2NC
3UC
FX
3GE
©
.
MOV K5 D12
5 – 7

Advertisement

Table of Contents
loading

Table of Contents