ASCII - Command TRJSTAT    
Syntax Transmit TRJSTAT    
Syntax Receive TRJSTAT <Data>   Available in  
Type Variable ro   MMI Yes
ASCII Format Integer32   CANBus Object Number 3613 (hex)
DIM -   PROFIBUS PNU 1875 (dec) IND = 1 (dec)
Range 0 .. 0xFFFFFFFF   DPR 275 (dec)
Default -    
Opmode All   Data Type Bus/DPR Integer32
Drive State -   Weighting  
Start Firmware 2.03    
Configuration No   Last Change of this Object 1.5
Function Group Drive Status   EEPROM No
Short Description Status2 Information

Description

The TRJSTAT command returns the internal status information in hexadecimal format
The status information is primarily used for internal functions. Only the bits that are marked by an “*” can be used for external functions (control system).
Bits 16 ... 20 are also mirrored in the DRVSTAT status variable.
 
Bit Significance Meaning
 
0 0x00000001 =1 the output INPOS2 is updated every msec
 
1 0x00000002 =1 At the end of the actual motion task, the drive outputs no IN-POSITION signal (a motion task sequence was activated.
 
2* 0x00000004 =1 Toggle Bit "Motion task finished".
Is toggled at the end of a motion task.
The toggling of the Bit is done, if the target position is reached and the profile generator is switched off. This is different to the functionality of the IN-POSITION Bit.
When the drive is switched on, this Bit is set to low. (Firmware 3.41)
 
3...15 Reserved
 
16* 0x00010000 =1 Motion task active (position control)
Is set, if a motion task is started( motion task, Jog, Homing). Is cleared, if a motion task has finished or is stopped (STOP).
 
17* 0x00020000 =1 Reference point is set, if the homing move has successfully finished or if the feedback device is a multiturn encoder. Is cleared, when a homing move is started.

see also bit no. 21
 
18* 0x00040000 =1 Home position
Is high, if the homing switch is active, otherwise low.
 
19* 0x00080000 =1 In-Position
Is set, if the difference between the actual position and the target position is smaller than PEINPOS.
Is cleared, if the distance is greater.
 
20* 0x00100000 =1 Position latch activated (positive latch)
Is set, if a positive edge at Latch input 2 (configured by IN2MODE=26) was detected.
Is cleared, if the position is read by LATCH16 / LATCH32.
 
21* 0x00200000 =1 Homing move is active
Is set, if a Homing move was started.
Is cleared, if the homing move is successful or stopped (STOP).
 
22* 0x00400000 =1 Jog move active
Is set, if a Jog move is started.
Is cleared, if the Jog move is stopped.
 
23 0x00800000 =1 Position latch activated (negative latch)
Is set, if a negative edge at Latch input 2 (configured by IN2MODE=26) was detected.
Is cleared, if the position is read by LATCH16N / LATCH32N.
 
24 0x01000000 =1 Emergency stop active
Is set, if an emergency stop has occurred (DEC-phase after an error, active hardware limit switches, Input configured as Emergency stop with level low.
 
25 0x02000000 =1 position latch at input1 (positive transition), if a rising edge at input 1 is detected, when input1 is defined as latch input (IN1MODE=26).
Is reset, if the latched position is read by LATCHX16 or LATCHX32. (4.61 Firmware)
 
26 0x04000000 =1 position latch at input1 (negative transition), if a falling edge at input 1 is detected, when input1 is defined as latch input (IN1MODE=26).
Is reset, if the latched position is read by LATCHX16N or LATCHX32N. (4.61 Firmware)
 
27 This bit shows the end of a homing process
(FW >= 4.93)

= 0
When starting a motion task or a reference movement


= 1
At the end of a homung procedure.
 
28 =1 REFDONE THe Bit is set if the homing is finished (reference position found and speed = 0.
 
29 Reserved
 
30 Reserved
 
31 Reserved