User guide
96
6250 Servo Controller User Guide
Display the function of the outputs with the OUTFNC command:
Command Description
> OUTFNC Displays the state of the outputs
The response will be:
*OUTFNC1-A PROGRAMMABLE OUTPUT - STATUS OFF
*OUTFNC2-A PROGRAMMABLE OUTPUT - STATUS OFF
*OUTFNC3-A PROGRAMMABLE OUTPUT - STATUS OFF
.
.
*OUTFNC26-A PROGRAMMABLE OUTPUT - STATUS OFF
Step
➁
Disable outputs 1 - 4, leave them in the ON state:
Command Description
> OUTEN1111 Deactivates outputs 1-4, leave them in ON state
> OUTFNC Displays the state of the outputs
The response will be:
*OUTFNC1-A PROGRAMMABLE OUTPUT - STATUS DISABLED ON
*OUTFNC2-A PROGRAMMABLE OUTPUT - STATUS DISABLED ON
*OUTFNC3-A PROGRAMMABLE OUTPUT - STATUS DISABLED ON
.
.
*OUTFNC26-A PROGRAMMABLE OUTPUT - STATUS OFF
Step
➂
Change the output state using the OUT command:
Command Description
> OUT1Ø1Ø Activates outputs 1 and 3, deactivates outputs 2 and 4
Display the state of the outputs with the OUTFNC command:
Command Description
> OUTFNC Displays the state of the outputs
The response will be:
*OUTFNC1-A PROGRAMMABLE OUTPUT - STATUS DISABLED ON
*OUTFNC2-A PROGRAMMABLE OUTPUT - STATUS DISABLED ON
*OUTFNC3-A PROGRAMMABLE OUTPUT - STATUS DISABLED ON
.
.
*OUTFNC26-A PROGRAMMABLE OUTPUT - STATUS OFF
Notice, that output 2 and output 4 have not changed state. The output (OUT) command has no
effect on disabled outputs.
Step
➃
To re-enable the outputs, use the OUTEN command.
Command Description
> OUTENEEEE Re-enables outputs 1-4
Inputs
The following steps describe the use and function of the INEN command. You can use it to
cause an input state to occur. The inputs will not actually be in this state but the 6250 treats
them as if they are in the given state and will use this state to execute its program.
Step
➀
This program will wait for an input state to occur and will then make a preset move:
Command Description
> INFNC1-A Input #1 is has no function
> INFNC2-A Input #2 is has no function
> INLVLØØ Set input #1 and #2 active level to low
> DEF prog8 Begin definition of program prog8
- A1ØØ Acceleration is set to 100 rps
2
- AD1ØØ Deceleration is 100 rps
2
-V5 Velocity is 5 rps
- D4ØØØ Distance is 4000 steps
- WAIT(IN=b11) Waits for the input state to be 11
- GO1 Initiate motion
- END End definition of program prog8