
B–62073E–2/03
A.MACRO PROGRAM EXAMPLE
145
F5.2 means total digits are 5, and there are 2 digits after decimal point
by digit number specification when displaying numerical data.
Example: when 1234.567 is contained in #100
Displayed as 234.57
(5) O0032 Explanation
0030 N0011 G243 X3 Y11 A1 B1 (BLINK)
Enters blink display mode by G243B1. Subsequent to this command
characters to be displayed will all be blink display. When releasing
blink display mode, command G243B0.
(6) O0040 Explanation
0070 N20 #100 = G00.4
Reads G00.4 (emergency stop) status to common variable #100.
0180 #1 = #102+20
0190 #103 = P#1
Reads contents of parameter to be specified by P#_ to common
variable #103.
At this point, reads out parameters 20, 21, 22, 23 to change #102 from
0–3.
20 Interface number of foreground input device
21 Interface number of foreground output device
22 Interface number of background input device
23 Interface number of background output device
(7) O0054 Explanation
0020 #1 = F03.5
Reads F03.5 (during memory mode) status to local variable #1.
0040 G240 P–3
Specifies color of line and character display. In this case a reverse
display of yellow.