S20 Digital Input and Output Module

15
1 Description 2 2 Ordering data 2 3 Technical data 2 4 Ambient conditions 4 5 Standards 5 5.1 Standards used 5 5.2 CE marking, declaration of conformity 5 6 Maximum energy consumption of the outputs when switching off inductive loads 5 7 Internal schematic diagram 6 8 Clamping point assignment 6 9 Connection examples 7 10 Installation notes 7 11 Local status displays and diagnostic displays 7 12 Process data 8 13 Parameters, diagnostics and information (PDI) 9 14 Standard objects 9 14.1 Objects for identification (device type plate) 9 14.2 Object for multilingualism 10 14.3 Objects for diagnostics 10 14.4 Fault code 11 14.5 Objects for process data management 12 14.5.1 PDIN/PDOUT 12 14.5.2 Input process data (0025 hex : PDIN) 12 14.5.3 Output process data (0026 hex : PDOUT) 12 15 Application objects 12 15.1 Overview 12 15.2 Object "Cycle Time" 12 15.3 Object "Sample Rate" 12 15.4 Object "Output enable channel 2" 12 16 Functional description 13 16.1. Relation between the PLC cycle, synchronization point in time and process data 13 16.2 Process data 14 16.3 Module configuration 14 16.4 Oversampling accuracy 14 17 Device description files 14 18 Supported systems 15 S20 Digital Input and Output Module 2 Fast Inputs, 2 Fast Outputs Oversampling Functionality Data Sheet R911399345 Edition 01 DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Transcript of S20 Digital Input and Output Module

Page 1: S20 Digital Input and Output Module

1 Description 22 Ordering data 23 Technical data 24 Ambient conditions 45 Standards 55.1 Standards used 55.2 CE marking, declaration of conformity 56 Maximum energy consumption of the outputs whenswitching off inductive loads 57 Internal schematic diagram 68 Clamping point assignment 69 Connection examples 710 Installation notes 711 Local status displays and diagnostic displays 712 Process data 813 Parameters, diagnostics and information (PDI) 914 Standard objects 914.1 Objects for identification (device type plate) 914.2 Object for multilingualism 1014.3 Objects for diagnostics 1014.4 Fault code 1114.5 Objects for process data management 1214.5.1 PDIN/PDOUT 1214.5.2 Input process data (0025hex: PDIN) 1214.5.3 Output process data (0026hex: PDOUT) 1215 Application objects 1215.1 Overview 1215.2 Object "Cycle Time" 1215.3 Object "Sample Rate" 1215.4 Object "Output enable channel 2" 1216 Functional description 1316.1. Relation between the PLC cycle, synchronizationpoint in time and process data 1316.2 Process data 1416.3 Module configuration 1416.4 Oversampling accuracy 1417 Device description files 1418 Supported systems 15

S20 Digital Input and Output Module2 Fast Inputs, 2 Fast OutputsOversampling Functionality

Data SheetR911399345Edition 01

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 2: S20 Digital Input and Output Module

1 Description

Front view

The module is designed to be used in an IndraControl S20station. The module is used to detect and output digital sig-nals. The digital signals can be output and read in exactlyusing an oversampling of up to 512 times.

Characteristics of inputs▶ 2 digital inputs acc. to EN 61131-2 type 1 and type 3▶ 24 V DC, 2,4 mA▶ Max. input frequency: 200 kHz▶ Up to 512-times oversampling▶ High-speed inputs▶ Bus-synchronous operation of the inputs

Characteristics of outputs▶ 2 digital outputs acc. to EN 61131-2 type 1 and type 3▶ 24 V DC, Push-Pull stage with 500 mA▶ Channels can be interconnected▶ Short circuit-protected▶ Diagnostics at overload▶ High-speed outputs▶ Up to 512-times oversampling▶ Bus-synchronous operation of the outputs

This data sheet is only valid if used with the ap-plication description "IndraControl S20: Systemand Installation", part no. R911335988.

2 Ordering data

Module Type Part no.IndraControlS20 Digital Input andOutput Module2 fast digital outputs2 fast digital outputs

S20-DIDO-2/1-OVS R911174580

Accessories Part no.IndraControlS20 Bus Base Module

S20-BS-S R911173203

Documentation Part no.Application DescriptionIndraControl S20: System andInstallation

R911335988

Application DescriptionRexroth IndraControl S20:Error messages

R911344826

3 Technical data

Dimensions and weightWidth 35 mmHeight 126 mmDepth 54 mm

The depth applies when using one mountingrail TH 35-7,5 (acc. to EN 60715)

2 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 3: S20 Digital Input and Output Module

Weight Approx. 100 gLogic supplyLogic voltage UB 5 V DC (via bus base module)

Current consumptionfrom UBus

50 mA max.

Power consumption at UBUS 250 mW max.

Voltage supply and current consumption UIO

The following specifications include the EN 61131-2 valuesFeeding the peripheral supply 24 V DC PELV/SELV (safety extra-low voltage)Maximum voltage range al-lowed

18 V DC to 31.2 V DC (incl. all tolerances andripple)

Current consumption from UIO Total current consumption 1,025 mA:▶ Intrinsic current consumption, 25 mA

max.▶ Outputs 2x 500 mA max.

Power consumption at UIO Typ. 0.6 W (without actuators), 24.6 W max.(thereof, 1.2 W of internal losses)

Reverse voltage protection ofthe supply voltage

Via diode

Fuse protection Internal protective fuse, 2.5 A slowTransient protection Yes, via suppressor diodesElectrical isolation and isolation of the voltage ranges5 V supply (logic)/24 V supply(periphery)

1,435 V DC, 1 min.

5 V supply (logic) to thefunctional earth

1,435 V DC, 1 min.

24 V supply (periphery) to thefunctional earth

1,435 V DC, 1 min.

NOTICEElectronic damage due to polarity reversal or due to a nomi-nal current that is too lowThe power supply unit has to be able to deliver the quadru-ple nominal current of the protective fuse to ensure thatthe fuse reliably triggers in case of an error.

The module runs only bus-synchronously if thecycle times are < 5 ms.

Digital inputsNumber of inputs 2Connection method Push-In technologyInput description EN 61131-2 types 1 and 3Nominal input voltage 24 V DCNominal input current 2.4 mA

Digital inputsCurrent characteristics Linear up to the nominal current, then con-

stantly approx. 2.4 mAInput voltage range "0" signal -3 V DC ... 7 V DCInput voltage range "1" signal 10 V DC ... 40 V DCInput delay < 1 μsReverse voltage protection ofthe inputs

Reverse voltage-protected up to 45 V

Digital outputsNumber of outputs 2Switching type Push-Pull stagesTypical values for the outputsat multiple different loads

Rising time (Trise):▶ Without load: 400 ns▶ 100 mA: 400 ns▶ 500 mA: 410 ns▶ Capacitive load (100 nF): 424 ns▶ Capacitive load (1 µF): 4400 µs▶ Inductive load (100 mH; 48 Ω): 410 nsFalling time (Tfall):▶ Without load: 450 ns▶ 100 mA: 450 ns▶ 500 mA: 850 ns▶ Capacitive load (100 nF): 450 ns▶ Capacitive load (1 µF): 4000 µs▶ Inductive load (100 mH; 48 Ω): 1010 ns

Connection method Push-In technologyNominal output voltage 24 V DCMaximum output current perchannel

▶ 500 mA max. up to 60°C

Nominal load, ohmic 12 W max. (48 Ω; at nominal voltage)Nominal load, inductive 12 VA max. (1.2 H; 48 Ω; for nominal voltage)Nominal load of lamps 12 W max. (at nominal load)Signal delay < 1 μs

Note: The module runs only synchronously ifthe cycle times are < 5 ms.

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 3

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 4: S20 Digital Input and Output Module

Digital outputsSwitching frequency ▶ 100,000 per second max. (at ohmic

nominal load)▶ 1 per second max. (at inductive nominal

load)▶ Max. 16 per second (at nominal load of

lamps)Min. load AnyEnergy consumption Refer to the diagram "Maximum energy con-

sumption of the outputs when switching offinductive loads" on page 5

Limitation of the voltage in-duced on circuit interruption

-20 V

Output voltage when switchedoff

1 V max.

Output current when switchedoff

Max. 5 μA

Overload response Switch-off with automatic restart of the out-put (pulse mode)

Reverse voltage protection The outputs are not reverse voltage-protectedOvercurrent shutdown The pulse mode starts from 1.4 A per channelShort circuit protection,overload protection of the out-puts

Electronic

Error messages to the superordinate control system or computer systemPeripheral supply failure Message sent via diagnostic channelIncorrect configuration of the userparameters

Message sent via diagnostic channel

Short circuit, overload of digitalOutputs

Message sent via diagnostic channel

4 Ambient conditions

Ambient conditionsAmbient temperature(Operation)

Up to 2000 m:-25 °C to +60 °C2,000 m to 3,000 m:-25 °C to +55 °C

Ambient temperature(Storage, transport)

-40 °C to 85 °C

Permitted air humidity(Operation, storage andtransport)

5 % to 95 % (acc. to DIN EN 61131-2)No condensation

Operating altitude Up to 3,000 m above sea levelDegree of protection IP20 acc. to DIN EN 60 529Protection class III, DIN EN 61010-2-201

Ambient conditionsOvervoltage category 2Contamination level 2, no condensation allowedMechanical testsVibration resistance acc. toDIN EN 60068-2-6

Oscillations, sinusoidal in all three axes5 Hz - 9 Hz with 3.5 mm amplitude9 Hz -150 Hz with 5 g peak acceleration

Shock test acc. toDIN EN 60068-2-27

Shock stress: Shock resistance in all three ax-es11 ms semi-sinusoidal 30 g

Broadband noise acc. toDIN EN 60068-2-64

5-20-150 Hz with 0.572 g, 5 h per axis

Electrostatic discharge (ESD)DIN EN 61000-4-2

Criterion B, 4 kV contact discharge, 8 kV airdischarge

NOTICEDefective product due to gases jeopardizing functionsDue to the risk of corrosion, avoid sulphurous gases (e.g.sulphur dioxide (SO2) and hydrogen suphide (H2S)). Theproduct is not resistant against these gases.

NOTICEFailure of the product due to contaminated air▶ The ambient air must not contain acids, alkaline solu-

tions, corrosive agents, salts, metal vapors and otherelectrically conductive contaminants in high concentra-tions

▶ The devices to be installed into the housing and installa-tion compartments must at least comply with the de-gree of protection IP 54 according to DIN EN 60529.

▶ The device shall be provided in a suitable fire enclosurein the end-use application.

NOTICEComponent failure due to overheatingTo avoid overheating and a trouble-free operation of thecontrol, ambient air has to circulate. Also refer to the chap-ter "Installation notes".

4 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 5: S20 Digital Input and Output Module

This is a product that corresponds to the limitvalues of the emitted interference of class A (in-dustrial environments), but not of class B (resi-dential area and small enterprises).When using the product in residential areas orsmall enterprises, the operator has to take ac-tions to prevent radio interferences (also referto DIN EN 55022).

5 StandardsThis product has been developed according to the currentGerman edition of the standards at the time of product de-velopment.

5.1 Standards used

Standard Description Edition

DIN EN 60204-1 Electrical equipment of machines 2007

DIN EN 61131-2 Programmable logic controllersEquipment and test requirements

2008

DIN EN 60529 Degrees of protection (including housings andinstallation compartments)

2014

DIN EN61010-2-201

Safety requirements for electrical equipment formeasurement, control and laboratory use

2014

UL 61010-2-201 Safety requirements for electrical equipment formeasurement, control and laboratory use

2014

5.2 CE marking, declaration of conformity

The electronic product described in the present data sheetcomplies with the requirements and the target of the fol-lowing EU directive and with the following harmonized Eu-ropean standards:EMC directive 2014/30/EUThe electronic product described in the present data sheetis intended for use in industrial environments and complywith the following requirements:

Standard Description Edition

DIN EN 61000-6-4 Electromagnetic compatibility (EMC) Septem-ber 2011

Standard Description Edition

Part 6-4: Generic standards – Emissionstandard for industrial environments

DIN EN 61000-6-2 Electromagnetic compatibility (EMC)Part 6-2: Generic standards – Immunity forindustrial environments

March2006

Loss of CE conformity due to modifications atthe deviceCE marking applies only to the device upon de-livery. After modifying the device, verify the CEconformity.

6 Maximum energy consumption of the outputswhen switching off inductive loads

NOTICEElectronic damages due to high negative voltagesWhen using a free-wheeling circuit, limit the free-wheelingvoltage to up to -20 V! If the negative voltage is higher, theexternal free-wheeling circuit has no function.

0,1 0,2 0,5 0,6 0,7 0,8 0,9 1,0 1,1 1,2 1,3 1,4 1,5 1,6 1,7 1,8 1,9 2,0 2,1 2,2 2,3 2,40,3 0,40

0,050,1

0,150,20,250,30,350,4

0

1 = 0,5 A2 = 0,4 A3 = 0,3 A4 = 0,2 A5 = 0,1 A

Inductance[H]

Ene

rgy

com

sum

ptio

n[J] only with external free-wheeling wiring

1 2

3

45

Maximum energy consumption of the outputs when switching off in-

ductive loads

The specifications in the diagram refer to a maximumswitching frequency of 1 Hz.The diagram shows the energy that may be fed back maxi-mally to the outputs per switch-off when switching off aninductive load without external free-wheeling circuit.The current specification refers to the ohmic DC portion ofthe inductive load.

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 5

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 6: S20 Digital Input and Output Module

7 Internal schematic diagram

a2

a1 b1

b2

UI E2D E1UI E2D E1

10 1100 01

12 1302 03

00 01

10 11

02 03

12 13

µC

In1In2

Output circuit

Input circuit

Overcur. protection

Supply voltage

GND

OutOut1Out2

Out1 Out2

In1 In2

UBus

Local bus

Internal wiring of the clamping points

Legend:

µC Micro controller

Field effect transistor

Optocoupler

LED

Electrically isolated areas

Input circuit Input circuitry

Output circuit Output circuitry

Overcurrentprotection

Overcurrent monitoring

8 Clamping point assignment

a1 b1 01 02 0300

a2 b2 11 12 1310

2 3 41

00 GND10 FE01 GND11 FE02 DO112 DI103 DO213 DI2

Clampingpoint

Color Assignment Description

Feeding the supply voltage UIO

a1, a2 Red 24 V DC IN (UIO) Supply of inputs and outputs

b1, b2 Blue 24 V DC IN GND Reference potential against UIO

(internally bridged)Reference potentials

6 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 7: S20 Digital Input and Output Module

Clampingpoint

Color Assignment Description

00, 01 Blue 24 V GND Reference potential against UIO

(internally bridged)10, 11 Green FE Functional earthInputs12, 13 Orange In1, In2 Digital inputs 1, 2Outputs02, 03 Orange Out1, Out2 Digital outputs 1,. 2

9 Connection examples

Out1

+24 V

+24 V

1

a2

a1 b1

b2

UI E2D E1UI E2D E1

10 1100 01

12 1302 03

00 01

10 11

02 03

12 13

In12

In2

Out2

① 1-wire technique with output② 1-wire technique with inputTypical connection of sensors and actuators when using external po-

tential bars

Ensure that GND of the actuators and GND forUIO have the same potential!

10 Installation notes

The module may only be used in synchronousmode.

▶ Generally, the following applies to the potential equali-zation in automation systems:– Shielding connection for S20 modules:

Bosch Rexroth recommends the IndraControl S20shielding connection set "S20-SHIELD-SET" for S20modules to connect the shielding, part no.R911173030.

– For more information on the shielding concept, referto the application description of the system

"IndraControl S20: System and installation" partnumber R911335988.

▶ The cable length of the digital inputs and outputs maynot exceed 30 m.

▶ Do not route cables parallel to motor cables or otherstrong interference sources to avoid coupling of interfer-ences.

▶ The LED displays may not be hidden.▶ Use strain reliefs for all cables.▶ Keep the maximum distance possible from interference

sources.▶ Provide the following minimum distances for sufficient

cooling. In case of a several line design, the supply airhas to be measured under each line and its limit valuehas to be observed. For information on ambient temper-atures, refer to "4 Ambient conditions" on page 4.

▶ The installation position is the wall mounting on a hori-zontal mounting rail.

▶ Additionally, provide sufficient distance for mounting,demounting, plugs and cables.

▶ Use only cables approved for temperatures of at least+60°C. In case of ambient temperatures above +55 C,use cables approved for temperatures of at least +75°C.

▶ For more information on mounting, demounting andconnecting lines, refer to the application description"IndraControl S20: System and Installation", part no.R911335988.

Explaining the signal alert symbol on the device

krax

If this symbol is on your device, you have to ob-serve the documentation on the device. The re-spective documentation informs on the type ofhazard as well as the steps required to avoidthis hazard.

11 Local status displays and diagnostic displays

UI E2D E1UI E2D E1

10 1100 01

12 1302 03

Local status displays and diagnostic displays

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 7

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 8: S20 Digital Input and Output Module

Name LED color Description LED state DescriptionD Red, orange,

greenDiagnostics of the local bus communicationPower down Off Devices in (power) resetNot connected, reset Flashing red Device is operating, but no connection to the device in frontReset Red Application reset. Device is operating, but no connection yet to

the device in front. Application in resetReady Orange Device is operating and there is a connection to the device in

front. The device has not yet detected any valid cycle after“Power on”

Connected Orange flashingValid data cycles are detected. However, the device is not (yet)part of the current configuration

Device application not ready Green and yel-low alternating

Valid data cycles are detected.The master application sets the user data to valid. However,the slave application did not set the user data to valid or it can-not output the user data (e.g. periphery or configuration fault)

Run Green Valid data cycles are detected. All data is validUI Green Voltage monitoring Green The module supply UIO is present

Orange At least one 24 V DC US group is overloadedOff The module supply UIO is not present

Digital inputsInputs0 ... 2Clampingpoints12, 13

Yellow Input status Yellow The input is switched to “High”Off The input is switched to “Low”

Digital outputsOutputs1... 2Clampingpoints02, 03

Yellow, red Output status Yellow The output is switched to “High”Red The output is switched to “High” and it is overloadedOff The output is switched to “Low”

For more information on the local diagnosticdisplay and the status display, refer to the doc-

umentation "IndraControl S20: System and in-stallation" part number R911335988.

12 Process data

Output process data

Byte 0 ... 31 32 ... 63

Bit 0 1 2 3 4 5 6 7 ... ... 0 1 2 3 4 5 6 7 ... ...

Channel 1 1 or 2

Clamping point 02 02 or 03

8 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 9: S20 Digital Input and Output Module

Input process data

Byte 0 .. 31 32 .. 63

Bit 0 1 2 3 4 5 6 7 ... ... 0 1 2 3 4 5 6 7 ... ...

Channel 1 1 or 2

Clamping point 12 12 or 13

13 Parameters, diagnostics and information(PDI)Parameter data and diagnostic data as well as other infor-mation is transferred via the PDI channel of theIndraControl S20 station.In IndraWorks, these parameters are displayed in the con-figurator.The common standard objects and vendor-specific applica-tion objects created in the module are described in the fol-lowing chapters.Applies to all tables:For more information on the object types and data types,refer to the application description of the system"IndraControl S20: System and installation", part numberR911335988.

Abbreviation DescriptionA Number of elements

Abbreviation DescriptionL Length of the element in bytesR ReadW Write

Each "visible string" is completed with a nullterminator (00hex). Thus, the length of an ele-ment of type "Visible string" is one byte greaterthan the number of user data.

For more information on the PDI and on the ob-jects, refer to the documentation "IndraControlS20: System and installation", part numberR911335988.

14 Standard objects

14.1 Objects for identification (device type plate)

Index(hex)

Object name Objecttype

Data type A L Rights Description Content

Vendor

0001 VendorName Var Visible string 1 17 R Vendor name Bosch Rexroth AG

0002 VendorID Var Visible string 1 7 R Vendor ID 006034

0012 VendorURL Var Visible string 1 28 R Vendor URL http://www.boschrexroth.com

Module - General

0004 DeviceFamily Var Visible string 1 21 R Device family I/O digital IN/OUT

0006 ProductFamily Var Visible string 1 17 R Product family IndraControl S20

000E CommProfile Var Visible string 1 4 R Communication profile 633

000F DeviceProfile Var Visible string 1 5 R Device profile 0010

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 9

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 10: S20 Digital Input and Output Module

Index(hex)

Object name Objecttype

Data type A L Rights Description Content

0011 ProfileVersion Record Visible string 2 11;20 R Profile version 2011-12-07; Basic profile V2.0

003A VersionCount Array Unsigned 16 4 4×2 R Version counter E.g. 0007 0001 0000 0000hex

Module - Special

0005 Capabilities Array Visible string 1 16 R Properties SyncI_0, SyncO_0

0007 ProductName Var Visible string 1 17 R Product name S20-DIDO-2/1-OVS

0008 SerialNo Var Visible string 1 11 R Serial number xx xx xx xx xx xx xx x(e.g. 7260201123456BC)

0009 ProductText Var Visible string 1 49 R Product text 2 digital input and output oversamplingchannels

000A OrderNumber Var Visible string 1 11 R Ordering number R911174580

000B HardwareVersion Record Visible string 2 11; 4 R Hardware-Version E.g. 2018-12-17;AA0

000C FirmwareVersion Record Visible string 2 11;10 R Firmware version E.g. 2019-04-07;V8.00

000D PChVersion Record Visible string 2 11; 6 R Parameter channel version E.g. 2016-12-01;PDI V1.10

0037 DeviceType Var Octet string 1 8 R Module identification 08 C4 00 40 01 00 00 E0hex

Device use

0014 Location Var Visible string 1 58 R/W Mounting location Can be filled in by the user

0015 EquipmentIdent Var Visible string 1 58 R/W Equipment ID Can be filled in by the user

0016 ApplDeviceAddr Var Unsigned 16 1 2 R/W Application-specificdevice address

Can be filled in by the user

14.2 Object for multilingualism

Index (hex) Object name Objecttype

Data type A L Rights Description Content

0017 Language Record Visible string 2 6; 8 R Language en-us; English

14.3 Objects for diagnostics

Index (hex) Object name Objecttype

Data type A L Rights Assignment/content

0018 DiagState Record 6 2; 1; 1; 2; 1; 1 R For the diagnostic state, refer to the following

Diagnostic state (0018hex: DiagState) This object is used for the structured message of an error.

10 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 11: S20 Digital Input and Output Module

0018hex: DiagState (Read)

SubIndex Data type Length (in bytes) Description Content

0 Record 8 Diagnostic state Complete diagnostic information

1 Unsigned 16 2 Fault number 0 ... 65535dec

2 Unsigned 8 1 Priority 00hex No fault

01hex Error

02hex Warning

81hex Resolved error

82hex Resolved warning

3 Unsigned 8 1 Channel/group/module 00hex No fault

FFhex Entire device

4 Unsigned 16 2 Fault code See the following table

5 Unsigned 8 1 Additional information 00hex

6 Visible string 1 Text 00hex

The message with either the priority 81hex or 82hex is a unique inter-nal message to the bus coupler transferred from the bus coupler tothe error mechanisms of the superimposed system.After recovering the error, the error is reset automatically.

14.4 Fault code

Fault code Fault Priority Group LED "D" LED "UI" LED "01" LED "02"

0000hex No fault 00hex 00hex Green Green - -

3422hex Peripheral supply failure 01hex FFhex Green/red flashing Off - -

2344hex Overloaded outputs 02hex FFhex - - Red Red

6320hex Improper configuration 01hex FFhex Green/red flashing Green - -

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 11

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 12: S20 Digital Input and Output Module

14.5 Objects for process data management

14.5.1 PDIN/PDOUT

Index(hex)

Objectname

Objecttype

Datatype

A L Rights Assignment,content

0025 PDIN Var Octetstring

1 OVS64

R Input processdata

0026 PDOUT Var Octetstring

1 OVS64

R Output proc-ess data

14.5.2 Input process data (0025hex: PDIN)Reading the input process data of the module.The structure corresponds to the representation in thechapter "Process data".

0025hex: PDIN (Read)

SubIndex Data type Length(in bytes)

Description

0 Octet string OVS 64 Input process data

14.5.3 Output process data (0026hex: PDOUT)Reading the output process data of the module.The structure corresponds to the representation in thechapter "Process data".

0026hex: PDOUT (Read)

SubIndex Data type Length(in bytes)

Description

0 Octet string OVS 64 Output process data

15 Application objects

15.1 Overview

Object number(hex)

Object name Object type Data type A L Rights Description

0080 Cycle time - - - 4 R/W Setting the cycle time

0081 Sample rate - - - 4 R/W Setting the sample rate

0082 Output enable channel 2 - - - 1 R/W Enabling channel 2

Objects for parameterization

Observe the notes on the module configuration,refer to "16.3 Module configuration" on page14.

15.2 Object "Cycle Time"The cycle time in ns has to be transferred to the module tocalculate of the sample period.

The correct functionality of the module is onlyensured in synchronous mode.

Object number (hex) 0x0080

Object name Cycle Time

Cycle Time

15.3 Object "Sample Rate"Sample rate: Transferring the desired OVS rate. However,the OVS rate cannot be freely selected. It depends on thecycle time. Refer to the configuration requirements, "16.3Module configuration" on page 14.

Object number (hex) 0x0081

Object name Sample Rate

Sample rate

15.4 Object "Output enable channel 2"Enabling channel 2. If channel 2 is disabled, the maximumOVS rate increases 1 from 256 to 512 for channel.

12 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 13: S20 Digital Input and Output Module

Object number (hex) 0x0082

Object name Output enable channel 2

Output enable channel 2

16 Functional descriptionOversampling (OVS) allows to input and output data signalswith a finer granularity than the bus cycle. That means:With oversampling, an input can be loaded multiple timeswithin a cycle and outputs can be switched multiple times.The grid for setting and reading within a cycle is defined us-ing the OVS rate by splitting the cycle into a freely selecta-ble number of samples of the same length. The OVS ratecan be set from 1 to 512. This depends on the synchronousbus cycle time. The first bit of a new bus cycle is alwaysstarted with the synchronization point in time. This point intime is the same for all synchronous modules.Example:

8-times oversampling with digital outputsOutput process data:

Bit number 1 2 3 4 5 6 7 8

Output 1 0 0 0 1 0 1 0

Hex: 0x51

StartSample 2

PLC cycleSynchronization point in time

3Sample 1 4 5 6 7 8

DO-OVS

Sequence of a PLC cycle with OVS functionality

The diagram shows the outputting of the specified bit pat-tern. The first OVS sample is output synchronously. The re-maining samples follow as per their sample length and withthe same distance to each other.

Example:

8-times oversampling with digital inputs

Input process data:

Bit number 1 2 3 4 5 6 7 8

Input 1 1 0 0 1 1 1 0

Hex: 0x37

StartSample 2

PLC cycleSynchronization point in time

3Sample 1 4 5 6 7 8

DI-OVS

Sequence of a bus cycle with OVS functionality

The diagram shows an input signal that changes multipletimes during a PLC cycle and that is loaded from an OVS in-put. In contrast to the OVS outputs, the individual samplesare not recorded at the beginning, but at the end of an indi-vidual sample. Thus, the last sample is recorded at the syn-chronization point in time of the following PLC cycle. Thedecisive factor whether a sample detects a high signal or alow signal is the moment of sampling.

16.1. Relation between the PLC cycle, synchronizationpoint in time and process dataThe timing shown in the following figure shows the tempo-ral relations of the PLC cycle, the synchronization point intime and the OVS on module level. The synchronizationpoint in time (t4) is fixedly set within a cycle. Process datais sent to the module at the beginning of the PLC cycle. Themodule prepares process data up to the synchronizationpoint in time and the OVS pattern is output.

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 13

DOK-CONTRL-S20DIDO*OVS-DA01-EN-P, R911399345, Edition 01, Bosch Rexroth AG

Page 14: S20 Digital Input and Output Module

Sercos IIIcycle

I/O synchronization

OVS

ATMDT

T4TSCYC

1 2 3 4

PLC cycle

T4

T4

Data flow diagram Custom SignalOutOne signal with up to 2 edge changes per cycle can be defined (customized)

T4 point in time

Data flow diagram

16.2 Process dataIrrespective of the OVS rate set, the module obtains a fixedprocess data width of 64 bytes (512 bits). The first halfspecifies the bit pattern for channel 1 and the second halfis used for channel 2. An OVS rate of 256 results from the32 bytes of process data. If channel 2 is disabled, all 64bytes can be used for channel 1. Thus, the maximum OVSrate increases to 512 for channel 1. If the maximum OVS isnot used, only the number of bits specified is sampled. Thefollowing bits in the process data are ignored. The set OVSrate always applies to both channels simultaneously.Example:

OVS rate 200 for two active channels

OVS rate 200 for two active channels0 .. 512 bitsBit 001 .. 200 user data, channel 1Bit 201 .. 256 ignoredBit 257 .. 457 user data, channel 2Bit 458 .. 512 ignored

16.3 Module configurationTo use the OVS functionality, set the three customized pa-rameters "Cycle time", "OVS rate" and "Channel 2 Enable".Cycle time: The cycle time in ns has to be transferred to themodule to calculate of the sample period. The correct func-tionality of the module is only ensured in synchronousmode.OVS rate: Transferring the desired OVS rate. However, theOVS rate cannot be freely selected. It depends on the cycletime. Refer to the "Configuration requirements".Channel 2 Enable: Enabling channel 2. If channel 2 is disa-bled, the OVS rate increases from 256 to 512 for channel 1.

Configuration requirements:1. The sample period of one sample may not

exceed 1.3 ms1. Formula: Cycle time/OVS rate < 1.3 ms2. Example: Cycle time 4 ms; OVS rate: 4 →

sample period 1 ms → ok3. Example: Cycle time 4 ms; OVS rate: 2 →

sample period 2 ms → incorrect configu-ration 0x6320

2. The period of one sample may not fall below10 μs1. Formula: Cycle time/OVS rate > 10 μs2. Example: Cycle time 2 ms; OVS rate: 200

→ sample period 10 μs → ok3. Example: Cycle time 2 ms; OVS rate: 400

→ sample period 5 μs → incorrect config-uration 0x6320

3. Sample rate matches "Enable" of channel 21. If channel 2 is active, the sample rate

may not exceed 2562. If channel 1 is disabled, the sample rate

may not exceed 5124. Maximum PLC cycle time allowed: 8 ms5. Prevention of rounding errors

1. This criterion is to be met to reach themaximum accuracy

2. Formula: (Cycle time[ns]/20[ns])/OVSrate = Integer (number without decimal)

The points 1-3 are checked in the module whilewriting the user parameters to the module. Ifthe configuration requirements are not met, themodule issues the error 0x6320 "Faulty configu-ration".

16.4 Oversampling accuracyIf the mentioned requirements on the module configurationare met, the following accuracies result:Hardware jitter: 200 ns maxOffset of sample beginning: max. 10 ns × Sample.Bit num-ber nPeriod of one single sample: ±80 nsMaximum determined jitter including all tolerances :<2000 ns

17 Device description filesThe device is described in device description files. Todownload the device description files, go to www.boschrex-roth.com ▶ Products ▶ Electric Drives and Controls ▶ I/

14 Oversampling Functionality | 2 Fast Inputs, 2 Fast Outputs

Bosch Rexroth AG, Edition 01, R911399345, DOK-CONTRL-S20DIDO*OVS-DA01-EN-P

Page 15: S20 Digital Input and Output Module

O ▶ IndraControl S20 (IP 20) in the download range of thebus coupler used.

18 Supported systemsS20-DIDO-2/1 OVS module can be operated locally at theXM control or decentrally at the S20-S3-BK+ due to the bussynchronism requirement.

2 Fast Inputs, 2 Fast Outputs | Oversampling Functionality 15

Bosch Rexroth AGElectric Drives and ControlsBgm.-Dr.-Nebel-Str. 297816 Lohr, GermanyPhone +49 9352 18 0

www.boschrexroth.com/electrics

Copyright© Bosch Rexroth AG 2019All rights reserved, also regarding any disposal, exploitation, reproduction, ed-iting, distribution, as well as in the event of applications for industrial proper-ty rights.

Editorial DepartmentDevelopment Automation Systems Control Platform ChMa (MaKo/MePe)

*R911399345*