9 Program command
-
63
-
9.5.2.
ACTL
Name
Switch I/O logical value
Valid
mode
Direct input/program
ACTL (1 | 2) [, | ] n1 [, | ] n2 [, | ] n3 [, | ] n4 ([, | ] n5)
Parameter Data
range
Default
(1 | 2)
Axis
1 (operate axis 1), 2 (operate axis 2) If
this parameter is omitted, axis 1 will
be operated.
n1
±LS logic
0 (normally open), 1 (normally close)
0
n2
HOMELS logic
0 (normally open), 1 (normally close)
0
n3
SLIT sensor logic
0 (normally open), 1 (normally close)
0
n4
Driver alarm input
logic
0 (normally open), 1 (normally close)
1
Syntax
n5
Alarm output logic
0 (normally open), 1 (normally close)
1
Function
Switches the logical value of a sensor or an alarm.
Set the I/O values depending on the user’s system configuration.
Request 0>ACTL1
0: ACTL1 0, 0, 0, 1, 1
0>ACTL2
0: ACTL2 0, 1, 0, 1, 1
9.5.3.
CJMP
Name Conditional
jump
Valid
mode
-/Program
CJMP [, | ] n1 [, | ] n2 [, | ] n3
Parameter Data
range
Default
n1 General-purpose
input number
specified
1 to 8
n2
Logical value
0 (off), 1 (on)
Syntax
n3 Jump
destination
line number
Line 1 to 1000. (Only for line numbers
used in the sequence program.)
Function
A conditional jump will be executed, depending on the status of a
general-purpose input.
If n1 (general-purpose input number specified) matches n2 (logical value), the
program jumps to n3 (jump destination step number). If they do not match, the
program will move to the next line.
If the specified line number is not found in the sequence program, the
sequence program will stop.
Request
-
∗
For a sample sequence program using the CJMP command, see section 12.5 “Conditional jump procedure”
on p.113.
Содержание EMP400 Series
Страница 115: ......