grafik.png

Use digital IOs at ctrlX DRIVE

Drives_Uwe
Community Moderator
Community Moderator

In the following we show to you how to correctly use IOs at ctrlX DRIVE.

Versions used

All the functions and screen shots are based on:

  • ctrlX DRIVE Engineering version 01V14
  • Runtime / Firmware version of drive AXS-V-0306

or

  • Runtime / Firmware version of drive AXS-V-0210

Prerequisites

A connection to the ctrlX DRIVE has been successfully established, the device is correctly wired and 24 V are successfully put on. As well the engineering tool ctrlX DRIVE Engineering has been started.

1. Standard configuration of inputs/outputs (IOs)
1.1. Single axis XG31 / Double axis XG31.1 and XG31.2

The default assignment is the same for all drive controllers, regardless of the hardware or firmware. 

Drives_Uwe_0-1647504981709.png

Fig. 1.: IOs from Axis 1 – XG31.1

A desired function is not automatically active by simply assigning parameters to the IOs. Often the function must be adapted to the special customer request in the respective menu.

1.2. Configuration of parameters for inputs

Drives_Uwe_1-1647504981714.png

Fig. 2.: XG31.1 – involved Parameters

P-0-0300 Digital inputs, assignment list

The parameter "P-0-0300" is an axis parameter, which exists once per drive address. "P-0-0300" is a list of parameter IDNs. With "P-0-0300" it is possible to set the parameter to which the corresponding input is assigned. Thus, the input bit at bit position 0 of the parameter "P-0-0307" is assigned to the first parameter of the list "P-0-0300". Parameter "P-0-0301" decides to which bit the assignment takes place. IDNs have to be entered in P-0-0300.

P-0-0301 Digital inputs, bit numbers

This parameter is used to configure the digital inputs/outputs of the control section. "P-0-0301" is an axis parameter and it exists once per drive address. "P-0-0301" determines to which bit of the parameter specified in "P-0-0300, Digital inputs, assignment list", assignment list the level of the input is transmitted. "P-0-0301" is a bit word; in this case, too, bit 0 correlates with the first entry in the list "P-0-0300".

P-0-0307 Digital inputs, input image sub-device

"P-0-0307" is an axis parameter and it exists once per drive address. "P-0-0307" is a bit word. Bit 0 correlates with the first element in the list "P-0-0300", etc. This parameter shows the states of the external inputs at the device. "P-0-0307" is used as a display and cannot be written.

S-0-0399 IDN-list of configurable data in signal control word

This parameter contains the IDNs of those parameters that can be entered in "S-0-0027, Configuration list for signal control word" or "S-0-1050.x.20, sercos Connection: IDN allocation of real-time bit" and "P-0-0300, Digital inputs, assignment list".

1.3. Configuration parameters for the output

Drives_Uwe_2-1647504981719.png

Fig. 3.: XG31.1 - output parameter

P-0-0310 Digital outputs, assignment list

The parameter "P-0-0310" is an axis parameter and it exists once per drive address. "P-0-0310" is a list of parameter IDNs. With "P-0-0310", parameterizes which parameter (which bit, see P-0-0311) is transmitted to which output bit (P-0-0313). The IDN of the parameter to be output is entered in "P-0-0310".

P-0-0311 Digital outputs, bit numbers

"P-0-0311" is an axis parameter and exists in the controller once per drive address. "P-0-0311" is a list of bit words, with the input range 0...31. This corresponds to bit 0 to bit 31. The first element of this list relates to the first element of the parameter list "P-0-0310". The selected bit of the parameter selected in "P-0-0310" is transferred to "P-0-0307".

P-0-0313 Digital outputs, outputs image sub-device

"P-0-0313" is an axis parameter and it exists once per drive address. "P-0-0313" is a bit word. Bit 0 relates to the topmost parameter in "P-0-0310" and the bit selection in "P-0-0311", and shows the status of this bit. Parameter "P-0-0313" is a display parameter indicating the status of a specific bit within an axis.

S-0-0398 IDN-list of configurable data in signal status word

This parameter contains the IDNs of those parameters that can be entered (configured) in "S-0-0026, Configuration list signal status word" or

"S-0-1050.x.20, Connection: IDN allocation of real-time bits" and "P-0-0310, Digital outputs, assignment list".

 

See also Functional Description " Digital inputs/outputs".

 

1.4. Activation of the standard I/Os Configuration

S-0-0401 Probe 1 and S-0-0402 Probe 2

See Functional Description " Probe function".

Drives_Uwe_3-1647504981723.png

Fig. 4.: Probe 1 and 2

E-Stop function

Activate the function!

Drives_Uwe_4-1647504981727.png

Fig. 5.: E-Stop inactive

 

Activate and configure the function E-Stop

Drives_Uwe_5-1647504981728.png

Fig. 6.: E-Stop active

Travel range limit switch + and switch -

Activate the function!

Drives_Uwe_6-1647504981733.png

Fig. 7.: Travel range limit switches

2. Application examples
2.1. The control reads directly an input from the drive

A sensor connected to XG31.1 PIN 1 can be read in via a controller (e.g. EtherCAT or Profinet) as follows.

Drives_Uwe_7-1647504981738.png

Fig. 8.: Sensor on XG31.1 / Parameter

With the current firmware AXS-V-0306 it is not possible to read the parameter P-0-0307 directly via the controller.

To read the sensor at XG31.1, a detour must be made via the parameters S-0-0362 “Data container A: List index …” and S-0-0144 “Signal status word”.

Assign the parameter S-0-0362 “Data container A: List index …” Bit 0 like shown in here.

Drives_Uwe_8-1647504981747.png

Fig. 9.: Sensor on XG31.1 / P-0-0362

The parameter P-0-0362 bit 0 is configured to S-0-0144 “Signal status word” bit 0. 

Drives_Uwe_9-1647504981754.png

Fig. 10.: Sensor on XG31.1 / S-0-0144

The information from the sensor at XG31.1 PIN 2 can be read via parameter S-0-0144 in cyclic data traffic.

Drives_Uwe_10-1647504981759.png

Fig. 11.: Sensor on XG31.1 / EtherCAT: read S-0-0144

With the firmware ASX03V08 (May 2022) it is possible to configure the parameter P-0-0307 Digital inputs, input image sub-device in parameter S-0-0144 Signal-Status-Word directly.

 

2.2. The control directly describes an output at the drive

On XG31.1 PIN 8 an actuator can be connected, which is activated directly by an external controller (e.g. over EtherCAT or PROFINET).

Example: Commanding via signal control word S-0-0145 in cyclic communication

Drives_Uwe_11-1647504981767.png

Fig. 12.: FKM EtherCAT / MDT

In the configuration of the signal control word S-0-0145 no assignment is necessary!

Drives_Uwe_12-1647504981773.png

Fig. 13.: S-0-0145 Bit 15 activated

 S-0-0145  “Signal control word” must be parameterized on the IO XG31.1 output. 

Drives_Uwe_13-1647504981777.png

Fig. 14.: XG31.1 output is ON

 

The controller sets Bit 15 of the “Signal control word” S-0-0145 and activates directly the output XG31.1 at ctrlX DRIVE 

Attention: XG31.x Pin 8 is a Digital input/output. If the output is activated, the input is also active. Max load at output: 500 mA

 

2.3. Power supply - switch on/off - XG31 inputs

See separate document in the forum:

Suitably Power ON/OFF ctrlX DRIVE

Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist