![OptoSigma GSC-02A User Manual Download Page 12](http://html1.mh-extra.com/html/optosigma/gsc-02a/gsc-02a_user-manual_1645520012.webp)
■ GSC-02A
User's Manual
■
The following commands are available only when System Type B is set.
(The settings are retained even when the power is turned off.)
Table7-1-2: Command list (System Type B)
Direction of travel
DR:
Select the + direction
Input logic for the limit sensor
LSL:
Select the detection logic for the limit sensor
Input logic for the ORG sensor
OSL:
Select the detection logic for the ORG sensor
Input logic for the NEAR sensor
NSL:
Select the detection logic for the NEAR sensor
Method of return to origin
ORG:
Select the method of return to origin
Switch number of steps
S:
Switch number of steps
Communication protocol
ACK:
Select the communication protocol
ORG speed settings
B:
Set S, F and R of ORG
Note) When stage operating status is Busy, if you send other command of L:, Q:, !:, ?:, command
status is NG.
7-2. Command Format
Except for some status check commands (Q:, !:, ?:), no response will be returned to a command
input. To determine whether or not a command was received normally, use the Q command to
check status.
System Type B can select use ACK or not use ACK, when send command for computer to
controller. If select use ACK, then OK will return when accept command. NG will return when
can’t accept command.
All commands are in single-byte characters.
1. When COMM/ACK is set to MAIN:
Response string of OK or NG will send when receive for each command.
Command string ………… receive
Response string ………… send
The response string when a command is received normally is OK, that when the command wasn’t
correct, NG. In some cases, for example in response to confirmation commands, data will be
returned instead of OK. Commands should only be sent after checking the internal status of the
controller.
2. When COMM/ACK is set to SUB:
A protocol is used in which the controller does not respond to each command. you can't get
response OK or NG. Data will however be returned in response to some commands, such as
confirmation commands. To determine whether or not a command was received normally, use the
Q command to check status.
10
Osaka branch
Summary of Contents for GSC-02A
Page 29: ......