O2MODE

ASCII - Command

O2MODE

 

 

Syntax Transmit

O2MODE [Data]

 

Syntax Receive

O2MODE <Data>

Available in

 

Type

Variable rw

MMI

Yes

ASCII Format

Integer8

CANBus Object Number

35B2 (hex)

DIM

-

PROFIBUS PNU

1778 (dec) IND = 0000xxxx (bin)

Range

0 .. 50

DPR

178 (dec)

Default

0

 

Opmode

All

Data Type Bus/DPR

Integer8

Drive State

Disabled + Reset (Coldstart)

Weightning

 

Start Firmware

1.20

 

Configuration

Yes

Revision

2.0

Function Group

Digital I/O

EEPROM

Yes

Short Description

Function of Digital Output 2

Description

The O2MODE command can be used to configure the function of the digital output OUT2. 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

O2MODE=0

Off

OFF
The state of the digital output 2 can be set/cleared by RS232/Fieldbus or Slot board

O2MODE=1

v_act<O1TRIG

If the absolute value for the motor velocity is lower than a preset value (O2TRIG), a HIGH-signal will be output. After the function has been selected you can enter the velocity in rpm in O2TRIG. The ouput is high, if V < O2TRIG and becomes low, if V > O2TRIG + 0.01 * MSPEED.

O2MODE=2

v_act>O1TRIG

If the absolute value for the motor velocity is higher than a preset value (O2TRIG), a HIGH-signal will be output. After the function has been selected you can enter the velocity in rpm in O2TRIG. The ouput is high, if V > O2TRIG and becomes low, if V < O2TRIG + 0.01 * MSPEED.

O2MODE=3

Mains-RTO

This signals the operational readiness of the SERVOSTAR™ 600 power output stage. After switch-ing on the mains supply, a LOW-signal is output until the DC-link circuit is fully charged up. A HIGH-signal is output when the charging of the DC-link circuit is finished. If the DC-link voltage falls below 100V, then 0V will be output. The “Undervoltage” monitoring is inactive.
O1MODE=3 only works with NONBTB = 0.

O2MODE=4

Regen off

Signals if the preset regen power (screen page “Basic Setup”) is exceeded.

O2MODE=5

Sw_limit

This produces a HIGH-signal if a software limit-switch is reached (a preset function of the
corresponding position register, set to “SW limit-switch 1” or “SW limit-switch 2” – the function is
defined in the screen page “Position”).(see SWCNFG)

O2MODE=6

Pos.>O1TRIG

If the position (angular position of the motor shaft) exceeds a preset value (O1TRIG),
a HIGH-signal will be output. After the function has been selected, you can enter the signaling posi-tion
in increment (a number or fraction of motor turns N) as O1TRIG.
Make the calculation according to the following equation:
O1TRIG = 1048576 *N *Inkr.
Maximum possible entry value:x =2 31 = 2147483648, this corresponds to N = 2048

O2MODE=7

InPos

When the target position for a motion task has been reached (the InPosition window), this is
signaled by the output of a HIGH-signal. A cable break will not be detected.
The width of the InPosition window PEINPOS for all the valid motion tasks is entered in the “Position data”
screen page.
If a sequence of motion tasks is performed one after another, then the signal for reaching the final
position of the motion-task sequence will be output (target position of the last motion task).
Signaling that the target position of each motion task has been reached, in a sequence of motion
tasks, can be achieved with the function “16, Next_InPos”.

O2MODE=8

I_act< O2TRIG

The output is a HIGH-signal, as long as the absolute r.m.s. value of the actual current is lower than
a defined value in mA (O2TRIG).
After the function has been selected, you can enter the current value as O2TRIG.

O2MODE=9

I_act > O2TRIG

The output is a HIGH-signal, as long as the absolute r.m.s. value of the actual current is higher than
a defined value in mA (O2TRIG).
After the function has been selected, you can enter the current value as O2TRIG.

O2MODE=10

Ferror

If the position goes outside the preset contouring-error window (PEMAX) , this is indicated by a LOW-signal.
The width of the contouring-error window is entered in the screen page “Position” for all the valid motion tasks.

O2MODE=11

I²t

If the preset I2t monitoring threshold I2TLIM is reached (screen page “Current” ) this is indicated by a HIGH-signal.

O2MODE=12

Posreg.1

The preset function of the corresponding position register 1 (the function is defined in the screen
page “Position”) is indicated by a HIGH-signal.

O2MODE=13

Posreg.2

The preset function of the corresponding position register 2 (the function is defined in the screen
page “Position”) is indicated by a HIGH-signal.

O2MODE=14

Posreg.3

The preset function of the corresponding position register 3 (the function is defined in the screen
page “Position”) is indicated by a HIGH-signal.

O2MODE=15

Posreg.4

The preset function of the corresponding position register 4 (the function is defined in the screen
page “Position”) is indicated by a HIGH-signal.

O2MODE=16

Next-InPos

The start of each motion task in an automatically executed sequence of motion tasks is signalled by
an inversion of the output signal. The output produces a Low signal at the start of the first motion
task of the motion task sequence. The type of message can be set by IN2PM

O2MODE=17

Error/Warn

The output produces a HIGH-signal if an error or a warning message is signaled by the servo amplifier. A list of the error messages can be found under ERRCODE.

O2MODE=18

Error

The output produces a HIGH-signal if an error is signaled by the servo amplifier. A list of the error messages can be found under ERRCODE

O2MODE=19

DC_Link > O2TRIG

A HIGH-signal is output if the actual value of the DC-link voltage is higher than a defined value in volts (O2TRIG).
After the function has been selected, you can enter the voltage value as O2TRIG.

O2MODE=20

DC_Link > O2TRIG

A HIGH-signal is output if the actual value of the DC-link voltage is lower than a defined value in volts (O2TRIG).
After the function has been selected, you can enter the voltage value as O2TRIG.

O2MODE=21

ENABLE

A HIGH-signal is output if the servo amplifier is enabled.
To obtain the enable, the external Hardware Enable signal must be present, the Enable
status must be set in the setup software (or via the fieldbus interface) and no errors must be present that would cause an automatic internal disabling of the servo amplifier.
If function OxMODE = is selected, the enable signal is high, if the line voltage is applied and the charging of the link capacitors is finished. The drive is disabled, if the DC-link voltage wents under the threshold VBUSMIN.

O2MODE=22

Zero_pulse

The zero mark/pulse (HIGH-signal) is indicated by the encoder-emulation. This function is only useful at very low velocities.

Vmax = 15000 / ENCOUT
e.g.
ENCOUT=256 Pulses/Rev
Vmax = 58 rpm

O2MODE=23

Slot-DPR

This configuration enables the possibility to output a state from the Slot board (mem DPR Slot Board Offset 0x3E4). If no Slot board is available, this configuration is equal to O2MODE=0.
If a Device-Net option board is plugged in the drive, this setting enables access of Device-Net to digital output 2+

O2MODE=24

Ref_OK

The output signals High, if a reference point is available. Reference traverse (homing) NREF has been carried out, or a reference point has been set )

O2MODE=25

Reserved

 

O2MODE=26

Reserved

 

O2MODE=27

Reserved

 

O2MODE=28

Posreg. 0

The preset function of the corresponding position register 0 is indicated by a HIGH-signal. Valid only
with expansion card -I/0-14/08- .

O2MODE=29

Posreg. 5

The preset function of the corresponding position register 5 is indicated by a HIGH-signal. Valid only
with expansion card -I/0-14/08- .

O2MODE=30

OR-Operation of all Posreg.

If one of the position registers 0...5 indicates high, the output is high, otherwise low.

O2MODE=31

Analog SW1 > O2TRIG

The output is high, if the analog input voltage at SW1 is lower than the threshold O2TRIG. The auxiliary variable O2TRIG is given in mV (with sign).

O2MODE=32

Analog SW1 < O2TRIG

The output is high, if the analog input voltage at SW1 is lower than the threshold O2TRIG. The auxiliary variable O2TRIG is given in mV (with sign).

O2MODE=33

Analog SW2 < O2TRIG

The output is high, if the analog input voltage at SW1 is higher than the threshold O2TRIG. The auxiliary variable O2TRIG is given in mV (with sign).

O2MODE=34

Analog SW2 > O2TRIG

The output is high, if the analog input voltage at SW2 is lower than the threshold O2TRIG. The auxiliary variable O2TRIG is given in mV (with sign).

O2MODE=35

Internal Enable

The state of the internal ENABLE signal is mirrored on the digital output. If the setiings are:
MBRAKE=0, STOPMODE=0 and ACTFAULT=0, the function is similar to O1MODE=21.
If one of the three variables is "1", the output changes to low, when the drives starts to dec to "0".
If OPMODE=21, the output is low, if the drive has stopped and has disabled the output stage.

O2MODE=36

Logical OR: DRVSTAT - O2TRIG

This function makes a OR operation between the Bit-variable DRVSTAT and a Bit mask given by O2TRIG. The result is present at output 2.

O2MODE=37

Logical AND: DRVSTAT - O2TRIG

This function makes a AND operation between the Bit-variable DRVSTAT and a Bit mask given by O2TRIG. The result is present at output 2.

O2MODE=38

Logical OR: TRJSTAT - O2TRIG

This function makes a OR operation between the Bit-variable TRJSTAT and a Bit mask given by O2TRIG. The result is present at output 2.

O2MODE=39

Logical AND: TRJSTAT - O2TRIG

This function makes a AND operation between the Bit-variable TRJSTAT and a Bit mask given by O2TRIG. The result is present at output 2.

O2MODE=40

Logical OR: POSRSTAT - O2TRIG

This function makes a OR operation between the Bit-variable POSRSTAT and a Bit mask given by O2TRIG. The result is present at output 2.

O2MODE=41

Logical AND: POSRSTAT - O2TRIG

This function makes a AND operation between the Bit-variable POSRSTAT and a Bit mask given by O2TRIG. The result is present at output 2.

O2MODE=42

 

This function enables a temperature warning.
If one of the three internal measured temperatures reaches the trip level, the digital output ist set to high. After the selected delay time given in O2TRIG the drive generates a error message and disables the output stage.

The delay time has the range 0...30000 msec and effects following temperatures:

Motor temperature TEMPM, threshold MAXTEMPM
Heatsink temperature TEMPH, Threshold MAXTEMPH
Ambient temperature TEMPE, threshold MAXTEMPE

Start Firmware 3.41

O2MODE=43

The sign of the actual velocity

OUTPUT2 = 1 V < -VEL0
OUTPUT2 = 0 V > -VEL0
This function is available starting firmware version 4.01.

O2MODE=44

Velocity In-Position (active high)

The output 2 is set, if the absolute of the difference between the internal velocity command and the actual velocity is smaller than O2TRIG. The size of the window (O2TRIG) is given in valid velocity units (VUNIT). (4.30)

O2MODE=45

Velocity In-Position (aktive low)

The output 2 is set, if the absolute of the difference between the internal velocity command and the actual velocity is bigger than O2TRIG. The size of the window (O2TRIG) is given in valid velocity units (VUNIT). (4.30)

O2MODE=46

Current in Window (low active)

The digital output 2 is set, if the absolute of the difference between current command and actual value is smaller than the window, defined by O1TRIG. The window is given in mA.

O2MODE=47

Current not in Window (low active)

The digital output 2 is set, if the absolute of the difference between current command and actual value is greater than the window, defined by O2TRIG. The window is given in mA.

O2MODE=48

Logical NOR: DRVSTAT - O2TRIG

This function makes a inverted OR operation between the Bit-variable DRVSTAT and a Bit mask given by O2TRIG. The result is present at output 2. (starting with 4.92)

O2MODE=49

Logical NAND: DRVSTAT -O2TRIG

This function makes a inverted AND operation between the Bit-variable DRVSTAT and a Bit mask given by O2TRIG. The result is present at output 2. (starting with 4.92)

O2MODE=50

Logical NOR: TRJSTAT - O2TRIG

This function makes a inverted OR operation between the Bit-variable TRJSTAT and a Bit mask given by O2TRIG. The result is present at output 2. (starting with 4.92)

O2MODE=51

Logical NAND: TRJSTAT - O2TRIG

This function makes a AND operation between the Bit-variable TRJSTAT and a Bit mask given by O2TRIG. The result is present at output 2. (starting with 4.92)