Supplementary device manual AS-i controllere with Ethernet


Add to my manuals
169 Pages

advertisement

Supplementary device manual AS-i controllere with Ethernet | Manualzz

Function

Project transmission and diagnosis via Ethernet interface

Modbus address for controllere PLC status

Modbus address

1024

Data content (16 bits = 1 word)

status value = 1

 PLC is in the operating mode RUN status value = 2

 PLC is in the operating mode STOP status value = 8

 PLC is in the operating mode GATEWAY

Modbus address for Modbus timeout

Modbus address Data content (16 bits = 1 word)

2048 timeout value in [ms]

► The PLC of the controllere must be in the gateway mode.

► If value ≠ 0: the outputs are reset if no Modbus telegram (read or write request) has been received in the specified time [ms].

► If value = 0: this function is deactivated.

► The register is predefined by the corresponding setting on the ifm standard HTML page of the web server. The value set via the ifm standard HTML page is stored non-volatilely in the controllere.

Changes of this register via Modbus however are volatile. After rebooting the controllere the value defined by the HTML page is again activated.

Modbus address for Modbus write timeout

Modbus address

2049

Data content (16 bits = 1 word)

timeout value in [ms]

► The PLC of the controllere must be in the gateway mode.

► Function is identical to "Modbus timeout" ( page

4-36

), but for the Modbus write timeout only

Modbus write requests are taken into account to trigger the timeout time counter.

Modbus address for "delete Modbus write timeout register"

Modbus address Data content (16 bits = 1 word)

2050 user-defined

► Writing on this Modbus address results in a reset of the Modbus write timeout register, thus the timeout time counter is reset.

► This function allows to prevent the triggering of the Modbus write timeout without having to write on the outputs used.

► The value written in this register is ignored in the controllere.

4-36

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses of the digital slave inputs and outputs

Modbus addresses Bits of the Modbus address

Master 1 inputs

Master 1 outputs

Master 2 inputs

Master 2 outputs

Slave data bits

15…12 11 10 9 8 7…4 3

D3 D2 D1 D0

2 1 0

D3 D2 D1 D0

4203

4104

4105

4106

4107

4108

4109

4110

4111

4112

4096

4097

4098

4099

4100

4101

4102

4120

4121

4122

4123

4124

4113

4114

4115

4116

4117

4118

4119

4125

4126

4127

4532

4533

4534

4535

4536

4537

4538

4539

4540

4541

4525

4526

4527

4528

4529

4530

4531

4549

4550

4551

4552

4553

4542

4543

4544

4545

4546

4547

4548

4554

4555

4556

8199

8200

8201

8202

8203

8204

8205

8206

8207

8208

8192

8193

8194

8195

8196

8197

8198

8216

8217

8218

8219

8220

8209

8210

8211

8212

8213

8214

8215

8221

8222

8223

8628

8629

8630

8631

8632

8633

8634

8635

8636

8637

8621

8622

8623

8624

8625

8626

8627

8645

8646

8647

8648

8649

8638

8639

8640

8641

8642

8643

8644

8650

8651

8652

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0 slave 2 (A) slave 4 (A) slave 6 (A) slave 8 (A) slave 10 (A) slave 12 (A) slave 14 (A) slave 16 (A) slave 18 (A) slave 20 (A) slave 22 (A) slave 24 (A) slave 26 (A) slave 28 (A) slave 30 (A) reserved slave 2 B slave 4 B slave 6 B slave 8 B slave 10 B slave 12 B slave 14 B slave 16 B slave 18 B slave 20 B slave 22 B slave 24 B slave 26 B slave 28 B slave 30 B reserved

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0 slave 1 (A) slave 3 (A) slave 5 (A) slave 7 (A) slave 9 (A) slave 11 (A) slave 13 (A) slave 15 (A) slave 17 (A) slave 19 (A) slave 21 (A) slave 23 (A) slave 25 (A) slave 27 (A) slave 29 (A) slave 31 (A) slave 1 B slave 3 B slave 5 B slave 7 B slave 9 B slave 11 B slave 13 B slave 15 B slave 17 B slave 19 B slave 21 B slave 23 B slave 25 B slave 27 B slave 29 B slave 31 B

4-37

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

%IB1.1

%IB1.2

%IB1.3

%IB1.4

%IB1.5

%IB1.6

%IB1.7

%IB1.8

%IB1.9

%IB1.10

%IB1.11

%IB1.12

%IB1.13

%IB1.14

%IB1.15

%IB1.16

%IB1.17

%IB1.18

%IB1.19

%IB1.20

%IB1.21

%IB1.22

%IB1.23

%IB1.24

%IB1.25

%IB1.26

%IB1.27

%IB1.28

%IB1.29

%IB1.30

IEC addresses in the PLC of the controllere for the digital slave inputs and outputs

Data area

I = input

Q = output

%QB1.1

%QB1.2

%QB1.3

%QB1.4

%QB1.5

%QB1.6

%QB1.7

%QB1.8

%QB1.9

%QB1.10

%QB1.11

%QB1.12

%QB1.13

%QB1.14

%QB1.15

%QB1.16

%QB1.17

%QB1.18

%QB1.19

%QB1.20

%QB1.21

%QB1.22

%QB1.23

%QB1.24

%QB1.25

%QB1.26

%QB1.27

%QB1.28

%QB1.29

%QB1.30

% I B 1. 7

% Q X 21. 2 .3

Identification Type of access

Slave address Data bit

B = byte

X = bit

1 = S/A slave on master 1

2 = S/A slave on master 2

11 = B slave on master 1

21 = B slave on master 2

31 = slave 31

S/A slave = single slave or A slave

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

1 = slave 1

2 = slave 2 if type of access = X:

0 = D0

1 = D1

2 = D2

3 = D3

Inputs / outputs to slave address

%IB2.1

%IB2.2

%IB2.3

%IB2.4

%IB2.5

%IB2.6

%IB2.7

%IB2.8

%IB2.9

%IB2.10

%IB2.11

%IB2.12

%IB2.13

%IB2.14

%IB2.15

%IB2.16

%IB2.17

%IB2.18

%IB2.19

%IB2.20

%IB2.21

%IB2.22

%IB2.23

%IB2.24

%IB2.25

%IB2.26

%IB2.27

%IB2.28

%IB2.29

%IB2.30

4-38

%IB11.11

%IB11.12

%IB11.13

%IB11.14

%IB11.15

%IB11.16

%IB11.17

%IB11.18

%IB11.19

%IB11.20

Master 1 inputs

%IB1.31

%IB11.1

%IB11.2

%IB11.3

%IB11.4

%IB11.5

%IB11.6

%IB11.7

%IB11.8

%IB11.9

%IB11.10

%IB11.21

%IB11.22

%IB11.23

%IB11.24

%IB11.25

%IB11.26

%IB11.27

%IB11.28

%IB11.29

%IB11.30

%IB11.31

Function

Project transmission and diagnosis via Ethernet interface

%QB11.21

%QB11.22

%QB11.23

%QB11.24

%QB11.25

%QB11.26

%QB11.27

%QB11.28

%QB11.29

%QB11.30

%QB11.31

%QB11.11

%QB11.12

%QB11.13

%QB11.14

%QB11.15

%QB11.16

%QB11.17

%QB11.18

%QB11.19

%QB11.20

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

%QB1.31

%QB11.1

%QB11.2

%QB11.3

%IB2.31

%IB21.1

%IB21.2

%IB21.3

%QB11.4

%QB11.5

%QB11.6

%QB11.7

%QB11.8

%QB11.9

%QB11.10

%IB21.4

%IB21.5

%IB21.6

%IB21.7

%IB21.8

%IB21.9

%IB21.10

%IB21.11

%IB21.12

%IB21.13

%IB21.14

%IB21.15

%IB21.16

%IB21.17

%IB21.18

%IB21.19

%IB21.20

%IB21.21

%IB21.22

%IB21.23

%IB21.24

%IB21.25

%IB21.26

%IB21.27

%IB21.28

%IB21.29

%IB21.30

%IB21.31

Master 2 outputs

Inputs / outputs to slave address

4-39

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the master flags

Modbus address

IEC address

(PLC in controllere)

Bit

Master 1 Master 2

Bit = TRUE means:

4128

%IW31.240

8224

%IW32.240

4129

%IW31.241

8225

%IW32.241

0

"No Slave Reset"

When executing the function "Config all" (via the menu or command channel of the controllere) the slaves are NOT reset, as described in the AS-i specification.

1...15 reserved

0

1

"Config OK"

There is no configuration error. The configuration of all AS-i slaves in the network complies with the configuration data.

"LDS.0"

One slave with the AS-i address 0 was detected on the master.

2 reserved

3 reserved

4

5

"Configuration_Active"

The controllere is in the configuration mode

"Normal_Operation_Active"

The AS-i master is in normal operation: it communicates with at least one slave.

6

„AS-i_Power_Fail“

The AS-i voltage is too low.

7 reserved

„Periphery_OK“

8

None of the active AS-i slaves signals a periphery fault.

9

„Auto_Address_Enable“

The mode "automatic addressing of the slaves" on this master is activated.

10...15 reserved

Examples:

To retrieve the bit LDS.0 "slave 0 detected" for master 1, the address %IX31.241.1 is used; for master 2 the address

%IX32.241.1 is used.

IEC addresses in the PLC of the controllere for the master flags

Data area

% I W 31. 240

% I X 32. 241 .8

Identification Word selection

I = input

Type of access

W = word

X = bit

31 = master 1

32 = master 2

240 = master flags word 1

241 = master flags word 2

Data bit no.

if type of access = X:

0…15

4-40

4582

4583

4584

4585

4586

4577

4578

4579

4580

4581

4572

4573

4574

4575

4576

4587

4588

4589

4590

4567

4568

4569

4570

4571

4562

4563

4564

4565

4566

8249

8250

8251

8252

8253

8244

8245

8246

8247

8248

8239

8240

8241

8242

8243

8254

8255

8256

8257

8234

8235

8236

8237

8238

8229

8230

8231

8232

8233

4153

4154

4155

4156

4157

4148

4149

4150

4151

4152

4143

4144

4145

4146

4147

4158

4159

4160

4161

4138

4139

4140

4141

4142

4133

4134

4135

4136

4137

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the analogue slave inputs and outputs

Master 1 inputs

Modbus addresses

Master 1 outputs

Master 2 inputs

Master 2 outputs

Data content (16 bits = word)

Channel Description

4130

4131

4559

4560

8226

8227

8655

8656

0

1

1st channel S/A slave

2nd channel S/A slave

4132 4561 8228

8660

8661

8665

8666

8670

8671

8675

8676

8680

8681

8685

8686

0

1

0

1

0

1

0

1

0

1

0

1

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

Slave address

1

2

3

4

5

6

7

4-41

4612

4613

4614

4615

4616

4607

4608

4609

4610

4611

4617

4618

4619

4620

4621

4602

4603

4604

4605

4606

4597

4598

4599

4600

4601

4592

4593

4594

4595

4596

8279

8280

8281

8282

8283

8274

8275

8276

8277

8278

8284

8285

8286

8287

8288

8269

8270

8271

8272

8273

8264

8265

8266

8267

8268

8259

8260

8261

8262

8263

4183

4184

4185

4186

4187

4178

4179

4180

4181

4182

4188

4189

4190

4191

4192

4173

4174

4175

4176

4177

4168

4169

4170

4171

4172

4163

4164

4165

4166

4167

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

4162

Modbus addresses

Master 1 outputs

Master 2 inputs

4591 8258

Data content (16 bits = word)

Master 2 outputs

Channel Description

8690

8691

8695

8696

8700

8701

8705

8706

8710

8711

8715

8716

0

1

0

1

0

1

0

1

0

1

0

1

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

4193

4194

4-42

4622

4623

8289

8290

Slave address

8

9

10

11

12

13

4642

4643

4644

4645

4646

4637

4638

4639

4640

4641

4647

4648

4649

4650

4651

4632

4633

4634

4635

4636

4627

4628

4629

4630

4631

8309

8310

8311

8312

8313

8304

8305

8306

8307

8308

8314

8315

8316

8317

8318

8299

8300

8301

8302

8303

8294

8295

8296

8297

8298

4213

4214

4215

4216

4217

4208

4209

4210

4211

4212

4218

4219

4220

4221

4222

4203

4204

4205

4206

4207

4198

4199

4200

4201

4202

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

4195

4196

4197

Modbus addresses

Master 1 outputs

Master 2 inputs

4624

4625

8291

8292

4626 8293

Data content (16 bits = word)

Master 2 outputs

8720

8721

Channel Description

0

1

1st channel S/A slave

2nd channel S/A slave

8725

8726

8730

8731

8735

8736

8740

8741

8745

8746

0

1

0

1

0

1

0

1

0

1

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

4223

4224

4225

4226

4227

4652

4653

4654

4655

4656

8319

8320

8321

8322

8323

8750

8751

0

1

1st channel S/A slave

2nd channel S/A slave

Slave address

14

15

16

17

18

19

20

4-43

4258

4259

4260

4261

4-44

4248

4249

4250

4251

4252

4253

4254

4255

4256

4257

4243

4244

4245

4246

4247

4238

4239

4240

4241

4242

4682

4683

4684

4685

4686

4687

4688

4689

4690

4677

4678

4679

4680

4681

4672

4673

4674

4675

4676

4667

4668

4669

4670

4671

4662

4663

4664

4665

4666

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

4228

4229

4230

4231

4232

Modbus addresses

Master 1 outputs

Master 2 inputs

4657

4658

4659

4660

4661

8324

8325

8326

8327

8328

Data content (16 bits = word)

Master 2 outputs

Channel Description

8755

8756

0

1

1st channel S/A slave

2nd channel S/A slave

4233

4234

4235

4236

4237

8760

8761

0

1

1st channel S/A slave

2nd channel S/A slave

8349

8350

8351

8352

8353

8354

8355

8356

8357

8344

8345

8346

8347

8348

8339

8340

8341

8342

8343

8334

8335

8336

8337

8338

8329

8330

8331

8332

8333

8765

8766

8770

8771

8775

8776

8780

8781

8785

8786

0

1

0

1

0

1

0

1

0

1

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

1st channel S/A slave

2nd channel S/A slave

Slave address

21

22

23

24

25

26

27

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

4262

Modbus addresses

Master 1 outputs

Master 2 inputs

4691 8358

Data content (16 bits = word)

Master 2 outputs

Channel Description

Slave address

4263

4264

4265

4266

4267

4692

4693

4694

4695

4696

8359

8360

8361

8362

8363

8790

8791

0

1

1st channel S/A slave

2nd channel S/A slave

28

4268

4269

4270

4271

4272

4697

4698

4699

4700

4701

8364

8365

8366

8367

8368

8795

8796

0

1

1st channel S/A slave

2nd channel S/A slave

29

4273

4274

4275

4276

4277

4702

4703

4704

4705

4706

8369

8370

8371

8372

8373

8800

8801

0

1

1st channel S/A slave

2nd channel S/A slave

30

4278

4279

4280

4281

4282

4707

4708

4709

4710

4711

8374

8375

8376

8377

8378

8805

8806

0

1

1st channel S/A slave

2nd channel S/A slave

31

4283 4712 8379

4284 4713 8380

Status information of analogue slaves

Word no.

0

1

15 14 13 12

Bit

11 10 9 8 7 6 5 analogue channel 0 from/for slave or: analogue data channel 0 from/for slave 1A analogue data channel 1 from/for slave 1 or: analogue data channel 1 from/for slave 1A

4 3 2 1 0

2

3 analogue data channel 2 from/for slave 1 or: analogue data channel 0 from/for slave 1B analogue data channel 3 from/for slave 1 or: analogue data channel 1 from/for slave 1B

4 TIB TOB TIA TOA TVB OVB TVA OVA O3 V3 O2 V2 O1 V1 O0 V0

4-45

Function

Project transmission and diagnosis via Ethernet interface

Word no.

5

15 14 13 12

Bit

11 10 9 8 7 6 5 analogue data channel 0 from/for slave 2 or: analogue data channel 0 from/for slave 2A

4 3 2 1 0

6

7

8 analogue data channel 1 from/for slave 2 or: analogue data channel 1 from/for slave 2A analogue data channel 2 from/for slave 2 or: analogue data channel 0 from/for slave 2B analogue data channel 3 from/for slave 2 or: analogue data channel 1 from/for slave 2B

9 TIB TOB TIA TOA TVB OVB TVA OVA O3 V3 O2 V2 O1 V1 O0 V0

… …

150

151

152

153 analogue data channel 0 from/for slave 31 or: analogue data channel 0 from/for slave 31A analogue data channel 1 from/for slave 31 or: analogue data channel 1 from/for slave 31A analogue data channel 2 from/for slave 31 or: analogue data channel 0 from/for slave 31B analogue data channel 3 from/for slave 31 or: analogue data channel 1 from/for slave 31B

154 TIB TOB TIA TOA TVB OVB TVA OVA O3 V3 O2 V2 O1 V1 O0 V0

Legend:

Vn

On

OVA

TVA

OVB

TVB

TIA

TIB

TOA

TOB validity bit "valid" for channel number n = 0...3

NOTE: set Vn = "1" for analogue output slaves! bit "overflow" for channel number n = 0…3 channel-independent bit "output data valid" from A slave

CTT1:

0 = more than 3.5 s have elapsed since the last update of the output values

1 = slave requests new output data within the next 3 s

CTT2…CTT5:

0 = slave receives no new output data

1 = slave receives new output data channel-independent bit "transmission valid" from A slave/single slave:

0 = error during transmission or: timeout

1 = transmission of analogue input/output data OK channel-independent bit "output data valid" from B slave:

CTT1:

0 = more than 3.5 s have elapsed since the last update of the output values

1 = slave requests new output data within the next 3 s

CTT2…CTT5:

0 = slave receives no new output data

1 = slave receives new output data

NOTE: only valid for analogue output slaves. Set OVB = 0 for input slaves! channel-independent bit "transmission valid" from B slave:

0 = error during transmission or: timeout

1 = transmission of analogue input/output data OK slave transmits analogue input data...

0 = in the analogue mode (15 bits, with sign)

1 = in the transparent mode (16 bits, without sign) slave receives analogue output data...

0 = in the analogue mode (15 bits, with sign)

1 = in the transparent mode (16 bits, without sign)

4-46

Function

Project transmission and diagnosis via Ethernet interface

IEC addresses in the PLC of the controllere for the analogue slave inputs and outputs

% I W 21. 6 .0

Data area Type of access

% Q W 22. 9 .3

Identification Slave address Data channel

I = input

Q = output

W = word

21 = master 1

22 = master 2

S/A slave = single slave or A slave

1 = slave 1

2 = slave 2

31 = slave 31

0 =

1 =

2 =

3 =

1st channel S/A slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 = status

A/B slaves have max. 2 analogue channels

Master 1 inputs

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

Data content (16 bits = word)

Channel Description

Slave address

%IW21.1.0 %QW21.1.0 %IW22.1.0 %QW22.1.0

%IW21.1.1 %QW21.1.1 %IW22.1.1 %QW22.1.1

%IW21.1.2 %QW21.1.2 %IW22.1.2 %QW22.1.2

%IW21.1.3 %QW21.1.3 %IW22.1.3 %QW22.1.3

%IW21.1.4 %QW21.1.4 %IW22.1.4 %QW22.1.4

%IW21.2.0 %QW21.2.0 %IW22.2.0 %QW22.2.0

%IW21.2.1 %QW21.2.1 %IW22.2.1 %QW22.2.1

%IW21.2.2 %QW21.2.2 %IW22.2.2 %QW22.2.2

%IW21.2.3 %QW21.2.3 %IW22.2.3 %QW22.2.3

%IW21.2.4 %QW21.2.4 %IW22.2.4 %QW22.2.4

%IW21.3.0 %QW21.3.0 %IW22.3.0 %QW22.3.0

%IW21.3.1 %QW21.3.1 %IW22.3.1 %QW22.3.1

%IW21.3.2 %QW21.3.2 %IW22.3.2 %QW22.3.2

%IW21.3.3 %QW21.3.3 %IW22.3.3 %QW22.3.3

%IW21.3.4 %QW21.3.4 %IW22.3.4 %QW22.3.4

%IW21.4.0 %QW21.4.0 %IW22.4.0 %QW22.4.0

%IW21.4.1 %QW21.4.1 %IW22.4.1 %QW22.4.1

%IW21.4.2 %QW21.4.2 %IW22.4.2 %QW22.4.2

%IW21.4.3 %QW21.4.3 %IW22.4.3 %QW22.4.3

%IW21.4.4 %QW21.4.4 %IW22.4.4 %QW22.4.4

%IW21.5.0 %QW21.5.0 %IW22.5.0 %QW22.5.0

0

1

2

3

1st channel S/A slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

4 status

0 1st channel S/A slave

1

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

3

4

5

4-47

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

%IW21.5.1 %QW21.5.1 %IW22.5.1 %QW22.5.1

%IW21.5.2 %QW21.5.2 %IW22.5.2 %QW22.5.2

%IW21.5.3

%IW21.5.4 %QW21.5.4 %IW22.5.4 %QW22.5.4

%IW21.6.0 %QW21.6.0 %IW22.6.0 %QW22.6.0

%IW21.6.1

%IW21.6.2

%IW21.6.3

%IW21.8.2

%QW21.6.1

%QW21.6.2

%QW21.8.2

%IW22.6.1

%IW22.6.2

%IW22.8.2

%QW22.6.1

%QW22.6.2

%IW21.6.4 %QW21.6.4 %IW22.6.4 %QW22.6.4

%IW21.7.0 %QW21.7.0 %IW22.7.0 %QW22.7.0

%IW21.7.1

%IW21.7.2

%IW21.7.3

%IW21.7.4 %QW21.7.4 %IW22.7.4 %QW22.7.4

%IW21.8.0 %QW21.8.0 %IW22.8.0 %QW22.8.0

%IW21.8.1 %QW21.8.1 %IW22.8.1 %QW22.8.1

%IW21.8.3

%IW21.9.3

%IW21.9.4

%QW21.7.1

%QW21.7.2

%QW21.7.3

%QW21.8.3

%IW22.7.1

%IW22.7.2

%IW22.7.3

%IW22.8.3

%QW22.7.1

%QW22.7.2

%QW22.7.3

%QW22.8.2

%QW22.8.3

%IW21.8.4 %QW21.8.4 %IW22.8.4 %QW22.8.4

%IW21.9.0 %QW21.9.0 %IW22.9.0 %QW22.9.0

%IW21.9.1 %QW21.9.1 %IW22.9.1 %QW22.9.1

%IW21.9.2 %QW21.9.2 %IW22.9.2 %QW22.9.2

%IW21.10.0 %QW21.10.0 %IW22.10.0 %QW22.10.0

%IW21.10.1 %QW21.10.1 %IW22.10.1 %QW22.10.1

%IW21.10.2

%IW21.10.3

%IW21.10.4

%QW21.9.4

%QW21.10.4

%IW22.9.4

%IW22.10.4

%QW22.9.4

%QW22.10.4

%IW21.11.0 %QW21.11.0 %IW22.11.0 %QW22.11.0

%IW21.11.1 %QW21.11.1 %IW22.11.1 %QW22.11.1

%IW21.11.2

%QW21.5.3

%QW21.6.3

%QW21.9.3

%QW21.10.2

%QW21.10.3

%QW21.11.2

%IW22.5.3

%IW22.6.3

%IW22.9.3

%IW22.10.2

%IW22.10.3

%IW22.11.2

%QW22.5.3

%QW22.6.3

%QW22.9.3

%QW22.10.2

%QW22.10.3

%QW22.11.2

Channel Description

1

2

Data content (16 bits = word)

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

3

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

2

3

1st channel S/A slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

4 status

0 1st channel S/A slave

1

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4-48

Slave address

6

7

8

9

10

11

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

%IW21.11.3 %QW21.11.3 %IW22.11.3 %QW22.11.3

Data content (16 bits = word)

Channel Description

%IW21.11.4 %QW21.11.4 %IW22.11.4 %QW22.11.4

%IW21.12.0 %QW21.12.0 %IW22.12.0 %QW22.12.0

%IW21.12.1

%IW21.12.2

%IW21.12.3

%IW21.12.4 %QW21.12.4 %IW22.12.4 %QW22.12.4

%IW21.13.0 %QW21.13.0 %IW22.13.0 %QW22.13.0

%IW21.13.1 %QW21.13.1 %IW22.13.1 %QW22.13.1

%IW21.13.2

%IW21.13.3

%IW21.15.2

%QW21.13.2

%QW21.13.3

%QW21.15.2

%IW22.13.2

%IW22.13.3

%IW22.15.2

%QW22.13.2

%QW22.13.3

%IW21.13.4 %QW21.13.4 %IW22.13.4 %QW22.13.4

%IW21.14.0 %QW21.14.0 %IW22.14.0 %QW22.14.0

%IW21.14.1 %QW21.14.1 %IW22.14.1 %QW22.14.1

%IW21.14.2

%IW21.14.3

%IW21.14.4 %QW21.14.4 %IW22.14.4 %QW22.14.4

%IW21.15.0 %QW21.15.0 %IW22.15.0 %QW22.15.0

%IW21.15.1 %QW21.15.1 %IW22.15.1 %QW22.15.1

%IW21.15.3

%IW21.17.2

%QW21.14.2

%QW21.14.3

%QW21.15.3

%QW21.16.2

%QW21.17.2

%IW22.14.2

%IW22.14.3

%IW22.15.3

%IW22.16.2

%IW22.17.2

%QW22.14.2

%QW22.14.3

%QW22.15.2

%QW22.15.3

%IW21.15.4 %QW21.15.4 %IW22.15.4 %QW22.15.4

%IW21.16.0 %QW21.16.0 %IW22.16.0 %QW22.16.0

%IW21.16.1 %QW21.16.1 %IW22.16.1 %QW22.16.1

%IW21.16.2

%IW21.16.3

%QW21.12.1

%QW21.12.2

%QW21.12.3

%QW21.16.3

%IW22.12.1

%IW22.12.2

%IW22.12.3

%IW22.16.3

%QW22.12.1

%QW22.12.2

%QW22.12.3

%QW22.16.2

%QW22.16.3

%IW21.16.4 %QW21.16.4 %IW22.16.4 %QW22.16.4

%IW21.17.0 %QW21.17.0 %IW22.17.0 %QW22.17.0

%IW21.17.1 %QW21.17.1 %IW22.17.1 %QW22.17.1

%QW22.17.2

%IW21.17.3 %QW21.17.3 %IW22.17.3 %QW22.17.3

%IW21.17.4 %QW21.17.4 %IW22.17.4 %QW22.17.4

%IW21.18.0 %QW21.18.0 %IW22.18.0 %QW22.18.0

3

4th channel single slave or:

2nd channel B slave

4 status

0

1

2

3

1st channel S/A slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

4 status

0 1st channel S/A slave

1

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

3

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

3

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

Slave address

12

13

14

15

16

17

18

4-49

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

%IW21.18.1 %QW21.18.1 %IW22.18.1 %QW22.18.1

Data content (16 bits = word)

Channel Description

%IW21.18.2

%IW21.18.3

%IW21.18.4

%IW21.19.0

%IW21.19.1

%IW21.19.2

%IW21.19.3

%IW21.19.4

%IW21.20.0

%IW21.20.1

%IW21.20.2

%IW21.20.3

%IW21.20.4

%IW21.21.0

%IW21.21.1

%IW21.21.2

%IW21.21.3

%IW21.21.4

%IW21.22.0

%IW21.22.1

%IW21.22.2

%IW21.22.3

%IW21.22.4

%IW21.23.0 %QW21.23.0 %IW22.23.0 %QW22.23.0

%IW21.23.1 %QW21.23.1 %IW22.23.1 %QW22.23.1

%IW21.23.2

%IW21.23.3

%IW21.23.4

%QW21.22.4

%QW21.23.4

%IW22.22.4

%IW22.23.4

%QW22.22.4

%QW22.23.4

%IW21.24.0 %QW21.24.0 %IW22.24.0 %QW22.24.0

%IW21.24.1 %QW21.24.1 %IW22.24.1 %QW22.24.1

%IW21.24.2

%QW21.18.2

%QW21.18.3

%QW21.18.4

%QW21.19.0

%QW21.19.1

%QW21.19.2

%QW21.19.3

%QW21.19.4

%QW21.20.0

%QW21.20.1

%QW21.20.2

%QW21.20.3

%QW21.20.4

%QW21.21.0

%QW21.21.1

%QW21.21.2

%QW21.21.3

%QW21.21.4

%QW21.22.0

%QW21.22.1

%QW21.22.2

%QW21.22.3

%QW21.23.2

%QW21.23.3

%QW21.24.2

%IW22.18.2

%IW22.18.3

%IW22.18.4

%IW22.19.0

%IW22.19.1

%IW22.19.2

%IW22.19.3

%IW22.19.4

%IW22.20.0

%IW22.20.1

%IW22.20.2

%IW22.20.3

%IW22.20.4

%IW22.21.0

%IW22.21.1

%IW22.21.2

%IW22.21.3

%IW22.21.4

%IW22.22.0

%IW22.22.1

%IW22.22.2

%IW22.22.3

%IW22.23.2

%IW22.23.3

%IW22.24.2

%QW22.18.2

%QW22.18.3

%QW22.18.4

%QW22.19.0

%QW22.19.1

%QW22.19.2

%QW22.19.3

%QW22.19.4

%QW22.20.0

%QW22.20.1

%QW22.20.2

%QW22.20.3

%QW22.20.4

%QW22.21.0

%QW22.21.1

%QW22.21.2

%QW22.21.3

%QW22.21.4

%QW22.22.0

%QW22.22.1

%QW22.22.2

%QW22.22.3

%QW22.23.2

%QW22.23.3

%QW22.24.2

1

2

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

3

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

2

3

1st channel S/A slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

4 status

0 1st channel S/A slave

1

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4-50

Slave address

19

20

21

22

23

24

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

%IW21.24.3 %QW21.24.3 %IW22.24.3 %QW22.24.3

Data content (16 bits = word)

Channel Description

%IW21.24.4 %QW21.24.4 %IW22.24.4 %QW22.24.4

%IW21.25.0 %QW21.25.0 %IW22.25.0 %QW22.25.0

%IW21.25.1

%IW21.25.2

%IW21.25.3

%IW21.25.4 %QW21.25.4 %IW22.25.4 %QW22.25.4

%IW21.26.0 %QW21.26.0 %IW22.26.0 %QW22.26.0

%IW21.26.1 %QW21.26.1 %IW22.26.1 %QW22.26.1

%IW21.26.2

%IW21.26.3

%IW21.28.2

%QW21.26.2

%QW21.26.3

%QW21.28.2

%IW22.26.2

%IW22.26.3

%IW22.28.2

%QW22.26.2

%QW22.26.3

%IW21.26.4 %QW21.26.4 %IW22.26.4 %QW22.26.4

%IW21.27.0 %QW21.27.0 %IW22.27.0 %QW22.27.0

%IW21.27.1 %QW21.27.1 %IW22.27.1 %QW22.27.1

%IW21.27.2

%IW21.27.3

%IW21.27.4 %QW21.27.4 %IW22.27.4 %QW22.27.4

%IW21.28.0 %QW21.28.0 %IW22.28.0 %QW22.28.0

%IW21.28.1 %QW21.28.1 %IW22.28.1 %QW22.28.1

%IW21.28.3

%IW21.30.2

%QW21.27.2

%QW21.27.3

%QW21.28.3

%QW21.29.2

%QW21.30.2

%IW22.27.2

%IW22.27.3

%IW22.28.3

%IW22.29.2

%IW22.30.2

%QW22.27.2

%QW22.27.3

%QW22.28.2

%QW22.28.3

%IW21.28.4 %QW21.28.4 %IW22.28.4 %QW22.28.4

%IW21.29.0 %QW21.29.0 %IW22.29.0 %QW22.29.0

%IW21.29.1 %QW21.29.1 %IW22.29.1 %QW22.29.1

%IW21.29.2

%IW21.29.3

IW21.29.4

%QW21.25.1

%QW21.25.2

%QW21.25.3

%QW21.29.3

IW21.29.4

%IW22.25.1

%IW22.25.2

%IW22.25.3

%IW22.29.3

IW22.29.4

%QW22.25.1

%QW22.25.2

%QW22.25.3

%QW22.29.2

%QW22.29.3

IW22.29.4

%IW21.30.0 %QW21.30.0 %IW22.30.0 %QW22.30.0

%IW21.30.1 %QW21.30.1 %IW22.30.1 %QW22.30.1

%QW22.30.2

%IW21.30.3 %QW21.30.3 %IW22.30.3 %QW22.30.3

%IW21.30.4 %QW21.30.4 %IW22.30.4 %QW22.30.4

%IW21.31.0 %QW21.31.0 %IW22.31.0 %QW22.31.0

3

4th channel single slave or:

2nd channel B slave

4 status

0

1

2

3

1st channel S/A slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0

1

1st channel S/A slave

2nd channel S/A slave

2

3

4 status

0 1st channel S/A slave

1

2

3

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

3

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

1

2

3

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

4th channel single slave or:

2nd channel B slave

4 status

0 1st channel S/A slave

Slave address

25

26

27

28

29

30

31

4-51

Function

Project transmission and diagnosis via Ethernet interface

Master 1 inputs

IEC addresses

(PLC in controllere)

Master 1 outputs

Master 2 inputs

Master 2 outputs

%IW21.31.1 %QW21.31.1 %IW22.31.1 %QW22.31.1

Data content (16 bits = word)

Channel Description

%IW21.31.2

%IW21.31.3

%IW21.31.4

%QW21.31.2

%QW21.31.3

%QW21.31.4

%IW22.31.2

%IW22.31.3

%IW22.31.4

%QW22.31.2

%QW22.31.3

%QW22.31.4

1

2

2nd channel S/A slave

3rd channel single slave or:

1st channel B slave

3

4th channel single slave or:

2nd channel B slave

4 status

Slave address

4-52

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for configuration data (CDI) of the slaves

CDI = Configuration Data Image

Modbus addresses Bits / data content

Master 1 Master 2

15…12

XID2 current projected current projected

4285 4381 8381 8477

11…8

XID1

7…4

ID

0

3…0

IO configuration data of slave

4286 4382 8382 8478

4287 4383 8383 8479

4288 4384 8384 8480

4289 4385 8385 8481

4290 4386 8386 8482

4291 4387 8387 8483

4292 4388 8388 8484

4293 4389 8389 8485

4294 4390 8390 8486

4295 4391 8391 8487

4296 4392 8392 8488

4297 4393 8393 8489

4298 4394 8394 8490

4299 4395 8395 8491

4300 4396 8396 8492

4301 4397 8397 8493

4302 4398 8398 8494

4303 4399 8399 8495

4304 4400 8400 8496

4305 4401 8401 8497

4306 4402 8402 8498

4307 4403 8403 8499

4308 4404 8404 8500

4309 4405 8405 8501

4310 4406 8406 8502

4311 4407 8407 8503

4312 4408 8408 8504

4313 4409 8409 8505

4314 4410 8410 8506

4315 4411 8411 8507

4316 4412 8412 8508

4317 4413 8413 8509

4318 4414 8414 8510

4319 4415 8415 8511

4320 4416 8416 8512

4321 4417 8417 8513

4322 4418 8418 8514

IEC addresses

(PLC in controllere)

Master 1 Master 2 current projected current projected

%IW31.0 %IW31.96 %IW32.0 %IW32.96

%IW31.1 %IW31.97 %IW32.1 %IW32.97

%IW31.2 %IW31.98 %IW32.2 %IW32.98

%IW31.3 %IW31.99 %IW32.3 %IW32.99

%IW31.4 %IW31.100 %IW32.4 %IW32.100

%IW31.5 %IW31.101 %IW32.5 %IW32.101

%IW31.6 %IW31.102 %IW32.6 %IW32.102

%IW31.7 %IW31.103 %IW32.7 %IW32.103

%IW31.8 %IW31.104 %IW32.8 %IW32.104

%IW31.9 %IW31.105 %IW32.9 %IW32.105

%IW31.10 %IW31.106 %IW32.10 %IW32.106

%IW31.11 %IW31.107 %IW32.11 %IW32.107

%IW31.12 %IW31.108 %IW32.12 %IW32.108

%IW31.13 %IW31.109 %IW32.13 %IW32.109

%IW31.14 %IW31.110 %IW32.14 %IW32.110

%IW31.15 %IW31.111 %IW32.15 %IW32.111

%IW31.16 %IW31.112 %IW32.16 %IW32.112

%IW31.17 %IW31.113 %IW32.17 %IW32.113

%IW31.18 %IW31.114 %IW32.18 %IW32.114

%IW31.19 %IW31.115 %IW32.19 %IW32.115

%IW31.20 %IW31.116 %IW32.20 %IW32.116

%IW31.21 %IW31.117 %IW32.21 %IW32.117

%IW31.22 %IW31.118 %IW32.22 %IW32.118

%IW31.23 %IW31.119 %IW32.23 %IW32.119

%IW31.24 %IW31.120 %IW32.24 %IW32.120

%IW31.25 %IW31.121 %IW32.25 %IW32.121

%IW31.26 %IW31.122 %IW32.26 %IW32.122

%IW31.27 %IW31.123 %IW32.27 %IW32.123

%IW31.28 %IW31.124 %IW32.28 %IW32.124

%IW31.29 %IW31.125 %IW32.29 %IW32.125

%IW31.30 %IW31.126 %IW32.30 %IW32.126

%IW31.31 %IW31.127 %IW32.31 %IW32.127

%IW31.32 %IW31.128 %IW32.32 %IW32.128

%IW31.33 %IW31.129 %IW32.33 %IW32.129

%IW31.34 %IW31.130 %IW32.34 %IW32.130

%IW31.35 %IW31.131 %IW32.35 %IW32.131

%IW31.36 %IW31.132 %IW32.36 %IW32.132

%IW31.37 %IW31.133 %IW32.37 %IW32.133

4-53

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses Bits / data content

IEC addresses

(PLC in controllere)

Master 1 Master 2

15…12

XID2 current projected current projected

4323 4419 8419 8515

4324 4420 8420 8516

4325 4421 8421 8517

4326 4422 8422 8518

4327 4423 8423 8519

4328 4424 8424 8520

11…8

XID1

7…4

ID

3…0

IO configuration data of slave

Master 1 Master 2 current projected current projected

%IW31.38 %IW31.134 %IW32.38 %IW32.134

%IW31.39 %IW31.135 %IW32.39 %IW32.135

%IW31.40 %IW31.136 %IW32.40 %IW32.136

%IW31.41 %IW31.137 %IW32.41 %IW32.137

%IW31.42 %IW31.138 %IW32.42 %IW32.138

%IW31.43 %IW31.139 %IW32.43 %IW32.139

%IW31.44 %IW31.140 %IW32.44 %IW32.140

4329 4425 8425 8521

4330 4426 8426 8522

4331 4427 8427 8523

4332 4428 8428 8524

4333 4429 8429 8525

4334 4430 8430 8526

4335 4431 8431 8527

%IW31.45 %IW31.141 %IW32.45 %IW32.141

%IW31.46 %IW31.142 %IW32.46 %IW32.142

%IW31.47 %IW31.143 %IW32.47 %IW32.143

%IW31.48 %IW31.144 %IW32.48 %IW32.144

%IW31.49 %IW31.145 %IW32.49 %IW32.145

%IW31.50 %IW31.146 %IW32.50 %IW32.146

%IW31.51 %IW31.147 %IW32.51 %IW32.147

4336 4432 8432 8528

4337 4433 8433 8529

4338 4434 8434 8530

4339 4435 8435 8531

4340 4436 8436 8532

4341 4437 8437 8533

%IW31.52 %IW31.148 %IW32.52 %IW32.148

%IW31.53 %IW31.149 %IW32.53 %IW32.149

%IW31.54 %IW31.150 %IW32.54 %IW32.150

%IW31.55 %IW31.151 %IW32.55 %IW32.151

%IW31.56 %IW31.152 %IW32.56 %IW32.152

4342 4438 8438 8534

4343 4439 8439 8535

%IW31.57 %IW31.153 %IW32.57 %IW32.153

%IW31.58 %IW31.154 %IW32.58 %IW32.154

4344 4440 8440 8536

4345 4441 8441 8537

4346 4442 8442 8538

4347 4443 8443 8539

4348 4444 8444 8540

%IW31.59 %IW31.155 %IW32.59 %IW32.155

%IW31.60 %IW31.156 %IW32.60 %IW32.156

%IW31.61 %IW31.157 %IW32.61 %IW32.157

%IW31.62 %IW31.158 %IW32.62 %IW32.158

%IW31.63 %IW31.159 %IW32.63 %IW32.159

*) For the AS-i address 0B there is no configuration data. The value of this field is always zero.

IEC addresses in the PLC of the controllere for configuration data (CDI) of the slaves

CDI = Configuration Data Image

Data area Type of access

% I W 31. 8

Identification IEC address index

I = input W = word

31 = master 1

32 = master 2

0…63

96…159 current configuration projected configuration

––

not used

4-54

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for parameter data of the slaves

Modbus addresses Bits

Master 1 current reflected

Master 2 current reflected

15…12 11…8 7…4 3…0 parameter data of slave

IEC addresses

(PLC in controllere)

Master 1 current reflected

Master 2 current reflected

4351 4447 8447 8543

%IW31.66 %IW31.162 %IW32.66 %IW32.162

4352 4448 8448 8544 %IW31.67 %IW31.163 %IW32.67 %IW32.163

4353 4449 8449 8545

%IW31.68 %IW31.164 %IW32.68 %IW32.164

4354 4450 8450 8546 %IW31.69 %IW31.165 %IW32.69 %IW32.165

4355 4451 8451 8547

%IW31.70 %IW31.166 %IW32.70 %IW32.166

4356 4452 8452 8548 1B %IW31.71 %IW31.167 %IW32.71 %IW32.167

IEC addresses in the PLC of the controllere for parameter data of the slaves

% I W 31. 64

Data area Type of access

Identification IEC address index

I = input W = word

31 = master 1

32 = master 2

64….79

160…175 current parameters reflected parameters

––

not used

4-55

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the slave list LAS (list of active slaves)

Modbus addresses

IEC addresses

(PLC in controllere)

Master 1 Master 2 15 14 13 12 11 10

Bits

AS-i slave addresses

9 8 7 6 5 4 3 2 1 0

4365

%IW31.80

4366

%IW31.81

4367

%IW31.82

8461

%IW32.80

8462

%IW32.81

8463

%IW32.82

15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0*)

31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A)

15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B —

4368

%IW31.83

8464

%IW32.83

31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B

*) LAS has no slave 0, so these values are set to 0 by default!

IEC addresses in the PLC of the controllere for the slave list LAS (list of active slaves)

Data area Type of access

% I W 31. 80

Identification Slave selection ––

I = input W = word

31 = master 1

32 = master 2

80 = LAS of the slaves 1(A)…15(A)

81 = LAS of the slaves 16(A)…31(A)

82 = LAS of the slaves 1B…15B

83 = LAS of the slaves 16B…31B not used

4-56

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the slave list LDS (list of detected slaves)

Modbus addresses

IEC addresses

(PLC in controllere)

Master 1 Master 2 15 14 13 12 11 10

Bits

AS-i slave addresses

9 8 7 6

4369

%IW31.84

4370

%IW31.85

4371

%IW31.86

4372

%IW31.87

5 4 3 2 1 0

8465

%IW32.84

8466

%IW32.85

8467

%IW32.86

8468

%IW32.87

15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0

31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A)

15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B —

31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B

IEC addresses in the PLC of the controllere for the slave list LDS

(list of detected slaves)

% I W 31. 84

Data area Type of access

Identification Slave selection

I = input W = word

31 = master 1

32 = master 2

84 = LDS of the slaves 1(A)…15(A)

85 = LDS of the slaves 16(A)…31(A)

86 = LDS of the slaves 1B…15B

87 = LDS of the slaves 16B…31B

––

not used

4-57

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the slave list LPF (list of slaves with periphery faults)

Modbus addresses

IEC addresses

(PLC in controllere)

Master 1 Master 2 15 14 13 12 11 10

Bits

AS-i slave addresses

9 8 7 6 5 4 3 2 1 0

4373

%IW31.88

4374

%IW31.89

4375

%IW31.90

8469

%IW32.88

8470

%IW32.89

8471

%IW32.90

15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0*)

31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A)

15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B —

4376

%IW31.91

8472

%IW32.91

31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B

*) LPF has no slave 0, so these values are set to 0 by default!

IEC addresses in the PLC of the controllere for the slave list LPF

(list of slaves with periphery faults)

% I W 31. 88

Data area Type of access

Identification Slave selection

I = input W = word

31 = master 1

32 = master 2

88 = LPF of the slaves 1(A)…15(A)

89 = LPF of the slaves 16(A)…31(A)

90 = LPF of the slaves 1B…15B

91 = LPF of the slaves 16B…31B

––

not used

4-58

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the slave list LPS (list of projected slaves)

Modbus addresses

IEC addresses

(PLC in controllere)

Master 1 Master 2 15 14 13 12 11 10

Bits

AS-i slave addresses

9 8 7 6 5 4 3 2 1 0

4377

%IW3192

4378

%IW31.93

4379

%IW31.94

8473

%IW32.92

8474

%IW32.93

8475

%IW32.94

15(A) 14(A) 13(A) 12(A) 11(A) 10(A) 9(A) 8(A) 7(A) 6(A) 5(A) 4(A) 3(A) 2(A) 1(A) 0*)

31(A) 30(A) 29(A) 28(A) 27(A) 26(A) 25(A) 24(A) 23(A) 22(A) 21(A) 20(A) 19(A) 18(A) 17(A) 16(A)

15B 14B 13B 12B 11B 10B 9B 8B 7B 6B 5B 4B 3B 2B 1B —

4380

%IW31.95

8476

%IW32.95

31B 30B 29B 28B 27B 26B 25B 24B 23B 22B 21B 20B 19B 18B 17B 16B

*) LPS has no slave 0, so these values are set to 0 by default!

IEC addresses in the PLC of the controllere for the slave list LPS

(list of projected slaves)

% I W 31. 92

Data area Type of access

Identification Slave selection

I = input W = word

31 = master 1

32 = master 2

92 = LPS of the slaves 1(A)…15(A)

93 = LPS of the slaves 16(A)…31(A)

94 = LPS of the slaves 1B…15B

95 = LPS of the slaves 16B…31B

––

not used

4-59

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the slave telegram error counters

Modbus addresses

Master 1

4494

4495

4496

4497

4498

4499

4500

4501

4484

4485

4486

4487

4488

4489

4490

4491

4492

4493

4473

4474

4475

4476

4477

4478

4479

4480

4481

4482

4483

4467

4468

4469

4470

4471

4472

4461

4462

4463

4464

4465

4466

Master 2

8590

8591

8592

8593

8594

8595

8596

8597

8580

8581

8582

8583

8584

8585

8586

8587

8588

8589

8569

8570

8571

8572

8573

8574

8575

8576

8577

8578

8579

8563

8564

8565

8566

8567

8568

8557

8558

8559

8560

8561

8562

Telegram error counter of slave

(16 bits = 1 word)

3 B

4 B

5 B

6 B

7 B

8 B

9 B

10 B

24 (A)

25 (A)

26 (A)

27 (A)

28 (A)

29 (A)

30 (A)

31 (A)

1 B

2 B

13 (A)

14 (A)

15 (A)

16 (A)

17 (A)

18 (A)

19 (A)

20 (A)

21 (A)

22 (A)

23 (A)

7 (A)

8 (A)

9 (A)

10 (A)

11 (A)

12 (A)

1 (A)

2 (A)

3 (A)

4 (A)

5 (A)

6 (A)

4-60

IEC addresses

(PLC in controllere)

Master 1 Master 2

%IW31.176 %IW32.176

%IW31.177 %IW32.177

%IW31.178 %IW32.178

%IW31.179 %IW32.179

%IW31.180 %IW32.180

%IW31.181 %IW32.181

%IW31.182 %IW32.182

%IW31.183 %IW32.183

%IW31.184 %IW32.184

%IW31.185 %IW32.185

%IW31.186 %IW32.186

%IW31.187 %IW32.187

%IW31.188 %IW32.188

%IW31.189 %IW32.189

%IW31.190 %IW32.190

%IW31.191 %IW32.191

%IW31.192 %IW32.192

%IW31.193 %IW32.193

%IW31.194 %IW32.194

%IW31.195 %IW32.195

%IW31.196 %IW32.196

%IW31.197 %IW32.197

%IW31.198 %IW32.198

%IW31.199 %IW32.199

%IW31.200 %IW32.200

%IW31.201 %IW32.201

%IW31.202 %IW32.202

%IW31.203 %IW32.203

%IW31.204 %IW32.204

%IW31.205 %IW32.205

%IW31.206 %IW32.206

%IW31.207 %IW32.207

%IW31.208 %IW32.208

%IW31.209 %IW32.209

%IW31.210 %IW32.210

%IW31.211 %IW32.211

%IW31.212 %IW32.212

%IW31.213 %IW32.213

%IW31.214 %IW32.214

%IW31.215 %IW32.215

%IW31.216 %IW32.216

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Master 1

4512

4513

4514

4515

4516

4517

4518

4519

4520

4521

4522

4502

4503

4504

4505

4506

4507

4508

4509

4510

4511

Master 2

8608

8609

8610

8611

8612

8613

8614

8615

8616

8617

8618

8598

8599

8600

8601

8602

8603

8604

8605

8606

8607

Telegram error counter of slave

(16 bits = 1 word)

26 B

27 B

28 B

29 B

30 B

31 B

21 B

22 B

23 B

24 B

25 B

16 B

17 B

18 B

19 B

20 B

11 B

12 B

13 B

14 B

15 B

IEC addresses

(PLC in controllere)

Master 1 Master 2

%IW31.217 %IW32.217

%IW31.218 %IW32.218

%IW31.219 %IW32.219

%IW31.220 %IW32.220

%IW31.221 %IW32.221

%IW31.222 %IW32.222

%IW31.223 %IW32.223

%IW31.224 %IW32.224

%IW31.225 %IW32.225

%IW31.226 %IW32.226

%IW31.227 %IW32.227

%IW31.228 %IW32.228

%IW31.229 %IW32.229

%IW31.230 %IW32.230

%IW31.231 %IW32.231

%IW31.2xx %IW32.2xx

%IW31.233 %IW32.233

%IW31.234 %IW32.234

%W31.235 %W32.235

%IW31.236 %IW32.236

%IW31.237 %IW32.237

IEC addresses in the PLC of the controllere for the slave telegram error counter

% I W 31. 176

Data area Type of access

Identification IEC address index

I = input W = word

31 = master 1

32 = master 2

––

176…237 = error counter of the slaves 1(A)…31B not used

4-61

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the configuration error counter

Modbus addresses

Master 1

4523

Master 2

8619

Configuration error counter of AS-i master

(16 bits = 1 word)

configuration error counter of AS-i master

IEC addresses

(PLC in controllere)

Master 1 Master 2

%IW31.238 %IW32.238

IEC addresses in the PLC of the controllere for the configuration error counter

% I W 31. 238

Data area Type of access

Identification IEC address index

I = input W = word

31 = master 1

32 = master 2

238 = configuration error counter

––

not used

Modbus addresses for the AS-i cycle counter

Modbus addresses

Master 1

4524

Master 2

8620

AS-i cycle counter of AS-i master

(16 bits = 1 word)

AS-i cycle counter of AS-i master

IEC addresses in the PLC of the controllere for the AS-i cycle counter

Data area Type of access

% I W 31. 239

Identification IEC address index

I = input W = word

31 = master 1

32 = master 2

239 = AS-i cycle counter

IEC addresses

(PLC in controllere)

Master 1 Master 2

%IW31.239 %IW32.239

––

not used

4-62

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the request data of the host command channel

Modbus addresses Bit

Master 1 Master 2 15 14 13 12 11 10 9 8 7 6 5

echo byte of the request

4 3

request / status

2

4794 8890

4795 8891

4796 8892

4797 8893

4798 8894

4799 8895

4800 8896

4801 8897

4802 8898

4803 8899

4804 8900

4805 8901

4806 8902

4807 8903

4808 8904

4809 8905

4810 8906

4811 8907

4812 8908 reserved

1 0

4-63

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the response data of the host command channel

Modbus addresses Bit

Master 1 Master 2 15 14 13 12 11 10 9 8 7 6 5

4813 8909

4814 8910

4815 8911

4816 8912

4817 8913

4818 8914

4819 8915

4820 8916

4821 8917

4822 8918

4823 8919

4824 8920

4825 8921

4826 8922

4827 8923

4828 8924

4829 8925

4830 8926

4831 8927 echo byte of the response reserved

4 3

status

2 1 0

4-64

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the fieldbus data from/to the PLC of the controllere

Modbus addresses

Data to the

PLC

Data from the PLC

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

12318

12319

12320

12321

12322

12323

12324

12325

12326

12327

12328

12308

12309

12310

12311

12312

12313

12314

12315

12316

12317

12298

12299

12300

12301

12302

12303

12304

12305

12306

12307

12288

12289

12290

12291

12292

12293

12294

12295

12296

12297

%QW0.30

%QW0.31

%QW0.32

%QW0.33

%QW0.34

%QW0.35

%QW0.36

%QW0.37

%QW0.38

%QW0.39

%QW0.40

%QW0.20

%QW0.21

%QW0.22

%QW0.23

%QW0.24

%QW0.25

%QW0.26

%QW0.27

%QW0.28

%QW0.29

%QW0.10

%QW0.11

%QW0.12

%QW0.13

%QW0.14

%QW0.15

%QW0.16

%QW0.17

%QW0.18

%QW0.19

%QW0.0

%QW0.1

%QW0.2

%QW0.3

%QW0.4

%QW0.5

%QW0.6

%QW0.7

%QW0.8

%QW0.9

4-65

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data content

(16 bits = 1 word)

Data to the

PLC

12338

12339

12340

12341

12342

12343

12344

12345

12346

12347

12348

12349

12350

12351

12329

12330

12331

12332

12333

12334

12335

12336

12337

Data from the PLC

IEC addresses in the PLC of the controllere for the fieldbus data from/to the PLC of the controllere

Data area Type of access

% I W 0. 10

% Q W 0. 20

Identification IEC address index

I = input

Q = output

W = word 0 (fixed value) 0…63 = word x of the data field

––

not used

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW0.50

%QW0.51

%QW0.52

%QW0.53

%QW0.54

%QW0.55

%QW0.56

%QW0.57

%QW0.58

%QW0.59

%QW0.60

%QW0.61

%QW0.62

%QW0.63

%QW0.41

%QW0.42

%QW0.43

%QW0.44

%QW0.45

%QW0.46

%QW0.47

%QW0.48

%QW0.49

4-66

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses for the extended data from/to the PLC of the controllere

Modbus addresses

Data to the

PLC

Data from the PLC

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

12446

12447

12448

12449

12450

12451

12452

12453

12454

12455

12456

12436

12437

12438

12439

12440

12441

12442

12443

12444

12445

12426

12427

12428

12429

12430

12431

12432

12433

12434

12435

12416

12417

12418

12419

12420

12421

12422

12423

12424

12425

%QW4.30

%QW4.31

%QW4.32

%QW4.33

%QW4.34

%QW4.35

%QW4.36

%QW4.37

%QW4.38

%QW4.39

%QW4.40

%QW4.20

%QW4.21

%QW4.22

%QW4.23

%QW4.24

%QW4.25

%QW4.26

%QW4.27

%QW4.28

%QW4.29

%QW4.10

%QW4.11

%QW4.12

%QW4.13

%QW4.14

%QW4.15

%QW4.16

%QW4.17

%QW4.18

%QW4.19

%QW4.0

%QW4.1

%QW4.2

%QW4.3

%QW4.4

%QW4.5

%QW4.6

%QW4.7

%QW4.8

%QW4.9

4-67

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data to the

PLC

12466

12467

12468

12469

12470

12471

12472

12473

12474

12475

12476

12477

12457

12458

12459

12460

12461

12462

12463

12464

12465

12478

12479

12480

12481

12482

12483

12484

12485

12486

12487

12488

12489

12490

12491

12492

12493

12494

12495

12496

12497

12498

Data from the PLC

4-68

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW4.50

%QW4.51

%QW4.52

%QW4.53

%QW4.54

%QW4.55

%QW4.56

%QW4.57

%QW4.58

%QW4.59

%QW4.60

%QW4.61

%QW4.41

%QW4.42

%QW4.43

%QW4.44

%QW4.45

%QW4.46

%QW4.47

%QW4.48

%QW4.49

%QW4.62

%QW4.63

%QW4.64

%QW4.65

%QW4.66

%QW4.67

%QW4.68

%QW4.69

%QW4.70

%QW4.71

%QW4.72

%QW4.73

%QW4.74

%QW4.75

%QW4.76

%QW4.77

%QW4.78

%QW4.79

%QW4.80

%QW4.81

%QW4.82

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data to the

PLC

12508

12509

12510

12511

12512

12513

12514

12515

12516

12517

12518

12519

12499

12500

12501

12502

12503

12504

12505

12506

12507

12520

12521

12522

12523

12524

12525

12526

12527

12528

12529

12530

12531

12532

12533

12534

12535

12536

12537

12538

12539

12540

Data from the PLC

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW4.83

%QW4.84

%QW4.85

%QW4.86

%QW4.87

%QW4.88

%QW4.89

%QW4.90

%QW4.91

%QW4.92

%QW4.93

%QW4.94

%QW4.95

%QW4.96

%QW4.97

%QW4.98

%QW4.99

%QW4.100

%QW4.101

%QW4.102

%QW4.103

%QW4.104

%QW4.105

%QW4.106

%QW4.107

%QW4.108

%QW4.109

%QW4.110

%QW4.111

%QW4.112

%QW4.113

%QW4.114

%QW4.115

%QW4.116

%QW4.117

%QW4.118

%QW4.119

%QW4.120

%QW4.121

%QW4.122

%QW4.123

%QW4.124

4-69

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data to the

PLC

12550

12551

12552

12553

12554

12555

12556

12557

12558

12559

12560

12561

12541

12542

12543

12544

12545

12546

12547

12548

12549

12562

12563

12564

12565

12566

12567

12568

12569

12570

12571

12572

12573

12574

12575

12576

12577

12578

12579

12580

12581

12582

Data from the PLC

4-70

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW4.125

%QW4.126

%QW4.127

%QW4.128

%QW4.129

%QW4.130

%QW4.131

%QW4.132

%QW4.133

%QW4.134

%QW4.135

%QW4.136

%QW4.137

%QW4.138

%QW4.139

%QW4.140

%QW4.141

%QW4.142

%QW4.143

%QW4.144

%QW4.145

%QW4.146

%QW4.147

%QW4.148

%QW4.149

%QW4.150

%QW4.151

%QW4.152

%QW4.153

%QW4.154

%QW4.155

%QW4.156

%QW4.157

%QW4.158

%QW4.159

%QW4.160

%QW4.161

%QW4.162

%QW4.163

%QW4.164

%QW4.165

%QW4.166

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data to the

PLC

12592

12593

12594

12595

12596

12597

12598

12599

12600

12601

12602

12603

12583

12584

12585

12586

12587

12588

12589

12590

12591

12604

12605

12606

12607

12608

12609

12610

12611

12612

12613

12614

12615

12616

12617

12618

12619

12620

12621

12622

12623

12624

Data from the PLC

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW4.167

%QW4.168

%QW4.169

%QW4.170

%QW4.171

%QW4.172

%QW4.173

%QW4.174

%QW4.175

%QW4.176

%QW4.177

%QW4.178

%QW4.179

%QW4.180

%QW4.181

%QW4.182

%QW4.183

%QW4.184

%QW4.185

%QW4.186

%QW4.187

%QW4.188

%QW4.189

%QW4.190

%QW4.191

%QW4.192

%QW4.193

%QW4.194

%QW4.195

%QW4.196

%QW4.197

%QW4.198

%QW4.199

%QW4.200

%QW4.201

%QW4.202

%QW4.203

%QW4.204

%QW4.205

%QW4.206

%QW4.207

%QW4.208

4-71

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data to the

PLC

12634

12635

12636

12637

12638

12639

12640

12641

12642

12643

12644

12645

12625

12626

12627

12628

12629

12630

12631

12632

12633

12646

12647

12648

12649

12650

12651

12652

12653

12654

12655

12656

12657

12658

12659

12660

12661

12662

12663

12664

12665

12666

Data from the PLC

4-72

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW4.209

%QW4.210

%QW4.211

%QW4.212

%QW4.213

%QW4.214

%QW4.215

%QW4.216

%QW4.217

%QW4.218

%QW4.219

%QW4.220

%QW4.221

%QW4.222

%QW4.223

%QW4.224

%QW4.225

%QW4.226

%QW4.227

%QW4.228

%QW4.229

%QW4.230

%QW4.231

%QW4.232

%QW4.233

%QW4.234

%QW4.235

%QW4.236

%QW4.237

%QW4.238

%QW4.239

%QW4.240

%QW4.241

%QW4.242

%QW4.243

%QW4.244

%QW4.245

%QW4.246

%QW4.247

%QW4.248

%QW4.249

%QW4.250

Function

Project transmission and diagnosis via Ethernet interface

Modbus addresses

Data to the

PLC

12667

12668

12669

12670

12671

Data from the PLC

Data content

(16 bits = 1 word)

IEC addresses

(PLC in controllere)

Data to the

PLC

Data from the PLC

%QW4.251

%QW4.252

%QW4.253

%QW4.254

%QW4.255

IEC addresses in the PLC of the controllere for the extended data from/to the PLC of the controllere

% Q W 4. 27

Identification IEC address index Data area

I = input

Q = output

Type of access

W = word 4 (fixed value) 0…255 = word x of the data field

––

not used

4-73

4-74

Function

Project transmission and diagnosis via Ethernet interface

4.5.4 Data exchange HTML page – controllere

Connection between

controllere

via

controllere controllere network connection controllere client MODBUS/TCP server / client controllere HTML page PC HTML data exchange

page

4-4

4-18

4-33

here

Overview HTML data exchange

With an integrated web server HTML pages of the controllere can be represented on a PC via an

Ethernet network by means of a standard browser. By integrating a Java applet in the HTML page data can dynamically be exchanged with the controllere. To do so, the applet uses the Modbus/TCP protocol.

HTML page switch

Ethernet

AC1353/54

Modbus/TCP server web server

AS-i master

file server

AS-Interface digital

I/O slaves

analogue

I/O slaves

Function

Project transmission and diagnosis via Ethernet interface

Setting up an own web page

An own web page is to be realised on the controllere. For this the following steps are required:

Step 1

Step 2

► Connect the devices via Ethernet (

 page

4-75

)

► Set IP addresses and subnet mask (

 page

4-75

)

Step 3

Step 4

Step 5

Step 6

► Open the HTML page in the browser (

 page

4-76

)

► Address the file server via FTP (

 page

4-77

)

► Edit the web page (

 page

4-79

)

► Load and test the modified web page (

 page

4-81

)

Here is the detailed description of the steps:

Step 1: Connect the devices via Ethernet

► Set up the Ethernet network by connecting the PC and the controllere to the hub (or switch).

► To do so, use common CAT5 Ethernet patch cables with an RJ45 connector on both sides.

Step 2: Set IP addresses and subnet mask

► Set appropriate IP addresses and subnet masks on the controllere and your PC

(methode

 page

4-5 ).

NOTE

In a local network the participants can only communicate if their IP addresses are from the same

"family".

Example: Subnet mask = 255.255.255.0

Then the IP addresses of the first 3 address groups (where "255" is) must be identical for all participants. The IP address may (and must) only be different in the last block (where "0" is)

(permitted values): 0…254).

Ask the network administrator for the specifications!

In our example we assume the following values:

Subnet mask = 255.255.255.0

IP address of the controllere = 192.168.10.11

IP address of the PC = 192.168.10.20

Set up the Ethernet network by connecting the PC and the controllere to the switch.

4-75

Function

Project transmission and diagnosis via Ethernet interface

Step 3: Open the HTML page in the browser

On delivery, a start page is stored in the web server of the controllere. This page is displayed when you access the IP address of the controllere with the HTTP protocol in a browser.

An example of calling the start page of the controllere with the IP address 192.168.10.11 is shown in the following figure.

► Enter "http://" and then the IP address of the controllere in the address bar.

> The following figure appears:

In this window:

A click on ...

Software update

enables ...

Update of the Ethernet driver software

...in this window:

Modbus Settings of the Modbus/TCP server

User Site

4-76

Calling the HTML page

In the following we will describe the adaptation of the contents:

Function

Project transmission and diagnosis via Ethernet interface

NOTE

To allow the web page to be updated it must be possible to run Java applets in the browser (e.g. by

Java 2 Runtime Environment 5.0).

Step 4: Address the file server via FTP

As shown in the following example the file server in the controllere can be called via the browser /

Explorer.

► Enter "ftp://" followed by the requested IP address of the controllere as search address:

4-77

Function

Project transmission and diagnosis via Ethernet interface

If RAM disk in the controllere <10.120:

> The following figure appears:

► User name = ftpuser

Do not enter a password

► Click [Login]

To all controllere devices the following applies:

> The browser opens a kind of Windows Explorer

► Open the directory pub under the requested IP address of the controllere

Then open the subdirectory WWW

> The following figure appears:

The file user.html contains the source code of the page accessed as example in step 3.

In the following you can adapt this page to your application.

4-78

Function

Project transmission and diagnosis via Ethernet interface

Step 5: Edit the web page

► Right-click the file name user.html

► Select [Edit the source code]

In the following we describe the device-specific particularities of the HTML program code. Please find a description of the HTML orders in the appropriate technical literature.

> The following figure appears (detail):

<html>

<head>

</head>

<body onLoad="LoadFct()">

<applet archive="CeMasterApplet.jar" code="CeMasterApplet" name="CeM" width="0" height="0"><param name="DEBUG" value="0"><param name="UNITID" value="1"></applet>

<script LANGUAGE=javascript> function LoadFct()

{ setTimeout("Timer()", 500);

} etc.

In the HTML file an HTML tag <applet> must be indicated.

Detail from the above example:

<applet archive=“CeMasterApplet.jar“ code=“CeMasterApplet“ name=“CeM“ width=“0“ height=“0“> <param name=“DEBUG“ value=“0“>

<param name=“UNITID“ value=“1“>

</applet>

Here, the applet which is saved and available in the Java archive CeMasterApplet.jar is integrated in a web page. name=“CeM“ param name=“UNITID“

The object created by the applet is assigned the name "CeM"

The parameter UNITID is passed to the applet value="1"

UNITID is assigned the value 1

With this applet the user can read or write all registers of the Modbus register model (

 page

4-34

) to display data on a web page or to enter values via the web page in the Modbus registers of the controllere.

Functions available in the applet

 public int getUnitID()

With this function the UnitID of the Java applets can be read. The applet tries to address the controllere with this UnitID. If the UnitID of the applet and the controllere do not match, a

Modbus connection is not set up.

 public void setUnitID(int id) setUnitID

is used to change the UnitID of the applet.

 public int readInputRegister(int ref) readInputRegister reads the register "ref" of the Modbus register model of the controllere. In

4-79

Function

Project transmission and diagnosis via Ethernet interface case of a fault the value "-1" is returned. The content of the Modbus register is returned in the value range 0…65535.

 public void writeSingleRegister(int ref, int value) writeSingleRegister

is used to write a register of a Modbus register model. With the parameter "value" the value to be written is transmitted. If the value is greater than 65535, the bits which are more significant are ignored. With the parameter "ref" the Modbus register to be written is identified.

 public int readDigitalInputSlave(int slave) readDigitalInputSlave

reads the data of a digital input slave. This is a comfort function which makes it unnecessary for the user to extract the slave data from the register value. The 4-bit value of the corresponding input slave is directly delivered. The parameter “slave" must contain a slave address in the range of 0...62. The slave addresses 32...62 are used for B slaves.

 public int writeDigitalOutputSlave(int slave, int value) writeDigitalOutputSlave

enables to write the outputs of a digital output slave. With the parameter "slave" a slave address in the range of 0...62 is transmitted. The addresses 32...62 are used to address B slaves. In the parameter "value" the value to be written is transmitted.

 public void setDebugMode(int level)

With the setDebugMode the output of debug messages of the Java applet to the Java console can be controlled. For the parameter "level" the values 0...9 are possible. Outputs are activated by setting a bit in the parameter "level".

 public int getDebugMode()

The function getDebugMode delivers the currently set debug level value.

Call the function cyclically

Function calls in the script are normally only processed when a page is loaded. To obtain a cyclic update of the data the function "Timer" recalls itself always at the end with a defined delay (here: 250 ms): function LoadFct()

{ setTimeout("Timer()", 500); // Initial call of Timer()

} function Timer() // List of all textboxes whose values shall be updated regularly

{

... // Update of the data setTimeout("Timer()", 250);

}

//Restarts Timer() in 250 ms

4-80

Function

Project transmission and diagnosis via Ethernet interface

Step 6: Loading and testing the modified web page

There are two possibilities to open an application-specific web page:

 The page shall be accessible via the link [User-Site] from the supplied start page:

 A file user.html must be saved in the directory /pub/www.

 The web page shall replace the supplied start page:

 It must be saved as file index.html in the directoy /pub/www.

The page cannot be saved from the editor directly in the controllere. Therefore:

► First save the new page on the hard disk of the PC.

► Carry out the following steps to copy the user web page to the controllere:

 Login to the controllere by means of ftp  Step 4, page

4-77

).

 Change to the directory pub.

 If it does not yet exist: create directory www

Change to the directory www

Copy the file user.html or index.html from the PC to this directory.

 If

changed:

Power the controllere off and on again

NOTE

After switching on the controllere it is checked whether a file user.html or index.html exists. If yes, a link to this file is created.

If none of these both files exists, a link to a default page is created.

4-81

Function

Project transmission and diagnosis via Ethernet interface

4-82

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents