Input/Output Information Reading (?In, ?Inb, ?Out, ?Outb) - Yamaha TS-S User Manual

Yamaha single-axis robot controller ts series
Table of Contents

Advertisement

Input/output information reading (?IN, ?INB, ?OUT, ?OUTB)
Input information
@?IN<input number>[.<node number>] c/r l/f
@?INB<input bit number>[.<node number>] c/r l/f
Format
Output information
@?OUT<output number>[.<node number>] c/r l/f
@?OUTB<output bit number>[.<node number>] c/r l/f
Meaning
Reads specified input/output information.
Function
Reads the information on specified input/output signal.
The read-out results of the input/output information in decimal notation are returned.
Setting
<Input/output number>
<Input/output bit number> : 0 to 15 (See the table below.)
<Node number>
Input/output information type
n
Input/output
Input/output
Number
Bit Number
0
1
2
3
4
5
6
7
1
8
9
10
11
12
13
14
15
Communication example
Transmission
@?IN1.1 c/r l/f
@?OUTB0.1 c/r l/f
: 1 (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.)
Input
Symbol
Meaning
PIN0
PIN1
PIN2
PIN3
Point number selection
PIN4
PIN5
PIN6
PIN7
JOG+
JOG movement (+ direction)
JOG-
JOG movement (- direction)
MANUAL
Manual mode
ORG
Return-to-origin
/LOCK
Interlock
START
Start
RESET
Reset
SERVO
Servo ON
Response
Reads the information on input 1 (bit 15 to 0).
IN1.1=36864 c/r l/f
Receives the data. 36864 = 9000h
OK.1 c/r l/f
Normal end
Reads the information on output bit 0.
OUTB0.1=1 c/r l/f
Receives the data.
OK.1 c/r l/f
Normal end
Output
Symbol
Meaning
POUT0
POUT1
POUT2
POUT3
Point number output
POUT4
POUT5
POUT6
POUT7
OUT0
OUT1
Control output
OUT2
OUT3
BUSY
Operation is being executed.
END
Operation completion
/ALM
Alarm
SRV-S
Servo status
B
B-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ts-shTs-s2Ts-xTs-p

Table of Contents