B
Communication Command Guide
B-19
Option information reading (?OPT, ?OPTB)
Format
@?OPT<option number>[.<node number>] c/r l/f
@?OPTB<option bit number>[.<node number>] c/r l/f
Meaning
Reads specified option information.
Function
Reads the option information, such as zone output or emergency stop status.
The read-out results of the option information in decimal notation are returned.
Setting
<Option number>
: 0 to 2 (See the table below.)
<Option bit number> : 0 to 31 (See the table below.)
<Node number>
: 1 to 16 (This setting can be omitted when the same command is sent to all the controllers
connected with the host device, as by daisy chain connection.)
Option information type
n
Option
Information 1
Option Number Option Bit Number
Symbol
Meaning
0
1
0
PZONE
Individual zone output
1
NEAR
Near width output
2
TLM-S
Push status
3
ORG-S
Return-to-origin completion status
4
ZONE
Zone output
5
MOVE
Moving
6
WARN
Warning output (1: Warning occurs.)
7
MANU-S
Manual mode status
8
BUSY
Operation is being executed.
9
END
Operation completion
10
ALM
Alarm (1: Alarm status)
11
SRV-S
Servo status
12
LOCK
Interlock (1: Interlock status)
13
BRAKE
Brake status
14
E-STOP
Emergency stop status (1: Emergency stop)
15
-
(Reserved.)
Option
Information 2
2
16
-
(Reserved.)
17
-
(Reserved.)
18
-
(Reserved.)
19
LINK
Network link status
20
ORGSEN
Origin sensor signal input
21 to 31
-
(Reserved.)
n
NOTE
When option number 0 is specified, all of the 32-bit information are output at once in binary notation.
Communication example
Transmission
Response
@?OPT1.1 c/r l/f
Reads option information 1 (bit 15 to 0).
OPT1.1=35336 c/r l/f
Receives the data. 35336 = 8A08h
OK.1 c/r l/f
Normal end
@?OPTB11.1 c/r l/f
Reads option information bit 11.
OPTB11.1=1 c/r l/f
SRV-S = 1 (Servo ON status)
OK.1 c/r l/f
Normal end