SWCNFG

ASCII - Command

SWCNFG

 

 

Syntax Transmit

SWCNFG [Data]

 

Syntax Receive

SWCNFG <Data>

Available in

 

Type

Variable rw

MMI

Yes

ASCII Format

Unsigned16

CANBus Object Number

3600 (hex)

DIM

-

PROFIBUS PNU

1856 (dec) IND = 0000xxxx (bin)

Range

0 .. 65536

DPR

256 (dec)

Default

0

 

Opmode

All

Data Type Bus/DPR

Unsigned16

Drive State

Disabled + Reset (Coldstart)

Weightning

 

Start Firmware

1.30

 

Configuration

Yes

Revision

1.3

Function Group

Position Controller

EEPROM

Yes

Short Description

Configuration of Position Registers 1 ... 4

Description

6 position registers (SWE0 ... SWE5) are available for monitoring functions, that can be configured as software limit-switches or cam contacts (position switches).

Registers SWE1 ... SWE4 can be configured with the help of the SWCNFG configuration parameter.

Registers SWE0 and SWE5 can be configured with the help of the SWCNFG2 parameter.
A corresponding cam register SWExN is assigned to each position register SWEx.

The cam registers are only used if the cam function is activated.

The SWCNFG variable can be considered as a bit-variable. The individual bits are interpreted as follows:

The cam function is activated with the help of the cam bits (bits 3/7/11/15 of SWCNFG and bits 3/7 of SWCNFG2).

If a cam bit is set, a cam signal is generated if the actual position lies between the positions SWEx and SWExN

(x = 0 ... 5). The polarity of the cam signal can be defined by the direction bit (bits 1/5/9/13 of SWCNFG and bits 1/5 of SWCNFG2).

Output of the position signal through a digital output.

The “Next-InPos” and “SWE0-signal” functions use the same output X11B.4, so they must not be used simultaneously. If position register SWE0 has been configured, then the “Next-InPos” function is inhibited through the I/O card. If necessary, this function can be diverted to a digital output on the motherboard (O1MODE=16 or O2MODE=16).

All position signals are recorded in a status register, regardless of the outputs via the digital outputs, and can be read out through the serial interface as well as through the CAN/PROFIBUS interface.