Iai-america XSEL-KET Uživatelský manuál Strana 230

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 436
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 229
211
Part 4 Commands
INTELLIGENT ACTUATOR
SGET (Get character)
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 SGET
Variable
number
Column
number,
character literal
CP
[Function] Assign one character from the column specified in operand 2 to the variable specified in
operand 1.
If a character-string literal is specified in operand 2, the first character will be assigned.
[Example] SGET 1 100
Assign one byte from column 100 to variable 1.
LET 1 3 Assign 3 to variable 1.
LET 2 1 Assign 1 to variable 2.
SCPY 1 ‘A’ Copy ‘A’ to column 1.
SGET *1 *2 Assign ‘A’ from the content of variable 2 (column 1) to the
content of variable 1 (variable 3).
Zobrazit stránku 229
1 2 ... 225 226 227 228 229 230 231 232 233 234 235 ... 435 436

Komentáře k této Příručce

Žádné komentáře