Controller response to commands, Very important – Yaskawa SMC–4000 User Manual
Page 266
![background image](https://www.manualsdir.com/files/819559/content/doc266.png)
256
SMC–4000 User Manual
Controller Response to Commands
For each valid command entered, the SMC–4000 returns a colon (:). If the SMC–4000 decodes a
command as invalid, it returns a question mark (?).
*Note The SMC–4000 returns a : for valid commands.
*Note The SMC–4000 returns a ? for invalid commands.
For example, if the command bg is sent in lower case, the SMC–4000 will return a ?.
VERY IMPORTANT!
The command Tell Code, TC1, will return the reason for the “?” received for the last invalid command.
There are several coded reasons for receiving a ?. Example codes include unrecognized command (such
as typographical entry or lower case), a command given at improper time, or a command out of range,
such as exceeding maximum speed. A complete listing of all codes is listed in the TC command in the
Command Reference section.
For interrogation instructions such as
, the SMC–4000 returns the
requested data on the next line followed by a carriage return and line feed. The data returned is in decimal
format.
The format of the returned data can be set using the
command.
:bg
Invalid command (lower case)
?
SMC–4000 returns a ?
:TC1
Tell Code command
1 Unrecognized command
Returned response
Tell Position X
:TP X
data returned
0000000000
Tell Position X and Y
:TP XY
data returned
0000000000,0000000000
:PF 4
Position Format is 4 integers
:TP X
Tell Position
0000
returned data