ASCII - Command IN5_22MODE    
Syntax Transmit INxMODE [Data]    
Syntax Receive IN5_22MODE <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.11
Function Group digital I/O   EEPROM Yes
Short Description Function of digital inputs 5 ...22

Description

The commands IN5MODE ... IN22MODE are used to set the mode of the digital inputs INPUT5 .... INPUT22.

4 digital inputs are given by the standard S300/S700 hardware. 18 additional digital inputs can be controlled by the firmware, so 22 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: 18 (IN5 - IN22)

with I/O-extensioncard

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

2. software
virtual inputs: 4 (IN19 - IN22)



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 .
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)
IN8MODE PNU 1711 (dec) IND 17 (dec)
IN9MODE PNU 1714 (dec) IND 17 (dec)
IN10MODE PNU 1717 (dec) IND 17 (dec)
IN11MODE PNU 1720 (dec) IND 17 (dec)
IN12MODE PNU 1723 (dec) IND 17 (dec)
IN13MODE PNU 1726 (dec) IND 17 (dec)
IN14MODE PNU 1729 (dec) IND 17 (dec)
IN15MODE PNU 1732 (dec) IND 17 (dec)
IN16MODE PNU 1735 (dec) IND 17 (dec)
IN17MODE PNU 1738 (dec) IND 17 (dec)
IN18MODE PNU 1741 (dec) IND 17 (dec)
IN19MODE PNU 1744 (dec) IND 17 (dec)
IN20MODE PNU 1747 (dec) IND 17 (dec)
IN21MODE PNU 1827 (dec) IND 17 (dec)
IN22MODE PNU 1830 (dec) IND 17 (dec)