7. APPLICATION INSTRUCTIONS
7 − 117
MELSEC-A
Execution Conditions
Program Examples LEDA , LEDB
Program which displays "ABCDEFGHIJKLMNOP" at the LED indicator on the CPU
front when XC turns on.
REMARKS
The second eight of the 16 characters displayed by the LED instruction will disappear if the first
eight are rewritten by the LEDA instruction.
The first eight characters will disappear if the second eight are rewritten by the LED instruction.
• Coding
0 LD X00C
1 LEDA ABCDEFGH
14 LEDB IJKLMNOP
27 END
Display command
OFF
ON
Executed
only once
LEDA
LEDB
Executed
only once
First half 8 characters are specified.
Last half 8 characters are specified.
0
X00C
LEDA ABCDEFGH
LEDB IJKLMNOP