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

  • 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 228
210
Part 4 Commands
INTELLIGENT ACTUATOR
SCMP (Compare character strings)
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 SCMP
Column
number
Column
number,
character literal
EQ
[Function] Compare the column specified in operand 1 with the column specified in operand 2.
Comparison will be performed for the length set by a SLEN command.
If a character literal is specified in operand 2, comparison will be performed for the entire
length of the literal.
[Example] SCMP 1 ‘ABC’ 600 Flag 600 will turn ON if columns 1 to 3 contain ‘ABC.’
SLEN 5 Set the comparing length to five bytes.
SCMP 10 30 999 Turn ON flag 999 if five bytes from columns 30 and 10
match.
Zobrazit stránku 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 435 436

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

Žádné komentáře