Assignment of control and status bits for CNC based homing (P-AXIS-00387)

To execute cnc controlled homing with drive support two control and status bits are necessary each. Its can be used the real time control and status bits in the drive control and status word or alternatively bits in the signal status and signal control word.

Variable name

Type

Permissible range

Axis type

Dimension

cnc_homing_rt_bit_layout

UNS16

1 <cnc_homing_rt_bit_layout <16

T, R

----

The follwing table shows the assignment from the values of P-AXIS-00387 to the possible bit combinations.

Value

Process data

Bit number

Significance

Ident

1

Control word

Real time bit 1 (S-0-301)

Homing enable

S-0-407

 

Real time bit 2 (S-0-303)

Position setpoint referenced

S-0-404

Status word

Real time bit 1 (S-0-305)

Positionmarker pulse registered

S-0-408

 

Real time bit2 (S-0-307)

Actual value referenced

S-0-403

2

Signal control word

Bit 0 (S-0-27[0])

Homing enable

S-0-407

 

Bit 1 (S-0-27[1])

Position setpoint referenced

S-0-404

Signal status word

Bit 0 (S-0-26[0])

Position marker pulse registered

S-0-408

 

Bit 1 (S-0-26[1])

Actual value referenced

S-0-403

3

Signal control word

Bit 1 (S-0-27[1])

Homing enable

S-0-407

 

Bit 2 (S-0-27[2])

Position setpoint referenced

S-0-404

Signal status word

Bit 1 (S-0-26[1])

Position marker pulse registered

S-0-408

 

Bit 2 (S-0-26[2])

Actual value referenced

S-0-403

4

Signal control word

Bit 2 (S-0-27[2])

Homing enable

S-0-407

 

Bit 3 (S-0-27[3])

Position setpoint referenced

S-0-404

Signal status word

Bit 2 (S-0-26[2])

Position marker pulse registered

S-0-408

 

Bit 3 (S-0-26[3])

Actual value referenced

S-0-403

5

Signal control word

Bit 3 (S-0-27[3])

Homing enable

S-0-407

 

Bit 4 (S-0-27[4])

Position setpoint referenced

S-0-404

Signal status word

Bit 3 (S-0-26[3])

Position marker pulse registered

S-0-408

 

Bit 4 (S-0-26[4])

Actual value referenced

S-0-403

6

Signal control word

Bit 4 (S-0-27[4])

Homing enable

S-0-407

 

Bit 5 (S-0-27[5])

Position setpoint referenced

S-0-404

Signal status word

Bit 4 (S-0-26[4])

Position marker pulse registered

S-0-408

 

Bit 5 (S-0-26[5])

Actual value referenced

S-0-403

7

Signal control word

Bit 5 (S-0-27[5])

Homing enable

S-0-407

 

Bit 6 (S-0-27[6])

Position setpoint referenced

S-0-404

Signal status word

Bit 5 (S-0-26[5])

Position marker pulse registered

S-0-408

 

Bit 6 (S-0-26[6])

Actual value referenced

S-0-403

8

Signal control word

Bit 6 (S-0-27[6])

Homing enable

S-0-407

 

Bit 7 (S-0-27[7])

Position setpoint referenced

S-0-404

Signal status word

Bit 6 (S-0-26[6])

Position marker pulse registered

S-0-408

 

Bit 7 (S-0-26[7])

Actual value referenced

S-0-403

9

Signal control word

Bit 7 (S-0-27[7])

Homing enable

S-0-407

 

Bit 8 (S-0-27[8])

Position setpoint referenced

S-0-404

Signal status word

Bit 7 (S-0-26[7])

Position marker pulse registered

S-0-408

 

Bit 8 (S-0-26[8])

Actual value referenced

S-0-403

10

Signal control word

Bit 8 (S-0-27[8])

Homing enable

S-0-407

 

Bit 9 (S-0-27[9])

Position setpoint referenced

S-0-404

Signal status word

Bit 8 (S-0-26[8])

Position marker pulse registered

S-0-408

 

Bit 9 (S-0-26[9])

Actual value referenced

S-0-403

11

Signal control word

Bit 9 (S-0-27[9])

Homing enable

S-0-407

 

Bit 10 (S-0-27[10])

Position setpoint referenced

S-0-404

Signal status word

Bit 9 (S-0-26[9])

Position marker pulse registered

S-0-408

 

Bit 10 (S-0-26[10])

Actual value referenced

S-0-403

12

Signal control word

Bit 10 (S-0-27[10])

Homing enable

S-0-407

 

Bit 11 (S-0-27[11])

Position setpoint referenced

S-0-404

Signal status word

Bit 10 (S-0-26[10])

Position marker pulse registered

S-0-408

 

Bit 11 (S-0-26[11])

Actual value referenced

S-0-403

13

Signal control word

Bit 11 (S-0-27[11])

Homing enable

S-0-407

 

Bit 12 (S-0-27[1]2)

Position setpoint referenced

S-0-404

Signal status word

Bit 11 (S-0-26[11])

Position marker pulse registered

S-0-408

 

Bit 12 (S-0-26[1]2)

Actual value referenced

S-0-403

14

Signal control word

Bit 12 (S-0-27[12])

Homing enable

S-0-407

 

Bit 13 (S-0-27[13])

Position setpoint referenced

S-0-404

Signal status word

Bit 12 (S-0-26[12])

Position marker pulse registered

S-0-408

 

Bit 13 (S-0-26[13])

Actual value referenced

S-0-403

15

Signal control word

Bit 13 (S-0-27[13])

Homing enable

S-0-407

 

Bit 14 (S-0-27[1]4)

Position setpoint referenced

S-0-404

Signal status word

Bit 13 (S-0-26[13])

Position marker pulse registered

S-0-408

 

Bit 14 (S-0-26[14])

Actual value referenced

S-0-403

16

Signal control word

Bit 14 (S-0-27[14])

Homing enable

S-0-407

 

Bit 15 (S-0-27[15])

Position setpoint referenced

S-0-404

Signal status word

Bit 14 (S-0-26[14])

Position marker pulse registered

S-0-408

 

Bit 15 (S-0-26[15])

Actual value referenced

S-0-403

CAUTION

When the status and control bits are transferred in the signal status and control words, these must be configured in the cyclic process data, otherwise an error message with error id. 70295 will be output.