IN4MODE
ASCII - Command | IN4MODE |
|
| |
Syntax Transmit | IN4MODE [Data] |
| ||
Syntax Receive | IN4MODE <Data> | Available in |
| |
Type | Variable rw | MMI | Yes | |
ASCII Format | Integer8 | CANBus Object Number | 356B (hex) | |
DIM | - | PROFIBUS PNU | 1707 (dec) IND = 0000xxxx (bin) | |
Range | 0 .. 50 | DPR | 107 (dec) | |
Default | 0 |
| ||
Opmode | All | Data Type Bus/DPR | Integer8 | |
Drive State | Disabled + Reset (Coldstart) | Weightning |
| |
Start Firmware | 1.20 |
| ||
Configuration | Yes | Revision | 1.9 | |
Function Group | Digital I/O | EEPROM | Yes | |
Short Description | Function of Digital Input 4 |
Description
The IN4MODE command is used to configure the function of the digital input INPUT4.
The amplifier must be switched off and then on again after an alteration of this parameter.
The following functions can be configured:
Status | Function | Description |
---|---|---|
IN4MODE=0 | Off | The state of the input 4 is read and can be used via fieldbus or Slot card. |
IN4MODE=1 | Off |
|
IN4MODE=2 | PSTOP (4.78) | A low on the input disables the positive direction (clockwise if DIR=1, counterclockwise if DIR=0). At the same time, a warning "n10" is displayed. If a negative edge is recognized while the motor is running, the drive stops the motor in OPMODE=0 (velocity control with setpoint zero) using the DECSTOP ramp. When the motor has stopped, the old OPMODE is activated. |
IN4MODE=3 | NSTOP | A low on the input disables the negative direction (clockwise if DIR=0, counterclockwise if DIR=1). At the same time, a warning "n11" is displayed. If a negative edge is recognized while the motor is running, the drive stops the motor in OPMODE=0 (velocity control with setpoint zero) using the DECSTOP ramp. When the motor has stopped, the old OPMODE is activated. |
IN4MODE=4 | Off |
|
IN4MODE=5 | NSTOP+Intg.Off | A low on the input disables the negative direction (clockwise if DIR=0, counterclockwise if DIR=1). At the same time, a warning "n11" is displayed. If a negative edge is recognized while the motor is running, the drive stops the motor in OPMODE=0 (velocity control with setpoint zero) using the DECSTOP ramp. When the motor has stopped, the old OPMODE is activated (without integral part in the velocity controller). |
IN4MODE=6 | Off |
|
IN4MODE=7 | Off |
|
IN4MODE=8 | SETP.1/SETP.2 | Switches over the setpoint inputs SW/SETP.1/2 . This function is only effective if the analog set-point |
IN4MODE=9 | MT_No_Bit | Here you can select the motion tasks that are stored in the servo amplifier (numbers 1...7) or the |
IN4MODE=10 | Intg.Off | Switch off the integral component of the velocity controller, the P-gain remains at the set value, the |
IN4MODE=11 | v/Torq.Contr. | Bypasses the velocity controller. The analog setpoint is taken 1:1 as the setpoint for current control, |
IN4MODE=12 | Reference | Polls the reference switch. |
IN4MODE=13 | ROD/SSI | Changeover of the encoder-emulation (position output) on connector X5. |
IN4MODE=14 | FError_clear | Clear the warning of a contouring error (display n03) or the response monitoring (display n04). |
IN4MODE=15 | Start_MT Next | The following task, that is defined in the motion task by “Start with I/O” is started. The target position |
IN4MODE=16 | Start_MT No x | Start a motion task that is stored in the servo amplifier, by giving the motion task number. After the |
IN4MODE=17 | Start_MT IO | 17, Start_MT IO Start of the motion task that has the number that is presented, bit-coded, at the digital inputs |
IN4MODE=18 | Ipeak2 x | Switch over to a second (lower) peak value of current. Scaled as x (0...100) % of the peak current |
IN4MODE=19 | Reserved |
|
IN4MODE=20 | Start_Jog v=x | Start of the setup mode "Constant velocity" with a defined speed. After selecting the |
IN4MODE=21 | U_Mon.off | Turns off the undervoltage monitoring function of the servo amplifier. |
IN4MODE=22 | MT Restart | Continues the motion task that was previously interrupted by a STOP - command. |
IN4MODE=23 | Start2_MT No x | Start of a motion task that is stored in the servo amplifier, with definition of the motion task number. |
IN4MODE=24 | Switch over OPMODE | The two different OPMODEs, that can be selected for switching over via the digital input, are written in the IN4TRIG help variable of the this input. The lower byte consists the OPMODE that should be available when the input has a negative edge. The higher byte consists the OPMODE that should be available when the input has a positive edge. When the drive is switched on, the OPMODE is set automatically to the corresponding state of the input. The contents of the help variable must be in decimal !! |
IN4MODE=25 | Zero_latch | Sets the A/B encoder emulation zero pulse offset. The current position, depending on the A/B encoder emulation resolution that is set, |
IN4MODE=26 | Off |
|
IN4MODE=27 | Emergency Stop | Low state on the input starts an emergency stop function, that is executed with the ramp DECSTOP. Independently of the selected OPMODE, in this phase, the drive stops in velocity control. When it has stopped, it switches over to the original mode. |
IN4MODE=28 | Reserved |
|
IN4MODE=29 | Reserved |
|
IN4MODE=30 | Command Buffer 1 | A positive or negative edge on the input starts a command buffer. This command buffer contains separate ASCII objects, that are separated with semicolon (;). |
IN4MODE=31 | Command Buffer 2 | A positive or negative edge on the input starts a command buffer. This command buffer contains separate ASCII objects, that are separated with semicolon (;). |
IN4MODE=32 | Brake | A rising edge at the input triggers the braking output of the servo amplifier. |
IN4MODE=33 | see 30 | Different from the functionality 30, the resulting answers of the commands are not suppressed, but are send to the seriell communication channel RS232. |
IN4MODE=34 | see 31 | Different from the functionality 31, the resulting answers of the commands are not suppressed, but are send to the seriell communication channel RS232. |
IN4MODE=35 | Select Velocity/Current Entry | A positive edge on the digital input causes a takeover of the corresponding VCT entry (see command VCT). The number of the VCT entry is defined by the digital inputs configured with mode 9. |
IN4MODE=36 | Give Offset to Gearing Function | Gearing mode 4. |
IN4MODE=37 | Change source of the actual position at EXTPOS=1. | = 0 Actual position is generated by the external encoder selected by GEARMODE |
IN4MODE=38 |
| Definition of a motion task with following motion tasks. If INxMODE=15 is used (start of an following motion task via I/O), IN4MODE=38 can be used, to have an additional enable for the start of the following motion tasks. Means, that the following motion task is started, if once a rising edge on digital input 1 was detected and then the INxMODE=15 input is enabled to start the following motion task. |
IN4MODE=39 | Constant velocity for defined time | This function starts a constant velocity for a defined time. The parameters for velocity and time are given by IN4TRIG. The velocity is given by the lower 16 bit (scaling by VUNIT) and the time by the upper 16 bit (given in msec) of the help variable IN4TRIG. |
IN4MODE=40 | Additional hardware enable | The digital input works as an additional hardware input. Only if this input has a high signal, the power stage is enabled. |
IN4MODE=41 | Fast emergency stop | If the input is going to low, the drive stops the motor using the DECSTOP ramp. If zero velocity is reached (V<VEL0), the power stage is disabled. |
IN4MODE=42 | Activate/deactivate electronic gearing | Activate/deactivate electronic gearing in OPMODE = 4. |
IN4MODE=43 | Activate/deactivate electronic gearing with position latch | Activate/deactivate electronic gearing in OPMODE = 4. |