B
Communication Command Guide
B-10
Setting
<Point number> : 1 to 255
<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.)
Communication example
Transmission
Response
@P1.1=30000 c/r l/f
Writes "30000" to "Position" of point data 1.
OK.1 c/r l/f
Normal end
@S1.1=50 c/r l/f
Writes "50" to "Speed" of point data 1.
OK.1 c/r l/f
Normal end
@AC1.1=100 c/r l/f
Writes "100" to "Acceleration" of point data 1.
OK.1 c/r l/f
Normal end
@DC1.1=50 c/r l/f
Writes "50" to "Deceleration" of point data 1.
OK.1 c/r l/f
Normal end
@M1.1=1 c/r l/f
Writes "1" (ABS) to "Operation type" of point data 1.
OK.1 c/r l/f
Normal end
Point data writing 2 (P_, S_, AC_, DC_, Q_)
Format
@P_<point number>[.<node number>]=<setting value> c/r l/f
@S_<point number>[.<node number>]=<setting value> c/r l/f
@AC_<point number>[.<node number>]=<setting value> c/r l/f
@DC_<point number>[.<node number>]=<setting value> c/r l/f
@Q_<point number>[.<node number>]=<setting value> c/r l/f
Meaning
Writes the setting value to the individual data of a specified point.
Function
Writes the setting value to the individual data of a specified point. The written data is not saved into the memory.
The command may vary depending on the type of individual data. For details, see the table below.
Command and data type
n
Command
Type
Unit
Standard Setting
Custom Setting
P_
Position
Other than TS-P : 0.01mm
TS-P
: 0.001mm
S_
Speed
%
0.01mm/s
AC_
Acceleration
%
0.01m/s
2
DC_
Deceleration
%
Q_
Push
%
n
NOTE
• Even when the setting value is written using this command, the value is not saved into the memory. So, the
value is returned to its previous value after the power has been turned off, and then turned on again. When
the setting value needs to be saved into the memory, it is necessary to write the operation type (M) after the
setting value has been written.
• The individual data of the point data related to the position or speed 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 the position data is "20 [mm]", the communication command at
the TS-S, TS-S2, TS-SH, and TS-X would be "2000" (×10
-2
), and the communication command at the TS-P would be
"20000" (×10
-3
). In both cases, no decimal point is used.
• This command is valid from version 1.04.xxx or higher.
TIP
For point data details, see Chapter 3, section 2, "Point data" of the Controller Guide.