Parameter Data Reading (?K - Yamaha TS-S User Manual

Yamaha single-axis robot controller ts series
Table of Contents

Advertisement

Communication example
Transmission
@?P1.1 c/r l/f
@?S2.1 c/r l/f
Parameter data reading (?K)
Format
@?K<parameter number>[.<node number>] c/r l/f
Meaning
Reads a specified parameter.
Function
Reads the setting value of a specified parameter.
n
NOTE
Some parameter data may include the decimal point due to the specifications. However, when handling such
data using the communication command, all of data are handled as integer values. For example, when
K1 ((-) soft limit) is "20 [mm]", the communication command at the TS-S, TS-S2, TS-SH, and TS-X would be "2000"
-2
(×10
), and the communication command at the TS-P would be "20000" (×10
used.
Setting
<Parameter number> : 1 to 138
<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.)
TIP
For parameter number details, see Chapter 3, section 4, "Parameter data" of the Controller Guide.
Communication example
Transmission
@?K10.1 c/r l/f
Response
Reads "Position" of point data 1.
P1.1=30000 c/r l/f
Receives the data.
OK.1 c/r l/f
Normal end
Reads "Speed" of point data 2.
S2.1=100 c/r l/f
Receives the data.
OK.1
Normal end
Response
Reads parameter data K10 (JOG speed).
K10.1=50 c/r l/f
Receives the data.
OK.1 c/r l/f
Normal end
-3
). In both cases, no decimal point is
B-15
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ts-shTs-s2Ts-xTs-p

Table of Contents