Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 6 of 6

DL405 Remote Master/Remote Slave D4-RM, D4-RS, and D4-RSDC, pages 51 to 60

Pages 51 to 60 of 60

The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the PLC Direct D4-RM and Koyo D4-RM

Page 51

B--2

Reserved Memory Tables for Remote I/O

Remote Input/Output Global (GX) Addresses

Appendix B Reserved Memory Tables

MSB

LSB

Address

17

16

15

14

13

12

11

10

7

6

5

4

3

2

1

0

017

016

015

014

013

012

011

010

007

006

005

004

003

002

001

000

V40000

037

036

035

034

033

032

031

030

027

026

025

024

023

022

021

020

V40001

057

056

055

054

053

052

051

050

047

046

045

044

043

042

041

040

V40002

077

076

075

074

073

072

071

070

067

066

065

064

063

062

061

060

V40003

117

116

115

114

113

112

111

110

107

106

105

104

103

102

101

100

V40004

137

136

135

134

133

132

131

130

127

126

125

124

123

122

121

120

V40005

157

156

155

154

153

152

151

150

147

146

145

144

143

142

141

140

V40006

177

176

175

174

173

172

171

170

167

166

165

164

163

162

161

160

V40007

217

216

215

214

213

212

211

210

207

206

205

204

203

202

201

200

V40010

237

236

235

234

233

232

231

230

227

226

225

224

223

222

221

220

V40011

257

256

255

254

253

252

251

250

247

246

245

244

243

242

241

240

V40012

277

276

275

274

273

272

271

270

267

266

265

264

263

262

261

260

V40013

317

316

315

314

313

312

311

310

307

306

305

304

303

302

301

300

V40014

337

336

335

334

333

332

331

330

327

326

325

324

323

322

321

320

V40015

357

356

355

354

353

352

351

350

347

346

345

344

343

342

341

340

V40016

377

376

375

374

373

372

371

370

367

366

365

364

363

362

361

360

V40017

417

416

415

414

413

412

411

410

407

406

405

404

403

402

401

400

V40020

437

436

435

434

433

432

431

430

427

426

425

424

423

422

421

420

V40021

457

456

455

454

453

452

451

450

447

446

445

444

443

442

441

440

V40022

477

476

475

474

473

472

471

470

467

466

465

464

463

462

461

460

V40023

517

516

515

514

513

512

511

510

507

506

505

504

503

502

501

500

V40024

537

536

535

534

533

532

531

530

527

526

525

524

523

522

521

520

V40025

557

556

555

554

553

552

551

550

547

546

545

544

543

542

541

540

V40026

577

576

575

574

573

572

571

570

567

566

565

564

563

562

561

560

V40027

617

616

615

614

613

612

611

610

607

606

605

604

603

602

601

600

V40030

637

636

635

634

633

632

631

630

627

626

625

624

623

622

621

620

V40031

657

656

655

654

653

652

651

650

647

646

645

644

643

642

641

640

V40032

677

76

675

674

673

672

671

670

667

666

665

664

663

662

661

660

V40033

717

716

715

714

713

712

711

710

707

706

705

704

703

702

701

700

V40034

737

736

735

734

733

732

731

730

727

727

742

724

723

722

721

720

V40035

757

756

755

754

753

752

751

750

747

746

745

744

743

742

741

740

V40036

777

776

775

774

773

772

771

770

767

766

765

764

763

762

761

760

V40037

Page 52

Reserved Memory Tables for Remote I/O

B--3

Standard Input (X) Addresses MSB

LSB

Address

16

15

14

13

12

11

10

7

6

5

4

3

2

1

0

017

016

015

014

013

012

011

010

007

006

005

004

003

002

001

000

V40400

037

036

035

034

033

032

031

030

027

026

025

024

023

022

021

020

V40401

057

056

055

054

053

052

051

050

047

046

045

044

043

042

041

040

V40402

077

076

075

074

073

072

071

070

067

066

065

064

063

062

061

060

V40403

117

116

115

114

113

112

111

110

107

106

105

104

103

102

101

100

V40404

137

136

135

134

133

132

131

130

127

126

125

124

123

122

121

120

V40405

157

156

155

154

153

152

151

150

147

146

145

144

143

142

141

140

V40406

177

176

175

174

173

172

171

170

167

166

165

164

163

162

161

160

V40407

217

216

215

214

213

212

211

210

207

206

205

204

203

202

201

200

V40410

237

236

235

234

233

232

231

230

227

226

225

224

223

222

221

220

V40411

257

256

255

254

253

252

251

250

247

246

245

244

243

242

241

240

V40412

277

276

275

274

273

272

271

270

267

266

265

264

263

262

261

260

V40413

317

316

315

314

313

312

311

310

307

306

305

304

303

302

301

300

V40414

337

336

335

334

333

332

331

330

327

326

325

324

323

322

321

320

V40415

357

356

355

354

353

352

351

350

347

346

345

344

343

342

341

340

V40416

377

376

375

374

373

372

371

370

367

366

365

364

363

362

361

360

V40417

417

416

415

414

413

412

411

410

407

406

405

404

403

402

401

400

V40420

437

436

435

434

433

432

431

430

427

426

425

424

423

422

421

420

V40421

457

456

455

454

453

452

451

450

447

446

445

444

443

442

441

440

V40422

477

476

475

474

473

472

471

470

467

466

465

464

463

462

461

460

V40423

Appendix B Reserved Memory Tables

17

Page 53

B--4

Reserved Memory Tables for Remote I/O

Standard Output (Y) Addresses

Appendix B Reserved Memory Tables

MSB

LSB

Address

17

16

15

14

13

12

11

10

7

6

5

4

3

2

1

0

017

016

015

014

013

012

011

010

007

006

005

004

003

002

001

000

V40500

037

036

035

034

033

032

031

030

027

026

025

024

023

022

021

020

V40501

057

056

055

054

053

052

051

050

047

046

045

044

043

042

041

040

V40502

077

076

075

074

073

072

071

070

067

066

065

064

063

062

061

060

V40503

117

116

115

114

113

112

111

110

107

106

105

104

103

102

101

100

V40504

137

136

135

134

133

132

131

130

127

126

125

124

123

122

121

120

V40505

157

156

155

154

153

152

151

150

147

146

145

144

143

142

141

140

V40506

177

176

175

174

173

172

171

170

167

166

165

164

163

162

161

160

V40507

217

216

215

214

213

212

211

210

207

206

205

204

203

202

201

200

V40510

237

236

235

234

233

232

231

230

227

226

225

224

223

222

221

220

V40511

257

256

255

254

253

252

251

250

247

246

245

244

243

242

241

240

V40512

277

276

275

274

273

272

271

270

267

266

265

264

263

262

261

260

V40513

317

316

315

314

313

312

311

310

307

306

305

304

303

302

301

300

V40514

337

336

335

334

333

332

331

330

327

326

325

324

323

322

321

320

V40515

357

356

355

354

353

352

351

350

347

346

345

344

343

342

341

340

V40516

377

376

375

374

373

372

371

370

367

366

365

364

363

362

361

360

V40517

417

416

415

414

413

412

411

410

407

406

405

404

403

402

401

400

V40520

437

436

435

434

433

432

431

430

427

426

425

424

423

422

421

420

V40521

457

456

455

454

453

452

451

450

447

446

445

444

443

442

441

440

V40522

477

476

475

474

473

472

471

470

467

466

465

464

463

462

461

460

V40523

Page 54

Reserved Memory Tables for Remote I/O

B--5

Control Relay (C) Addresses MSB

LSB

Address

16

15

14

13

12

11

10

7

6

5

4

3

2

1

0

017

016

015

014

013

012

011

010

007

006

005

004

003

002

001

000

V40600

037

036

035

034

033

032

031

030

027

026

025

024

023

022

021

020

V40601

057

056

055

054

053

052

051

050

047

046

045

044

043

042

041

040

V40602

077

076

075

074

073

072

071

070

067

066

065

064

063

062

061

060

V40603

117

116

115

114

113

112

111

110

107

106

105

104

103

102

101

100

V40604

137

136

135

134

133

132

131

130

127

126

125

124

123

122

121

120

V40605

157

156

155

154

153

152

151

150

147

146

145

144

143

142

141

140

V40606

177

176

175

174

173

172

171

170

167

166

165

164

163

162

161

160

V40607

217

216

215

214

213

212

211

210

207

206

205

204

203

202

201

200

V40610

237

236

235

234

233

232

231

230

227

226

225

224

223

222

221

220

V40611

257

256

255

254

253

252

251

250

247

246

245

244

243

242

241

240

V40612

277

276

275

274

273

272

271

270

267

266

265

264

263

262

261

260

V40613

317

316

315

314

313

312

311

310

307

306

305

304

303

302

301

300

V40614

337

336

335

334

333

332

331

330

327

326

325

324

323

322

321

320

V40615

357

356

355

354

353

352

351

350

347

346

345

344

343

342

341

340

V40616

377

376

375

374

373

372

371

370

367

366

365

364

363

362

361

360

V40617

417

416

415

414

413

412

411

410

407

406

405

404

403

402

401

400

V40620

437

436

435

434

433

432

431

430

427

426

425

424

423

422

421

420

V40621

457

456

455

454

453

452

451

450

447

446

445

444

443

442

441

440

V40622

477

476

475

474

473

472

471

470

467

466

465

464

463

462

461

460

V40623

517

516

515

514

513

512

511

510

507

506

505

504

503

502

501

500

V40624

537

536

535

534

533

532

531

530

527

526

525

524

523

522

521

520

V40625

557

556

555

554

553

552

551

550

547

546

545

544

543

542

541

540

V40626

577

576

575

574

573

572

571

570

567

566

565

564

563

562

561

560

V40627

617

616

615

614

613

612

611

610

607

606

605

604

603

602

601

600

V40630

637

636

635

634

633

632

631

630

627

626

625

624

623

622

621

620

V40631

657

656

655

654

653

652

651

650

647

646

645

644

643

642

641

640

V40632

677

76

675

674

673

672

671

670

667

666

665

664

663

662

661

660

V40633

717

716

715

714

713

712

711

710

707

706

705

704

703

702

701

700

V40634

737

736

735

734

733

732

731

730

727

727

742

724

723

722

721

720

V40635

Appendix B Reserved Memory Tables

17

Page 55

Appendix C Determining I/O Update Time

1C

Page 56

C--2

Determining I/O Update Time

Overview Since the Remote Master and the CPU operate asynchronously from one another, it is possible that the remote I/O points may not be updated on every CPU scan. Therefore, in some applications it may helpful to understand the amount of time required to update the remote I/O points. Depending on the number of I/O points used in your remote configuration and the baud rate you have selected for communication, your update time requirements will vary. This Appendix will show you how to estimate the total delay time for your system.

Appendix C Determining I/O Update

NOTE: In most situations, this delay will be so small that either it makes no difference to the particular application or the mechanical speeds of the field devices are slower than the delay itself. If you have an application that requires a thorough understanding of the time delay, you can use the following information in order to calculate the delay: S Baud Rate, this is the communication baud rate that you selected with the dipswitch settings on the remote master and remote slaves. S CPU Scan Time, this is the total CPU scan time. The easiest way is to use AUX53 from a DL405 Handheld Programmer, or use the Diagnostics option under the PLC menu in our DirectSOFT Programming Software. This Use the respective specifications in the User’s Manual. You can also use the DL405 User Manual to calculate the scan time, but this is often very time consuming. If you use the User Manual, you will have to estimate this time, because it is dependent on the main program length, and number of I/O points in the local and expansion bases as well. S Remote Master Scan, this is the time required for the Remote Master to scan the individual Slave stations to update the status of the I/O modules. Use the formula and table shown on the following page. S Module ON to OFF, OFF to ON Response Time, this is the amount of time that the module requires to see a transition in status. For example, when a switch connected to an input module closes, it can take a few milliseconds (1--12 typical) before the module actually makes the transition from OFF to ON. The easiest way to find this information is from the module specifications in the respective User Manuals. This basic information is also available in the specifications of the Sales Catalog. S Total Delay Time, this is the total delay time that takes all of the above factors into consideration. There are several formulas that can be used to calculate this delay time. See the formulas on Page C5 of this Appendix. Once you have selected the formula applicable to your system, you will use the information you have gathered for the above items to calculate the total system delay time. Since each application is different, we cannot possibly show all of the options for the CPU scan time or the possible module response delays. You can easily find this information in other publications. However, the next few pages will show you how to calculate the delay time for the Remote Master Scan. Also, we show the total delay time for our example system that was used earlier in this manual.

Page 57

Determining I/O Update Time

C--3

Remote I/O Update Table The table shown below shows you how much time is required for the Remote Master Module to update its I/O data to its internal buffers. Remember from earlier reading in this chapter that the remote I/O scan and CPU scan are asynchronous. The CPU may be looking at the master module’s internal buffers several times before the master actually has enough time to write new data there. This chart shows the maximum amount of delay based on the number of I/O points being used. No. of Remote I/O Points

Update Time Required 38.4 kBaud

3.64ms

1.82ms

5.72 ms

2.86 ms

9.88 ms

4.94 ms

18.20 ms

9.10 ms

160 192 224 256

22.36 ms

11.18 ms

26.52 ms

13.26 ms

30.68 ms

15.34 ms

34.84 ms

17.42 ms

288 320 352 384

39.00 ms

19.50 ms

43.16 ms

21.58 ms

47.32 ms

23.66 ms

51.48 ms

25.74 ms

416 448 480 512

55.64 ms

27.82 ms

59.80 ms

29.90 ms

63.96 ms

31.98 ms

68.12 ms

34.06 ms

16 32 64 128

Remote Scan Time You can figure out the amount of time required for the remote I/O scan update with Formula the following formula: TRS = Time from Above Table + (2 ms x No. of Slaves) Example: Given a 38.4 kB system with a total of 128 remote points and 3 slaves. TRS = 9.10 ms + (2 ms x 3) = 15.10 ms

Appendix C Determining I/O Update

19.2 kBaud

Page 58

C--4

Determining I/O Update Time

Calculating Total Delay for the System Now that you have calculated the time required for the Remote Master to go through its scan cycle and update its internal buffer area, we need to add this time to other delay times inherent in the overall system. Below is an example where a remote input changes a remote output. Example Where A Remote Input Changes a Remote Output CPU Scan

Inputs from slot 1 of 1st remote slave in CPU Image Area

X60 X61

Part of program that is executed

Appendix C Determining I/O Update

X60

Y43

Inputs from slot 1 of 1st remote slave in Remote Master Buffer read

X60 X61

X62

X62

X63 X64 X65 X66 X67

X63 X64 X65 X66 X67

Outputs for slot 3 of 1st remote slave in CPU Image Area

Outputs for slot 3 of 1st remote slave in Remote Master Buffer write

Y40 Y41

Y40 Y41

Y42

Y42

Y43 Y44 Y45 Y46 Y47

Y43 Y44 Y45 Y46 Y47

Remote Scan read

Remote Slave #1 8 8 8 8

I I OO X60-X67

X60

INPUT write

Remote Slave #1 8 8 8 8

I I OO Y40-Y47

Y43

OUTPUT

The above drawing could be simplified schematically to look like this: Remote Input CPU X60

Remote Output Y43

The table on the adjacent page gives you a table that shows the formula for calculating the overall system delay for this scenario. It also shows you formulae for two other possible scenarios.

Page 59

Determining I/O Update Time Total Delay Time Formulas

C--5

The following table provides delay formulas for three different configuration scenarios. Notice that that there are two sets of formulas for each scenario. The formula chosen depends on whether the CPU scan time is greater than or less than the Remote Master scan time. There are several variables used in the formulas. The following descriptions will help you understand them. S TCS, CPU scan time. You can use DirectSOFT or a Handheld Programmer to determine this time, or you can estimate the time required by using the DL405 User Manual. S TRS, Remote Master scan time. Use the table and formula shown previously to determine this time. S TIN and TOUT, Module response delay time. You can find this information from the module specifications tables which are usually found in the DL405 User Manual.

Remote Input to Remote Output remote Input

CPU

TRS = TCS

TRS > TCS remote output

TIN + 4(TRS)+6(TCS) +TOUT

TIN + 4(TCS) +TOUT

TIN + 2(TRS)+4(TCS) +TOUT

Appendix C Determining I/O Update

TIN + 6(TCS) +TOUT

Local Input to Remote Output local Input

CPU remote output

Remote Input to Local Output remote Input local CPU output

The following page will show you how to use one of the formulas to calculate the delay time for our example system.

Page 60

C--6

Determining I/O Update Time

Delay Time Example

The following example shows you how to calculate the total time it takes for a remote input to be read and later updated by the CPU scan; and then, a remote output taking place at the remote base. We have used the same configuration as shown throughout this text which features 3 remote slaves, 1 master and 128 remote I/O points, communicating at 38.4 kBaud. EXAMPLE: 38.4 kBaud, D4-440, X60 causing a response by Y43. MasterModule

Main Base with Master Can go in any slot

CPU and PS

16

16

16

16

16

I

I

I

O

O

X0-X17 V40400

X20-X37 V40401

X40-X57 Y0-Y17 Y20-Y37 V40402 V40500 V40501

1st Remote 8

I

8

8

8

I

O

O

Appendix C Determining I/O Update

X60-X67 X70-X77 V40403

Slave Module

32 I/O points

Y40-Y47 Y50-Y57 V40502

2nd Remote

16

16

16

16

I

I

O

O

X100-X117 X120-X137 Y60-Y77 V40404 V40405 V40503

Slave Module

64 I/O points

Y100-Y117 V40504

3rd Remote 8

I

8

8

8

I

O

O

X140-X147 X150-X157 Y120-Y127 Y130-Y137 V40406 V40505

Slave Module

32 I/O points Total = 128 I/O points

Given that CPU scan (TCS) is estimated to be 50 ms. TIN = Maximum response input module time (08ND3S) = 12 ms TOUT = Maximum response output module time (08TD1) = 1 ms TRS = 9.10 ms + (2ms x3) = 15.10 ms < TCS Total Delay for Configuration = TIN + 6(TCS) +TOUT = 12 ms + 6(50 ms) + 1 ms = 313 ms