![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h-asc02/sysmac-c200h-asc02_operation-manual_742429035.webp)
25
A = 5 = 0000000000000101
B = 6 = 0000000000000110
A AND B = 0000000000000100 = 4
OR (logical sum)
A = 4 = 0000000000000100
B = 3 = 0000000000000011
A OR B = 0000000000000111 = 7
XOR (exclusive OR)
A = -4 = 1111111111111100
B = 5 = 0000000000000101
A XOR B = 1111111111111001 = -7
EQV (equivalent)
A = -4 =1111111111111100
B = 5 = 0000000000000101
A EQV B = 0000000000000110 = 6
IMP (implication)
A = -4 = 1111111111111100
B = 5 = 0000000000000101
A IMP B = 0000000000000111 = 7
4-2
BASIC Language
This section explains, in detail, the BASIC commands, statements, and func-
tions. They are presented in alphabetical order by section. Each description
is formatted as described in the following section.
4-2-1
BASIC Format
Purpose:
Explains the purpose or use of the instruction
Format:
Shows the correct format for the instruction
The following rules apply to the format descriptions of all commands, instruc-
tions, and functions:
•
Items in CAPITAL LETTERS must be input as shown.
•
Items in lower case letters enclosed in angle brackets (< >) are to be
supplied by the user.
•
Items in square brackets ([ ]) are optional.
•
All punctuation marks except angle and square brackets (i.e., commas, hy-
phens, semicolons, parentheses, and equal signs) must be included where
shown.
•
Arguments to functions are always enclosed in parentheses. In the formats
given for the functions in this chapter, the arguments have been abbre-
viated as follows:
x and y :
represent numeric expressions
I and J :
represent integer expressions
BASIC Language
Section 4-2
Содержание SYSMAC C200H-ASC02
Страница 1: ...Cat No W165 E1 04 ASCII Unit SYSMAC C200H ASC02 ...
Страница 2: ...C200H ASC02 ASCII Unit Operation Manual Revised September 2002 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 7: ...TABLE OF CONTENTS viii Glossary 159 Index 163 Revision History 165 ...
Страница 122: ...Appendix B Specifications 115 130 35 100 5 ...
Страница 167: ...Cat No W165 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor ...
Страница 168: ...Cat No W165 E1 04 C200H ASC02 ASCII Unit OPERATION MANUAL ...