Omron SYSMAC CS1 Série Guide D'installation page 461

Table des Matières

Publicité

Instructions de programmation par blocs
Instruction
Symbole/
Opérande
Mnémonique
Code
EXIT(806)
CONDITIONAL
BLOCK EXIT
B
EXIT
B : Bit opérande
806
CONDITIONAL
EXIT NOT(806)
BLOCK EXIT
B
(NOT)
B : Bit opérande
EXIT NOT
806
CONDITIONAL
IF (802)
BLOCK
BRANCHING
IF
802
CONDITIONAL
IF (802)
B
BLOCK
BRANCHING
B : Bit opérande
IF
802
CONDITIONAL
IF (802) NOT
BLOCK
B
BRANCHING
(NOT)
B : Bit opérande
IF NOT
802
CONDITIONAL
---
BLOCK
BRANCHING
(ELSE)
ELSE
803
436
Fonction
L'instruction EXIT(806) sans bit opérande sort le programme si la condition
d'exécution est à ON.
L'instruction EXIT(806) sans bit opérande sort le programme si la condition
d'exécution est à ON.
Si la condition d'exécution est à ON, les instructions entre IF(802) et
ELSE(803) sont exécutées. Si la condition d'exécution est à OFF, les
instructions entre ELSE(803) et IEND(804) sont exécutées.
Condition
Condition
d'exécution
d'exécution ON?
"A" exécutée (entre
IF et ELSE).
Si le bit opérande est à ON, les instructions entre IF(802) et ELSE(803) sont
exécutées. Si le bit opérande est à OFF, les instructions entre ELSE(803) et
IEND(804) sont exécutées.
IF R (IF NOT R)
"A" exécutée (entre
IF et ELSE).
Si le bit opérande est à ON, les instructions entre IF(802) et ELSE(803) sont
exécutées. Si le bit opérande est à OFF, les instructions entre ELSE(803) et
IEND(804) sont exécutées.
Si l'instruction ELSE(803) est omise et que le bit opérande est à ON, les
instructions entre IF(802) et IEND(804) sont exécutées.
Bit opérande
Bit opérande
OFF
ON
(ON pour
(OFF pour
EXIT NOT)
EXIT NOT)
"A" exécutée.
"A" exécutée.
"B" exécutée.
Bloc terminé.
NON
OUI
"B" exécutée
(après ELSE).
NON
Bit opérande
ON?
OUI
"B" exécutée
(après ELSE).
Chapitre
10-28
Localisation
Condition
d'exécution
Bloc
programme
Obligatoire
Bloc
programme
Obligatoire
Bloc
programme
Obligatoire
Bloc
programme
Obligatoire
Bloc
programme
Obligatoire
Bloc
programme
Obligatoire

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Sysmac cs1g/h-cpuj j-ev1

Table des Matières