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

Yamaha single-axis robot controller
Hide thumbs Also See for TS-P:
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
Reads specified option information.
Meaning
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>
<Option bit number> : 0 to 31 (See the table below.)
<Node number>
Option information type
Option Number
Option
Information 1
0
Option
Information 2
When option number 0 is specified, all of the 32-bit information are output at once in binary
notation.
NOTE
Communication example
Transmission
@?OPT1.1 c/r l/f
@?OPTB11.1 c/r l/f
3. Communication command description
: 0 to 2 (See the table below.)
: 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 Bit
Symbol
Number
0
PZONE
1
NEAR
2
TLM-S
3
ORG-S
4
ZONE
5
MOVE
6
WARN
7
MANU-S
1
8
BUSY
9
END
10
ALM
11
SRV-S
12
LOCK
13
BRAKE
14
E-STOP
15
-
16
-
17
-
18
-
2
19
LINK
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
Communication Command Guide
Meaning
Individual zone output
Near width output
Push status
Return-to-origin completion status
Zone output
Moving
Warning output (1: Warning occurs.)
Manual mode status
Operation is being executed.
Operation completion
Alarm (1: Alarm status)
Servo status
Interlock (1: Interlock status)
Brake status
Emergency stop status (1: Emergency stop)
(Reserved.)
(Reserved.)
(Reserved.)
(Reserved.)
Network link status
Origin sensor signal input
(Reserved.)
1
2
3
C-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ts-x

Table of Contents