Programming A Sequence Program; Assignment Statements; Input/Output Variables; 4.2.1 Input Variables - Omron SCARA YRCX Series Programming Manual

Robot controller
Hide thumbs Also See for SCARA YRCX Series:
Table of Contents
4

Programming a sequence program

When programming a sequence program, you may use only assignment statements comprised of
input/output variables and logical operators.
4.1

Assignment statements

Format
output variable = expression
Values
4.2

Input/output variables

Each variable must be specified in a 1-bit format
·Correct examples
·Incorrect examples

4.2.1 Input variables

● Parallel input variables
Format
DI(mb)
These variables show the status of the parallel input signal.
● Serial input variables
Format
SI(mb)
Indicates a serial input signal status. Only referencing can occur. No controls are possible.
expression ............................. Any one of the following can be used.
• Parallel input/output variables
• Internal output variables
• Arm lock output variables
• Timer output variables
• Serial input/output variable
• The logic operation expression shown above
DO(37, 24)
m: Port number ·············· 0 to 7, 10 to 17, 20 to 27
b: bit definition ············ 0 to 7
m: Port number ·············· 0 to 7, 10 to 17, 20 to 27
b: bit definition ············ 0 to 7
DO(35)
MO(24)
DI(16)
DI3(4)
MO3()
Programming a sequence program
7
8
9
10
11
12
13
7-5
Table of Contents
loading

Table of Contents