14.8 Serial Commands
14.8.4 Positioning with a Program Table
14-27
14
Operation with Serial Command Communications
*
If you set PnB54 to 1 (Enable Expansion Mode), the command name, the command setting range, and the
acknowledgment will change. Refer to the following section for details.
12.4 Speed/Position Expansion Function Setting
EVENTTsss
Program Table EVENT Read
Reads the EVENT value (pass condition).
sss: Program step (PGMSTEP)
EVENTT123 = T12345 [SP] [SP]
[SP] [SP] [CR] [LF]
EVENTT123 = IT12345 [SP] [SP]
[SP] [CR] [LF]
EVENTT123 = NT12345 [SP] [SP]
[SP] [CR] [LF]
EVENTT123 = DT12345 [SP] [SP]
[SP] [CR] [LF]
EVENTT123 = SEL1T12345 [CR]
[LF]
EVENTT123 =:[SP] [SP] [SP] [SP]
[SP] [SP] [SP] [SP] [SP] [CR] [LF]
EVENTTsss = nnnn-
nnnn
Program Table EVENT Write
Sets the EVENT value (pass condition).
sss: Program step (PGMSTEP)
Settings:
I: INPOSITION (positioning completed) active
N: NEAR (near position) active
D: DEN (positioning reference distribution com-
pleted) active
SELx: SEL input signal active (x = 0 to 7)
Tnnnnn: Time elapsed (ms) since the program
step started.
(0
≤
nnnnn
≤
99999)
ITnnnnn: Time elapsed (ms) after the INPOSI-
TION signal became active. (0
≤
nnnnn
≤
99999)
NTnnnnn: Time elapsed (ms) after the NEAR
signal became active. (0
≤
nnnnn
≤
99999)
DTnnnnn: Time elapsed (ms) after the DEN sig-
nal became active. (0
≤
nnnnn
≤
99999)
SELxnnnnn:Time elapsed (ms) after the SEL
input signal became active.
(x = 0 to 7, 0
≤
nnnnn
≤
99999)
“:”: Continues the previously executed program
step’s specification.
OK
LOOPTsss
Program Table LOOP Read
Reads the LOOP value (number of repetitions).
sss: Program step (PGMSTEP)
LOOPT123 = 12345 [CR] [LF]
LOOPTsss = nnnnn
Program Table LOOP Write
Sets the LOOP value (number of repetitions).
sss: Program step (PGMSTEP)
Setting:
1
≤
nnnnn
≤
99999
OK
NEXTTsss
Program Table NEXT Read
Reads the NEXT value (link destination).
sss: Program step (PGMSTEP)
NEXTT123 = 12345 [CR] [LF]
NEXTT123 = END [SP] [SP] [CR]
[LF]
NEXTTsss = nnn
Program Table NEXT Write
Sets the NEXT value (link destination).
sss: Program step (PGMSTEP)
Settings:
0
≤
nnn
≤
255:Program step (PGMSTEP)
END: End
OK
Continued from previous page.
Serial Command
Function/Description
Positive Response