IAI America XSEL-S User Manual
Page 101
6. Program Construction for Operation
95
x
Return Code in SLVS Command (Variable 99 (Local Space))
The result in SLVS execution is stored in Variable 99 as a return code.
* No return code will be obtained (no change will occur to Variable 99) when Operation 1=0.
* The return codes not listed below are in common with OPEN Command (for Ethernet
connection). Refer to “OPEN Command” in EtherNet Instruction Manual provided
separately.
0 : Completed in normal condition
1 : Timeout
(Related Parameters: I/O Parameter No.127, Network Attribute 8, Bits 0 to 7)
2 : Timer cancelled (condition that the waiting status is cancelled by TIMC Command)
6 : Task Complete (Program complete request, etc.) (Unable to identify from SEL
Command)
23 : Vision System Initializing Incomplete Error
Note :
x
SLVS and GTVD Commands can be executed only on the same program (task).
x
Executing SLVS Command with Operation 1 = 1 is indicated opens the communication
channel that is specified in I/O Parameter No.351, Bits 4 to 7.
And also, executing SLVS Command with Operation 1 = 0 is indicated closes the
communication channel that is specified in I/O Parameter No.351, Bits 4 to 7.
x
When the Vision System I/F is used with Ethernet, message communication attribute is fixed
to client.
[Example 1]
[Example 2]
SLVS
1
60
Select Vision System I/F Usage
䊶
(GTVD Command Timeout Value = 60sec is indicated)
䊶
SLVS
0
Cancel Vision System I/F Selection
SLVS
1
Select Vision System I/F Usage
䊶
(GTVD Command Timeout Value = None)
䊶
SLVS
0
Cancel Vision System I/F Selection