Option Information Reading (?Opt, ?Optb) - Yamaha TS-S User Manual

Yamaha single-axis robot controller ts series
Table of Contents

Advertisement

Option information reading (?OPT, ?OPTB)
@?OPT<option number>[.<node number>] c/r l/f
Format
@?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 Number Option Bit Number
Option
Information 1
0
Option
Information 2
n
NOTE
When option number 0 is specified, all of the 32-bit information are output at once in binary notation.
Communication example
Transmission
@?OPT1.1 c/r l/f
@?OPTB11.1 c/r l/f
Symbol
0
PZONE
1
2
TLM-S
3
ORG-S
4
5
6
WARN
7
MANU-S
1
8
9
10
11
SRV-S
12
13
BRAKE
14
E-STOP
15
16
17
18
2
19
20
ORGSEN
21 to 31
Response
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
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
Individual zone output
NEAR
Near width output
Push status
Return-to-origin completion status
ZONE
Zone output
MOVE
Moving
Warning output (1: Warning occurs.)
Manual mode status
BUSY
Operation is being executed.
END
Operation completion
ALM
Alarm (1: Alarm status)
Servo status
LOCK
Interlock (1: Interlock status)
Brake status
Emergency stop status (1: Emergency stop)
-
(Reserved.)
-
(Reserved.)
-
(Reserved.)
-
(Reserved.)
LINK
Network link status
Origin sensor signal input
-
(Reserved.)
Meaning
B-19
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ts-shTs-s2Ts-xTs-p

Table of Contents