ASCII - Command IN5_20MODE    
Syntax Transmit INxMODE [Data]    
Syntax Receive IN5_20MODE <Data>   Available in  
Type Variable rw   MMI Yes
ASCII Format Integer8   CANBus Object Number
DIM -   PROFIBUS PNU
Range 0 .. 90   DPR (dec)
Default 0    
Opmode All   Data Type Bus/DPR Integer8
Drive State Disabled + Reset (Coldstart)   Weighting  
Start Firmware 1.0    
Configuration Yes   Last Change of this Object 2.10
Function Group digital I/O   EEPROM Yes
Short Description Function of digital inputs 5 ...20

Description

The commands IN5MODE ... IN20MODE are used to set the mode of the digital inputs INPUT5 .... INPUT20.

4 digital inputs are given by the standard ACP255 hardware. 16 additional digital inputs can be controlled by the firmware, so 20 digital inputs are availbale.

The digital I/O’s are the 24V inputs (hardware) and the software I/O’s (controlled by software : Fildbus, RS232, DPR-interface).

The possible combinations are:

without I/O-extensioncard

1. hardware
input basic unit: 4 (IN1 - IN4)

2. software
virtual inputs: 16 (IN5 - IN20)

with I/O-extensioncard

1. hardware
inputs basic unit: 4 (IN1 - IN4)
inputs extension card 14 (IN5 – IN18)

2. software
virtual inputs: 2 (IN19 - IN20)



All digital inputs can be set to several configurations.
The command INxMODE sets the used function. (x is the number of the used input). The auxiliary coefficient is set to the command INxTRIG
(x = 5, 6, ....20)
seeIN5_20TRIG

The input status can be monitored via command INx
(x = 5, 6, ....20)
see IN5...20 .

Following settings are not possible:

INxMODE =

NSTOP/PSTOP-Function (INxMODE=2,3,4,5,6,7) only for x=3,4 .
Macro-Interrupt (INxMODE=19) only for x=2
Latch-Function (INxMODE=26,44,45,46) only for x=1,2
ASCII-Buffer (INxMODE=30,33) only for x=1...6


The PNU numbers are selected like

IN5MODE PNU 1702 (dec) IND 17 (dec)
IN6MODE PNU 1705 (dec) IND 17 (dec)
IN7MODE PNU 1708 (dec) IND 17 (dec)
:
:
:

IN20MODE PNU 1747 (dec) IND 17 (dec)