Condition; Condition Settings: Ld, Ldi, And, Ani, Or, Ori, Anb, Orb - Janome JSR4400N SCARASeries Operation Manual

Desktop industrial robots
Table of Contents

Advertisement

■ Condition Settings: ld, ldi, and, ani, or, ori, anb, orb

This chapter explains the conditional operation commands that come after if Branch and Wait
Condition commands (if, waitCond, waitCondTime). The command category is [Condition].
Command Category

Condition

I/O-SYS input (#sysIn), I/O-SYS output (#sysOut), I/O-1 input (#genIn), I/O-1 output (#genOut), I/O-H
input (#handIn), I/O-H output (#handOut), system flag (#sysFlag), internal relay (#mv), keep relay
(#mkv), and pallet flag can be given as command parameters.
Comparison operation expressions can also be used. Variables and functions can also be used in
comparison operation expressions as well as the above parameters.
Comparison operation
expression
○ == □
○ < □
○ > □
A [Condition] command must always start from an Id or Idi command line. If the command includes
only an independent ON (true) or OFF (false) condition, it needs 1 line, but when multiple conditions
are connected with and, or, etc., multiple lines are required.
Expressions can also be used in the condition commands. In this case, the result of the expression is
judged as 0 (false) or nonzero (true).
Features II
CONDITION
Command
ld
Boolean variable or expression
ldi
Boolean variable or expression
and
Boolean variable or expression
ani
Boolean variable or expression
or
Boolean variable or expression
ori
Boolean variable or expression
anb
orb
Meaning
□ is equal to ○.
□ is greater than ○.
□ is less than ○.
Parameter
Comparison operation
expression
○ <= □
○ =< □
○ >= □
○ => □
○ <> □
○ >< □
49
Job
ON input
OFF input
Serial ON input
Serial Off input
Parallel ON input
Parallel OFF input
Block serial connection
Block parallel connection
Meaning
□ is greater than or
equal to ○.
□ is less than or equal
to ○.
Not equal.
JS/JSR4400N SCARA Robot
JSG GANTRY Robot
JR2000N Desktop Robot

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Js4400n scara seriesJsg gantry seriesJr2000n series

Table of Contents