EMERSON PACSystems VersaMax MICRO PLC & NANO PLC. USER MANUAL (2019) - page 2

 

  Index      Manuals     EMERSON PACSystems VersaMax MICRO PLC & NANO PLC. USER MANUAL (2019)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..      1      2      3      ..

 

 

 

EMERSON PACSystems VersaMax MICRO PLC & NANO PLC. USER MANUAL (2019) - page 2

 

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xvi 

13.4.3

 

Analog Output Specifications (Model IC200UEX826) ............................. 234

 

13.4.4

 

Thermocouple Module Input Specifications ........................................... 235

 

13.4.5

 

Scaling for Thermocouple Module Data ................................................. 236

 

13.4.6

 

Scaling for Analog Outputs (Model IC200UEX826) ................................ 236

 

13.4.7

 

Thermocouple Module Configuration .................................................... 237

 

13.4.8

 

Wiring for Thermocouple Expansion Modules ........................................ 238

 

13.5

 

Module Installation .......................................................................................... 239

 

13.5.1

 

DIP Switch Settings ............................................................................... 239

 

13.5.2

 

LED Indications ...................................................................................... 240

 

13.5.3

 

Basic Temperature Conversion Logic ..................................................... 241

 

13.5.4

 

High-Resolution Temperature Conversion Logic for Thermocouple Units242

 

Chapter 14:

 

CPU Option Modules .......................................... 244

 

14.1

 

Using Option Modules ..................................................................................... 244

 

14.2

 

IC200UMB001 Memory Pack Module ............................................................... 244

 

14.2.1

 

Features ................................................................................................ 245

 

14.3

 

IC200USB001 RS232 Extra Port Option Module with 2 Analog Inputs ............... 246

 

14.3.1

 

Analog Inputs ........................................................................................ 247

 

14.4

 

IC200USB002 RS-422/485 Extra Port Option Module with 2 Analog Inputs ...... 248

 

14.4.1

 

Analog Inputs ........................................................................................ 249

 

14.5

 

IC200UUB001  USB / RS232 Conversion Option Module ................................... 249

 

14.6

 

IC200UEM001 RJ-45, 10/100 Mbit Ethernet Communications Module ............. 250

 

14.6.1

 

Module Specifications ........................................................................... 250

 

14.6.2

 

Status LEDs ........................................................................................... 251

 

14.6.3

 

Configuration Options ........................................................................... 251

 

14.6.4

 

Enhanced Data Throughput .................................................................. 252

 

14.6.5

 

Setting the IP Address ........................................................................... 252

 

14.6.6

 

Downloading Ethernet Drivers............................................................... 252

 

14.6.7

 

Modbus/TCP Client Support .................................................................. 252

 

14.6.8

 

Security Settings for the Ethernet Option Module .................................. 266

 

14.7

 

Installing Option Modules ................................................................................ 267

 

Chapter 15:

 

Installation Instructions ..................................... 269

 

15.1

 

Preinstallation Check ....................................................................................... 269

 

15.2

 

Agency Approvals, Standards, and General Specifications ................................ 270

 

15.2.1

 

Immunity and Emission Specifications, Relevant Standards, and Level Passed 

271

 

15.3

 

Installation Guidelines ..................................................................................... 271

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xvii 

15.3.1

 

CE Mark Installation Requirement .......................................................... 272

 

15.3.2

 

UL Requirements for Class I Div 2 Installations ....................................... 272

 

15.3.3

 

Additional Environmental Guidelines ..................................................... 272

 

15.4

 

Mounting Dimensions ..................................................................................... 273

 

15.4.1

 

Dimensions of Nano PLCs ...................................................................... 273

 

15.4.2

 

Dimensions of 14-, 20-, 23-, 28-, 40-, and 64-Point Micro PLCs and Expansion Units
  274

 

15.5

 

Grounding the Equipment ............................................................................... 274

 

15.5.1

 

Grounding the Programmer .................................................................. 275

 

15.6

 

Installing a PLC or Expansion Unit on a DIN Rail ................................................ 275

 

15.6.1

 

Mounting the PLC on a DIN Rail ............................................................. 276

 

15.6.2

 

Removing the PLC from a DIN Rail ......................................................... 276

 

15.6.3

 

Panel-Mounting .................................................................................... 276

 

15.6.4

 

Grounding the Metal Panel or DIN Rail ................................................... 277

 

15.7

 

Connecting an Expansion Unit to a Micro PLC................................................... 277

 

15.7.1

 

The Expansion Cable ............................................................................. 277

 

15.8

 

System Wiring Guidelines ................................................................................ 278

 

15.8.1

 

Safety Measures .................................................................................... 278

 

15.8.2

 

Installing Additional Suppression ........................................................... 278

 

15.9

 

I/O Installation and Wiring ............................................................................... 279

 

15.9.1

 

Wiring for Power Supply and I/O Connections........................................ 280

 

15.9.2

 

Removable Wiring Terminals ................................................................. 280

 

15.9.3

 

General Wiring Procedures .................................................................... 281

 

15.9.4

 

Providing Fusing for Outputs ................................................................. 282

 

15.9.5

 

Providing Suppression Circuits for Inductive Loads ................................ 283

 

15.9.6

 

Typical DC Input Circuits ....................................................................... 283

 

15.9.7

 

Typical DC Output Circuits .................................................................... 284

 

15.9.8

 

Typical High-Speed Counter Connections .............................................. 286

 

15.9.9

 

Added Resistance for 20-, 40-, and 64-Point Micro PLCS at Higher Count Rates  287

 

15.9.10

 

Typical AC Input and Output Circuits ............................................... 288

 

15.9.11

 

Typical Analog Input and Output Circuits ......................................... 289

 

15.10

 

Starting Up the PLC.......................................................................................... 290

 

15.10.1

 

Turning off Power to the PLC ........................................................... 290

 

15.10.2

 

Normal Power-up Sequence ............................................................ 291

 

15.11

 

Adjusting the Analog Potentiometers .............................................................. 292

 

15.12

 

DIP Switches .................................................................................................... 293

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xviii 

15.12.1

 

4-Position DIP Switches on Micro PLC CPUs ...................................... 293

 

15.12.2

 

DIP Switches on an Analog Expansion Module Select Count Resolution293

 

15.12.3

 

DIP Switches on an RTD Expansion Module Select Update Rate ........ 293

 

15.12.4

 

DIP Switches on a Thermocouple Expansion Module Select Input Sensors/Mode

  294

 

15.13

 

Installing/Replacing a Backup Battery .............................................................. 294

 

15.13.1

 

CPU Battery Consumption Data ....................................................... 294

 

15.14

 

Serial Port Connections.................................................................................... 295

 

15.14.1

 

Providing Power to an External Device from Port 1 or 2 .................... 295

 

15.14.2

 

Short Circuit Protection on 5Vdc for Units Later than June 2005 ....... 295

 

15.14.3

 

Cable Lengths and Baud Rates ......................................................... 296

 

15.14.4

 

Port 1: RS-232 ................................................................................. 296

 

15.14.5

 

Port 2 on 23-Point and 28-Point Micro PLCs: RS-485 ........................ 298

 

15.14.6

 

Port 2 RS-485 Option Module on 20-/ 40-/ 64-Point Micro PLCs ....... 300

 

15.14.7

 

RS-485 Multidrop Serial Connections ............................................... 301

 

15.14.8

 

RS-485 Port Isolator ......................................................................... 302

 

15.14.9

 

RS-232 to RS-485 Adapter ............................................................... 307

 

15.15

 

Replacing AC Output Module Fuses ................................................................. 310

 

15.15.1

 

AC Output Fuse Specifications ......................................................... 311

 

Chapter 16:

 

Configuration .................................................... 312

 

16.1

 

Configuration Overview ................................................................................... 312

 

16.1.1

 

Autoconfiguration ................................................................................. 312

 

16.1.2

 

Software Configuration ......................................................................... 312

 

16.2

 

Storing a Configuration from a Programmer .................................................... 313

 

16.3

 

CPU Configuration ........................................................................................... 314

 

16.4

 

Port 1 Configuration ........................................................................................ 316

 

16.4.1

 

Timing Note for RTU Communications .................................................. 316

 

16.5

 

Port 2 Configuration ........................................................................................ 317

 

16.6

 

Configuring Analog I/O Parameters ................................................................. 318

 

16.7

 

Configuring High-Speed Counter, PWM or Pulse Train ..................................... 318

 

16.7.1

 

HSC, PWM, and PTO Settings ................................................................ 318

 

16.7.2

 

Channel #1, 2, 3, 4 Parameters .............................................................. 320

 

Chapter 17:

 

PLC Operation .................................................... 323

 

17.1

 

Operating Modes............................................................................................. 323

 

17.2

 

Parts of the CPU Sweep .................................................................................... 324

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xix 

17.3

 

Standard CPU Sweep Operation ....................................................................... 326

 

17.3.1

 

The Sweep Windows ............................................................................. 326

 

17.3.2

 

The Watchdog Timer ............................................................................. 327

 

17.4

 

Constant Sweep Time Operation ..................................................................... 327

 

17.4.1

 

Changing the Configured Default for Constant Sweep Mode ................. 327

 

17.4.2

 

The Constant Sweep Timer .................................................................... 327

 

17.4.3

 

Enabling/Disabling Constant Sweep Time,  Reading or Setting the Length of the 
Timer .................................................................................................... 327

 

17.5

 

CPU Stop Modes .............................................................................................. 328

 

17.6

 

Controlling the Execution of a Program ........................................................... 328

 

17.6.1

 

Calling a Subroutine Block ..................................................................... 328

 

17.6.2

 

Creating a Temporary End of Logic ........................................................ 328

 

17.6.3

 

Executing Rungs of Logic without Logical Power Flow ............................ 328

 

17.6.4

 

Jumping to Another Part of the Program................................................ 329

 

17.7

 

Privilege Levels and Passwords ......................................................................... 329

 

17.7.1

 

Protection Level Request from Programmer .......................................... 330

 

17.7.2

 

The OEM Protection Feature .................................................................. 330

 

17.7.3

 

Clearing All Memory .............................................................................. 331

 

17.8

 

Run/Stop Mode Switch Operation.................................................................... 331

 

17.8.1

 

Run/Stop Mode Operation .................................................................... 331

 

17.8.2

 

Configurable Memory Protection .......................................................... 332

 

17.8.3

 

Configuration Parameters and Switch Position for Run/Stop Modes ...... 332

 

17.8.4

 

Configuration Parameters and Switch Position for Memory Protection .. 332

 

17.8.5

 

Configuration Parameters and Switch Position for Simultaneous Run/Stop 
Operation and Memory Protection ........................................................ 333

 

17.8.6

 

Configuration Parameters and Switch Position for Fault Operations....... 333

 

17.9

 

Power-Up and Power-Down Sequence ............................................................. 333

 

17.9.1

 

Power-Up Sequence .............................................................................. 333

 

17.9.2

 

Flash Memory ........................................................................................ 334

 

17.9.3

 

Default Conditions for Micro PLC Output Points..................................... 334

 

17.9.4

 

Power-Down Conditions........................................................................ 335

 

17.9.5

 

Power Cycle .......................................................................................... 335

 

17.10

 

Input Filters ..................................................................................................... 336

 

17.10.1

 

Discrete Input Filtering .................................................................... 336

 

17.11

 

Hardware R/C Filters ........................................................................................ 337

 

17.12

 

Analog Potentiometer Input Filtering .............................................................. 339

 

17.12.1

 

Input Settings .................................................................................. 339

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xx 

17.12.2

 

Default Filter Time ........................................................................... 339

 

17.12.3

 

Limitations of Analog Potentiometer Input Filtering ........................ 339

 

Chapter 18:

 

High-Speed Counter, PWM, and Pulse Train Operation

 

340

 

18.1

 

Overview ......................................................................................................... 340

 

18.1.1

 

Operation at Power-up and Mode Change ............................................. 341

 

18.1.2

 

Basic Setup ............................................................................................ 341

 

18.2

 

HSC/PWM/PTO Channels ................................................................................. 342

 

18.2.1

 

HSC/PWM/PTO Channels for Micro PLCs (14 Point/ 28 Point) ................. 342

 

18.2.2

 

HSC/PWM/PTO Channels for Micro-20, -40, or -64 PLC .......................... 343

 

18.2.3

 

HSC/PWM/PTO Channels for Nano PLCs ................................................ 343

 

18.3

 

Type A Counter ................................................................................................ 344

 

18.3.1

 

Type A Counter Program References ..................................................... 344

 

18.3.2

 

Type A Counter Operation ..................................................................... 345

 

18.3.3

 

Type A High-Speed Counter Operation Details ...................................... 345

 

18.4

 

Type B Counter ................................................................................................ 347

 

18.4.1

 

Type B Counter Program References ..................................................... 348

 

18.4.2

 

Type B Counter Operation ..................................................................... 348

 

18.5

 

High-Speed Counter Outputs .......................................................................... 350

 

18.5.1

 

Pulldown Resistor .................................................................................. 350

 

18.5.2

 

Duty Cycle Limits: with 1.5k

 pulldown resistor - UDR005/006/010 & 

UAL004/005/006 .................................................................................. 350

 

18.5.3

 

Duty Cycle Limits: with 1.5k

 pulldown resistor - UDD104/110 & NDD101351

 

18.5.4

 

Counter Output Presets ......................................................................... 351

 

18.6

 

PWM Outputs .................................................................................................. 352

 

18.6.1

 

Enabling and Disabling a PWM Output .................................................. 352

 

18.6.2

 

PWM Frequency .................................................................................... 353

 

18.6.3

 

PWM Duty Cycle .................................................................................... 353

 

18.6.4

 

Load Correction for PWM Outputs ......................................................... 353

 

18.7

 

Pulse Train Outputs ......................................................................................... 354

 

18.7.1

 

Configuring a Pulse Train Output ........................................................... 354

 

18.7.2

 

Program References for Pulse Train Outputs .......................................... 354

 

18.7.3

 

Enabling and Disabling Pulse Train Operation ........................................ 355

 

18.7.4

 

Setting Up the Pulse Frequency ............................................................. 355

 

18.7.5

 

Setting Up the Number of Pulses ........................................................... 356

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxi 

18.7.6

 

Load Correction Time ............................................................................ 356

 

18.8

 

Pulse Train with Ramp ..................................................................................... 357

 

18.8.1

 

Configuring Pulse Train with Ramp ........................................................ 357

 

18.8.2

 

Program References for Pulse Train with Ramp Outputs ........................ 357

 

18.8.3

 

Setting Up the Pulse Frequency for Pulse Train with Ramp ..................... 358

 

18.8.4

 

Setting Up the Number of Pulses ........................................................... 358

 

18.8.5

 

Changing the Acceleration and Deceleration ......................................... 358

 

18.8.6

 

Controlling Operation of a Pulse Train with Ramp Output ...................... 358

 

18.9

 

COMMREQs for the HSC/PWM/PTO Functions ................................................. 360

 

18.9.1

 

The COMMREQ Command Block ........................................................... 361

 

18.9.2

 

COMMREQ Example .............................................................................. 364

 

18.10

 

HSC Application Examples ............................................................................... 366

 

18.10.1

 

RPM Indicator .................................................................................. 366

 

Chapter 19:

 

Motion Control Functions .................................. 367

 

19.1

 

Overview ......................................................................................................... 368

 

19.1.1

 

Program References for Motion Features ............................................... 368

 

19.1.2

 

Position Registers .................................................................................. 368

 

19.1.3

 

Function Block Instance Registers .......................................................... 369

 

19.1.4

 

Error Codes and Warnings for Motion Features (Hexadecimal) ............... 371

 

19.1.5

 

Avoiding Abrupt Start/Stop of Motion ................................................... 374

 

19.2

 

Finding a Home Position .................................................................................. 374

 

19.2.1

 

Find Home Function Block ..................................................................... 376

 

19.2.2

 

Example Program Logic for Find Home .................................................. 379

 

19.3

 

Moving to the Home Position .......................................................................... 379

 

19.3.1

 

Go Home Function Block ....................................................................... 380

 

19.3.2

 

Example Program Logic for Go Home .................................................... 383

 

19.4

 

Jogging ............................................................................................................ 383

 

19.4.1

 

Jogging Function Block .......................................................................... 384

 

19.4.2

 

Example Program Logic for Jogging ....................................................... 386

 

19.5

 

Blending .......................................................................................................... 387

 

19.5.1

 

Examples of Blended Moves .................................................................. 387

 

19.5.2

 

Blending Function Block ........................................................................ 390

 

19.5.3

 

Example Program Logic for Blending ..................................................... 393

 

19.6

 

Stopping Motion on an Axis ............................................................................. 394

 

19.6.1

 

Stop Motion Function Block ................................................................... 394

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxii 

19.6.2

 

Example Program Logic for Stop Motion ................................................ 396

 

Chapter 20:

 

Fault Handling ................................................... 397

 

20.1

 

Faults and Fault Handling................................................................................. 397

 

20.1.1

 

Fault Handling ....................................................................................... 397

 

20.1.2

 

Classes of Faults .................................................................................... 397

 

20.2

 

System Responses to Faults ............................................................................. 397

 

20.2.1

 

Fault Actions ......................................................................................... 398

 

20.3

 

Fault References .............................................................................................. 399

 

20.3.1

 

Example Program Logic for Fault References ......................................... 399

 

Chapter 21:

 

Elements of an Application Program .................. 400

 

21.1

 

Structure of an Application Program ................................................................ 400

 

21.2

 

Subroutines ..................................................................................................... 401

 

21.2.1

 

Declaring a Subroutine .......................................................................... 402

 

21.2.2

 

Calling a Subroutine .............................................................................. 402

 

21.2.3

 

Locking/Unlocking Subroutines ............................................................. 402

 

21.3

 

Program Languages ......................................................................................... 403

 

21.3.1

 

Ladder Diagram .................................................................................... 403

 

21.4

 

The Instruction Set .......................................................................................... 403

 

21.4.1

 

Contacts ............................................................................................... 404

 

21.4.2

 

Coils ...................................................................................................... 404

 

21.4.3

 

Timers and Counters ............................................................................. 405

 

21.4.4

 

Math Functions ..................................................................................... 405

 

21.4.5

 

Relational Functions .............................................................................. 406

 

21.4.6

 

Bit Operation Functions ......................................................................... 406

 

21.4.7

 

Data Move Functions ............................................................................. 406

 

21.4.8

 

Table Functions ..................................................................................... 407

 

21.4.9

 

Conversion Functions ............................................................................ 407

 

21.4.10

 

Control Functions ............................................................................ 407

 

21.4.11

 

Communication Function ................................................................ 408

 

21.4.12

 

Motion Functions ............................................................................ 408

 

Chapter 22:

 

Program Data and References ............................ 409

 

22.1

 

Data Memory References ................................................................................ 409

 

22.1.1

 

Memory Allocation ................................................................................ 409

 

22.1.2

 

Word Memory References ..................................................................... 410

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxiii 

22.1.3

 

Bit Memory References ......................................................................... 411

 

22.2

 

Fixed I/O Map Locations ................................................................................... 412

 

22.2.1

 

Reserved Bit Memory Locations: %I ........................................................ 412

 

22.2.2

 

Reserved Bit Memory Locations: %Q ...................................................... 413

 

22.2.3

 

Reserved Word Memory Locations: %AI ................................................. 414

 

22.2.4

 

Reserved Word Memory Locations: %AQ ............................................... 415

 

22.3

 

Retentiveness of Data ...................................................................................... 416

 

22.4

 

System Status References ................................................................................ 417

 

22.4.1

 

Using the System Status References ...................................................... 417

 

22.4.2

 

Time-Tick References ............................................................................ 417

 

22.4.3

 

%S References ....................................................................................... 418

 

22.4.4

 

%SA, %SB, and %SC References .............................................................. 419

 

22.5

 

How Program Functions Handle Numerical Data ............................................. 421

 

22.5.1

 

Real Numbers (Floating Point) ............................................................... 422

 

22.5.2

 

Errors in Real Numbers and Operations.................................................. 422

 

Chapter 23:

 

Instruction Set Reference ................................... 423

 

23.1

 

Bit Operation Functions ................................................................................... 424

 

23.1.1

 

Data Lengths for the Bit Operation functions ......................................... 424

 

23.1.2

 

Bit Operation Functions Logical AND, Logical OR ................................... 425

 

23.1.3

 

Bit Operation Functions Exclusive OR..................................................... 426

 

23.1.4

 

Bit Operation Functions Logical Invert (NOT) ......................................... 427

 

23.1.5

 

Bit Operation Functions Shift Bits Right, Shift Bits Left ........................... 428

 

23.1.6

 

Bit Operation Functions Rotate Bits Right, Rotate Bits Left ..................... 431

 

23.1.7

 

Bit Operation Functions Bit Test ............................................................ 432

 

23.1.8

 

Bit Operation Functions Bit Set and Bit Clear .......................................... 433

 

23.1.9

 

Bit Operation Functions Masked Compare ............................................. 434

 

23.1.10

 

Bit Operation Functions Bit Position ................................................. 436

 

23.1.11

 

Bit Operation Functions Bit Sequencer ............................................. 438

 

23.2

 

Control Functions ............................................................................................ 440

 

23.2.1

 

Control Functions Do I/O ....................................................................... 440

 

23.2.2

 

Control Functions Call ........................................................................... 443

 

23.2.3

 

Control Functions End of Logic .............................................................. 443

 

23.2.4

 

Control Functions Master Control Relay (MCR) / End MCR ...................... 444

 

23.2.5

 

Control Functions Jump, Label ............................................................... 445

 

23.2.6

 

Control Functions Comment ................................................................. 446

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxiv 

23.2.7

 

Control Functions Drum Sequencer ....................................................... 447

 

23.3

 

Data Move Functions ....................................................................................... 449

 

23.3.1

 

Data Move Functions Move Data ........................................................... 450

 

23.3.2

 

Data Move Functions Block Move .......................................................... 451

 

23.3.3

 

Data Move Functions Block Clear ........................................................... 453

 

23.3.4

 

Data Move Functions Shift Register ....................................................... 454

 

23.3.5

 

Data Move Functions Communication Request ..................................... 456

 

23.4

 

Data Type Conversion Functions ...................................................................... 458

 

23.4.1

 

Data Type Conversion Functions Convert Signed Integer Data to BCD-4 458

 

23.4.2

 

Data Type Conversion Functions Convert to Signed Integer ................... 459

 

23.4.3

 

Data Type Conversion Functions Convert to Double Precision Signed Integer 

460

 

23.4.4

 

Data Type Conversion Functions Convert to Real Data ........................... 461

 

23.4.5

 

Data Type Conversion Functions Convert Real Data to Word Data ......... 462

 

23.4.6

 

Data Type Conversion Functions Truncate Real Number ........................ 463

 

23.5

 

Math and Numerical Functions ........................................................................ 464

 

23.5.1

 

Converting Data for the Math and Numerical Functions ......................... 464

 

23.5.2

 

Math and Numerical Functions Add, Subtract, Multiply, Divide .............. 464

 

23.5.3

 

Math and Numerical Functions Add, Subtract, Multiply, Divide .............. 465

 

23.5.4

 

Math and Numerical Functions Modulo Division .................................... 466

 

23.5.5

 

Math and Numerical Functions Scaling .................................................. 467

 

23.5.6

 

Math and Numerical Functions Square Root .......................................... 469

 

23.5.7

 

Math and Numerical Functions Trigonometric Functions ....................... 470

 

23.5.8

 

Math and Numerical Functions Logarithmic / Exponential Functions ...... 472

 

23.5.9

 

Math and Numerical Functions Radian Conversion Functions ................ 473

 

23.6

 

Relational Functions ........................................................................................ 474

 

23.6.1

 

Data Types for Relational Functions ....................................................... 474

 

23.6.2

 

Relational Functions Equal, Not Equal, Less Than, Less/Equal, Greater Than, 
Greater/Equal ........................................................................................ 475

 

23.6.3

 

Relational Functions Range ................................................................... 476

 

23.7

 

Relay Functions ............................................................................................... 477

 

23.7.1

 

Relay Functions Normally-open, Normally-closed, Continuation Contacts478

 

23.7.2

 

Relay Functions Coils ............................................................................. 479

 

23.8

 

Table Functions ............................................................................................... 483

 

23.8.1

 

Table Functions Array Move................................................................... 483

 

23.8.2

 

Table Functions Search for Array Values ................................................ 486

 

23.9

 

Timer and Counter Functions ........................................................................... 488

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxv 

23.9.1

 

Time-Tick Contacts ............................................................................... 488

 

23.9.2

 

Function Block Data Required for Timers and Counters .......................... 489

 

23.9.3

 

Timer and Counter Functions On Delay Stopwatch Timer ...................... 490

 

23.9.4

 

Timer and Counter Functions On Delay Timer ........................................ 492

 

23.9.5

 

Timer and Counter Functions Off Delay Timer ....................................... 494

 

23.9.6

 

Timer and Counter Functions Up Counter .............................................. 496

 

23.9.7

 

Timer and Counter Functions Down Counter ......................................... 498

 

Chapter 24:

 

Service Request Function ................................... 500

 

24.1

 

SVCREQ Functions ........................................................................................... 501

 

24.2

 

Format of the SVCREQ Function....................................................................... 502

 

24.2.1

 

Parameters of the SVCREQ Function ...................................................... 502

 

24.3

 

SVCREQ 1:  Change/Read Constant Sweep Timer ............................................. 503

 

24.3.1

 

Input Parameter Block for SCVREQ 1 ..................................................... 503

 

24.3.2

 

Disable Constant Sweep Mode .............................................................. 503

 

24.3.3

 

Enable Constant Sweep Mode ............................................................... 503

 

24.3.4

 

Change the Constant Sweep Time ......................................................... 503

 

24.3.5

 

Read the Constant Sweep State and Time.............................................. 503

 

24.4

 

SVCREQ 2: Read Window Times ....................................................................... 505

 

24.4.1

 

Output Parameter Block for SVCREQ 2 .................................................. 505

 

24.5

 

SVCREQ 3: Change Programmer Communications Window Mode ................... 506

 

24.5.1

 

Changing the Programmer Communications Window Mode ................. 506

 

24.6

 

SVCREQ 4: Change System Communications Window Mode ........................... 506

 

24.6.1

 

Changing the System Communications Window Mode ......................... 507

 

24.7

 

SVCREQ 6: Change/Read Number of Words to Checksum ................................ 507

 

24.7.1

 

Parameter Block Formats for SVCREQ 6 ................................................. 507

 

24.8

 

SVCREQ 7: Read or Change the Time-of-Day Clock .......................................... 508

 

24.8.1

 

Parameter Block Format for SVCREQ 7 .................................................. 508

 

24.9

 

SVCREQ 7 Parameter Block Content: BCD Format ............................................ 509

 

24.9.1

 

2-Digit Year ........................................................................................... 509

 

24.9.2

 

4-Digit Year ........................................................................................... 509

 

24.10

 

SVCREQ 7 Parameter Block Content: Packed ASCII Format ............................... 510

 

24.10.1

 

2-Digit Year ..................................................................................... 510

 

24.10.2

 

4-Digit Year ..................................................................................... 511

 

24.11

 

SVCREQ 8: Reset Watchdog Timer ................................................................... 512

 

24.11.1

 

Parameter Block Format for SVCREQ 8 ............................................. 512

 

24.12

 

SVCREQ 9: Read Sweep Time from Beginning of Sweep ................................... 513

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxvi 

24.12.1

 

Output Parameter Block Format for SVCREQ 9................................. 513

 

24.13

 

SVCREQ 10: Read Folder Name ........................................................................ 514

 

24.13.1

 

Output Parameter Block Format for SVCREQ 10............................... 514

 

24.14

 

SVCREQ 11: Read PLC ID .................................................................................. 515

 

24.14.1

 

Output Parameter Block Format for SVCREQ 11............................... 515

 

24.15

 

SVCREQ 13: Shut Down (Stop) PLC .................................................................. 516

 

24.15.1

 

Parameter Block for SVCREQ 13 ....................................................... 516

 

24.16

 

SVCREQ 14: Clear Fault .................................................................................... 517

 

24.16.1

 

Input Parameter Block for SVCREQ 14 .............................................. 517

 

24.17

 

SVCREQ 15: Read Last-Logged Fault Table Entry .............................................. 518

 

24.17.1

 

Input Parameter Block for SVCREQ 15 .............................................. 518

 

24.18

 

SVCREQ 16: Read Elapsed Time Clock .............................................................. 520

 

24.18.1

 

Output Parameter Block for SVCREQ 16........................................... 520

 

24.19

 

SVCREQ 18: Read I/O Override Status .............................................................. 521

 

24.19.1

 

Output Parameter Block for SVCREQ 18........................................... 521

 

24.20

 

SVCREQ 23: Read Master Checksum ................................................................ 521

 

24.20.1

 

Output Parameter Block for SVCREQ 23........................................... 521

 

24.21

 

SVCREQ 26/ SVCREQ 30: Interrogate I/O ......................................................... 522

 

24.22

 

SVCREQ 29: Read Elapsed Power Down Time ................................................... 523

 

24.22.1

 

Output Parameter Block for SVCREQ 29........................................... 523

 

24.23

 

SVCREQ 34: Enter Analog Calibration Mode ..................................................... 523

 

24.24

 

SVCREQ 35: Store Analog Calibration .............................................................. 524

 

24.24.1

 

Input Parameter Block for SVCREQ 35 .............................................. 525

 

24.24.2

 

Output Parameter Block for SVCREQ 35........................................... 526

 

24.25

 

SVCREQ 52: Read from Flash ............................................................................ 527

 

24.25.1

 

Input Parameter Block for SVCREQ 52 .............................................. 528

 

24.25.2

 

Status Data for SVCREQ 52 .............................................................. 528

 

24.26

 

SVCREQ 53: Write to Flash ............................................................................... 529

 

24.26.1

 

Input Parameter Block for SVCREQ 53 .............................................. 530

 

24.26.2

 

Status Data for SVCREQ 53 .............................................................. 530

 

Chapter 25:

 

Serial I/O, SNP & RTU Protocols .......................... 531

 

25.1

 

Format of the Communication Request Function ............................................. 532

 

25.1.1

 

Parameters of the COMMREQ Function ................................................. 532

 

25.1.2

 

Command Block for the COMMREQ Function ........................................ 533

 

25.2

 

Configuring Serial Ports Using the COMMREQ Function ................................... 534

 

25.2.1

 

Timing .................................................................................................. 534

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxvii 

25.2.2

 

Sending Another COMMREQ to the Same Port ...................................... 534

 

25.2.3

 

Invalid Port Configurations .................................................................... 534

 

25.2.4

 

RTU Slave/SNP Slave Operation with Programmer Attached .................. 535

 

25.2.5

 

COMMREQ Command Block for Configuring SNP Protocol .................... 536

 

25.2.6

 

COMMREQ Command Block for Configuring RTU Protocol .................... 537

 

25.2.7

 

COMMREQ Command Block for Configuring Serial I/O Protocol............. 539

 

25.3

 

Calling Serial I/O COMMREQs from the PLC Sweep ........................................... 540

 

25.3.1

 

Compatibility ........................................................................................ 540

 

25.3.2

 

Status Word for Serial I/O COMMREQs ................................................... 541

 

25.4

 

Serial I/O COMMREQ Commands ..................................................................... 542

 

25.4.1

 

Overlapping COMMREQs ....................................................................... 542

 

25.4.2

 

Initialize Port Function (4300) ............................................................... 543

 

25.4.3

 

Set Up Input Buffer Function (4301) ...................................................... 544

 

25.4.4

 

Flush Input buffer Function (4302) ........................................................ 545

 

25.4.5

 

Read port status Function (4303) .......................................................... 545

 

25.4.6

 

Write port control Function (4304) ........................................................ 547

 

25.4.7

 

Cancel COMMREQ Function (4399) ....................................................... 548

 

25.4.8

 

Autodial Function (4400)....................................................................... 549

 

25.4.9

 

Write bytes Function (4401) .................................................................. 550

 

25.4.10

 

Read bytes Function (4402) ............................................................. 551

 

25.4.11

 

Read String Function (4403) ............................................................ 553

 

Chapter 26:

 

PID Function ...................................................... 557

 

26.1

 

Format of the PID Function .............................................................................. 557

 

26.1.1

 

Parameters of the PID Function ............................................................. 558

 

26.2

 

Operation of the PID Function ......................................................................... 559

 

26.2.1

 

Automatic Operation ............................................................................ 559

 

26.2.2

 

Manual Operation ................................................................................. 559

 

26.2.3

 

Time Interval for the PID Function ......................................................... 560

 

26.2.4

 

Scaling Input and Outputs ..................................................................... 560

 

26.3

 

Parameter Block for the PID Function ............................................................... 561

 

26.3.1

 

Internal Parameters in RefArray ............................................................. 561

 

26.4

 

PID Algorithm Selection (PIDISA or PIDIND) and Gains ..................................... 567

 

26.4.1

 

Error Term ............................................................................................. 567

 

26.4.2

 

Derivative Term..................................................................................... 567

 

26.4.3

 

Delta Time ............................................................................................ 568

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxviii 

26.4.4

 

Independent Term Algorithm (PIDIND) ................................................. 569

 

26.4.5

 

Sample Period and PID Block Scheduling ............................................... 570

 

26.5

 

Determining the Process Characteristics .......................................................... 571

 

26.6

 

Setting Parameters Including Tuning Loop Gains ............................................. 572

 

26.6.1

 

Setting Loop Gains Using the  Ziegler and Nichols Tuning Approach ...... 573

 

26.6.2

 

The Ideal Tuning Method ....................................................................... 573

 

26.7

 

Sample PID Call ............................................................................................... 574

 

Chapter 27:

 

Reading and Writing Data in Flash Memory ....... 575

 

27.1

 

Logic-Driven Write to Flash .............................................................................. 575

 

27.1.1

 

Data Quantities ..................................................................................... 575

 

27.1.2

 

If Flash Memory Becomes Full ................................................................ 576

 

27.1.3

 

Important Note ..................................................................................... 576

 

Appendix A: Instruction Timing .............................................. 587

 

A-1

 

Notes on the Timing Information ..................................................................... 587

 

A-1.1

 

Execution Times with Function Block Enabled or Disabled ..................... 587

 

A-1.2

 

Additional Notes ................................................................................... 587

 

A-2

 

Typical Execution Times for Boolean Contacts ................................................. 588

 

A-2.1

 

Sweep Times for Micro-64 CPUs ............................................................ 588

 

A-3

 

Typical Execution Times for Release 4.0 CPUs .................................................. 589

 

A-4

 

Typical Execution Times for Release 3.8 CPUs .................................................. 593

 

A-5

 

Typical Execution Times for Release 3.0 CPUs .................................................. 598

 

A-6

 

Typical Execution Times for Release 2.0 CPUs .................................................. 603

 

A-7

 

Typical Execution Times for Release 1.1 CPUs .................................................. 608

 

A-8

 

Typical Execution Times for Release 1.0 CPUs .................................................. 613

 

Appendix B: Feature Comparison ............................................ 617

 

B-1

 

Operating Differences ..................................................................................... 617

 

B-2

 

VersaMax Nano/Micro PWM/Pulse Outputs ..................................................... 619

 

B-2.1

 

%AQ References for PWM ...................................................................... 619

 

B-2.2

 

%AQ References for Pulse Train ............................................................. 620

 

B-2.3

 

Enabling Outputs .................................................................................. 620

 

B-2.4

 

Load Correction..................................................................................... 620

 

B-2.5

 

Formulas for Converting Series 90 Micro Frequencies and Duty Cycles... 620

 

B-3

 

Functions Supported ....................................................................................... 621

 

B-4

 

Program References ........................................................................................ 625

 

User Manual 

Contents 

GFK-1645M 

Dec 2019 

 

Contents 

xxix 

Appendix C: Battery Backup Options ...................................... 626

 

C-1

 

CPU Battery Consumption ............................................................................... 626

 

C-2

 

Backup Batteries for VersaMax Micro PLCs ....................................................... 626

 

C-3

 

Calculating the Life of a Battery ....................................................................... 627

 

C-3.1

 

For Standard Backup Battery IC200ACC403 ........................................... 627

 

C-3.2

 

For High Capacity Battery IC200ACC414 ............................................... 627

 

Appendix D: Input Simulators ................................................. 628

 

D-1

 

IC200ACC450 Input Simulator for DC-powered VersaMax Nano PLCs .............. 628

 

D-1.1

 

Compatibility ........................................................................................ 628

 

D-1.2

 

Installation Instructions ......................................................................... 629

 

D-2

 

IC200ACC451 Input Simulator for DC-powered VersaMax Micro PLCs and Expansion Units
 ........................................................................................................................ 629

 

D-2.1

 

Compatibility ........................................................................................ 629

 

D-2.2

 

Installation Instructions ......................................................................... 630

 

Appendix E: Relay Contact Ratings .......................................... 631

 

E-1

 

125Vac ............................................................................................................ 631

 

E-2

 

250Vac ............................................................................................................ 632

 

E-3

 

30Vdc.............................................................................................................. 632

 

 

GFK-1645M 

Dec 2019 

 

 

xxx 

Warnings, Caution Notes as Used in this Publication 

 

     
 
Warning 

 

Warning  notices  are  used  in  this  publication  to  emphasize  that  hazardous  voltages, 
currents, temperatures, or other conditions that could cause personal injury to exist in 
this equipment or may be associated with its use. 
In  situations  where  inattention  could  cause  either  personal  injury  or  damage  to 
equipment, a Warning notice is used.

  

 

 

 

 
 
 
 

       Caution 

Caution notices are used where equipment might be damaged if care is not taken. 

 

Notes:

 

Notes merely call attention to information that is especially significant to understanding and operating 
the equipment.

 

These  instructions  do  not  purport  to  cover  all  details  or  variations  in  equipment,  nor  to  provide  for  every 
possible contingency to be met during installation, operation, and maintenance. The information is supplied 
for  informational  purposes  only,  and  Emerson  makes  no  warranty  as  to  the  accuracy  of  the  information 
included  herein.  Changes,  modifications,  and/or  improvements  to  equipment  and  specifications  are  made 
periodically and these changes may or may not be reflected herein. It is understood that Emerson may make 
changes, modifications, or improvements to the equipment referenced herein or to the document itself at any 
time. This document is intended for trained personnel familiar with the Emerson products referenced herein.  
 
Emerson  may  have  patents  or  pending  patent  applications  covering  subject  matter  in  this  document.  The 
furnishing of this document does not provide any license whatsoever to any of these patents. 
 
Emerson provides the following document and the information included therein as-is and without warranty of 
any kind, expressed or implied, including but not limited to any implied statutory warranty of merchantability 
or fitness for particular purpose. 
 

User Manual 

Chapter 1 

GFK-1645M 

Dec 2019 

 

Introduction 

Chapter 1:

 

Introduction 

The VersaMax® PLC family of products includes a broad range of small-size programmable 
logic controllers (PLCs) with big-PLC features. The VersaMax family includes Nano PLCs (10 
points), Micro PLCs (up to 176 I/O points), and Micro PLUS PLCs (up to 320 I/O points) using 
optional Expansion Units. These small PLCs are the perfect solution for applications such as 
packaging machines, dispensing machines, and relay replacement.  

Figure 1 

 

These versatile controllers provide powerful programming features such as built-in high-
speed  counter  functionality,  support  for  floating-point  function  blocks  and  subroutines, 
ability to assign passwords and privilege levels to control access, and override capability. 

 

 

 

 

 

 

 

 

 

Content      ..      1      2      3      ..