Chapter 3 Before positioning
3- 51
(2) Status Monitoring Data Area
(a) XBM/XBC status monitoring area
Variables
Device Area
Status
Axis X Axis X
Address Properties Address Properties
Current position K422
Double
word
K432
Double word Shows current position
Current speed K424
Double
word
K434
Double word Shows current speed
Step No. K426
Double
word
K436
Word Shows current operation step
Error code K427
Word
K437
Word Shows error code in case of an error
M code No. K428
Word
K438
Word
Shows M code number when M code
is on
(b) XBM/XBC status monitoring area
Variables
Device Area
Status
Axis X Axis Y
Address Properties Address Properties
Current position %KD211
Double
word
%KD216
Double
word
Shows current position
Current speed %KD212
Double
word
%KD217
Double
word
Shows current speed
Step No. %KW426
Double
word
%KW436
Word Shows current operation step
Error code %KW427
Word
%KW437
Word Shows error code in case of an error
M code No. %KW428
Word
%KW438
Word
Shows M code number when M code is
on
3.4.2 Flag for Positioning Instruction and Command
The flag for positioning instruction and command divides as follows. You can easily conduct
positioning operation without positioning instruction using the flag. If you change the flag for instruction
of area K, the scan ends and applies in the next scan.
(1) Bit Area Flag
(a) XBM/XBC bit area flag
Variables
Device Area
Status Axis X Axis Y
Word Bit Address Word Bit
ddress
Start signal
K429
0 K4290
K439
0 K4390 Indirect start at rising edge
Normal direction jog 1 K4291 1 K4391
0: stop jog,
1: normal direction jog operation
Backward direction
jog
2 K4292 2 K4392
0: stop jog,,
1: normal direction jog operation
Jog high/low speed 3 K4293 3 K4393
0: jog low speed, 1: jog high
speed
M code output mode K468
1 K4681
K508
1 K5081
0: NONE, 1: WITH, 2: AFTER
2 K4682 2 K5082