Download Step Motor Controller User Manual
Transcript
4.6 4.6.5 User Interface Commands V2 (Verify I/O) The Verify I/O command enables the status of User Inputs and Outputs to be determined. When the V2 command is sent to the Controller, it responds with a V followed by two parameter values between 0 and 7. The first parameter indicates the voltage levels at the User Inputs. The second pa-rameter indicates the voltage levels at the User Outputs. The status of the Inputs and Outputs is determined from the returned parameters according to the following table: Input 3 2 1 V__ Output 3 2 1 0 0 0 =0 0= 0 0 0 0 0 1 =1 1= 0 0 1 0 1 0 =2 2= 0 1 0 0 1 1 =3 3= 0 1 1 1 0 0 =4 4= 1 0 0 1 0 1 =5 5= 1 0 1 1 1 0 =6 6= 1 1 0 1 1 1 =7 7= 1 1 1 TT0229GB 0 = Logic "0" 1 = Logic "1" Example: The Verify I/O query returns a response V25, which indicates that Input 2 is logic "1", and Outputs 1 and 3 are logic "1". The Verify I/O command is used exclusively when there is a constant interface connection between a computer/terminal and the Controller. It cannot be used in a program. 4.6.6 51 VA [1-6] (Verify analogue input) The Verify AInput command is used to determine the voltage at a specified Analogue Input. 8-bit resolution is used for the measurement, which results in the measured value being given in 20mV steps with 5.10V as the maximum value. The Verify AInput command can be used when the Controller is in Standby Mode. The 3 User Inputs can, for example, be connected to 3 Analogue Inputs and thus verify that the voltages are as expected. JVL Industri Elektronik A/S - User Manual - Step Motor Controller SMC20