Iai-america XSEL-QX Manuel d'utilisateur Page 303

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 558
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 302
279
Part 4 Commands
z READ (Read)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1 Operand 2
Output
(Output, flag)
Optional Optional READ
Channel
number
Column
number
CC
[Function] Read a character string from the channel specified in operand 1 to the column specified in
operand 2.
Read will end when the character specified by a SCHA command is received.
Either a local or global column may be specified.
Immediately after this command is executed, a return code will be stored in a local variable
(variable 99 based on the factory setting). You can check the return code to see if the
command has been executed successfully. If necessary, define a process to be performed
in the event that the command was aborted due to an error.
With the main application of version 0.41 or later, a dummy read (clearing the receive buffer
and disabling reception) can be implemented by specifying “0” in operand 2 (the return
code will indicate successful completion). The versions of tools that permit entry of “0” in
operand 2 are shown below. If “0” cannot be entered from your tool, you can still specify a
dummy read indirectly:
x PC software: Version 1.1.1.0 or later
x Teaching pendant application: Version 1.06 or later
[Example] SCHA 10 Set LF (= 10) as the end character.
OPEN 1 Open channel 1.
READ 1 2 Read a character string from channel 1 to column 2 until
LF is received.
TRAN 1 99 Assign the return code (content of variable 99) to
variable 1.
CLOS 1 Close the channel.
SLCT
WHEQ
:
[1]
:
1 0
The program branches to the process corresponding to
each return code.
(Note) Using a GOTO command to branch out of or into
a SLCT-EDSL syntax is prohibited.
If the content of variable 1 is “0” (completed
successfully), [1] is executed. Define the process to be
performed upon successful completion of the command,
in [1].
WHEQ
:
[2]
:
1 1 If the content of variable 1 is “1” (timeout occurred), [2]
is executed. If necessary, define an appropriate process
to be performed upon timeout, in [2].
WHEQ
:
[3]
:
1 2 If the content of variable 1 is “2” (timer cancelled), [3] is
executed. If necessary, define an appropriate process to
be performed upon timer cancellation, in [3].
OTHE
:
[4]
:
If the content of variable 1 is not “0,” “1” or ‘2,” [4] is
executed. If necessary, define an appropriate process to
be performed in this condition, in [4].
EDSL If any of the above conditions was satisfied and the
corresponding part of the command has been executed,
the program jumps to this step.
Vue de la page 302
1 2 ... 298 299 300 301 302 303 304 305 306 307 308 ... 557 558

Commentaires sur ces manuels

Pas de commentaire

DeLOCK 83113 manuals

Owner’s manuals and user’s guides for Accessories communication DeLOCK 83113.
We providing 2 pdf manuals DeLOCK 83113 for download free by document types: User Manual


Delock 83113 User Manual (1 pages)


Brand: Delock | Category: Accessories communication | Size: 0.15 MB |

 

Table of contents

Delock 83113 User Manual (1 pages)


Brand: Delock | Category: Accessories communication | Size: 0.15 MB |

 

Table of contents





More products and manuals for Accessories communication DeLOCK

Models Document Type
83190 User Manual   DeLOCK 83190 Benutzerhandbuch, 1 pages
83370 User Manual   DeLOCK 83370 User Manual, 1 pages
82952 User Manual   DeLOCK 82952 Benutzerhandbuch, 1 pages
83288 User Manual   DeLOCK 83288 Benutzerhandbuch, 1 pages
83363 User Manual   DeLOCK 83363 Benutzerhandbuch, 1 pages
82699 User Manual   DeLOCK 82699 Benutzerhandbuch, 1 pages
83240 User Manual   DeLOCK 83240 Manuel d'utilisation, 2 pages
82688 User Manual   DeLOCK 82688 Benutzerhandbuch, 2 pages
82423 User Manual    DeLOCK 82423 Manuel d'utilisation, 1 pages
83109 User Manual   DeLOCK 83109 User Manual, 1 pages
83354 User Manual   DeLOCK 83354 User Manual, 1 pages
82585 User Manual    DeLOCK 82585 Manuel d'utilisation, 1 pages
83089 User Manual   DeLOCK 83089 Manual del usuario, 1 pages
82998 User Manual   DeLOCK 82998 Benutzerhandbuch, 1 pages
83377 User Manual   DeLOCK 83377 Benutzerhandbuch, 1 pages
83373 User Manual   DeLOCK 83373 Benutzerhandbuch, 1 pages
83290 User Manual   DeLOCK 83290 User Manual, 1 pages
83297 User Manual   DeLOCK 83297 Benutzerhandbuch, 1 pages
83082 User Manual   DeLOCK 83082 User Manual [de] , 1 pages
83168 User Manual   DeLOCK 83168 Benutzerhandbuch, 1 pages