Vexta EMP400 Series Operating Manual page 92

Controller for servo and stepping motors
Table of Contents

Advertisement

8
Program command
IN
Name
Valid mode
Syntax
Function
Request
For a sample program using the IN command, see section 11.1, "Operation by the host controller" or section 11.2,
"Speed change operation by the host controller."
8-26
Confirm general input, waits for input
Direct input (request only)/program
This command can be one of the following two types:
1. IN [, |
] n1 [, |
] n2 (waits until the specified general input changes to the specified
logical status)
2. IN [, |
] n3 (waits until all general input changes to the specified logical status)
Parameter
n1
Specified general
input number1
n2
Logical value
n3
Logical status of all
general inputs
Input status is displayed when used as a request.
When used inside a program, the control waits until the input changes to the specified
logical status. To wait until all general input statuses match, state the condition in the
order of IN 8, 7, 6, 5, 4, 3, 2, 1.
Input status will be displayed in this order when used as a request.
0>IN
0: IN 00101100
Data range
1 to 8
0 (Off), 1 (On)
00000000 to 11111111
Default

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents