VersaMax Micro Manual
VersaMax Micro Manual
GFK-1645M
Dec 2019
PACSystemsTM VersaMax
MICRO PLC & NANO PLC
USER MANUAL
User Manual Contents
GFK-1645M Dec 2019
Contents
Chapter 1: Introduction .......................................................... 1
1.1 VersaMax Micro, Micro PLUS and Nano PLC Models .............................................. 2
1.1.1 VersaMax Nano PLCs ................................................................................. 2
1.1.2 VersaMax Micro and Micro PLUS PLCs ........................................................ 3
1.1.3 VersaMax Micro PLC Expansion Units ......................................................... 4
1.1.4 Option Modules ........................................................................................ 5
1.2 Comparison of Program and Data Memory Available ........................................... 6
1.3 Comparison of PLC Features ................................................................................ 7
1.4 Comparison of I/O and Power Features for PLCs ................................................... 9
1.5 Comparison of I/O and Power Features for Expansion Units ................................ 10
1.6 VersaMax Serial to Ethernet Adapter .................................................................. 12
1.6.1 Firmware Options.................................................................................... 12
1.6.2 Serial Interface ........................................................................................ 12
1.6.3 Network Interface ................................................................................... 12
1.6.4 Power Requirements ............................................................................... 12
1.7 Logic-Driven Read/Write Flash Memory Feature ................................................ 13
1.8 Online Program Changes ................................................................................... 13
1.8.1 Word for Word Changes .......................................................................... 13
1.8.2 Run Mode Store ...................................................................................... 13
1.9 Documentation ................................................................................................. 14
1.10 Revisions in this Manual ..................................................................................... 14
Contents i
User Manual Contents
GFK-1645M Dec 2019
Contents ii
User Manual Contents
GFK-1645M Dec 2019
Contents iii
User Manual Contents
GFK-1645M Dec 2019
Contents iv
User Manual Contents
GFK-1645M Dec 2019
Contents v
User Manual Contents
GFK-1645M Dec 2019
Contents vi
User Manual Contents
GFK-1645M Dec 2019
6.7 IC200UDD120 28-Point Micro PLC, (16) 24Vdc In, (12) 24Vdc Out with ESCP, 24Vdc Power
Supply ............................................................................................................. 100
6.7.1 DC Power .............................................................................................. 100
6.7.2 DC Inputs .............................................................................................. 100
6.7.3 Transistor Outputs ................................................................................ 100
6.7.4 Micro PLC IC200UDD120 Specifications ................................................ 101
6.7.5 Wiring Diagram IC200UDD120 ............................................................. 102
6.8 IC200UDD212 28-Point Micro PLC, (16) 12Vdc In, (12) 12Vdc Out, 12Vdc Power Supply
........................................................................................................................ 103
6.8.1 DC Power .............................................................................................. 103
6.8.2 DC Inputs .............................................................................................. 103
6.8.3 Transistor Outputs ................................................................................ 103
6.8.4 Micro PLC IC200UDD212 Specifications ................................................ 104
6.8.5 Wiring Diagram IC200UDD212 ............................................................. 105
6.9 IC200UDR005 28-Point Micro PLC, (16) 24Vdc In, (1) 24Vdc Out, (11) Relay Out,
120/240Vac Power Supply ............................................................................... 106
6.9.1 DC Inputs .............................................................................................. 106
6.9.2 DC Output (Q1) ..................................................................................... 106
6.9.3 Relay Outputs (Q2 – Q12) ..................................................................... 106
6.9.4 Micro PLC IC200UDR005 Specifications ................................................. 106
6.9.5 Wiring Diagram IC200UDR005 .............................................................. 108
6.10 IC200UDR006 28-Point Micro PLC, (16) 12Vdc In, (12) Relay Out, 12Vdc Power Supply 109
6.10.1 DC Power .............................................................................................. 109
6.10.2 Inputs ................................................................................................... 109
6.10.3 Relay Outputs (Q1 – Q12) ..................................................................... 109
6.10.4 Micro PLC IC200UDR006 Specifications ................................................. 110
6.10.5 Wiring Diagram IC200UDR006 .............................................................. 111
6.11 IC200UDR010 28-Point Micro PLC, (16) 24Vdc In, (1) 24Vdc Out, (11) Relay Out, 24Vdc PS
IC200UDR228 28-Point Micro PLC, (16) 24 VC In, (1) 24Vdc Out, (11) Relay Out, 12/24Vdc
PS .................................................................................................................... 112
6.11.1 DC Power .............................................................................................. 112
6.11.2 DC Inputs .............................................................................................. 112
6.11.3 DC Output (Q1) ..................................................................................... 112
6.11.4 Relay Outputs (Q2 – Q12) ..................................................................... 113
6.11.5 Micro PLC IC200UDR010, IC200UDR228 Specifications ......................... 113
6.11.6 Wiring Diagram IC200UDR010, IC200UDR228 ...................................... 115
Contents vii
User Manual Contents
GFK-1645M Dec 2019
Contents viii
User Manual Contents
GFK-1645M Dec 2019
Chapter 9: VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units
144
9.1 Features of VersaMax 8-, 14-, and 16-Point Expansion Units ............................. 145
9.1.1 Removable Terminal Strips .................................................................... 145
9.1.2 Expansion Connector ............................................................................ 145
9.1.3 Status LEDs ........................................................................................... 145
Contents ix
User Manual Contents
GFK-1645M Dec 2019
Contents x
User Manual Contents
GFK-1645M Dec 2019
9.8 IC200UER008 8 Point Expansion Unit, (8) Relay Outputs, 24Vdc Power Supply
IC200UER016 16 Point Expansion Unit, (16) Relay Outputs, 24Vdc Power Supply161
9.8.1 Relay Outputs ....................................................................................... 161
9.8.2 Expansion Units IC200UER008 and IC200UER016 Specifications ........... 161
9.8.3 Wiring Diagram, IC200UER008 ............................................................. 162
9.8.4 Wiring Diagram, IC200UER016 ............................................................. 162
9.9 IC200UEX009 14 Point Expansion Unit, (8) 120Vac In, (2) Relay Out at 10 Amps, (4) Relay
Out at 2 Amps, 120/240Vac Power Supply ....................................................... 163
9.9.1 AC Inputs .............................................................................................. 163
9.9.2 Relay Outputs ....................................................................................... 163
9.9.3 Expansion Unit IC200UEX009 Specifications .......................................... 163
9.9.4 Wiring Diagram, IC200UEX009 ............................................................. 164
9.10 IC200UEX010 14 Point Expansion Unit, (8) 120Vac In, (6) 120Vac Out, 120/240Vac Power
Supply ............................................................................................................. 165
9.10.1 AC Inputs .............................................................................................. 165
9.10.2 AC Outputs ........................................................................................... 165
9.10.3 Expansion Unit IC200UEX010 Specifications .......................................... 165
9.10.4 Wiring Diagram, IC200UEX010 ............................................................. 166
9.11 IC200UEX011 14-Point Expansion Unit with AC Power, (8) 24Vdc Inputs, (6) Relay Outputs
........................................................................................................................ 167
9.11.1 DC Inputs .............................................................................................. 167
9.11.2 Relay Outputs ....................................................................................... 167
9.11.3 Expansion Unit IC200UEX011 Specifications .......................................... 167
9.11.4 Wiring Diagram, IC200UEX011 ............................................................. 168
9.12 IC200UEX012 14-Point Expansion Unit with 24DC Power, (8) 24Vdc Inputs, (6) Relay
Outputs ........................................................................................................... 169
9.12.1 DC Inputs .............................................................................................. 169
9.12.2 Relay Outputs ....................................................................................... 169
9.12.3 Expansion Unit IC200UEX012 Specifications .......................................... 169
9.12.4 Wiring Diagram, IC200UEX012 ............................................................. 170
9.13 IC200UEX013 14-Point Expansion Unit with 12Vdc Power, (8) 12Vdc Inputs, (6) Relay
Outputs ........................................................................................................... 171
9.13.1 DC Inputs .............................................................................................. 171
9.13.2 Relay Outputs ....................................................................................... 171
9.13.3 Expansion Unit IC200UEX013 Specifications .......................................... 171
9.13.4 Wiring Diagram, IC200UEX013 ............................................................. 172
9.14 IC200UEX014 14-Point Expansion Unit with 24DC Power, (8) 24DC Inputs, (2) High-
Current and (4) Low-Current Transistor Outputs .............................................. 173
Contents xi
User Manual Contents
GFK-1645M Dec 2019
Chapter 10: VersaMax Micro PLC 28-Point Expansion Units ... 182
10.1 Features of VersaMax 28-Point Micro PLC Expansion Units ............................... 182
10.1.1 Removable Terminal Strips .................................................................... 183
10.1.2 Expansion Connector ............................................................................ 183
10.1.3 Status LEDs ........................................................................................... 183
10.1.4 Cables ................................................................................................... 183
10.2 IC200UEX209 28 Point Micro PLC Expansion Unit, (16) 120Vac In, (2/10) Relay Out,
120/240Vac Power Supply ............................................................................... 183
10.2.1 AC Inputs .............................................................................................. 183
10.2.2 Relay Outputs ....................................................................................... 183
10.2.3 Expansion Unit IC200UEX209 Specifications .......................................... 184
10.2.4 Wiring Diagram, IC200UEX209 ............................................................. 185
10.3 IC200UEX210 28 Point Micro PLC Expansion Unit, (16) 120Vac In, (12) 120Vac Out,
120/240Vac Power Supply ............................................................................... 186
10.3.1 AC Inputs .............................................................................................. 186
10.3.2 AC Outputs ........................................................................................... 186
10.3.3 Expansion Unit IC200UEX210 Specifications .......................................... 187
10.3.4 Wiring Diagram, IC200UEX210 ............................................................. 188
10.4 IC200UEX211 28 Point Micro PLC Expansion Unit, (16) 24Vdc In, (12) Relay Out,
120/240Vac Power Supply ............................................................................... 188
Contents xii
User Manual Contents
GFK-1645M Dec 2019
Contents xiii
User Manual Contents
GFK-1645M Dec 2019
Chapter 11: VersaMax Micro PLC 64-Point Expansion Units ... 205
11.1 Features of VersaMax 64-Point Micro PLC Expansion Units ............................... 205
11.1.1 Removable Terminal Strips .................................................................... 205
11.1.2 Expansion Connector ............................................................................ 206
11.1.3 Status LEDs ........................................................................................... 206
11.1.4 Cables ................................................................................................... 206
11.2 IC200UEX064 64 Point Micro PLC Expansion Unit,(40) 24Vdc In, (24) Relay Out, 24Vdc
Power Supply................................................................................................... 206
11.2.1 DC Inputs .............................................................................................. 206
11.2.2 Relay Outputs ....................................................................................... 206
11.2.3 Expansion Unit IC200UEX064 Specifications .......................................... 207
11.2.4 Wiring Diagram, IC200UEX064 ............................................................. 208
11.3 IC200UEX164 64 Point Micro PLC Expansion Unit, (40) 24Vdc In, (24) Relay Out,
120/240Vac Power Supply ............................................................................... 208
11.3.1 DC Inputs .............................................................................................. 208
11.3.2 Relay Outputs ....................................................................................... 209
11.3.3 Expansion Unit IC200UEX164 Specifications .......................................... 209
11.3.4 Wiring Diagram, IC200UEX164 ............................................................. 210
11.4 IC200UEX264 64 Point Micro PLC Expansion Unit, (24) 24Vdc In, (4) LCDC, (16) LCDC with
ESCP, (4) HCDC with ESCP Out, 24Vdc Power Supply ....................................... 210
11.4.1 DC Inputs .............................................................................................. 210
11.4.2 DC Outputs ........................................................................................... 211
11.4.3 Expansion Unit IC200UEX264 Specifications .......................................... 211
11.4.4 Wiring Diagram, IC200UEX264 ............................................................. 212
11.5 IC200UEX364 64 Point Micro PLC Expansion Unit, (40) 24Vdc In, (24) LCDC Out, 24Vdc
Power Supply................................................................................................... 213
11.5.1 DC Power .............................................................................................. 213
11.5.2 DC Inputs .............................................................................................. 213
11.5.3 DC Outputs ........................................................................................... 213
11.5.4 Expansion Unit IC200UEX364 Specifications .......................................... 214
11.5.5 Wiring Diagram, IC200UEX364 ............................................................. 215
Contents xiv
User Manual Contents
GFK-1645M Dec 2019
Contents xv
User Manual Contents
GFK-1645M Dec 2019
Contents xvii
User Manual Contents
GFK-1645M Dec 2019
Contents xviii
User Manual Contents
GFK-1645M Dec 2019
Contents xx
User Manual Contents
GFK-1645M Dec 2019
Contents xxi
User Manual Contents
GFK-1645M Dec 2019
Contents xxii
User Manual Contents
GFK-1645M Dec 2019
Contents xxiii
User Manual Contents
GFK-1645M Dec 2019
Contents xxiv
User Manual Contents
GFK-1645M Dec 2019
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
Contents xxvi
User Manual Contents
GFK-1645M Dec 2019
Contents xxvii
User Manual Contents
GFK-1645M Dec 2019
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
Contents xxviii
User Manual Contents
GFK-1645M Dec 2019
Contents xxix
GFK-1645M Dec 2019
Caution notices are used where equipment might be damaged if care is not taken.
Caution
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.
xxx
User Manual Chapter 1
GFK-1645M Dec 2019
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.
Introduction 1
User Manual Chapter 1
GFK-1645M Dec 2019
This chapter compares the features of the many VersaMax Nano, Micro and Micro PLUS PLC
models that are available.
Micro PLUS 20/40/64 CPUs have enhanced memory compared to earlier versions of these
CPUs. Firmware versions 4.00 and later cannot be used with the earlier hardware versions.
Figure 2
Introduction 2
User Manual Chapter 1
GFK-1645M Dec 2019
Introduction 3
User Manual Chapter 1
GFK-1645M Dec 2019
Note: The 64-point Expansion Units are supported on Micro PLUS PLCs (20/40/64 point PLCs with
release 4.0 or later firmware).
Introduction 4
User Manual Chapter 1
GFK-1645M Dec 2019
1
For Motion Module operating details, refer to the VersaMax Micro PLC MicroMotion Modules Manual, GFK-2471A.
Introduction 5
User Manual Chapter 1
GFK-1645M Dec 2019
Reference Type Reference Range 10-Point 14-Point 23- and 20-, 40-,
Nano Micro 28-Point and 64-
PLCs PLCs Micro Point
PLCs Micro/
Micro
PLUS PLCs
User program logic Not applicable 2K words 9K words 9K words 24K words
Discrete inputs %I0001 - %I0512 512 bits 512 bits 512 bits 512 bits
Discrete outputs %Q0001 - %Q0512 512 bits 512 bits 512 bits 512 bits
Discrete global %G0001 - %G1280 1280 bits 1280 bits 1280 bits 1280 bits
references
Discrete internal %M0001 - %M1024 1024 bits 1024 bits 1024 bits 1024 bits
coils
Discrete temporary %T0001 - %T0256 256 bits 256 bits 256 bits 256 bits
coils
System status %S0001 - %S0032 32 bits 32 bits 32 bits 32 bits
references
%SA0001 - %SA0032 32 bits 32 bits 32 bits 32 bits
%SB0001 - %SB0032 32 bits 32 bits 32 bits 32 bits
%SC0001 - %SC0032 32 bits 32 bits 32 bits 32 bits
System register
references %R0001 - %R0256 256 words 256 words
10-pt, 14-pt PLCs %R0001 - %R2048 2K words
23-pt and 28-pt PLCs %R0001 - %R16384 32K words
20-pt and 40-pt PLCs %R0001 - %R32640 32K words
64-pt PLCs
Analog and High- %AI0001 - %AI0128 128 words 128 words 128 words 128 words
Speed Counter
inputs
Analog outputs %AQ0001 - %AQ0128 128 words 128 words 128 words 128 words
Introduction 6
User Manual Chapter 1
GFK-1645M Dec 2019
Introduction 7
User Manual Chapter 1
GFK-1645M Dec 2019
Introduction 8
User Manual Chapter 1
GFK-1645M Dec 2019
2
Two outputs rated 10 Amps
Introduction 9
User Manual Chapter 1
GFK-1645M Dec 2019
Introduction 10
User Manual Chapter 1
GFK-1645M Dec 2019
Introduction 11
User Manual Chapter 1
GFK-1645M Dec 2019
Figure 3
Additional firmware options are provided on the CD that is shipped with the VMSE. These
include Modbus TCP/RTU, and Pass Thru firmware, which can be used to send serial
communication via Ethernet.
Introduction 12
User Manual Chapter 1
GFK-1645M Dec 2019
• Write selected data to flash using Service Request (SVCREQ) logic in the application
program
• Write / read one to ten consecutive Reference Variables of same type with one
Service Request
— Up to 10 words of %R, %AI, %AQ
— Up to 10 bytes of %I, %Q, %M, %T, %G
• Up to 8k bytes of reference memory can be stored in flash. If a request is made to
store more than 8k bytes in flash, a fault is logged in the PLC Fault Table.
See Chapter 24: for details and logic examples.
• Word-for-word change
• Run mode store (RMS)
The Run Mode Store operation requires the modified logic block(s) size to be within the
available free memory.
Example: In order to modify or add a logic block of 10 Kbytes and perform a Run Mode Store,
at least 10 Kbytes of free memory should be available. A Run Mode Store with the maximum
user logic (48K) is possible only when there is no user logic present in the PLC.
Introduction 13
User Manual Chapter 1
GFK-1645M Dec 2019
Note: Online program changes should not be performed on active motion function blocks. Motion
functionality is not guaranteed if user performs word for word change or Run Mode Store on active
motion function blocks.
1.9 Documentation
VersaMax Manuals
VersaMax PLC User's Manual GFK-1503
Introduction 14
User Manual Chapter 2
GFK-1645M Dec 2019
IC200NDD010 10-Point Nano PLC: (6) 12Vdc In, (4) 12Vdc Out,
IC200NDD101 10-Point Nano PLC: (6) 24Vdc In, (4) 24Vdc Out,
IC200NDR001 10-Point Nano PLC: (6) 24Vdc In, (4) Relay Out,
IC200NDR010 10-Point Nano PLC: (6) 12Vdc In, (4) Relay Out,
Figure 4
Figure 5
When configured for High-Speed Counter operation, inputs can be set up as:
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The type B counter provides an A Quad B counting function.
Nano PLCs with DC outputs provide up to 3 High-Speed Counter outputs, and/or Pulse Train
or Pulse-Width Modulated outputs.
Nano PLCs with relay outputs also provide up to 3 High-Speed Counter outputs. However,
relay outputs cannot be used as Pulse Train or Pulse-Width Modulated outputs.
2.2.1 DC Inputs
The module’s six configurable DC inputs can be used as positive or negative logic standard
inputs or High-Speed Counter inputs. When used as standard inputs, the input
characteristics are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The relay outputs can be used as up to three High-Speed Counter outputs. They cannot be
used as Pulse Train or Pulse-Width Modulated outputs. Connections and specifications for
High-Speed Counter outputs are the same as for standard relay outputs.
2.3 IC200NAL211
Nano PLC with 10 Discrete Points and 1 Analog
Input:
(6) 12Vdc In, (4) Relay Out, 1 Analog Input,
24Vdc Power Supply
VersaMax Nano PLC IC200NAL211 has six DC inputs, one analog input, and four normally
open 2 Amp relay outputs that can control 5 to 30Vdc or 5 to 250Vac output devices. It uses
+24Vdc nominal input power for PLC operation.
2.3.1 DC Inputs
The module’s six configurable DC inputs can be used as positive or negative logic standard
inputs. Whether used as a standard or HSC input, each DC input can have positive or
negative logic characteristics. When used as standard inputs, the input characteristics are
compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The relay outputs can be used as up to three High-Speed Counter outputs. They cannot be
used as Pulse Train or Pulse-Width Modulated outputs. Connections and specifications for
High-Speed Counter outputs are the same as for standard relay outputs.
2.4 IC200NDD010
10 Point Nano PLC: (6) 12Vdc In, (4) 12Vdc Out,
12Vdc Power Supply
VersaMax Nano PLC IC200NDD010 has six 12Vdc inputs and four DC transistor outputs. It
uses +12Vdc nominal input power for PLC operation.
2.4.1 DC Inputs
The module’s six configurable DC inputs can be used as standard inputs or High-Speed
Counter inputs. Whether used as a standard or HSC input, each input can have positive or
negative logic characteristics. When used as standard inputs, the input characteristics are
compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The outputs can be configured as regular outputs or as outputs controlled by the High-
Speed Counters. Then can also be used as Pulse Train and/or Pulse Width Modulation (PWM)
outputs.
All outputs are isolated between field and logic and are switching positive voltage. The
outputs have one common incoming supply (VC) and one common ground (COM). The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive loads.
2.5 IC200NDD101
10 Point Nano PLC: (6) 24Vdc In, (4) 12Vdc Out,
24Vdc Power Supply
VersaMax Nano PLC IC200NDD101 has six 24Vdc inputs and four DC transistor outputs. It
uses +24Vdc nominal input power for PLC operation.
2.5.1 DC Inputs
Six configurable DC inputs can be used as standard inputs or High-Speed Counter inputs.
Whether used as a standard or HSC input, each input can have positive or negative logic
characteristics. When used as standard inputs, the input characteristics are compatible with
a wide range of input devices, such as pushbuttons, limit switches, and electronic proximity
switches.
The outputs can be configured as regular outputs or as outputs controlled by the High-
Speed Counters. Then can also be used as Pulse Train and/or Pulse Width Modulation (PWM)
outputs.
All outputs are isolated between field and logic and are switching positive voltage. The
outputs have one common incoming supply (VC) and one common ground (COM). The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive
loads.
2.6 IC200NDR001
10-Point Nano PLC: (6) 24Vdc In, (4) Relay Out, 24Vdc Power Supply
VersaMax Nano PLC IC200NDR001 has six 24Vdc inputs, and four normally-open 2-Amp
relay outputs that can control 5 to 30Vdc or 5 to 250Vac output devices. It uses +12Vdc
nominal input power for PLC operation.
2.6.1 DC Inputs
The module’s six configurable DC inputs can be used as standard inputs or High-Speed
Counter inputs. Whether used as a standard or High-Speed Counter input, each input can
have positive or negative logic characteristics. When used as standard inputs, the input
characteristics are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
Connections and specifications for HSC outputs are the same as for standard relay outputs.
Response Time 0.5 to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS between
groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty 2 amps at 24Vdc and 240Vac
Rating
Maximum Resistive Load 2 amps at 24Vdc and 240Vac
Rating
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Fuse None
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Resistive Current: Lamp and Solenoid Typical Operations
240Vac, 120Vac, 24Vdc 2A 0.6A 200,000
High-Speed Counter Input and Output Specifications
Maximum Counter 10kHz
Frequency
Input Voltage ON: 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
High-Speed Counter Outputs
Load Voltage refer to relay output specifications
Number of Pulse Outputs None
2.7 IC200NDR010
10 Point Nano PLC: (6) 24Vdc In, (4) Relay Out,
12Vdc Power Supply
VersaMax Nano PLC IC200NDR010 has six 24Vdc inputs, and four normally open 2-Amp
relay outputs that can control 5 to 30Vdc or 5 to 250Vac output devices. It uses +12Vdc
nominal input power for PLC operation.
2.7.1 Inputs
The module’s six configurable DC inputs can be used as standard inputs or High-Speed
Counter inputs. Whether used as a standard or High-Speed Counter input, each input can
have positive or negative logic characteristics. When used as standard inputs, the input
characteristics are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
Connections and specifications for High-Speed Counter outputs are the same as for
standard relay outputs.
Item Description
High-Speed Counter Input and Output Specifications
Maximum Counter 10kHz
Frequency
Input Voltage ON: 9V, OFF: 2.5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Load Voltage refer to relay output specifications
Number of Pulse Outputs None
When configured for High-Speed Counter operation, inputs can be set up as:
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The type B counter provides an A Quad B counting function.
Models with DC outputs can be configured to provide up to four counter, Pulse Train or
PWM outputs.
Figure 13
3.4 IC200UAA003
14-Point Micro PLC, (8) 120Vac In, (6) 120Vac
Out, 120/240Vac Power Supply
VersaMax Micro PLC model IC200UAA003 accepts eight AC inputs and provides six AC
outputs. It uses 100Vac to 240Vac nominal input power.
3.4.1 AC Inputs
The module’s eight 120Vac input circuits are reactive (resistor/capacitor) inputs. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches. Power to operate the field devices must be supplied. The input circuits
require an AC power source: they cannot be used with a DC power source.
3.4.2 AC Outputs
The 120/240Vac, 0.5 Amp triac outputs are provided in isolated groups. The commons are
not tied together inside the module. This allows each group to be used on different phases
of the AC supply or to be powered from the same supply. Each group is protected with a
replaceable 3.15-amp fuse for its common. Also, an RC snubber is provided for each output
to protect against transient electrical noise on the power line.
This module provides a high degree of inrush current (10x the rated current) which makes
the outputs suitable for controlling many types of inductive and incandescent loads. AC
power to operate loads connected to outputs must be supplied from an external source.
Item Description
Rated Load Voltage 85–132Vac, 50 -5% to 60 +5% Hz
Maximum Input Voltage 132V rms, 50/60 Hz
Input Current 8mA rms (100Vac, 60 Hz)
Voltage ON: minimum 80V rms, 4.5mA rms, OFF: maximum 30V rms,
2mA rms
Response Time OFF to ON: maximum 25mS, ON to OFF: maximum 30mS
Isolation 1500V rms field side to logic side, 500V rms between groups
AC Output Specifications
Rated Load Voltage 100 -15% to 240 +10%Vac, 50 -5% to 60 +5% Hz
Maximum Resistive Load Current 0.5 Amp per point
Maximum UL Pilot Duty Rating 0.5 Amp per point at 240Vac
0.6 Amp maximum on C1
1.2 Amps maximum on C2
Maximum Inrush Current 5A (1 period)/point, 10A (1 period)/common
Maximum voltage drops when ON 1.5 V RMS
Maximum leak current when OFF 1.8 mA RMS (115Vac), 3.5 mA RMS (230Vac)
Response Time (Maximum) OFF to ON: 1 mS, ON to OFF: 1/2 cycle + 1 mS
Isolation 1500V RMS field side to logic side 500V RMS between groups
3.5 IC200UAR014
14-Point Micro PLC, (8) 120Vac In, (6) Relay
Out, 120/240Vac Power Supply
VersaMax Micro PLC model IC200UAR014 accepts eight AC inputs and provides six relay
outputs: 2 at 10 Amps and 4 at 2 Amps. It uses 100Vac to 240Vac nominal input power.
3.5.1 Inputs
The module’s 120Vac input circuits are reactive (resistor/capacitor) inputs. The input
circuits require an AC power source: they cannot be used with a DC power source. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches. Power to operate the field devices must be supplied.
Item Description
Maximum Input Voltage 132V rms, 50/60 Hz
Input Current 8 mA rms (100Vac, 60 Hz)
Voltage ON: minimum 80V rms, 4.5 mA rms, OFF: maximum 30V rms, 2 mA
rms
Response Time OFF to ON: maximum 25mS, ON to OFF: maximum 30mS
Isolation 1500V rms field side to logic side, 500V rms between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS between
groups
Leakage Current 15 mA maximum
Maximum UL Pilot Duty Q1 – Q4: 2 amps at 24Vdc and 240Vac,
Rating Q5, Q6: 10 amps at 24Vdc and 240Vac
Maximum Resistive Load Q1 – Q4: 2 amps at 24Vdc and 240Vac,
Rating Q5, Q6: 10 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush Q1 – Q4: 5 amps per half cycle, Q5, Q6: 14 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Fuse None
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Resistive Current: Lamp and Solenoid Typical Operations:
Voltage: 2A 0.6A 200,000
10A 4A 100,000
4A 1A 200,000
3.6 IC200UDD104
14-Point Micro PLC, (8) 24Vdc In, (6) 24Vdc
Source Out, 24Vdc Power Supply
VersaMax Micro PLC IC200UDD104 accepts eight DC inputs and provides four low-current
and two high-current DC transistor outputs. It uses +24Vdc nominal input power for PLC
operation.
3.6.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains its nominal voltage (24Vdc).
The power source for the PLC must have enough transient current capability to support the
inrush current of the power supply and to maintain the nominal voltage level (see power
supply specifications for inrush requirements).
3.6.2 DC Inputs
The module’s eight configurable DC inputs can be used as standard or High-Speed Counter
inputs. Each input can have positive or negative logic characteristics. When used as standard
inputs, they are compatible with a wide range of devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The Micro PLC DC supply can be used for input devices and to power the DC input circuits at
about 7.5 mA per input. The combination of input circuit current and external device current
must not exceed 200 mA.
3.6.3 Outputs
All outputs are isolated between field and logic and are switching positive voltage.
The outputs can be configured as regular outputs or as outputs controlled by the High-
Speed Counters. Some outputs can be used as pulse train or pulse width modulation (PWM)
outputs.
External fusing should be provided to protect the outputs. Fast fuses are recommended.
The outputs share one common incoming DC supply and one common ground. The outputs
are able to drive high inrush currents (8 times the rated current) and are protected against
negative voltage pulses. This makes it possible to switch lamps and inductive loads.
Item Description
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Output Specifications
Voltage Range 12Vdc/24Vdc (24Vdc +10% / -43% input at V1,C1)
Maximum Load 1.0A per point (Q1 - Q2) at 24Vdc at 100% ON duration
0.75A per point (Q3 - Q6) at 24Vdc at 100 % ON duration
0.5A per point (Q3 - Q6) at 12Vdc at 100 % ON duration
Maximum Inrush Current Q1, Q2: 8A for 20ms, 1 pulse
Q3, Q4, Q5, Q6: 4A for 20ms, 1 pulse
Output Voltage Drop 0.3V maximum
OFF state leakage 100A maximum
Response OFF to ON: 0.1ms maximum (24Vdc, 0.2A), ON to OFF: 0.1ms
maximum (24Vdc, 0.2A)
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Fuse Outputs should be fused externally. Otherwise, a load short
damage the module output transistor, which is not user
replaceable.
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Load Voltage 12/24V
Maximum Pulse/PWM 5kHz
Frequency
Number of Pulse Outputs 4
Types available HSC, PT, PWM
The maximum current that can be used for output points Q1 and Q2 is lower for ambient
temperatures above 50°C.
Figure 17
3.7 IC200UDD112
14 Point Micro PLC, (8) 12Vdc In, (6) 12Vdc
Out, 12Vdc Power Supply
VersaMax Micro PLC IC200UDD112 accepts eight DC inputs and provides four low-current
and two high-current DC transistor outputs. It uses +12Vdc nominal input power for PLC
operation.
3.7.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after
the voltage level of the power supply input reaches and maintains its nominal voltage. The
power source for the PLC must have enough transient current capability to support the
inrush current of the power supply and to maintain the nominal voltage level (see power
supply specifications for inrush requirements).
3.7.2 DC Inputs
Eight configurable DC inputs can be used as positive or negative logic standard or High-
Speed Counter inputs. When used as standard inputs, they are compatible with a wide
range of devices, such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC DC supply can be used for input devices and to power the DC input circuits
at about 7.5 mA per input. The combination of input circuit current and external device
current must not exceed 200 mA.
The outputs can be configured as regular outputs or as outputs controlled by the High-
Speed Counters. Some outputs can be used as pulse train or pulse width modulation
(PWM) outputs.
External fusing should be provided to protect the outputs. Fast fuses are recommended.
The outputs share one common incoming DC supply and one common ground. The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive
loads.
Item Description
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Load Voltage 12V
Maximum Pulse/PWM Frequency 5kHz
Number of Pulse Outputs 4
Types available HSC, PT, PWM
3.8 IC200UDR001
14-Point Micro PLC, (8) 24Vdc In, (6) Relay Out,
120/240Vac Power Supply
VersaMax Micro PLC IC200UDR001 accepts eight DC inputs and provides six normally-
open 2 Amp relay outputs that can control 5-30Vdc or 5-250Vac output devices. It uses
100Vac to 240Vac nominal input power.
3.8.1 DC Inputs
Eight configurable DC inputs can be used as positive or negative logic standard or High-
Speed Counter inputs. When used as standard inputs, they are compatible with a wide
range of devices, such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC provides a +24Vdc supply that can be used for input devices and to power
the DC input circuits at about 7.5 mA per input. The combination of input circuit current
and external device current must not exceed 200 mA.
The relay outputs can be configured as up to four counter outputs. They cannot be used as
Pulse Train or PWM outputs.
Connections and specifications for HSC outputs are the same as for standard relay outputs.
Item Description
Input Current 0.06 Amp typical at 200Vac, 0.10 Amp typical at 100Vac
Input Power Supply Rating 13 VA
Isolation 1500Vac RMS field-side to logic (power supply input).
DC Input Specifications
Number of Inputs 8
Rated Input Voltage 24 volts DC
Input Voltage Range 0 to 30 volts DC
Input Current 7.5mA typical
Input Resistance 2.8 kΩ
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS
between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Fuse None
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc 2A Solenoid 200,000
0.6A
High-Speed Counter Input and Output Specifications
Available High-Speed Counters Four Type A or One Type A and One Type B
Maximum Counter Frequency 10kHz
Input Voltage ON: 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16 bits
Outputs
Available Pulse Outputs None
Load Voltage Refer to relay output specifications
3.9 IC200UDR002
14-Point Micro PLC, (8) 24Vdc In, (6) Relay Out,
24Vdc Power Supply
VersaMax Micro PLC IC200UDR002 accepts eight DC inputs and provides six normally open
2 Amp relay outputs that can control 5 to 30Vdc or 5 to 250Vac output devices. It uses
+24Vdc nominal input power for PLC operation.
3.9.1 DC Power
The DC power supply requires more current at startup voltage (approximately 4Vdc) than
at rated input voltage. A minimum of 2.0 A is required to start up the DC power supply.
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
3.9.2 DC Inputs
Eight configurable DC inputs can be used as positive or negative logic standard inputs or
High-Speed Counter inputs. When used as standard inputs, they are compatible with a wide
range of devices, such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC 24Vdc supply can be used for input devices and to power the DC input circuits
at about 7.5 mA per input. The combination of input circuit current and external device
current must not exceed 200 mA.
The relay outputs can be configured as HSC outputs. They cannot be used as Pulse Train or
PWM outputs. Connections and specifications for HSC outputs are the same as for standard
relay outputs.
Item Description
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16 bits
Outputs
Available Pulse Outputs None
Load Voltage Refer to relay specifications
3.10 IC200UDR003
14-Point Micro PLC, (8) 12Vdc In, (6) Relay Out,
12Vdc Power Supply
VersaMax Micro PLC IC200UDR003 accepts eight DC inputs and provides six normally open
2 Amp relay outputs that can control 5 to 30Vdc or 5 to 250Vac output devices. It uses
+12Vdc nominal input power for PLC operation.
3.10.1 DC Power
The DC power supply requires more current at startup voltage (approximately 4Vdc) than
at rated input voltage. A minimum of 2.0 A is required to start up the DC power supply. If
configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
3.10.2 DC Inputs
Eight configurable DC inputs can be used as positive or negative logic standard or High-
Speed Counter inputs. When used as standard inputs, they are compatible with a wide range
of devices, such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC 12Vdc supply can be used for input devices and to power the DC input circuits
at about 7.5 mA per input. The combination of input circuit current and external device
current must not exceed 200 mA.
The relay outputs can be configured as HSC outputs. They cannot be used as Pulse Train or
PWM outputs. Connections and specifications for HSC outputs are the same as for standard
relay outputs.
Item Description
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 9V, OFF: 2.5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16 bits
Outputs
Available Pulse Outputs None
Load Voltage Refer to relay specifications
IC200UDD020 20-point, (12) 24Vdc In, (4) 24Vdc Outputs with ESCP, (4) 24Vdc Transistor
Outputs, 24Vdc Power Supply
IC200UDD220 20-point, (12) 24Vdc In, (8) 24Vdc Transistor Outputs, 24Vdc Power Supply
IC200UDR020 20-point, (12) 24Vdc In, (8) Relay Out, 24Vdc Power Supply
IC200UDR120 20-point, (12) 24Vdc In, (8) Relay Out, 120/240Vac Power Supply
Note: Firmware releases 4.00 and later require a Micro PLUS CPU, which has enhanced memory.
Firmware versions 4.00 cannot be used with the earlier hardware versions.
• Micro and Micro PLUS PLCs support the same user logic memory size
• The specifications given in this chapter for Micro PLCs also apply to Micro PLUS
PLCs.
Figure 23
4.1.2 Ports
Port 1 is a built-in RS-232 serial port with an RJ-45 connector.
A second port can be added to a Micro-20 PLC using one of the port Option Modules
described in Chapter 14:. If a second port is installed, both ports can be used for
programming. Only one port can be used at a time for programming, but both ports can be
used for monitoring at the same time.
Port 1 and the optional Port 2 are individually configurable for SNP master/slave, RTU
master/slave, and Serial I/O protocols. Both 4-wire and 2-wire RTU are supported when the
RS-485 Port Option module is installed as port 2. Port 2 does not support hardware flow
control. When either port is being used for RTU slave, it automatically switches to SNP slave
mode when that port is being used by the programmer. If a port is configured for Serial I/O,
RTU Master, or SNP Master operation, that port defaults to SNP slave and automatically
reverts to SNP slave when the CPU is in Stop mode.
Either port can be software-configured to set up communications between the CPU and
various serial devices. An external device can obtain power from the port if it requires
200mA or less at 5Vdc.
To maintain memory for longer than this, a replaceable battery assembly can be installed in
the battery holder, as described in Chapter 15:. The Micro PLC reports the battery state to
the PLC Fault Table and also uses Status Bits %SA011 and %S0014 to indicate the battery
state.
When configured for High-Speed Counter operation, inputs can be set up as:
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The type B counter provides an A Quad B counting function.
4.4 IC200UDD020
20-Point Micro PLC, (12) 24Vdc In, (4) 24Vdc
Out with ESCP, (4) LCDC Out, 24Vdc Power
Supply
VersaMax Micro PLC IC200UDD020 accepts twelve DC inputs and provides four ESCP
outputs and four 24Vdc low-current outputs. It uses +24Vdc nominal input power for PLC
operation.
4.4.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains its nominal voltage (24Vdc).
The power source for the PLC must have enough transient current capability to support the
inrush current of the power supply and to maintain the nominal voltage level (see power
supply specifications for inrush requirements).
4.4.2 DC Inputs
The twelve configurable DC inputs can be used as positive or negative logic standard inputs.
Eight of these inputs can be used for High-Speed Counter inputs. When used as standard
inputs, they are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435 mA.
4.4.3 DC Outputs
Outputs 1 – 4 can be used as standard, High-Speed Counter, Pulse-Width Modulated, Pulse
Train Outputs, or Pulse Train Outputs with Ramping. All standard outputs are all source-
type. Outputs can be used to switch devices like valves, lamps or contactors.
Item Description
Under-voltage shutdown Q5 – Q8: 5V minimum, 8V maximum
DC short circuit current Q1 – Q4: 5A typical
Q5 – Q8: 0.7A minimum, 2A maximum
Peak short circuit current Q5 – Q8: 4A maximum
Delay time of peak short circuit current 100 µS
Delay time of current limit 100 µS
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 100kHz
Input Voltage ON : 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage 12/24Vdc
Maximum Pulse/Pulse Train with PWM and PTO: 65kHz
Ramping/PWM Frequency Pulse Train with Ramping: 65kHz
Types available Up to four HSC, PTO, PTO with Ramping and/or PWM
outputs
4.5 IC200UDD220
20-Point Micro PLC, (12) 24Vdc In, (8) 24Vdc
Out (Sink), 24Vdc Power Supply
VersaMax Micro PLC IC200UDD220 accepts twelve DC inputs and provides eight DC
outputs. It uses +24Vdc nominal input power for PLC operation.
4.5.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
4.5.2 DC Inputs
Twelve configurable DC inputs can be used as positive or negative logic standard inputs.
Eight of these inputs can be used for High-Speed Counter inputs. When used as standard
inputs, they are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
4.5.3 DC Outputs
Micro PLC IC200UDD220 has eight Sink-type DC outputs. All outputs are isolated between
field and logic and are switching positive voltage. The outputs are able to drive high inrush
currents (8 times the rated current) and are protected against negative voltage pulses. This
makes it possible to switch lamps and inductive loads.
Item Description
Outputs
Load Voltage 12/24Vdc
Maximum Pulse/PWM PWM and PTO: 65kHz
Frequency Pulse Train with Ramping: 65kHz
Types available Up to four HSC, PTO, PTO, and/or PWM outputs
4.6 IC200UDR020
20-Point Micro PLC, (12) 24Vdc In, (8) Relay
Out, 24Vdc Power Supply
VersaMax Micro PLC IC200UDR020 accepts twelve DC inputs and provides eight normally
open 2 Amp relay outputs. It uses +24Vdc nominal input power for PLC operation.
4.6.1 DC Inputs
Twelve configurable DC inputs can be used as positive or negative logic standard inputs.
Eight of these inputs can be used for High-Speed Counter inputs. When used as standard
inputs, they are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
The relay outputs can be configured as up to four HSC outputs. Relay outputs cannot be
used as Pulse Train or PWM outputs.
Item Description
DC Input Specifications
Rated Input Voltage 24 volts DC
Input Voltage Range 0 to 30 volts DC
Input Current at 24Vdc I1, I3, I5, I7: 8mA typical; other inputs 4.8mA typical
Input Impedance I1, I3, I5, I7: 2.7 kΩ; other inputs: 4.7kΩ
Input Threshold Voltage ON: 18Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current I1, I3, I5, I7: ON 4.5mA maximum, OFF: 1.8mA minimum
Other inputs: ON 3.3mA maximum, OFF: 1.6mA maximum
Response Time 0.5ms to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS
between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 1.5A,10ms
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc 2.0A Solenoid 200,000
0.6A
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 100kHz
Input Voltage ON: 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage Q1: 5/12/24V, Q2-Q4: See relay output specifications
Type available Up to four HSC outputs. Pulse outputs are not available.
4.7 IC200UDR120
20-Point Micro PLC, (12) 24Vdc In, (8) Relay
Out, 120/240Vac Power Supply
VersaMax Micro PLC IC200UDR120 accepts twelve DC inputs and provides eight normally
open 2 Amp relay outputs. It uses 100Vac to 240Vac nominal input power for PLC operation.
4.7.1 DC Inputs
Twelve configurable DC inputs can be used as positive or negative logic standard inputs.
Eight of these inputs can be used for High-Speed Counter inputs. When used as standard
inputs, they are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
The relay outputs can be configured as up to four HSC outputs. Relay outputs cannot be
used as Pulse Train or PWM outputs.
Item Description
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 9.4A, 20mSec
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc 2.0A Solenoid 200,000
0.6A
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 100kHz
Input Voltage ON: 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage Q1: 5/12/24V, Q2-Q4: See relay output specifications
Type available Up to four HSC outputs. Pulse outputs are not available.
3
Combined port 1 and port 2 total not to exceed 100mA max.
Figure 29
Port 2, located behind a removable door on the front of the Micro PLC, is an RS-485 serial
port with a DB-15 connector.
Both ports can be used for programming. Only one port can be used at a time for
programming, but both ports can be used for monitoring at the same time. Port 1 uses SNP
slave protocol. Port 2 is software-configurable for SNP master/slave RTU slave or Serial I/O
operation. CPUs with firmware version 2.02 or later support Modbus RTU Master on port 2.
4-wire and 2-wire RTU are supported. If Port 2 is being used for RTU, it automatically
switches to SNP slave mode if necessary. Port 2 defaults to SNP slave and automatically
reverts to SNP slave when the CPU is in Stop mode, if configured for Serial I/O.
Either port can be software-configured to set up communications between the CPU and
various serial devices. An external device can obtain power from both ports if it requires
100mA or less at 5Vdc.
To maintain memory for longer than this, a lithium coin cell assembly (IC200ACC403) can
be installed in the battery holder. The Micro PLC reports the battery state to the PLC Fault
Table and also uses Status Bits %SA011 and %S0014 to indicate the battery state.
When configured for High-Speed Counter operation, inputs can be set up as:
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The type B counter provides an A Quad B counting function.
5.4 IC200UAL004
Micro PLC, 23 Discrete Points and 3 Analog
Channels:
(13) 12Vdc In, (10) Relay Out, (2) Analog In, (1)
Analog Out, 12Vdc Power Supply
VersaMax Micro PLC IC200UAL004 accepts thirteen 12Vdc inputs and two analog inputs. It
provides ten normally open 2 Amp relay outputs and one analog output. It uses +12Vdc
nominal input power.
5.4.1 DC Inputs
Thirteen configurable 12Vdc inputs can be used as positive or negative logic standard or
High-Speed Counter inputs. Inputs are compatible with a wide range of devices, such as
pushbuttons, limit switches, and electronic proximity switches.
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 12Vdc. The 12Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 12Vdc voltage level (see power supply
specifications for inrush requirements).
Item Description
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS
between groups
Leakage Current 15 mA maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 1 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
2A Solenoid 200,000
0.6A
High-Speed Counter Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 9V, OFF: Off: 2.5V
Count Registers 16 bits
Available Pulse Outputs None
5.5 IC200UAL005
Micro PLC, 23 Discrete Points and 3 Analog
Channels:
(13) 24Vdc In, (1) 24Vdc Out, (9) Relay Out, (2)
Analog In, (1) Analog Out, 24Vdc Power Supply
VersaMax Micro PLC IC200UAL005 accepts thirteen 24Vdc inputs and two analog inputs. It
provides one 24Vdc output, nine normally-open 2 Amp relay outputs, and one analog
output. It uses +24Vdc nominal input power.
5.5.1 DC Inputs
Thirteen configurable 24Vdc inputs can be used as positive or negative logic standard or
High-Speed Counter inputs. Inputs are compatible with a wide range of input devices, such
as pushbuttons, limit switches, and electronic proximity switches.
The module provides +24Vdc output power available for field devices.
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
Item Description
Maximum Resistive Load Rating 0.75A at 24Vdc
0.5A at 12Vdc
0.25A at 5Vdc
Output Voltage Drop 0.3Vdc maximum
Response ON 0.1ms maximum (24Vdc, 0.2A)
OFF 0.1ms maximum (24Vdc, 0.2A)
OFF state leakage 0.1mA maximum
Isolation 1500Vac between field side and logic side
500Vac between groups
Fuse Output should be fused externally. Otherwise, a load short can
damage the module output transistor, which is not user
replaceable.
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side
500 V RMS between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
On Response Time 15 ms maximum
Off Response Time 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc 2A Solenoid 200,000
0.6A
+ +
- -
24+ I2 I4 I5 I7 C2 I9 I 11 I 13 IN 1+ IN 2- IN2JP
24- I1 I3 C1 I6 I8 C3 I 10 I 12 IN 1- IN1JP IN 2+
-V Q1 V1 Q3 Q5 Q6 Q7 Q8 Q9 C6 IO VO
+V C1 Q2 Q4 C2 C3 C4 C5 Q10 IC VC
FUSE
FUSE
FUSE
FUSE
FUSE
FUSE
FUSE
FUSE
FUSE
FUSE
LOAD
LOAD
+
LOAD
LOAD
LOAD
LOAD
LOAD
LOAD
LOAD
LOAD
LOAD
LOAD
-
+
GND
1 Analog
Power Source
- Voltage or
DC Power AC or DC AC or DC Power Sources Current Output
24VDC
Source Power Source
5.6 IC200UAL006
Micro PLC, 23 Discrete Points and 3 Analog
Channels:
(13) 24Vdc In, (1) 24Vdc Out, (9) Relay Out, (2)
Analog In, (1) Analog Out, 120/240Vac Power
Supply
VersaMax Micro PLC IC200UAL006 accepts thirteen DC inputs and two analog inputs. It
provides one DC output, nine normally open 2 Amp relay outputs, and one analog output.
It uses 100Vac to 240Vac nominal input power.
5.6.1 DC Inputs
Thirteen configurable 24Vdc inputs can be used as positive or negative logic standard or
High-Speed Counter inputs. Inputs are compatible with a wide range of input devices, such
as pushbuttons, limit switches, and electronic proximity switches. Power to operate field
devices and the input circuits is supplied by an isolated +24Vdc supply.
Item Description
Input Voltage Range 0 to 30 volts DC
Input Current 7.5mA typical
Input Resistance 2.8 kΩ
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms (user configurable) as regular input;
100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between
groups
DC Output Specifications
Output logic Positive Logic
Operating Voltage 24Vdc / 12Vdc / 5Vdc
Voltage Range 24Vdc, +20%, -80%
Maximum UL Pilot Duty Rating 0.75A at 24Vdc
Maximum Resistive Load Rating 0.75A at 24Vdc
0.5A at 12Vdc
0.25A at 5Vdc
Output Voltage Drop 0.3Vdc maximum
Response Time ON: 0.1ms maximum (24Vdc, 0.2A), OFF: 0.1ms maximum
(24Vdc, 0.2A)
OFF state leakage 0.1mA maximum
Isolation 1500Vac between field side and logic side, 500Vac between
groups
Fuse Output should be fused externally. Otherwise, a load short
can damage the module output transistor, which is not user
replaceable.
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS
between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical
240Vac, 120Vac, 24Vdc 2A Solenoid Operations
0.6A 200,000
Item Description
High-Speed Counter Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 15V, OFF: Off: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16 bits
Available Pulse Outputs None
Outputs
Load Voltage Q1: 5/12/24V
Maximum Pulse/PWM Frequency (Q1 only) 5kHz
Types available Up to four HSC outputs or one Pulse/PWM output plus three
HSC outputs.
The table below shows the relationship between the analog input and output values used
by the application program, and the actual analog input or output for each mode. These
values include the automatic adjustments for offset and gain.
In this This is the Analog This is the Equivalent For the Default
Configured Signal Range Process Data %AI or Calibration, the Value in
Mode: %AQ Range the
%AI or %AQ Reference
Equals:
Voltage 0 to +10V 0 to 10,000mV 0 to 32000 3.2 x mV
Current 0 to 20mA 0 to 20,000µA 0 to 32000 1.6 x µA
Current 4 to 20mA 4,000 to 20,000µA 0 to 32000 2 x µA –8000
The following pages explain how the Micro PLC performs the necessary data conversions
between the analog signal levels and the numeric values used by the application program.
Figure 33
In current mode, the Micro PLC first converts the 0 to 20,000µA input signal to a count value
in the range of 0 to 4,000. The fixed multiplier for this conversion is 5. The conversion for
both current modes (0-20mA and 4-20mA) is the same.
The default input gain used for this conversion is 8 (32000 / 4000) and the default offset is
0. These can be changed as described later. Any calculated value above 32,767 is clamped
at that maximum value. Any calculated value less than 0 is clamped at 0.
Figure 34
Any calculated value that exceeds 4095 (212-1) is clamped at that maximum value. Any
calculated value less than 0 is clamped at 0. The range 0 to 4095 corresponds to %AQ values
between 0 and 32,767.
The default output gain used for this conversion is 0.125 (4000 / 32000) and the default
offset is 0. These can be changed as described later.
In current mode, the D/A converter converts the count value to an analog signal from 0 to
20,000µA. The output current gain for this conversion is 5. The conversion for both current
modes (0-20mA and 4-20mA) is the same.
%AQ Range Default Gain, %AQ Default D/A Converter Conversion Output Signal
to Counts Offset Range Factor
0– 32,000 0.125 0 0–4,000 counts 2.5 Voltage Mode (0–10,000mV)
0–32,000 0.125 0 0–4,000 counts 5 Current Mode (0–20mA)
or (4–20mA)
To perform the calibration procedures, you will need a precision analog meter (1mV voltage
accuracy and 1µA current accuracy). Do not try the procedures in this section unless you are
familiar with the operation of D/A and A/D converters.
IC200UAA007 28 Point Micro PLC, (16) 120Vac In, (12) 120Vac Out, 120/240Vac Power Supply
IC200UAR028 28 Point Micro PLC, (16) 120Vac In, (2) Relay Out at 10 Amps, (10) Relay Out at
2 Amps, 120/240Vac Power Supply
IC200UDD110 28 Point Micro PLC, (16) 24Vdc In, (12) 24Vdc Out, 24Vdc Power Supply
IC200UDD120 28 Point Micro PLC, (16) 24Vdc In, (12) 24Vdc Out with ESCP, 24Vdc Power Supply
IC200UDD212 28 Point Micro PLC, (16) 12Vdc In, (12) 12Vdc Out, 12Vdc Power Supply
IC200UDR005 28 Point Micro PLC, (16) 24Vdc In, (1) 24Vdc Out, (11) Relay Out, 120/240Vac
Power Supply
IC200UDR006 28 Point Micro PLC, (16) 12Vdc In, (12) Relay Out, 12Vdc Power Supply
IC200UDR010 28 Point Micro PLC, (16) 24Vdc In, (1) 24Vdc Out, (11) Relay Out, 24Vdc Power
Supply
IC200UDR228 28 Point Micro PLC, (16) 24Vdc In, (1) 24Vdc Out, (11) Relay Out, 12/24Vdc Power
Supply
• Full-featured programming Instruction Set with floating point math. The application
program can be either Ladder Diagram (LD) or Instruction List (IL) format.
• 9K words of program memory, 2048 words of registers.
• Flash memory (ROM) for non-volatile program storage and for system firmware
• Configurable to read configuration at power-up from either RAM or flash memory
(ROM). Can also be configured to read application program from flash at power-up.
• Capacitor backs up RAM and the Time-of-Day clock for at least 30 minutes.
• Optional lithium battery backup for RAM and real-time clock.
Figure 36
Either port can be software-configured to set up communications between the CPU and
various serial devices. An external device can obtain power from both ports if it requires
100mA or less at 5Vdc.
To maintain memory for longer than this, a replaceable battery assembly can be installed in
the battery holder, as described in Chapter 14:. The Micro PLC reports the battery state to
the PLC Fault Table and also uses Status Bits %SA011 and %S0014 to indicate the battery
state.
When configured for High-Speed Counter operation, inputs I1 to I8 can be set up as:
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The Type B counter provides an A Quad B counting function.
Models with DC outputs can be configured to provide up to a total of four counter, Pulse
Train, or PWM outputs. Relay outputs cannot be used as Pulse Train or PWM outputs.
4
Combined port 1 and port 2 total not to exceed 100mA max.
6.4 IC200UAA007
28-Point Micro PLC, (16) 120Vac In, (12)
120Vac Out, 120/240Vac Power Supply
VersaMax Micro PLC model IC200UAA007 accepts sixteen AC inputs and provides twelve AC
outputs. It uses 100Vac to 240Vac nominal input power for PLC operation.
This module does not provide High-Speed Counter, PWM or Pulse Train operation.
6.4.1 Inputs
The sixteen 120Vac input circuits are reactive (resistor/capacitor) inputs. The input circuits
require an AC power source: they cannot be used with a DC power source.
Inputs are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches. Power to operate the field devices must be
supplied.
6.4.2 AC Outputs
The 120/240Vac, 0.5 Amp triac outputs are provided in isolated groups. The commons are
not tied together inside the module. This allows each group to be used on different phases
of the AC supply or to be powered from the same supply. Each group is protected with a
replaceable 3.15 amp fuse for its common. Also, an RC snubber is provided for each output
to protect against transient electrical noise on the power line.
AC power to operate loads connected to outputs must be supplied from an external source.
This module provides a high degree of inrush current (10x the rated current) which makes
the outputs suitable for controlling many types of inductive and incandescent loads.
6.5 IC200UAR028
28-Point Micro PLC, (16) 120Vac In, (2/10)
Relay Out, 120/240Vac Power Supply
VersaMax Micro PLC model IC200UAR028 accepts sixteen AC inputs and provides two relay
outputs at 10 Amps and ten relay outputs at 2 Amps. It uses 100Vac to 240Vac nominal
input power for PLC operation.
This module does not provide High-Speed Counter, PWM or Pulse Train operation.
6.5.1 Inputs
The sixteen 120Vac input circuits are reactive (resistor/capacitor) inputs. The input circuits
require an AC power source: they cannot be used with a DC power source.
Inputs are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches. Power to operate the field devices must be
supplied.
6.6 IC200UDD110
28-Point Micro PLC, (16) 24Vdc In, (12) 24Vdc
Out, 24Vdc Power Supply
VersaMax Micro PLC model IC200UDD110 accepts sixteen DC inputs and provides twelve
24Vdc outputs. It uses +24Vdc nominal input power for PLC operation.
6.6.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
6.6.2 DC Inputs
The module has sixteen configurable DC inputs that can be used as positive or negative logic
standard inputs. As standard inputs, they are compatible with a wide range of input devices,
such as pushbuttons, limit switches, and electronic proximity switches. Eight of the inputs
can be used for High-Speed Counter inputs.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
The outputs can be configured as regular outputs or as outputs controlled by the High-
Speed Counters. Some outputs can be used as pulse train or pulse width modulation (PWM)
outputs.
All outputs are isolated between field and logic and are switching positive voltage. The
outputs have one common incoming supply (VC) and one common ground (COM). The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive loads.
Item Description
DC Input Specifications
Rated Input Voltage 24 volts DC
Input Voltage Range 0 to 30 volts DC
Input Current 7.5mA typical
Input Resistance 2.8 kΩ
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Output Specifications
Voltage Range 12Vdc/24Vdc (24Vdc +10% / -43% input at V1, C1)
Maximum Load Current 1.0A per point (Q1, Q2, Q11, Q12) at 24Vdc at 100% ON
duration
0.75A per point (Q3 - Q10) at 24Vdc at 100 % ON duration
0.5A per point (Q3 - Q10) at 12Vdc at 100 % ON duration
Maximum Inrush Current Q1, Q2,Q15,Q16: 1A, Q3-Q13: 0.7A
Output Voltage Drop 0.3V maximum
OFF state leakage current 100A maximum
Response Time OFF to ON, ON to OFF 0.1ms maximum (24Vdc, 0.2A)
Isolation Voltage 1500V RMS between field side and logic side, 500V RMS
between groups
Fuse Outputs should be fused externally. Otherwise, a load short
can damage the module output transistor, which is not user
replaceable.
High-Speed Counter Input / PWM and Pulse Train Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON : 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Load Voltage Q1-Q4: 12/24Vdc
Maximum Pulse/PWM Frequency 5kHz
Types available Up to four HSC, PT, and/or PWM outputs
The maximum current that can be used for output points Q1, Q2, Q11 and Q12 is lower for
ambient temperatures above 50°C
Figure 40
6.7 IC200UDD120
28-Point Micro PLC, (16) 24Vdc In, (12) 24Vdc
Out with ESCP, 24Vdc Power Supply
VersaMax Micro PLC model IC220UDD120 accepts sixteen DC inputs and provide twelve
24Vdc outputs. The outputs have electronic short-circuit protection. The module uses
+24Vdc nominal input power for PLC operation.
6.7.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
6.7.2 DC Inputs
The module’s sixteen configurable DC inputs can be used as positive or negative logic
standard inputs. Eight of these inputs can be used for High-Speed Counter inputs.
When used as standard inputs, they are compatible with a wide range of input devices, such
as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
The output circuits can be used to switch devices like valves, lamps or contactors.
Item Description
Fuse Not required
Under-voltage shutdown Q1 - Q12: 5V minimum, 8V maximum
DC short circuit current Q1 – Q12: 0.7A minimum, 2A maximum
Peak short circuit current 4A maximum
Delay time of peak short circuit 100μS
current
Delay time of current limit 100μS
High-Speed Counter Input / PWM and Pulse Train Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON : 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Load Voltage Q1-Q4: 12/24Vdc
Maximum Pulse/PWM Frequency 5kHz
Types available Up to four HSC, PT, and/or PWM outputs
6.8 IC200UDD212
28-Point Micro PLC, (16) 12Vdc In, (12) 12Vdc
Out, 12Vdc Power Supply
VersaMax Micro PLC model IC200UDD212 accepts sixteen 12Vdc inputs and provides
twelve DC transistor outputs. It uses +12Vdc nominal input power for PLC operation.
6.8.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 12Vdc. The 12Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 12Vdc voltage level (see power supply
specifications for inrush requirements).
6.8.2 DC Inputs
Sixteen configurable DC inputs can be used as positive or negative logic standard inputs.
Eight of the inputs can be configured as four Type A Counters or one Type A and one Type B
Counter. When used as standard inputs, they are compatible with a wide range of input
devices, such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +12Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
All outputs are isolated between field and logic and are switching positive voltage.
The output circuits can be used to switch devices like valves, lamps or contactors. External
fusing should be provided to protect the outputs. Fast fuses are recommended.
The outputs can be configured as regular outputs or as outputs controlled by the High-
Speed Counters. Some outputs can be used as pulse train or pulse width modulation (PWM)
outputs.
Each group of 6 outputs has one common incoming supply (V1, V2) and one common
ground (C1, C2). The outputs are able to drive high inrush currents (8 times the rated
current) and are protected against negative voltage pulses. This makes it possible to switch
lamps and inductive loads.
Item Description
Fuse Outputs should be fused externally. Otherwise, a load short
can damage the module output transistor, which is not user
replaceable.
High-Speed Counter Input / PWM & Pulse-Train Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 9V, OFF: 2.5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Load Voltage Q1-Q4: 12Vdc
Maximum Pulse/PWM Frequency 5kHz
Types available Up to four HSC, PT, and/or PWM outputs
6.9 IC200UDR005
28-Point Micro PLC, (16) 24Vdc In, (1) 24Vdc
Out, (11) Relay Out, 120/240Vac Power Supply
VersaMax Micro PLC IC200UDR005 accepts sixteen DC inputs and provides one 24Vdc
output and eleven normally open 2 Amp relay outputs. It uses 100Vac to 240Vac nominal
input power for PLC operation.
6.9.1 DC Inputs
The sixteen configurable DC inputs can be used as positive or negative logic standard inputs,
including up to four High-Speed Counter inputs. Inputs are compatible with a wide range of
devices, such as pushbuttons, limit switches, and electronic proximity switches. The module
provides +24Vdc output power for field devices, up to 200mA maximum.
The relay outputs can be configured as up to three High-Speed Counter outputs. Relay
outputs cannot be used as Pulse Train or PWM outputs.
Item Description
Input Current 0.20 Amp typical at 200Vac, 0.10 Amp typical at 100Vac
Input Power Supply Rating 26 VA
DC Input Specifications
Number of Inputs 16
Rated Input Voltage 24 volts DC
Input Voltage Range 0 to 30 volts DC
Input Current 7.5mA typical
Input Resistance 2.8 kΩ
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
DC Output Specifications
Output logic Positive Logic
Operating Voltage 24Vdc / 12Vdc / 5Vdc
Voltage Range 24Vdc, +20%, -80%
Maximum UL Pilot Duty Rating 0.75A at 24Vdc
Maximum Resistive Load 0.75A at 24Vdc
Rating 0.5A at 12Vdc
0.25A at 5Vdc
Output Voltage Drop 0.3Vdc maximum
Response ON: 0.1ms maximum (24Vdc, 0.2A), OFF: 0.1ms maximum
(24Vdc, 0.2A)
OFF state leakage 0.1mA maximum
Isolation 1500Vac between field side and logic side, 500Vac between
groups
Fuse Output should be fused externally. Otherwise, a load short can
damage the module output transistor, which is not user
replaceable.
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS between
groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load 2 amps at 24Vdc and 240Vac
Rating
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
Item Description
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Current: Lamp and Typical Operations
Voltage Resistive Solenoid 200,000
240Vac, 120Vac, 24Vdc 2.0A 0.6A
High-Speed Counter / PWM and Pulse Train Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Outputs
Type available Up to four HSC outputs or three HSC outputs plus one PT or PWM
output.
Load Voltage Q1: 5/12/24V, Q2-Q4: See relay output specifications
Maximum Pulse/PWM 5kHz (Q1 only)
Frequency
6.10 IC200UDR006
28-Point Micro PLC, (16) 12Vdc In, (12) Relay
Out, 12Vdc Power Supply
VersaMax Micro PLC IC200UDR006 accepts sixteen 12Vdc inputs and provides twelve
normally open 2 Amp relay outputs. It uses +12Vdc nominal input power.
6.10.1 DC Power
The DC power supply requires more current at startup voltage (approximately 4Vdc) than
at rated input voltage. A minimum of 2.0 A is required to start up the DC power supply.
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 12Vdc. The 12Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 12Vdc voltage level (see power supply
specifications for inrush requirements).
6.10.2 Inputs
The sixteen configurable 12Vdc inputs can be used as positive or negative logic standard
inputs or High-Speed Counter inputs. Inputs are compatible with a wide range of devices
such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +12Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
Item Description
Contact Life: Electrical Current: Resistive Current: Lamp and Solenoid Typical Operations
Voltage 2A 0.6A 200,000
High-Speed Counter Input / PWM and Pulse Train Output Specifications
Maximum Counter 10kHz
Frequency
Input Voltage ON: 9V, OFF: 2.5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16 bits
Outputs
Available Pulse Outputs None
Load Voltage Refer to relay specifications
6.11 IC200UDR010
28-Point Micro PLC, (16) 24Vdc In, (1) 24Vdc
Out, (11) Relay Out, 24Vdc PS
IC200UDR228
28-Point Micro PLC, (16) 24 VC In, (1) 24Vdc
Out, (11) Relay Out, 12/24Vdc PS
VersaMax Micro PLCs IC200UDR010 and IC200UDR228 accept sixteen DC inputs and
provide one DC output and eleven normally open 2 Amp relay outputs. The only differences
between these modules are their power supplies and the output current rating of their Q1
DC output. Micro-28 IC200UDR010 uses +24Vdc nominal input power, and provides a
450mA, 24Vdc output. Micro-28 IC200UDR228 uses +12/24Vdc nominal input power, and
provides a 100mA, 24Vdc output.
6.11.1 DC Power
The DC power supply requires more current at startup voltage (approximately 4Vdc) than
at rated input voltage. A minimum of 2.0 A is required to start up the DC power supply.
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains nominal DC power. The
power source for the PLC must have enough transient current capability to support the
inrush current of the power supply and to maintain an adequateVdc voltage level (see
specifications for inrush requirements).
6.11.2 DC Inputs
The sixteen configurable DC inputs can be used as positive or negative logic standard inputs
or up to three High-Speed Counter inputs. Inputs are compatible with a wide range of input
devices, such as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
Item Description
DC Output Specifications
Output logic Positive Logic
Operating Voltage IC200UDR010: 24Vdc / 12Vdc / 5Vdc; IC200UDR228:
24Vdc / 12Vdc
Voltage Range IC200UDR010: 24Vdc, +20%, -80%; IC200UDR228: 23.5 -
24.5Vdc
Output Current IC200UDR010: 450mA; IC200UDR228:
100mA
Maximum UL Pilot Duty Rating 0.75A at 24Vdc
Maximum Resistive Load 0.75A at 24Vdc; 0.5A at 12Vdc; 0.25A at 5Vdc
Rating
Output Voltage Drop 0.3Vdc maximum
Response ON: 0.1ms maximum (24Vdc, 0.2A), OFF: 0.1ms maximum
(24Vdc, 0.2A)
OFF state leakage 0.1mA maximum
Isolation 1500Vac between field side and logic side, 500Vac between
groups
Fuse Output should be fused externally. Otherwise, a load short can
damage the module output transistor, which is not user
replaceable.
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS between
groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load 2 amps at 24Vdc and 240Vac
Rating
Minimum Load 1 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Resistive Current: Lamp and Typical
Voltage 2A Solenoid Operations
240Vac, 120Vac, 24Vdc 0.6A 200,000
High-Speed Counter Input / PWM and Pulse-Train Output Specifications
Maximum Counter Frequency 10kHz
Input Voltage ON: 15V, OFF: 5V
Count Pulse Width 20% to 80% duty cycle at 10kHz
Count Registers 16bits
Item Description
Outputs
Load Voltage Q1: IC200UDR010 = 5/12/24V; IC200UDR228 = 12/24V
Q2-Q4: See Relay output specifications
Maximum Pulse/PWM (Q1 only) 5kHz
Frequency
Types available Up to four HSC outputs or three HSC outputs plus one PT/PWM
output.
IC200UDD040 40 Point Micro PLC, (24) 24Vdc In, (16) 24Vdc Out (Source), 24Vdc Power Supply
IC200UDD240 40 Point Micro PLC, (24) 24Vdc In, (12) 24Vdc Out with ESCP, (4) 24V LCDC Out,
24Vdc Power Supply
IC200UDR040 40 Point Micro PLC, (24) 24Vdc In, (16) Relay Out, 24Vdc Power Supply
IC200UDR140 40 Point Micro PLC, (24) 24Vdc In, (16) Relay Out, 120/240Vac Power Supply
IC200UDR440 40 Point Micro PLC, (24) 24Vdc In, (16) Relay Out, 12/24Vdc Power Supply
Note: Firmware releases 4.00 and later require a Micro PLUS CPU, which has enhanced memory.
Firmware versions 4.00 cannot be used with the earlier hardware versions.
• Micro and Micro PLUS PLCs support the same user logic memory size.
• The specifications given in this chapter for Micro PLCs also apply to Micro PLUS PLCs.
• Full-featured programming Instruction Set with floating point math. The application
program can be either Ladder Diagram (LD) or Instruction List (IL) format.
• 24K words of program memory, 32K words of registers.
• Flash memory (ROM) for non-volatile program storage and for system firmware.
• Configurable to read configuration and application program at power-up from
either RAM or flash memory (ROM).
• Capacitor backs up RAM and the Time-of-Day clock for at least 30 minutes at 25
degrees C
• Optional lithium battery backup for RAM and real-time clock.
• Enhanced High-Speed Counter / Pulse Train commands for Jogging, Blending, and
Homing, plus configurable 32-bit Counters /PTO/ and 32-bit function blocks.
Figure 47
7.1.2 Ports
Port 1 is a built-in RS-232 serial port with an RJ-45 connector.
A second port can be added to a 40-Point Micro PLC using one of the port Option Modules
described in Chapter 14:. If a second port is installed, both ports can be used for
programming. Only one port can be used at a time for programming, but both ports can be
used for monitoring at the same time.
Port 1 and the optional Port 2 are individually configurable for SNP master/slave, RTU
master/slave, and Serial I/O protocols. Both 4-wire and 2-wire RTU are supported when the
RS-485 Port Option module is installed as port 2. Port 2 does not support hardware flow
control. When either port is being used for RTU slave, it automatically switches to SNP slave
mode when that port is being used by the programmer. If a port is configured for Serial I/O,
RTU Master, or SNP Master operation, that port defaults to SNP slave and automatically
reverts to SNP slave when the CPU is in Stop mode.
Either port can be software-configured to set up communications between the CPU and
various serial devices. An external device can obtain power from the port if it requires
200mA or less at 5Vdc.
To maintain memory for longer than this, a replaceable battery assembly can be installed in
the battery holder, as described in Chapter 15:. The Micro PLC reports the battery state to
the PLC Fault Table and also uses Status Bits %SA011 and %S0014 to indicate the battery
state.
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The type B counter provides an A Quad B counting function.
7.4 IC200UDD040
40-Point Micro PLC, (24) 24Vdc In, (12) 24Vdc
Out with ESCP, (4) LCDC Out, 24Vdc Power
Supply
VersaMax Micro PLC IC200UDD040 accepts twenty-four DC inputs and provides twelve 24V
ESCP outputs and four 24Vdc low current outputs. It uses +24Vdc nominal input power for
PLC operation.
7.4.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
7.4.2 DC Inputs
The twenty-four configurable DC inputs can be used as positive or negative logic standard
inputs. Eight of these inputs can be used for High-Speed Counter inputs. When used as
standard inputs, they are compatible with a wide range of input devices, such as
pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435 mA.
7.4.3 DC Outputs
Outputs 1 – 4 can be used as standard, High-Speed Counter, Pulse-Width Modulated, Pulse
Train Outputs, or Pulse Train Outputs with Ramping. All standard outputs are all source-
type. Outputs can be used to switch devices like valves, lamps or contactors.
Item Description
Peak short circuit current Q5 - Q16:4A maximum
Delay time of peak short circuit 100 µS
current
Delay time of current limit 100 µS
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 100kHz
Input Voltage ON : 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage 12/24Vdc
Maximum Pulse/Pulse Train with PWM and PTO: 65kHz
Ramping/PWM Frequency Pulse Train with Ramping: 65kHz
Types available Up to four HSC, PTO, PTO with Ramping and/or PWM outputs
7.5 IC200UDD240
40 Point Micro PLC, (24) 24Vdc In, (16) 24Vdc
Out (Sink), 24Vdc Power Supply
VersaMax Micro PLC IC200UDD240 accepts twenty-four DC inputs and provides sixteen DC
outputs. It uses +24Vdc nominal input power for PLC operation.
7.5.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
7.5.2 DC Inputs
Twenty-four configurable DC inputs can be used as positive or negative logic standard
inputs. Eight of these inputs can be used for High-Speed Counter inputs. When used as
standard inputs, they are compatible with a wide range of input devices, such as
pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
7.5.3 DC Outputs
Micro PLC IC200UDD240 has 16 Sink-type DC outputs. All outputs are isolated between field
and logic and are switching positive voltage. The outputs have one common incoming
supply (VC) and one common ground (COM). The outputs are able to drive high inrush
currents (8 times the rated current) and are protected against negative voltage pulses. This
makes it possible to switch lamps and inductive loads.
Item Description
High-Speed Counter Input and Output Specifications
Maximum Counter 100kHz
Frequency
Input Voltage ON : 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage 12/24Vdc
Maximum Pulse/PWM PWM and PTO: 65kHz
Frequency Pulse Train with Ramping: 65kHz
Types available Up to four HSC, PTO, PTO with Ramping and/or PWM outputs
Figure 49
7.6 IC200UDR040
40 Point Micro PLC, (24) 24Vdc In, (16) Relay
Out, 24Vdc Power Supply
IC200UDR140
40 Point Micro PLC, (24) 24Vdc In, (16) Relay
Out, 120/240Vac Power Supply
IC200UDR440
40 Point Micro PLC, (24) 24Vdc In, (16) Relay
Out, 12/24Vdc Power Supply
VersaMax Micro PLCs IC200UDR040, IC200UDR140, and IC200UDR440 each accept
twenty-four DC inputs and provide sixteen normally open 2 Amp relay outputs.
7.6.1 DC Inputs
Twenty-four configurable DC inputs can be used as positive or negative logic standard
inputs. Eight of these inputs can be used for High-Speed Counter inputs. When used as
standard inputs, they are compatible with a wide range of input devices, such as
pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external
device current must not exceed 435mA.
The relay outputs can be configured as up to four HSC outputs. Relay outputs cannot be
used as Pulse Train or PWM outputs.
Item Description
Count Registers 16/32 bits
Outputs
Load Voltage Q1: 5/12/24V, Q2-Q4: See relay output specifications
Type available Up to four HSC outputs. Pulse outputs not available.
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS
between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush IC200UDR040: 1.5A, 10ms
IC200UDR140: 9.4A, 20ms
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc 2.0A Solenoid 200,000
0.6A
IC200UDD064 64 Point Micro PLC, (40) 24Vdc In, (24) 24Vdc Out (Source), 24Vdc Power Supply
IC200UDD164 64 Point Micro PLC, (40) 24Vdc In, (24) 24Vdc Out (Sink), 24Vdc Power Supply
IC200UDR064 64 Point Micro PLC, (40) 24Vdc In, (24) Relay Out, 24Vdc Power Supply
IC200UDR164 64 Point Micro PLC, (40) 24Vdc In, (24) Relay Out, 120/240Vac Power Supply
Note: Firmware releases 4.00 and later require a Micro PLUS CPU, which has enhanced memory.
Firmware versions 4.00 cannot be used with the earlier hardware versions.
• Micro and Micro PLUS PLCs support the same user logic memory size.
• The specifications given in this chapter for Micro PLCs also apply to Micro PLUS PLCs.
Each counter can be enabled independently. Type A counters can be configured for up or
down counting (default is up) and for positive or negative edge detection (default is
positive). The type B counter provides an A Quad B counting function.
The DC output (Q1) can be configured as a counter, Pulse Train, Pulse Train with Ramp, or
PWM output. The relay outputs can be configured as up to four HSC outputs. Relay outputs
cannot be used as Pulse Train, Pulse Train with Ramp, or PWM outputs.
Figure 52
8.3.2 Ports
Port 1 is a built-in RS-232 serial port with an RJ-45 connector.
A second port can be added to a 64-Point Micro PLC using one of the port Option Modules
described in this section. If a second port is installed, both ports can be used for
programming. Only one port can be used at a time for programming, but both ports can be
used for monitoring at the same time.
Port 1 and the optional Port 2 are individually-configurable for SNP master/slave, RTU
master/slave, and Serial I/O protocols. Both 4-wire and 2-wire RTU are supported when the
RS-485 Port Option module is installed as port 2. Port 2 does not support hardware flow
control. When either port is being used for RTU slave, it automatically switches to SNP slave
mode when that port is being used by the programmer. If a port is configured for Serial I/O,
RTU Master, or SNP Master operation, that port defaults to SNP slave and automatically
reverts to SNP slave when the CPU is in Stop mode.
Either port can be software-configured to set up communications between the CPU and
various serial devices. An external device can obtain power from the port if it requires
200mA or less at 5Vdc.
To maintain memory for longer than this, a replaceable battery assembly can be installed in
the battery holder, as described in Chapter 15:. The Micro PLC reports the battery state to
the PLC Fault Table and also uses Status Bits %SA011 and %S0014 to indicate the battery
state.
8.4 IC200UDD064
64 Point Micro PLC, (40) 24Vdc In, (24) 24Vdc
Out (Source), 24Vdc Power Supply
VersaMax Micro PLC IC200UDD064 accepts forty DC inputs and provides twenty-four DC
outputs. It uses +24Vdc nominal input power for PLC operation.
8.4.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
8.4.2 DC Inputs
The forty configurable DC inputs can be used as positive or negative logic standard inputs.
Eight of these inputs can be used for High-Speed Counter inputs. When used as standard
inputs, they are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435 mA.
Item Description
Output Specifications
Voltage Range 12Vdc/24Vdc
External Power Supply 12/24Vdc –10%, +20%
Maximum Load Current 0.5A per point (Q1 – Q4) at 24Vdc at 100 % ON duration
0.7A per point (Q5 – Q20) at 24Vdc at 100 % ON duration
1.0A per point (Q21 – Q24) at 24Vdc at 100% ON duration
Minimum Switching Current 10mA
Maximum Inrush Current Q1-Q4: 2A for 20ms, 1 pulse
Q5-Q20: 4A for 20ms, 1 pulse
Q21-Q24: 8A for 20ms, 1 pulse
Output Voltage Drop 0.3V maximum
OFF state leakage current 0.1mA maximum
Response Time OFF to ON, ON to OFF: 1ms maximum (24Vdc)
Isolation Voltage 1500V RMS between field side and logic side,
500V RMS between groups
Fuse None, outputs 5–24 are ESCP protected
Under-voltage shutdown Q5 – Q20: 5V minimum, 8V maximum
DC short circuit current Q1 – Q4, Q21 – Q24: 5A typical
Q5 – Q20: 0.7A minimum, 2A maximum
Peak short circuit current Q5 – Q20: 4A maximum
Delay time of peak short 100 µS
circuit current
Delay time of current limit 100 µS
High-Speed Counter Input and Output Specifications
Maximum Counter Frequency 100kHz
Input Voltage ON: 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage 12/24Vdc
Maximum Pulse/Pulse Train PWM and PTO: 65kHz
with Ramping/PWM Pulse Train with Ramping: 65kHz
Frequency
Types available Up to four HSC, PTO, PTO with Ramping and/or PWM outputs
8.5 IC200UDD164
64 Point Micro PLC, (40) 24Vdc In, (24) 24Vdc
Out (Sink), 24Vdc Power Supply
VersaMax Micro PLC IC200UDD164 accepts forty DC inputs and provides twenty-four DC
outputs. It uses +24Vdc nominal input power for PLC operation.
8.5.1 DC Power
If configured to disable power-up diagnostics, the PLC begins logic solution 100ms after the
voltage level of the power supply input reaches and maintains 24Vdc. The 24Vdc power
source for the PLC must have enough transient current capability to support the inrush
current of the power supply and to maintain a 24Vdc voltage level (see power supply
specifications for inrush requirements).
8.5.2 DC Inputs
Forty configurable DC inputs can be used as positive or negative logic standard inputs. Eight
of these inputs can be used for High-Speed Counter inputs. When used as standard inputs,
they are compatible with a wide range of input devices, such as pushbuttons, limit switches,
and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
8.5.3 DC Outputs
Micro PLC IC200UDD164 has 24 Sink-type DC outputs. All outputs are isolated between field
and logic and are switching positive voltage. The outputs have one common incoming
supply (VC) and one common ground (COM). The outputs are able to drive high inrush
currents (8 times the rated current) and are protected against negative voltage pulses. This
makes it possible to switch lamps and inductive loads.
Item Description
Output Voltage Drop Q1– Q24: 0.3Vdc
OFF state leakage current 0.1mA
Response Time OFF to ON, ON to OFF: 1 mS maximum @ 24Vdc
Isolation Voltage 1500V RMS between field side and logic side, 500V RMS between
groups
Fuses None
Under-voltage shutdown Q1–Q24: 5V minimum, 8V maximum
DC short circuit current Q1–Q24: 0.7A minimum, 2A maximum
High-Speed Counter Input and Output Specifications
Maximum Counter 100kHz
Frequency
Input Voltage ON: 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage 12/24Vdc
Maximum Pulse/PWM PWM and PTO: 65kHz
Frequency
Types available Up to four HSC, PTO, PTO with Ramping and/or PWM outputs
8.6 IC200UDR064
64 Point Micro PLC, (40) 24Vdc In, (24) Relay
Out, 24Vdc Power Supply
VersaMax Micro PLC IC200UDR064 accepts forty DC inputs and provides twenty-four
normally open 2 Amp relay outputs. It uses +24Vdc nominal input power for PLC operation.
8.6.1 DC Inputs
Forty configurable DC inputs can be used as positive or negative logic standard inputs. Eight
of these inputs can be used for High-Speed Counter inputs. When used as standard inputs,
they are compatible with a wide range of input devices, such as pushbuttons, limit switches,
and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
The relay outputs can be configured as up to four HSC outputs. Relay outputs cannot be
used as Pulse Train or PWM outputs.
Item Description
Inrush Time 10mS for 1 Amp
Input Current 0.20 Amp typical at 24Vdc
Input Power Supply Rating 5W
DC Input Specifications
Rated Input Voltage 24 volts DC
Input Voltage Range 0 to 30 volts DC
Input Current at 24Vdc I1, I3, I5, I7: 8mA typical; Other inputs: 4.8mA typical
Input Impedance I1, I3, I5, I7: 2.7 kΩ; Other inputs: 4.7 kΩ
Input Threshold Voltage ON: 18Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current I1, I3, I5, I7: ON 4.5mA maximum, OFF: 1.8mA minimum
Other Inputs: ON 3.3mA maximum, OFF: 1.6mA minimum
Response Time 1ms to 20ms configurable as regular input; 100µs as HSC input
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS between
groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty 2 amps at 24Vdc and 240Vac
Rating
Maximum Resistive Load 2 amps at 24Vdc and 240Vac
Rating
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Resistive Current: Lamp and Solenoid Typical Operations
Voltage 2.0A 0.6A 200,000
240Vac, 120Vac, 24Vdc
High-Speed Counter Input and Output Specifications
Maximum Counter 100kHz
Frequency
Input Voltage ON: 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage Q1: 5/12/24V, Q2-Q4: See relay output specifications
Type available Up to four HSC outputs. Pulse outputs are not available.
8.7 IC200UDR164
64 Point Micro PLC, (40) 24Vdc In, (24) Relay
Out, 120/240Vac Power Supply
VersaMax Micro PLC IC200UDR164 accepts forty DC inputs and provides twenty-four
normally open 2 Amp relay outputs. It uses 100Vac to 240Vac nominal input power for PLC
operation.
8.7.1 DC Inputs
Forty configurable DC inputs can be used as positive or negative logic standard inputs. Eight
of these inputs can be used for High-Speed Counter inputs. When used as standard inputs,
they are compatible with a wide range of input devices, such as pushbuttons, limit switches,
and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
The relay outputs can be configured as up to four HSC outputs. Relay outputs cannot be
used as Pulse Train or PWM outputs.
Item Description
Maximum Resistive Load 2 amps at 24Vdc and 240Vac
Rating
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Resistive Current: Lamp and Solenoid Typical Operations
Voltage 2.0A 0.6A 200,000
240Vac, 120Vac, 24Vdc
High-Speed Counter Input and Output Specifications
Maximum Counter 100kHz
Frequency
Input Voltage ON: 18V, OFF: 5V
Count Pulse Width 20% to 80% of duty cycle at 100kHz
Count Registers 16/32 bits
Outputs
Load Voltage Q1: 5/12/24V, Q2-Q4: See relay output specifications
Type available Up to four HSC outputs. Pulse outputs are not available.
IC200UEC008 8 Points, (4) 24Vdc In, (4) 24Vdc Out with ESCP, 24Vdc Power Supply
IC200UEC108 8 Points, (4) 24Vdc In, (4) 24Vdc Transistor Out, 24Vdc Power Supply
IC200UEC208 8 Points, (4) 24Vdc In (4) Relay Out 24Vdc Power Supply
IC200UEI008 8 Points, (8) 24Vdc In, 24Vdc Power Supply
IC200UEI016 16 Points, (16) 24Vdc In, 24Vdc Power Supply
IC200UEO008 8 Points, (8) 24Vdc Output with ESCP, 24Vdc Power Supply
IC200UEO108 8 Points, (8) 24Vdc Transistor Out, 24Vdc Power Supply
IC200UEO016 16 Points, (16) 24Vdc Output with ESCP, 24Vdc Power Supply
IC200UEO116 16 Points, (16) 24Vdc Transistor Out, 24Vdc Power Supply
IC200UER008 8 Points, (8) Relay Outputs, 24Vdc Power Supply
IC200UER016 16 Points, Relay Outputs, 24Vdc Power Supply
IC200UEX009 14 Points, (8) 120Vac In, (2) Relay Out at 10 Amps, (4) Relay Out at 2 Amps,
120/240Vac Power Supply
IC200UEX010 14 Points, (8) 120Vac In, (6) 120Vac Out, 120/240Vac Power Supply
IC200UEX011 14 Points, (8) 24Vdc In, (6) Relay Out, 120/240Vac Power Supply
IC200UEX012 14 Points, (8) 24Vdc In, (6) Relay Out, 24Vdc Power Supply
IC200UEX013 14 Points, (8) 12Vdc In, (6) Relay Out, 12Vdc Power Supply
IC200UEX014 14 Points, (8) 24Vdc In, (6) 24Vdc Out, 24Vdc Power Supply
IC200UEX015 14 Points, (8) 12Vdc In, (6) 12Vdc Out, 12Vdc Power Supply
IC200UEX122 14 Points, (8) 24Vdc In, (6) 24Vdc Out with ESCP, 24Vdc Power Supply
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 144
User Manual Chapter 9
GFK-1645M Dec 2019
Figure 57
9.1.4 Cables
A 0.1-meter ribbon cable (IC200CBL501) is provided with each Expansion Unit. Cables are
also available in 0.5-meter (IC200CBL505) and 1 meter (IC200CBL510) lengths.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 145
User Manual Chapter 9
GFK-1645M Dec 2019
9.2 IC200UEC008
8 Point Expansion Unit, (4) 24Vdc Inputs, (4)
24Vdc Outputs with ESCP, 24Vdc Power
Supply
VersaMax Micro PLC Expansion Unit IC200UEC008 accepts four 24Vdc inputs and provides
four 24Vdc source-type transistor outputs with Electronic Short Circuit Protection. The
module requires +24Vdc nominal input power.
9.2.1 DC Inputs
The four 24 volt DC input circuits can have positive or negative logic characteristics. Inputs
are compatible with a wide range of devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The built-in +24Vdc supply can be used for input devices and to power the DC input circuits.
The combination of input circuit current and external device current must not exceed 200
mA.
All outputs have electronic short-circuit protection; no fuses are needed to protect the
outputs.
An external source of 12/24Vdc power must be provided to power the outputs. The outputs
share this common incoming 24Vdc supply and one common ground. The outputs are able
to drive high inrush currents (8 times the rated current) and are protected against negative
voltage pulses. This makes it possible to switch lamps and inductive loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 146
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 147
User Manual Chapter 9
GFK-1645M Dec 2019
9.3 IC200UEC108
8 Point Expansion Unit, (4) 24Vdc Inputs, (4)
24VC Transistor Outputs, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEC108 accepts four 24Vdc inputs and provides
four 24Vdc sink-type transistor outputs. It requires +24Vdc nominal input power.
9.3.1 DC Inputs
The four 24-volt DC input circuits can have positive or negative logic characteristics. Inputs
are compatible with a wide range of devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The built-in +24Vdc supply can be used for input devices and to power the DC input circuits.
The combination of input circuit current and external device current must not exceed 200
mA.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 148
User Manual Chapter 9
GFK-1645M Dec 2019
External fusing should be provided to protect the outputs. Otherwise, a load short can
damage the module output transistor, which is not user replaceable. Fast fuses are
recommended.
The outputs share one common incoming 24Vdc supply and one common ground. The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 149
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Isolation Voltage 1500V RMS field side to logic side, 500Vac between field side and
logic side
External power supply 12/24Vdc –10%, +20%
Fuses Not required
Minimum Switching Current 10mA
Figure 59
9.4 IC200UEC208
8 Point Expansion Unit, (4) 24Vdc Inputs, (4)
Relay Outputs, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEC208 accepts four 24Vdc inputs and provides
four normally open 2 Amp relay outputs that can control 5 to 30Vdc or 5 to 250Vac output
devices. It requires +24Vdc nominal input power.
9.4.1 DC Inputs
The four DC inputs can be used as positive or negative logic standard inputs. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 150
User Manual Chapter 9
GFK-1645M Dec 2019
The Expansion Unit’s +24Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 151
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Contact Life: Electrical Voltage, Current: Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc Resistive 2A Solenoid 0.6A 200,000
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 152
User Manual Chapter 9
GFK-1645M Dec 2019
9.5 IC200UEI008
8 Point Expansion Unit, (8) 24Vdc Inputs,
24Vdc Power Supply
IC200UEI016
16 Point Expansion Unit, (16) 24Vdc Inputs,
24Vdc Power Supply
VersaMax Micro PLC Expansion Units IC200UEI008 and IC200UEI016 accept 24Vdc inputs.
The modules require +24Vdc nominal input power.
9.5.1 DC Inputs
The DC inputs can be used as positive or negative logic standard inputs. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches.
The Expansion Unit’s +24Vdc supply can be used for input devices and to power the DC input
circuits at about 7.5 mA per input. The combination of input circuit current and external
device current must not exceed 200 mA.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 153
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 3.0mA maximum, OFF: 1.5mA minimum
Response Time ON to OFF or OFF to ON: 2ms typical
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 154
User Manual Chapter 9
GFK-1645M Dec 2019
9.6 IC200UEO008
8 Point Expansion Unit, (8) 24Vdc Outputs
with ESCP, 24Vdc Power Supply
IC200UEO016
16 Point Expansion Unit, (16) 24Vdc Outputs
with ESCP, 24Vdc Power Supply
VersaMax Micro PLC Expansion Units IC200UEO008 and IC200UEO016 provide 8 or 16 DC
source-type high-current transistor outputs, respectively. Outputs have Electronic Short
Circuit Protection. The modules require +24Vdc nominal input power.
An external source of 12/24Vdc power must be provided to power the outputs. The
outputs share one common incoming 24Vdc supply and one common ground. The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive
loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 155
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 156
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 157
User Manual Chapter 9
GFK-1645M Dec 2019
9.7 IC200UEO108
8 Point Expansion Unit, (8) 24Vdc Transistor
Outputs, 24Vdc Power Supply
IC200UEO116
16 Point Expansion Unit, (16) Transistor
Outputs, 24Vdc Power Supply
VersaMax Micro PLC Expansion Units IC200UEO108 and IC200UEO116 provide 8 and 16
DC sink-type outputs, respectively. These modules require +24Vdc nominal input power.
External fusing should be provided to protect the outputs. Otherwise, a load short can
damage the module output transistor, which is not user replaceable. Fast fuses are
recommended.
The outputs share one common incoming 24Vdc supply and one common ground. The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive
loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 158
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Maximum Inrush Current 5.6 Amps
Output Voltage Drop 0.3V maximum
OFF state leakage 0.1mA maximum
Response OFF to ON or ON to OFF: 0.5ms
Isolation Voltage 1500V RMS field side to logic side, 500Vac between field side and
logic side
External power supply 10-30Vdc required to power the outputs.
Fuses Outputs should be fused externally.
Minimum Switching Current 1mA
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 159
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 160
User Manual Chapter 9
GFK-1645M Dec 2019
9.8 IC200UER008
8 Point Expansion Unit, (8) Relay Outputs,
24Vdc Power Supply
IC200UER016
16 Point Expansion Unit, (16) Relay Outputs,
24Vdc Power Supply
VersaMax Micro PLC Expansion Units IC200UER008 and IC200UER016 provide 8 or 16
normally-open 2 Amp relay outputs, respectively. The outputs can control 5 to 30Vdc or 5
to 250Vac output devices. The unit requires +24Vdc nominal input power.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 161
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage, Current: Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc Resistive 2A Solenoid 0.6A 200,000
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 162
User Manual Chapter 9
GFK-1645M Dec 2019
9.9 IC200UEX009
14 Point Expansion Unit, (8) 120Vac In, (2)
Relay Out at 10 Amps, (4) Relay Out at 2 Amps,
120/240Vac Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX009 accepts eight AC inputs and provides six
relay outputs: 2 at 10 Amps and 4 at 2 Amps. It requires 100Vac to 240Vac nominal input
power.
9.9.1 AC Inputs
The 120Vac input circuits are reactive (resistor/capacitor) inputs. The input circuits require
an AC power source: they cannot be used with a DC power source. Inputs are compatible
with a wide range of devices, such as pushbuttons, limit switches, and electronic proximity
switches. Power to operate the field devices must be supplied.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 163
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Maximum Input Voltage 132V rms, 50/60 Hz
Input Current 8 mA rms (100Vac, 60 Hz)
Voltage ON: minimum 80V rms, 4.5 mA rms, OFF: maximum 30V rms, 2
mA rms
Response Time OFF to ON: maximum 25mS, ON to OFF: maximum 30mS
Isolation 1500V rms field side to logic side, 500V rms between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS
between groups
Leakage Current 15 mA maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac 10 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac 10 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
On Response Time 15 ms maximum
Off Response Time 15 ms maximum
Fuse None
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Current: Lamp and Typical
Resistive Solenoid Operations
2.0A 0.6A 200,000
10.0A 4.0A 100,000
4.0A 1.0A 200,000
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 164
User Manual Chapter 9
GFK-1645M Dec 2019
9.10 IC200UEX010
14 Point Expansion Unit, (8) 120Vac In, (6)
120Vac Out, 120/240Vac Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX010 accepts eight AC inputs and provides six
AC outputs. The module requires 100Vac to 240Vac nominal input power.
9.10.1 AC Inputs
The eight 120Vac input circuits are reactive (resistor/capacitor) inputs. The input circuits
require an AC power source: they cannot be used with a DC power source. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches. Power to operate the field devices must be supplied.
9.10.2 AC Outputs
The six 120/240Vac, 0.5 Amp triac outputs are provided in isolated groups. The commons
are not tied together inside the module. This allows each group to be used on different
phases of the AC supply or to be powered from the same supply. Each group is protected
with a replaceable 3.15 amp fuse for its common. Also, an RC snubber is provided for each
output to protect against transient electrical noise on the power line.
AC power to operate loads connected to outputs must be supplied from an external source.
This module provides a high degree of inrush current (10x the rated current) which makes
the outputs suitable for controlling a wide range of inductive and incandescent loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 165
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 166
User Manual Chapter 9
GFK-1645M Dec 2019
9.11 IC200UEX011
14-Point Expansion Unit with AC Power, (8)
24Vdc Inputs, (6) Relay Outputs
VersaMax Micro PLC Expansion Unit IC200UEX011 accepts eight DC inputs and provides six
normally-open 2 Amp relay outputs that can control 5-30Vdc or 5-250Vac output devices.
The module requires 100Vac to 240Vac nominal input power.
9.11.1 DC Inputs
The eight DC inputs can be used as positive or negative logic standard inputs. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches.
Isolated +24Vdc output power is available for field devices, up to 200mA maximum.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 167
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Input Resistance 2.8 kΩ
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups, if one
group is powered by an external 24V power supply.
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side, 500 V RMS between
groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty 2 amps at 24Vdc and 240Vac
Rating
Maximum Resistive Load 2 amps at 24Vdc and 240Vac
Rating
Minimum Load 1mA
Maximum Inrush 5 amps per half cycle
On Response Time 15 ms maximum
Off Response Time 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Current: Resistive Current: Lamp and Solenoid Typical Operations
Voltage 240Vac, 2A 0.6A 200,000
120Vac, 24Vdc
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 168
User Manual Chapter 9
GFK-1645M Dec 2019
9.12 IC200UEX012
14-Point Expansion Unit with 24DC Power, (8)
24Vdc Inputs, (6) Relay Outputs
VersaMax Micro PLC Expansion Unit IC200UEX012 accepts eight DC inputs and provides six
normally open 2 Amp relay outputs that can control 5 to 30Vdc or 5 to 250Vac output
devices. The module requires +24Vdc nominal input power.
9.12.1 DC Inputs
The eight DC inputs can be used as positive or negative logic standard inputs. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches.
The Expansion Unit’s isolated +24Vdc supply can be used for input devices and to power the
DC input circuits at about 7.5 mA per input. The combination of input circuit current and
external device current must not exceed 200 mA.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 169
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side
500 V RMS between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 1mA
Maximum Inrush 5 amps per half cycle
On Response Time 15 ms maximum
Off Response Time 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage, Current: Resistive 2A Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc Solenoid 0.6A 200,000
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 170
User Manual Chapter 9
GFK-1645M Dec 2019
9.13 IC200UEX013
14-Point Expansion Unit with 12Vdc Power, (8)
12Vdc Inputs, (6) Relay Outputs
VersaMax Micro PLC Expansion Unit IC200UEX013 accepts eight 12Vdc inputs and
provides six normally-open 2 Amp relay outputs that can control 5 to 30Vdc or 5 to 250Vac
output devices. The module requires +12Vdc nominal input power.
9.13.1 DC Inputs
The eight 12Vdc inputs can be used as positive or negative logic standard inputs. Inputs
are compatible with a wide range of devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The Expansion Unit’s isolated +12Vdc supply can be used for input devices and to power
the DC input circuits at about 7.5 mA per input. The combination of input circuit current
and external device current must not exceed 200 mA.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 171
User Manual Chapter 9
GFK-1645M Dec 2019
Item Description
Input Current 9.0mA typical
Input Impedance 1.3 kΩ
Input Threshold Voltage ON: 9.5Vdc minimum, OFF: 2.5Vdc maximum
Input Threshold Current ON: 6.5mA maximum, OFF: 1.6mA minimum
Response Time 0.5 to 20ms (user configurable)
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side
500 V RMS between groups
Leakage Current 15 mA maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 10 mA
Maximum Inrush 5 amps per half cycle
On Response Time 15 ms maximum
Off Response Time 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
2A Solenoid 0.6A 200,000
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 172
User Manual Chapter 9
GFK-1645M Dec 2019
9.14 IC200UEX014
14-Point Expansion Unit with 24DC Power, (8)
24DC Inputs, (2) High-Current and (4) Low-
Current Transistor Outputs
VersaMax Micro PLC Expansion Unit IC200UEX014 accepts eight DC inputs and provides two
low-current and four high-current DC transistor outputs. It requires +24Vdc nominal input
power.
9.14.1 DC Inputs
The eight 24 volt DC input circuits can have positive or negative logic characteristics. Inputs
are compatible with a wide range of devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The built-in isolated +24Vdc supply can be used for input devices and to power the DC input
circuits. The combination of input circuit current and external device current must not
exceed 200 mA.
External fusing should be provided to protect the outputs. Otherwise, a load short can
damage the module output transistor, which is not user replaceable. Fast fuses are
recommended.
The outputs share one common incoming 24Vdc supply and one common ground. The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 173
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 174
User Manual Chapter 9
GFK-1645M Dec 2019
The maximum current that can be used for output points Q1 and Q2 is lower for ambient
temperatures above 50°C.
Figure 75
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 175
User Manual Chapter 9
GFK-1645M Dec 2019
9.15 IC200UEX015
14-Point Expansion Unit with 12DC Power, (8)
12DC Inputs, (6) 12Vdc Outputs
VersaMax Micro PLC Expansion Unit IC200UEX015 accepts eight DC inputs and provides six
DC transistor outputs. It requires +12Vdc nominal input power.
9.15.1 DC Inputs
The eight 12 volt DC inputs can have positive or negative logic characteristics. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches.
The built-in isolated +12Vdc supply can be used for input devices and to power the DC input
circuits. The combination of input circuit current and external device current must not
exceed 200 mA.
External fusing should be provided to protect the outputs. Otherwise, a load short can
damage the module output transistor, which is not user replaceable. Fast fuses are
recommended.
The outputs share one common incoming 12Vdc supply and one common ground. The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 176
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 177
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 178
User Manual Chapter 9
GFK-1645M Dec 2019
9.16 IC200UEX122
14-Point Expansion Unit with 24DC Power, (8)
24DC Inputs, (2) High-Current and (4) Low-
Current Transistor Outputs with ESCP
VersaMax Micro PLC Expansion Unit IC200UEX122 accepts eight DC inputs and provides two
low-current and four high-current DC transistor outputs. The outputs have electronic short
circuit protection. The module requires +24Vdc nominal input power.
9.16.1 DC Inputs
The 24 volt DC input circuits can have positive or negative logic characteristics. Inputs are
compatible with a wide range of devices, such as pushbuttons, limit switches, and electronic
proximity switches.
The built-in isolated +24Vdc supply can be used for input devices and to power the DC input
circuits. The combination of input circuit current and external device current must not
exceed 200 mA.
9.16.2 Outputs
Expansion Unit UEX122 has two high-current transistor outputs (Q1 and Q2) and four low-
current transistor outputs (Q3 to Q6). They can be used as positive or negative logic
standard inputs.
All outputs are isolated between field and logic and are switching positive voltage.
All six outputs have electronic short-circuit protection; no fuses are needed to protect the
outputs.
An external source of 12/24Vdc power must be provided to power the outputs. The outputs
share this common incoming 24Vdc supply and one common ground. The outputs are able
to drive high inrush currents (8 times the rated current) and are protected against negative
voltage pulses. This makes it possible to switch lamps and inductive loads.
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 179
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 180
User Manual Chapter 9
GFK-1645M Dec 2019
VersaMax Micro PLC 8-, 14-, and 16-Point Expansion Units 181
User Manual Chapter 10
GFK-1645M Dec 2019
IC200UEX209 28 Point Expansion Unit, (16) 120Vac In, (2) Relay Out at 10 Amps, (10) Relay Out
at 2 Amps, 120/240Vac Power Supply
IC200UEX210 28 Point Expansion Unit, (16) 120Vac In, (12) 120Vac Out, 120/240Vac Power
Supply
IC200UEX211 28 Point Expansion Unit, (16) 24Vdc In, (12) Relay Out, 120/240Vac Power Supply
IC200UEX212 28 Point Expansion Unit, (16) 24Vdc In, (12) Relay Out, 24Vdc Power Supply
IC200UEX213 28 Point Expansion Unit, (16) 12Vdc In, (12) Relay Out, 12Vdc Power Supply
IC200UEX214 28 Point Expansion Unit, (16) 24Vdc In, (12) 24Vdc Out, 24Vdc Power Supply
IC200UEX215 28 Point Expansion Unit, (16) 12Vdc In, (12) 12Vdc Out, 12Vdc Power Supply
IC200UEX222 28 Point Expansion Unit, (16) 24Vdc In, (12) 24Vdc Out with ESCP, 24Vdc Power
Supply
Figure 78
10.1.4 Cables
A 0.1 meter ribbon cable (IC200CBL501) is provided with each Expansion Unit. Cables are
also available in 0.5 meter (IC200CBL505) and 1 meter (IC200CBL510) lengths.
10.2 IC200UEX209
28 Point Micro PLC Expansion Unit, (16) 120Vac
In, (2/10) Relay Out, 120/240Vac Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX209 accepts sixteen AC inputs and provides
two relay outputs at 10 Amps and ten relay outputs at 2 Amps. It uses 100Vac to 240Vac
nominal input power.
10.2.1 AC Inputs
The 120Vac input circuits are reactive (resistor/capacitor) inputs. The input circuits require
an AC power source: they cannot be used with a DC power source. Inputs are compatible
with a wide range of input devices, such as pushbuttons, limit switches, and electronic
proximity switches. Power to operate the field devices must be supplied.
10.3 IC200UEX210
28 Point Micro PLC Expansion Unit, (16)
120Vac In, (12) 120Vac Out, 120/240Vac
Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX210 accepts sixteen AC inputs and provides
twelve AC outputs. It uses 100Vac to 240Vac nominal input power.
10.3.1 AC Inputs
The 120Vac input circuits are reactive (resistor/capacitor) inputs. The input circuits require
an AC power source: they cannot be used with a DC power source. Inputs are compatible
with a wide range of input devices, such as pushbuttons, limit switches, and electronic
proximity switches. Power to operate the field devices must be supplied.
10.3.2 AC Outputs
The 120/240Vac, 0.5 Amp triac outputs are provided in isolated groups. The commons are
not tied together inside the module. This allows each group to be used on different phases
of the AC supply or to be powered from the same supply. Each group is protected with a
replaceable 3.15 amp fuse for its common. Also, an RC snubber is provided for each output
to protect against transient electrical noise on the power line.
This module provides a high degree of inrush current (10x the rated current) which makes
the outputs suitable for controlling a wide range of inductive and incandescent loads.
10.4 IC200UEX211
28 Point Micro PLC Expansion Unit, (16) 24Vdc
In, (12) Relay Out, 120/240Vac Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX211 accepts sixteen DC inputs and provides
twelve normally-open 2 Amp relay outputs. It uses 100Vac to 240Vac nominal input power.
10.4.1 DC Inputs
The sixteen configurable DC inputs can be used as positive or negative logic inputs. Inputs
are compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches. The +24Vdc supply can be used for input devices and to
power the DC input circuits. The combination of input circuit current and external device
current must not exceed 200 mA.
10.5 IC200UEX212
28 Point Micro PLC Expansion Unit, (16) 24Vdc
In, (12) Relay Out, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX212 accepts sixteen DC inputs and provides
twelve normally-open 2 Amp relay outputs. It uses +24Vdc nominal input power.
10.5.1 DC Power
The 24Vdc power source must have enough transient current capability to support the
inrush current of the power supply and to maintain a 24Vdc voltage. The +24Vdc supply can
be used for input devices and to power the DC input circuits at about 7.5 mA per input. The
combination of input circuit current and external device current must not exceed 200 mA.
10.5.2 DC Inputs
Sixteen configurable DC inputs can be used as positive or negative logic inputs. Inputs are
compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
Item Description
Input Voltage Range 0 to 30 volts DC
Input Current 7.5mA typical
Input Resistance 2.8 kΩ
Input Threshold Voltage ON: 15Vdc minimum, OFF: 5Vdc maximum
Input Threshold Current ON: 4.5mA maximum, OFF: 1.5mA minimum
Response Time 0.5 to 20ms configurable
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side
500 V RMS between groups
Leakage Current 15 mA at 240Vac maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 1 mA
Maximum Inrush 5 amps per half cycle
Response Time ON, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
240Vac, 120Vac, 24Vdc 2A Solenoid 0.6A 200,000
10.6 IC200UEX213
28 Point Micro PLC Expansion Unit, (16) 12Vdc
In, (12) Relay Out, 12Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX213 accepts sixteen 12Vdc inputs and
provides twelve normally open 2 Amp relay outputs. It uses +12Vdc nominal input power.
10.6.1 DC Power
The 12Vdc power source must have enough transient current capability to support the
inrush current of the power supply and to maintain a 12Vdc voltage level.
10.6.2 DC Inputs
Sixteen configurable 12Vdc inputs can be used as positive or negative logic standard inputs.
Inputs are compatible with a wide range of input devices, such as pushbuttons, limit
switches, and electronic proximity switches.
The 12Vdc supply can be used for input devices and to power the DC input circuits at about
7.5 mA per input. The combination of input circuit current and external device current must
not exceed 200 mA.
Item Description
Rated Input Voltage 12 volts DC
Input Voltage Range 0 to 15 volts DC
Input Current 9.0mA typical
Input Impedance 1.3 kΩ
Input Threshold Voltage ON : 9.5Vdc minimum, OFF: 2.5Vdc maximum
Input Threshold Current ON: 6.5mA maximum , OFF: 1.6mA minimum
Response Time 0.5 to 20ms (user configurable)
Isolation Voltage 1500V RMS field side to logic side, 500V RMS between groups
Relay Output Specifications
Operating Voltage 5 to 30Vdc or 5 to 250Vac
Isolation 1500 V RMS between field side and logic side
500 V RMS between groups
Leakage Current 15 mA maximum
Maximum UL Pilot Duty Rating 2 amps at 24Vdc and 240Vac
Maximum Resistive Load Rating 2 amps at 24Vdc and 240Vac
Minimum Load 1 mA
Maximum Inrush 5 amps per half cycle
On Response Time 15 ms maximum
Off Response Time 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical Operations
2A Solenoid 0.6A 200,000
10.7 IC200UEX214
28 Point Micro PLC Expansion Unit, (16) 24Vdc
In, (12) 24Vdc Out, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX214 accepts sixteen DC inputs and provides
four low-current and eight high-current DC transistor outputs. It uses +24Vdc nominal input
power.
10.7.1 DC Power
The 24Vdc power source must have enough transient current capability to support the
inrush current of the power supply and to maintain a 24Vdc voltage level.
10.7.2 DC Inputs
Sixteen configurable DC inputs can be used as positive or negative logic inputs. The inputs
are compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The 24Vdc supply can be used for input devices and to power the DC input circuits at about
7.5 mA per input. The combination of input circuit current and external device current must
not exceed 200 mA.
Outputs are grouped in two groups with separated incoming supply. Each group contains 4
outputs with a maximum load of 0.5A and 2 outputs with a maximum load of 1A.
All outputs are isolated between field and logic and are switching positive voltage. The
outputs have one common incoming supply (VC) and one common ground (COM). The
outputs are able to drive high inrush currents (8 times the rated current) and are protected
against negative voltage pulses. This makes it possible to switch lamps and inductive loads.
The maximum current that can be used for output points Q1, Q2, Q11 and Q12 is lower for
ambient temperatures above 50°C, as indicated in the following figure:
Figure 84
10.8 IC200UEX215
28 Point Micro PLC Expansion Unit, (16) 12Vdc
In, (12) 12Vdc Out, 12Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX215 accepts sixteen 12Vdc inputs and
provides twelve DC transistor outputs. It requires +12Vdc nominal input power.
10.8.1 DC Power
The 12Vdc power source must have enough transient current capability to support the
inrush current of the power supply and to maintain a 12Vdc voltage level.
10.8.2 DC Inputs
Sixteen configurable DC inputs can be used as positive or negative logic inputs. The inputs
are compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The 12Vdc supply can be used for input devices and to power the DC input circuits at about
7.5 mA per input. The combination of input circuit current and external device current must
not exceed 200 mA.
Outputs are grouped in two groups with separated incoming supply. Each group contains 4
outputs with a maximum load of 0.5A and 2 outputs with a maximum load of 1A. Each group
of 6 outputs has one common incoming supply (V1, V2) and one common ground (C1, C2).
The outputs are able to drive high inrush currents (8 times the rated current) and are
protected against negative voltage pulses. This makes it possible to switch lamps and
inductive loads.
Outputs should be fused externally. Otherwise, a load short can damage the module output
transistor, which is not user replaceable. Fast fuses are recommended.
10.9 IC200UEX222
28 Point Micro PLC Expansion Unit, (16) 24Vdc
In, (12) 24Vdc Out with ESCP, 24Vdc Power
Supply
VersaMax Micro PLC Expansion Unit IC200UEX222 accepts sixteen DC inputs and provides
twelve 24Vdc outputs. The outputs have electronic short circuit protection. The module
uses +24Vdc nominal input power.
10.9.1 DC Power
The 24Vdc power source must have enough transient current capability to support the
inrush current of the power supply and to maintain a 24Vdc voltage level. 24Vdc output
power is available for field devices, up to 200mA maximum.
10.9.2 DC Inputs
Sixteen configurable DC inputs can be used as positive or negative logic inputs. The inputs
are compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The +24Vdc supply can be used for input devices and to power the DC input circuits at about
7.5 mA per input. The combination of input circuit current and external device current must
not exceed 200 mA.
Outputs are grouped in three groups with separated incoming supply. Each group contains
4 outputs with a maximum load of 0.5A and 4 outputs with a maximum load of 1A.
Item Description
Peak short circuit current 4A maximum
Delay time of peak short 100μS
circuit current
Delay time of current limit 100μS
IC200UEX064 64-point (40) 24Vdc In; (24) Relay Out; 24Vdc Power Supply
IC200UEX164 64-point (40) 24Vdc In; (24) Relay Out; 120/240Vac Power Supply
IC200UEX264 64-point (40) 24Vdc In; (4) LCDC 24Vdc Out; (16) LCDC 24Vdc Out with ESCP; (4)
HCDC 24Vdc with ESCP; 24Vdc Power Supply
IC200UEX364 64-point (40) 24Vdc In; (24) LCDC 24Vdc Out, 24Vdc Power Supply
Note: The 64-point Expansion Units are supported on Micro PLUS PLCs (20/40/64-point Micro PLCs with
release 4.0 or later firmware).
Figure 88
11.1.4 Cables
A 0.1 meter ribbon cable (IC200CBL501) is provided with each Expansion Unit. Cables are
also available in 0.5 meter (IC200CBL505) and 1 meter (IC200CBL510) lengths.
11.2 IC200UEX064
64 Point Micro PLC Expansion Unit, (40) 24Vdc
In, (24) Relay Out, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX064 accepts forty DC inputs and provides
twenty-four relay outputs. It uses 24Vdc nominal input power.
11.2.1 DC Inputs
The forty configurable DC inputs can be used as positive or negative logic standard inputs.
When used as standard inputs, they are compatible with a wide range of input devices, such
as pushbuttons, limit switches, and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435mA.
Item Description
Contact Life: Electrical Current: Resistive Current: Lamp and Typical
Voltage 2.0A Solenoid Operations
240Vac, 120Vac, 24Vdc 0.6A 200,000
11.3 IC200UEX164
64 Point Micro PLC Expansion Unit, (40) 24Vdc
In, (24) Relay Out, 120/240Vac Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX164 accepts forty DC inputs and provides
twenty-four relay outputs. It uses 100Vac to 240Vac nominal input power.
11.3.1 DC Inputs
The forty configurable DC inputs can be used as positive or negative logic standard inputs.
They are compatible with a wide range of input devices, such as pushbuttons, limit switches,
and electronic proximity switches.
The Micro PLC +24Vdc supply can be used for input devices and to power the DC input
circuits at about 8mA per input. The combination of input circuit current and external device
current must not exceed 435 mA.
Item Description
Response Time ON: 15 ms maximum, OFF: 15 ms maximum
Contact Life: Mechanical 20 x 106 mechanical operations
Contact Life: Electrical Voltage Current: Resistive Current: Lamp and Typical
240Vac, 120Vac, 24Vdc 2.0A Solenoid Operations
0.6A 200,000
11.4 IC200UEX264
64 Point Micro PLC Expansion Unit, (24) 24Vdc
In, (4) LCDC, (16) LCDC with ESCP, (4) HCDC
with ESCP Out, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX264 accepts forty DC inputs and provides
twenty-four transistor outputs. It uses 24Vdc nominal input power.
11.4.1 DC Inputs
The forty configurable DC inputs can be used as positive or negative logic inputs. Inputs are
compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches. The +24Vdc supply can be used for input devices and to
power the DC input circuits. The combination of input circuit current and external device
current must not exceed 200 mA.
11.4.2 DC Outputs
Outputs 1 – 4 are standard LCDC source-type outputs. Outputs can be used to switch
devices like valves, lamps or contactors.
Item Description
Maximum Inrush Current Q1-Q4: 2A for 20ms, 1 pulse
Q5-Q20: 4A for 20ms, 1 pulse
Q21-Q24: 8A for 20ms, 1 pulse
Output Voltage Drop 0.3V maximum
OFF state leakage current 0.1mA maximum
Response Time (OFF-to-ON and Q1–Q4: 5μs maximum, 24Vdc
ON-to-OFF) Q5–Q20: 0.5ms maximum, 24Vdc
Q21–Q24: 0.5ms maximum, 24Vdc
Isolation Voltage 1500V RMS between field side and logic side,
500V RMS between groups
Fuse None, outputs 5–24 are ESCP protected
Under-voltage shutdown Q5 – Q20: 5V minimum, 8V maximum
DC short circuit current Q1 – Q4, Q21 – Q24: 5A typical
Q5 - Q20: 0.7A minimum, 2A maximum
Peak short circuit current Q5 - Q20: 4A maximum
Delay time of peak short circuit 100 µS
current
Delay time of current limit 100 µS
11.5 IC200UEX364
64 Point Micro PLC Expansion Unit, (40) 24Vdc
In, (24) LCDC Out, 24Vdc Power Supply
VersaMax Micro PLC Expansion Unit IC200UEX364 accepts forty DC inputs and provides
twenty-four low current (LCDC) transistor outputs. It uses 24Vdc nominal input power.
11.5.1 DC Power
The 24Vdc power source for the Expansion Unit must have enough transient current
capability to support the inrush current of the power supply and to maintain a 24Vdc voltage
level (see power supply specifications for inrush requirements).
11.5.2 DC Inputs
Forty configurable DC inputs can be used as positive or negative logic standard inputs. They
are compatible with a wide range of input devices, such as pushbuttons, limit switches, and
electronic proximity switches.
The Micro PLC Expansion Unit’s +24Vdc supply can be used for input devices and to power
the DC input circuits at about 8mA per input. The combination of input circuit current and
external device current must not exceed 435mA.
11.5.3 DC Outputs
The Micro PLC Expansion Unit IC200UEX364 has 24 sink-type DC outputs. All outputs are
isolated between field and logic and are switching positive voltage. The outputs have one
common incoming supply (VC) and one common ground (COM). The outputs are able to
drive high inrush currents (8 times the rated current) and are protected against negative
voltage pulses. This makes it possible to switch lamps and inductive loads.
IC200UEX616 6 Point Analog Expansion Unit, (4) Analog In and (2) Analog Out, 12Vdc Power
Supply
IC200UEX624 4 Point Analog Expansion Unit, (4) Analog In, 24Vdc Power Supply
IC200UEX626 6 Point Analog Expansion Unit, (4) Analog In and (2) Analog Out, 24Vdc Power
Supply
IC200UEX636 6 Point Analog Expansion Unit, (4) Analog In and (2) Analog Out, 100/240Vac
Power Supply
Figure 93
12.1.4 Cables
A 0.1-meter ribbon cable (IC200CBL501) is provided with each Expansion Unit. Cables are
also available in 0.5-meter (IC200CBL505) and 1 meter (IC200CBL510) lengths.
The DC power source must have enough transient current capability to support the inrush
current of the power supply and to maintain the nominal voltage level.
Item Description
Voltage input impedance 200 kΩ
Input filter time 20ms to reach 1% error for step input
Analog Output Channels 2, single-ended, non-isolated
Output ranges 0 to 10V (10.23V maximum)
0 to 20mA (20.47mA maximum)
4 to 20mA (20.47mA maximum)
Resolution 12 bits
Accuracy ±1% of full scale over operating temperature range
Current: maximum terminal voltage 10V (at 20mA output)
user load range 10 to 500 Ω
output load capacitance 2000 pF maximum
output load inductance 1 Henry maximum
Voltage: output loading 10 kΩ minimum at 10 volts
output load capacitance 1 µF maximum
Figure 94
If an initialization error occurs, the OK LED blinks rapidly. During normal operation, the
analog input LEDs should be off.
Figure 95
In current mode, the Expansion Unit first converts the 0 to 20,000µA input signal to a count
value in the range of 0 to 4,000. The fixed multiplier for this conversion is 5. The conversion
for both current modes (0-20mA and 4-20mA) is the same.
Any calculated value above 32,767 is clamped at that maximum value. Any calculated value
less than 0 is clamped at 0.
Figure 96
Any calculated value that exceeds 4095 (212-1) is clamped at that maximum value. Any
calculated value less than 0 is clamped at 0. The range 0 to 4095 corresponds to %AQ values
between 0 and 32,767.
In current mode, the D/A converter converts the count value to an analog signal from 0 to
20,000µA. The output current gain for this conversion is 5. The conversion for both current
modes (0-20mA and 4-20mA) is the same.
On modules IC200UEX616, UEX626 and UEX 636, voltage and current outputs are present
on their respective output terminals at the same time. For proper module operation, only
the output terminals that correspond to the voltage / current output configuration should
be connected.
Figure 98
13.1.4 Cables
A 0.1-meter ribbon cable (IC200CBL501) is provided with each Expansion Unit. Cables are
also available in 0.5-meter (IC200CBL505) and 1 meter (IC200CBL510) lengths.
Note:
• RTD Expansion Modules support DOIO for inputs and outputs.
• If an RTD Expansion module is auto configured with DIP switch 3 OFF (Compatibility Mode), it
reports its identity as a standard analog expansion module (IC200UEX616/626/636). This has
no effect on module operation.
• For Micro release 4.0 and later, if the RTD Expansion module is auto-configured with DIP switch
3 ON (High-Accuracy Mode), it reports as IC200UEX726/736.
13.2.1 Compatibility
RTD Expansion Units are compatible with Micro PLCs having a firmware version of 2.01 or
greater.
They are compatible with Logic Developer 2.60 or above and with VersaPro software 2.03
and above. Some compatible software versions do not list these modules separately but
allow them to be configured as analog expansion units. Current software versions list these
modules by number and description.
5
The DC power source must have enough transient current capability to support the inrush current of the power supply and to maintain
the nominal voltage level.
13.2.5 Scaling
Figure 99
The table below lists equivalent decimal and hexadecimal conversion values for Celsius and
Fahrenheit inputs.
Figure 100
The application's %AQ output range of 0 to 32000 corresponds to the D/A converter's
output count range. The Expansion Unit first multiplies the %AQ value from the program by
(output range / 32000) to produce the count value for the D/A Converter:
4000
Compatible resolution mode: (%AQ × 32000 ) = (%AQ × 0.125) = D/A count
4096
Maximum resolution mode: (%AQ × 32000 ) = (%AQ ×X 0.128) = D/A count
Any calculated value that exceeds 4095 (212-1) is clamped at that maximum value. Any
calculated value less than 0 is clamped at 0. The range 0 to 4095 corresponds to %AQ values
between 0 and 32,760.
In compatible resolution mode (D/A Converter range is 0–4,000), loading a count value of
32760 results in an analog output value of 10.23V.
In maximum resolution mode (D/A Converter range is 0–4,096), loading a count value of
32760 results in an analog output value of 10.00V
In current mode, the D/A converter converts the count value to an analog signal from 0 to
20,000µA. The output current gain for this conversion is 5. The conversion for both current
modes (0-20mA and 4-20mA) is the same.
On modules IC200UEX726 and UEX736, voltage and current outputs are present on their
respective output terminals at the same time. For proper module operation, only the
output terminals that correspond to the voltage / current output configuration should be
connected.
RTD and Thermocouple Expansion Units 228
User Manual Chapter 13
GFK-1645M Dec 2019
For RTD expansion units, DIP switch 2 selects the RTD channels update rate. In the factory
default OFF position, switch 2 selects a 562ms update rate. The update rate can be changed
to 141ms by moving switch 2 to the ON position.
From Release 4.0 and above, DIP Switch 3 can be used to select between Compatible
(Switch 3 OFF) and High Accuracy (Switch 3 ON) modes. In the PME configuration of RTD
module, selection for “Conversion mode” parameter should match this DIP switch
selection.
Figure 102
Note:
• Do NOT change the settings of any of the other DIP switches.
• The module must be powered OFF before changing the DIP switch settings.
OK
During normal operation, the RTD input LEDs should be off. If an RTD input is outside the
range of -100°C (-150°F) to +600°C (1050°F), its LED blinks.
Figure 103
The Scaling function (see Chapter 23:) can be use in the application program to convert the
raw counts value for a channel to a temperature measurement in degrees. The ranges are
100 to +600 degrees C and 150 to +1050 degrees F. The example logic shown here applies
to Compatible mode only.
Figure 104
Celsius Conversion
Line 15: Converts RTD to Real Value. Data will be stored in two consecutive Registers 100
and 101
Line 16: Divides the raw value by 40.0 (28000/700) 700 comes from the full temperature
range of 600 to –100 C. Result is placed in R102 and R103
Line 17: Subtracts 100 for conversion. This is to offset the –100 and the result is in R104 and
R105
Fahrenheit Conversion
Line 18: Converts RTD to Real Value. Data will be stored in two consecutive Registers 110
and 111
Line 19: Divides the raw value by 26.66667 (32,000/1200) 1200 comes from the full
temperature range of 1050 to –150 F. Result is placed in R112 and R113
Line 20: Subtracts 150 for conversion. This is to offset the –150 and the result is in R114 and
R115
Note:
• Thermocouple Expansion modules support DOIO for inputs and outputs.
• If a Thermocouple Expansion module is auto configured with DIP switch 6 OFF (Compatibility
Mode), it reports its identity as a standard analog expansion module (IC200UEX616/626/636).
This has no effect on module operation.
• For Micro release 4.0 and later, if the Thermocouple Expansion module is auto-configured with
DIP switch 6 ON (High-Accuracy Mode), it reports as IC200UEX826.
13.4.1 Compatibility
Thermocouple Expansion modules are compatible with:
6
Accuracy Range represents measurements within which operation of the module is guaranteed.
7
The Input Range represents an extended range for which operation cannot always be guaranteed.
Figure 105
The table below lists equivalent decimal and hexadecimal conversion values for Celsius and
Fahrenheit inputs.
Input Signal A/D Converter Counts Value Gain Factor %AI Range
Celsius mode (-249.5°C to 1 – 4020 counts 8 8 - 32160
1760°C)
Fahrenheit mode (-499°F to 1 – 3808 counts 8 8 - 30464
3308°F)
Voltage mode (±50mV) 48 – 4048 counts 8 384 – 32384
Voltage mode (±100mV) 48 – 4048 counts 8 384 - 32384
Figure 106
Any calculated value that exceeds 4095 (212-1) is clamped at that maximum value. Any
calculated value less than 0 is clamped at 0. The range 0 to 4095 corresponds to %AQ values
between 0 and 32,760.
In current mode, the D/A converter converts the count value to an analog signal from 0 to
20,000µA. The output current gain for this conversion is 5.
The following description of this section is applicable only for CPU and PME versions prior to
that of the above mentioned.
With Logic Developer (PME) 5.70 and above, Thermocouple module can easily be
configured by selecting the corresponding RTD module in the Module window.
For IC200UEX826, the Output Channel Mode parameter can be used to configure the
Voltage/Current values of a Thermocouple module.
Figure 107
Also, for versions earlier than 4.0, the Cold Junction Compensation is always enabled by
default and cannot be disabled either through PME or through DIP switch settings.
On module IC200UEX826, voltage and current outputs are present on their respective
output terminals at the same time. For proper module operation, only the output terminals
that correspond to the voltage / current output configuration should be connected.
The sensor selection for all input channels can be configured ONLY using DIP switches 1 to
3, it cannot be done using Logic Developer. If DIP switches 1-3 are set for mV selection (all
On), the settings take precedence over the Logic Developer configuration of Input Channel
Mode and Range. The module must be powered OFF before changing the DIP switch
settings.
Do NOT change settings of any of the other DIP switches. The default setting for all other
DIP switches is Off.
• Blink 12 times
• Go Off (short)
• Blink 2 times
• Go Off (long pause)
To restore normal functionality, turn off power to the PLC and expansion units and set the
DIP switch to Off. Turn On power to the PLC and expansion units again.
If multiple errors occur, input signal errors (2 above) have priority over cold junction signal
errors (3 above). For example:
Input signal for channel 2 is out of range, for channel 3 cable is disconnected and the cold
junction compensation signal is out of range. In this case, LEDs 2 and 3 blink with almost
equal On and Off time. LEDs 1 and 4 blink with shorter On time and longer Off time.
Figure 109
Figure 110
Figure 111
Celsius Conversion
Line 6: Converts thermocouple input to Real Value. Data will be stored in two consecutive
Registers 100 and 101
The value 2009.5 comes from the full temperature range of 1760 to –249.5 C. Result is
placed in R102 and R103
Line 8: Subtracts 250 for conversion. This is to offset the –250 and the result is in R104 and
R105
Figure 112
Fahrenheit Conversion
Line 10: Converts thermocouple input to Real Value. Data will be stored in two consecutive
Registers 200 and 201
The value 3807 comes from the full temperature range of 3308 to –449 F. Result is placed
in R202 and R203
Line 12: Subtracts 500 for conversion. This is to offset the –500 and the result is in R204 and
R205
Option modules, except the Memory Pack Module, are configured using the Machine
Edition software. The Memory Pack Module does not require software configuration. If the
configuration and installed option modules are different, the PLC logs a fault in the Fault
Table (System Configuration Mismatch).
Note: If the configured module is RS232/USB and the physically connected module is Ethernet
communication module (upon downloading configuration), a system configuration mismatch
fault will not be logged. The converse is also true.
14.2 IC200UMB001
Memory Pack Module
The VersaMax Micro PLC Memory Pack Module, IC200UMB001, can be used to store and
update the configuration, application program, and reference table data of a 20, 40, or 64-
Point Micro PLC.
Figure 113
The Memory Pack Module plugs directly into port 2 on the Micro PLC. Power for the device
comes from port 2.
A programmer and PLC CPU are used to initially write data to the Memory Pack Module. In
addition to writing data to the Memory Pack, the programmer can read data already stored
on the Memory Pack and can compare that data with files already present in the
programmer.
CPU Option Modules 244
User Manual Chapter 14
GFK-1645M Dec 2019
After the data is stored on the Memory Pack, the data can be copied to one or more other
PLC CPUs of the same type, with no programmer needed. To do that, the Memory Pack
Module is removed from the Micro PLC, and installed on another Micro PLC (Micro PLCs must
be powered down to remove or install an option module). When the second Micro PLC is
powered up, all of the data on the Memory Pack is written into the corresponding PLC
reference addresses.
14.2.1 Features
• Store 128kB of data.
• Read the data at Power up.
• Read/Write/Verify the data through programmer command.
With the programmer present, the PLC CPU can read, write, or verify a program,
configuration and tables in the Memory Pack Module. When reading or verifying data, it is
possible to select hardware configuration, logic, and/or reference tables data. However,
when writing data to the Memory Pack Module, all the data (logic, configuration and
reference tables) must be written. Individual data types cannot be selected for writing.
The OK LED keeps blinking while the data is being transferred from the Memory Pack
Module to the PLC. Wait until the OK LED stops blinking to do any further operations.
The path for write /read/ verify through programming software is:
The popup window for write/read/verify appears. Select the memory storage board option
from the two choices (memory storage board or flash memory) to transfer data between
the Memory Pack module and the CPU. Then select the write/read/verify operation. The
programming software shows the status of the data transfer.
The Memory Pack Module and PLC must both have either no OEM key password or the same
OEM key password for the data to be transferred. The Memory Pack Module does not
perform special processing for other type of passwords.
Figure 114
The Write Protect switch on the Memory Pack Module prevents writing data to the module
when it is in the ON position.
CAUTION
If the Write Protect switch is in ON position and the programming software tries to write
data to the Memory Pack Module, the data is NOT written to the module. However, no error
message is generated, and there is no indication that the data has not been written. This
should be considered before setting the Write Protect switch.
14.3 IC200USB001
RS232 Extra Port Option Module with 2 Analog
Inputs
VersaMax Micro PLC Option Module IC200USB001 can be used with a 20, 40, or 64-Point
Micro PLC to provide an extra RS232 Port and two analog inputs.
Figure 115
When installed on the Micro PLC, the RS232 Port Option Module becomes port 2. It supports
the following communications protocols:
• Modbus Master/Slave
• Serial Read/Write
• SNP/SNPX Master/Slave
Use of the Port Option module as port 2, and the protocol selection must be set up in the
configuration software. After making those selections, the communications parameters
can also be configured.
Figure 116
An external device can obtain power from the 5Vdc output pin if it requires 200mA or less
at 5Vdc.
Figure 117
14.4 IC200USB002
RS-422/485 Extra Port Option Module with 2
Analog Inputs
VersaMax Micro PLC Option Module IC200USB002 can be used with a 20, 40, or 64-Point
Micro PLC to provide an extra RS-422/485 Port and two analog inputs.
Figure 118
When installed on the Micro PLC, the RS-422/485 Port Option Module becomes port 2. It
supports the following communications protocols:
• Modbus Master/Slave
• Serial Read/Write
• SNP/SNPX Master/Slave
Use of the Port Option module as port 2, and the protocol selection must be set up in the
configuration software. After making those selections, the communications parameters
can also be configured.
Figure 119
An external device can obtain power from the 5Vdc output pin if it requires 200mA or less
at 5Vdc.
Figure 120
14.5 IC200UUB001
USB / RS232 Conversion Option Module
VersaMax Micro PLC Option Module IC200UUB001 can be used with a 20, 40, or 64-Point
Micro PLC to provide a USB Port.
Figure 121
Connecting to the USB board from windows should automatically download the correct
driver from Microsoft. To download directly, go to http://www.ftdichip.com/Drivers/FT232-
FT245Drivers.htm
14.6 IC200UEM001
RJ-45, 10/100 Mbit Ethernet Communications
Module
The VersaMax Micro PLC Option Module IC200UEM001 can be used with a Micro 20, 40, or
64-Point PLC to provide an Ethernet Port.
Figure 122
When installed on the PLC, the Ethernet Port Option Module becomes Port 2. It supports the
following communications protocols:
• SRTP Server
• Modbus Server/Client (separate download)
• Pass- through port (separate download).
Protocol options are available on https://www.emerson.com/Industrial-Automation-
Controls/support
For detailed information on the Telnet configuration of the Ethernet Option Module for
each protocol, refer to GFK-2436E or later.
• Data rates supported for the Ethernet Option Module are: 19,200bps, 38,400bps
and 175,000bps. Firmware releases 3.82 and earlier supported data rates 300bps
through 38400 on Ethernet Module. Release 3.83 and later do not support 300bps
through 9,600bps data rates, but support for a higher data rate of 175,000bps is
added.
• The default baud rate for Port 2 with the Ethernet Option module is 175000bps. This
is the baud rate for which the Micro Port 2 will be configured during auto-
configuration with Ethernet module connected.
• When 175,000bps data rate is selected, a value of 2ms is automatically selected
internally for SNP T1 timer value (default T1 value is 5 ms). This will result in
increased throughput for communication with SNP protocol.
• First, a temporary IP address and the MAC address must be entered using PAC
Machine Edition Logic Developer.
• Second, the permanent IP address must be set using Ethernet commands.
The permanent IP address setting must be saved to the Flash on the Ethernet board or it will
be lost during power cycle.
The Ethernet module reads the Modbus command framed by the Micro PLC. The Ethernet
module then communicates with the server device and updates the response back to the
Micro PLC, along with the status. In the Ethernet module, one channel can be configured for
Modbus TCP Client. The remaining channels are used for Modbus TCP Server. The server
should not use the channel configured for client. Similarly, the client should not reclaim the
channels configured for server. Channels should not be switched between client/server
dynamically until you reconfigure the Ethernet module.
Note: The MODBUS_TCP_RW function block should be triggered in the logic only when %I00488 is on.
(When on, the status bit %I488 indicates the Ethernet Option Module is configured for Modbus
Client operation and is ready to accept Modbus Client commands.) Otherwise error “85B0H” will
be output in the function block status.
Hardware Configuration
In the CPU Settings, set Port 2 Configuration to Ethernet.
Figure 123
Note: Sequence Number and Command Data addresses should not overlap or conflict with any other
variables used in the logic.
Telnet Configuration
Note: The Ethernet option module will be power cycled and reset under the following conditions:
• A connection to the Ethernet option module is established through TELNET and disconnected
immediately.
• A connection to the Ethernet option module through is established through TELNET, the
configuration is edited, and you press "Q" (Quit without Save).
1. Connect the PLC with Port 2 to the Ethernet Option Module in the network.
2. Type TELNET <Ethernet Option Module IP: x.x.x.x> 9999 at the command prompt.
3. Configure the Modbus/TCP to RTU Bridge as follows:
Sample Modbus/TCP to RTU Bridge Setup
1) Network/IP Settings:
IP Address……………… <x.x.x.x>
SNMP is enabled
After entering all the values, the Modbus/TCP to RTU Bridge Setup screen appears showing
the configured values.
1) Network/IP Settings:
IP Address 3.212.218.12
Netmask 255.000.000.000
SNMP is enabled
Figure 124
Parameters of MODBUS_TCP_RW
Parameter Data Type, Memory Area Description
Inputs
???? DWord, R Control word. Requires two bytes in %R memory. Do
not write or clear this memory during operation of
the MODBUS_TCP_RW function.
Enable Flow When the function is enabled, the operation is
performed.
EX Flow Execute. A low to high transition starts command
processing.
CH Word, Constant Channel number on which the request will be
processed. Should be 1.
FC Word, AI, AQ, R, Constant Function code. Modbus RTU function to be carried
out. See page 258 for valid function codes.
LMR Word, AI, AQ, R, Constant Segment selector for Local reference memory type.
Destination memory type for a Read operation;
Source memory type for a Write operation.
LMR Description
Value
18 %Q discrete output memory (Byte mode)
72 %Q discrete output memory (Bit mode)
8 %R register memory (Word mode)
Status/Error Codes
Status codes are reported in the following format:
Figure 125
If communication between the Ethernet Module and the Micro CPU is not functional, the
Ethernet Module indicates the problem by LED blink patterns and through the TELNET
connection. If the error codes reported by the Ethernet Module, by LEDs or through TELNET,
are different, the Serial Link error code has the highest priority.
1. The IP address is stored as integer values in the four words starting at %R1001.
Figure 126
Two security settings are supported for the Ethernet Option Module (firmware version 2.0
and later): Password support for Telnet configuration and SNMP (Enable/Disable)
configuration.
Security settings are provided for the three protocols: SNP/SRTP, Modbus TCP and
Tunneling.
For Modbus TCP and SRTP protocols, these security settings options are present in the
"Network/IP Settings" menu for. For Tunneling (Pass-through), these security settings are
present in the "basic parameters/server" menu.
If the password is set, it will be required before entering to the Telnet configuration Setup
Mode. After prompting for password, if the password is not entered within 30 seconds, the
Telnet session will expire.
1. Access the option connector on the front of the unit, as shown below for a Micro-
64 PLC.
Figure 127
2. If a port-type Option Module is being installed, orient the connector on the Option
Module with the connector in the Micro PLC. Be careful to avoid contact with the
exposed components in the module.
Figure 128
Figure 129
5. If a Memory Pack Module is being installed, orient the connector on the back of the
Memory Pack Module with the connector on the Micro PLC or port-type Option
Module. Press the Memory Pack Module downward until it clicks into place.
6. Install the protective cover(s). If only the Memory Pack Module is used, both covers
may be installed. If a port module is used, the right-hand cover is not installed, and
the port connector remains accessible.
• Pre-installation check
• Agency Approvals, Standards, and General Specifications
• Immunity and Emission Specifications, Relevant Standards, and Level Passed
• Installation Guidelines
• Mounting Dimensions
• Grounding the Equipment
• Installing a PLC or Expansion Unit on a DIN Rail
• Connecting an Expansion Unit to a Micro PLC
• System Wiring Guidelines
• Starting Up the PLC
• Adjusting the Analog Potentiometers
• DIP Switches
• Installing/Replacing a Backup Battery
• Serial Port Connections
• RS485 Port Isolator
• RS-232 to RS-485 Adapter
• Replacing AC Output Module Fuses
Keep Micro PLC modules in their boxes during storage and transport.
Environmental Conditions
Vibration IEC68-2-6, JISC0911 1G @57-500Hz, 0.15mm p-p @10-
57Hz
Shock IEC68-2-27, JISC0912 15G, 11ms
Operating Temperature 0°C to 55°C [ambient]
Storage Temperature –10°C to +75°C
Humidity 5% to 95%, non-condensing
Enclosure Protection IEC529 Enclosure per IP54; protection from
dust & splashing water
Isolation: Dielectric UL508, UL840, IEC664 1.5kV for modules rated from 51V to
Withstand 250V
8
EN 55011 limits are equivalent to limits specified in EN 55022, CISPR 11, CISPR 22, and 47 CFR 15.
Equipment labeled with reference to Class 1 Zone 2 Groups A, B, C & D, hazardous locations
is suitable for use in Class 1, Zone 2, Groups A, B, C, D or non-hazardous locations only.
WARNING
• Explosion hazard - substitution of components may impair suitability for Class 1,
Division 2.
• Explosion hazard - do not disconnect equipment unless power has been switched off
or the area is known to be non-hazardous.
15.4.2 Dimensions of 14-, 20-, 23-, 28-, 40-, and 64-Point Micro
PLCs and Expansion Units
Figure 131
Figure 132
• Ground conductors should be as short and as large in size as possible. Braided straps
or ground cables – AWG #12 (3.29mm2) or larger – can be used to minimize
resistance. Conductors must always be large enough to carry the maximum short
circuit current of the path being considered.
• Install an external earth leakage breaker and take other safety measures according
to external wiring standards.
WARNING
Failure to follow programmer grounding recommendations could result in personal injury,
equipment damage, or both.
Figure 133
The DIN rail must be electrically grounded to provide EMC protection as described on the
next page. DIN rails compliant with DIN EN50032 are preferred.
For vibration resistance, the DIN rail should be installed on a panel using screws spaced
approximately 5.24cm (6 inches) apart.
Figure 134
15.6.3 Panel-Mounting
For greatest resistance to mechanical vibration and shock, units should be installed on a
metal panel.
Following the dimensions shown in this chapter or using the module itself as a template,
mark the location of the module’s panel-mount holes on the panel. Drill the hole in the
panel. Install the module using 65x70 M4 (#8-32) screws at least 20mm (0.79 in.) long in
the panel-mount holes.
Figure 135
1.1 to 1.4Nm (10 to 12 in/lbs) of torque should be applied to M4 (#8-32) steel screws
threaded into material containing internal threads and having a minimum thickness of
2.4mm (0.093in).
Connect the ground wire to the metal panel using a star washer. Where connections are
made to a painted panel, the paint should be removed so clean, bare metal is exposed.
Connect the metal plate, duct, pipe, door and sideboard etc. to protective earth.
CAUTION
Power down the Micro PLC before connecting an Expansion Unit. Connecting an Expansion
Unit with the Micro PLC powered up will damage the unit.
Note: The Micro PLC and Expansion Unit(s) should be wired to a common power source and powered up
together. If an attached Expansion Unit is left unpowered, the Micro PLC may not power up
properly.
Figure 136
The Expansion Unit(s) and Micro PLC must be connected in the same orientation.
Connecting an Expansion Unit “upside down” will damage the DC input circuit when the
system is powered up. After installing the ribbon cable on a unit, close the hinged door.
Installation Instructions 277
User Manual Chapter 15
GFK-1645M Dec 2019
• Power wiring – the plant power distribution, and high-power loads such as high
horsepower motors. These circuits may be rated from tens to thousands of kVA at
220Vac or higher.
• Control wiring – usually either low voltage DC or 120Vac of limited energy rating.
Examples are wiring to start/stop switches, contactor coils, and machine limit
switches. This is generally the interface level of discrete I/O.
• Analog wiring – transducer outputs and analog control voltages. This is the interface
level to I/O analog blocks.
• Communications and signal wiring – the communications network that ties
everything together, including computer LANs, MAP, and field busses.
These four types of wiring should be separated as much as possible to reduce the hazards
from insulation failure, miss-wiring, and interaction (noise) between signals. A typical
control system may require some mixing of the latter three types of wiring, particularly in
cramped areas inside motor control centers and on control panels.
Wiring which is external to equipment and in cable trays should be separated following
National Electrical Code practices.
Appropriate safety measures should be included in the design of the overall system to
ensure safety in the event of incorrect, missing or abnormal signals caused by broken signal
lines, momentary power interruptions or other causes.
Ideally, MOVs should be used at each cabinet in the system for maximum protection. The
following illustration shows suppression on both power lines and a communications bus
entering an enclosure.
Figure 137
WARNING
• The PLC must be grounded to minimize electrical shock hazard. Failure to do so could
result in injury to personnel.
• You should calculate the maximum current for each wire and observe proper wiring
practices. Failure to do so could cause injury to personnel or damage to equipment.
CAUTION
When connecting stranded conductors, ensure that there are no projecting strands of
wire. These could cause a short circuit, thereby damaging equipment or causing it to
malfunction.
The terminal block assemblies of a Micro PLC can be removed to perform wiring. For
example, a 14-point unit (shown above) has two removable terminal assemblies.
CAUTION
Do not insert or remove a terminal assembly with power applied to the PLC/Expansion Unit
OR TO FIELD DEVICES. Injury to personnel and damage to the equipment may result.
Potentially dangerous voltages from field devices may be present on the screw terminals
even though power to the PLC or Expansion Unit is turned off. Care must be taken any time
you handle the removable terminal assembly, or any wires connected to it.
A new Micro PLC or Expansion Unit is shipped with its terminal block assemblies firmly
installed. To remove a terminal assembly, use a small Phillips or flat screwdriver to
alternately loosen the two captive retaining screws. Hold onto the terminal assembly; when
the screws have been backed out of the holes, the terminal assembly is completely
detached from the module.
Figure 139
When re-installing terminal assemblies, be sure to place each one in the correct location to
avoid miss-wiring the module. The terminal assemblies are not keyed or labeled.
• Do not use voltages with outputs in excess of the maximum switching capacity. The
PLC may be damaged if the maximum switching capacity is exceeded.
• Use shielded cable for analog inputs and outputs and connect shields to a functional
earth ground.
Wiring Connections
The following types of wiring terminals are recommended for use with VersaMax Micro PLC
modules:
Figure 140
When using wiring terminals, be sure to tighten screws adequately, so the wiring terminals
will not become loose.
Terminal Screws
Should any of the terminal screws be lost or damaged, they can be replaced with M3 x
0.6mm pitch screws of the type shown below.
Figure 141
Installing suitable suppression across inductive loads enhances reliability of relay contacts.
When switching inductive loads, relay contact life approaches resistive load contact life if
suppression circuits are used. The 1A, 100V diode shown in the typical DC load suppression
circuit is an industry standard 1N4934.
Figure 144
Figure 145
For Micro 10-, 14-, 23- and 28- PLCs, when using the outputs as PWM or Pulse Train Outputs,
and for duty cycles in the lower ranges (5% and lower), a pulldown resistor must be
connected between the output point (Q1-Q3) and the common terminal (C1). A 1.5 kΩ,
0.5-watt resistor is recommended.
Micro 20-, 40-, and 64- PLCs do not require a pulldown resistor.
Figure 146
Figure 147
Figure 148
Figure 149
When I1-I6 on a Micro PLC are used as High-Speed Counter inputs, the input switches should
be solid state to prevent switch bouncing, which could cause unintended High-Speed
counter counts or strobe input signals.
15.9.9 Added Resistance for 20-, 40-, and 64-Point Micro PLCS
at Higher Count Rates
When using count rates about 30kHz on a 20-, 40-, or 64-Point Micro PLC, a 1k, 3W resistor
should added between the common and the Count input as shown below.
Figure 150
Figure 151
Figure 152
Figure 153
Figure 154
Figure 155
• Be sure all mounting screws, terminal screws, cables and other items are properly
tightened and secured.
WARNING
• On a Micro PLC CPU or Expansion Unit, be sure the protective covers are installed over
terminals when power is applied to the unit. The covers protect against accidental
shock hazard that could cause severe or fatal injury.
• Be sure that Expansion Units connected to the Micro PLC are wired to the same power
source and that the PLC and Expansion Units will power up together. If an attached
Expansion Unit is left unpowered, the Micro PLC may not power up properly.
WARNING
Always turn off the power supply to the PLC before attempting any of the following.
Performing any of these acts may result in electrical shock, damage to the PLC or faulty
operation.
C. Connecting a Frame Ground (earth) terminal to the metal plate or metal case.
CAUTION
During a gradual power down, when the input power supply voltage is below the minimum
operating voltage, the PLC may power off and then power on again until the input voltage
drops low enough to prevent power on again. You should take precautions if this type of
behavior cannot be tolerated in your application.
Figure 156
Figure 157
Figure 158
For details, refer to “Count Resolution for Analog Expansion Units” in Chapter 12:.
For IC200UEX726 and UEX736 modules with firmware version 4.0 and higher, DIP switch 6
can be used to select output range.
On Thermocouple modules with firmware versions 4.0 and higher, DIP switch 6 can be used
to select between Compatible and High Accuracy modes.
If these settings are configured using Machine Edition software version 6.0 or later, the
software configuration will override the DIP switch setting.
Important: The Micro PLC power must be OFF when installing/replacing the battery.
To replace a previously-installed battery, open the battery compartment door and remove
the old battery assembly.
Insert the battery plug into the connector at the bottom of the battery compartment. Press
it in until it clicks. Do not force the connection – the plug is keyed to prevent accidentally
installing the battery in a reverse polarity.
Figure 159
For a cylinder-type battery, tuck in the wires and snap the battery holder (see the illustration
above) onto the VersaMax Micro PLC. The original battery compartment door is no longer
needed.
For a coin-type battery, place the battery into the holder on the left side of the battery
compartment and tuck in the wires. Close the battery compartment door securely.
CAUTION
Battery may explode if mistreated.
15.14.2 Short Circuit Protection on 5Vdc for Units Later than June
2005
In the event that a short occurs across 5Vdc on any serial port on a VersaMax Micro or Nano
PLC manufactured after June 2005, date code 523 (the date code is a three-digit code
located on side of unit) the unit will power down until the short is removed. By removing
the short, the unit will recover fully.
Micro and Nano PLCs prior to date code 523 have a non-replaceable internal fuse for 5Vdc.
On those units, if the fuse blows, the RS-232 continues to function but the port no longer
provides 5Vdc to external devices. The 5Vdc is also lost on the RS-485 port.
Both ports support configurable baud rates from 300 to 19.2k bps (4800 bps to 38.4k bps
for Micro 20/40/64 PLCs).
Figure 160
Figure 161
Adapter Wire DB9F pin RJ45 pin Micro PLC signal DB9F (PC Serial Port) signal
Color
n/c 1 - n/c DCD (in)
Green 2 4 TxD (out) RxD (in)
Yellow 3 3 RxD (in) TxD (out)
Red 4 5 DCD (in) DTR (out)
Blue 5 8 Ground Ground
Black 6 6 DTR (out) DSR (in)
Brown 7 2 CTS (in) RTS (out)
White 8 1 RTS (out) CTS (in)
Orange 9 7 +5V (out) RI (in)
Figure 162
Cable: Low Capacitance Computer cable, overall braid over foil shield
Belden 8105 5 Twisted-pairs 9
Shield Drain Wire 9
30 Volt / 80C (176F)
24 AWG tinned copper, 7x32 stranding
Velocity of Propagation = 78%
Nominal Impedance = 100 9
15 Pin Male Type: Vendor: Plug: Pin:
Connector: Crimp ITT/Cannon DAA15PK87F0 030-2487-017
AMP 205206-1 66506-9
Solder ITT/Cannon ZDA15P --
AMP 747908-2 --
Connector Shell: Kit 10 – ITT Cannon DA121073-50 [15-pin size backshell kit]:
Metal-Plated Plastic (Plastic with Nickel over Copper) 9
Cable Grounding Clamp (included)
40 cable exit design to maintain low-profile installation
Plus – ITT Cannon 250-8501-009 [Extended Jackscrew]:
Threaded with (metric) M3x0.5 for secure attachment 9
Order Qty 2 for each cable shell ordered
Figure 163
9
Critical Information – any other part selected should meet or exceed this criteria.
10
Use of this kit maintains the 70mm (2.76in) installed depth.
Figure 164
Figure 165
Note:
• The connection to peripheral device is through 232/485 converter. Diagram gives the RS 485
communication part of the PLC with the converter.
• On the RS-232 side of the converter peripheral device needs to be connected.
Figure 166
In the multi-drop configuration, the host device is configured as the master and one or more
PLCs are configured as slaves. The maximum distance between the master and any slave
may not exceed 4000 feet (1200 meters). Any installation with PLCs over 50 feet (15.2
meters) apart must include optical isolation.
Figure 167
The RS-485 line must include handshaking and use wire type specified earlier. Reflections
on the transmission line can be reduced by daisy-chaining the cable as shown. Make
connections inside the connector to be attached to the PLC. Avoid using terminal strips to
other types of connectors along the length of the transmission line.
Termination resistance for the Receive Data (RD) signal must be connected only on units at
the ends of lines. This termination is made at the CPU by connecting a jumper between pin
9 and pin 10 inside the D-shell connector.
Ground Potential: Multiple units not connected to the same power source must have
common ground potential or ground isolation for proper operation of the system.
Figure 168
• Use the terminating resistor if the Port Isolator is used in port-to-port mode or at the
end of a multi-drop configuration. To terminate the RD balanced line, place a jumper
wire from pin 9 to pin 10.
• A denotes – and B denotes +. A and B denote outputs and A' and B' denote inputs.
Figure 169
When installing the Port Isolator on a panel, you will need to provide two #6-32 mounting
screws.
Figure 170
When installing the Isolator, tighten the connector screws and panel mounting screws (if
used) to the following torque values:
The RS-485 Port Isolator supports both port-to-port and multi-drop configurations.
Multi-drop Cable Connecting Devices with 15-Pin Ports and 25-Pin Ports
Figure 171
Figure 172
The RS-232 to RS-485 Adapter (IC200ACC415) connects a VersaMax Nano PLC or VersaMax
Micro PLC to an RS-485 communications bus. It supports RS-485 multi-drop connections.
In conjunction with an RJ45 to DB9 Female cable (IC200CBL500), the adapter converts from
the RS-232 (9-pin D-sub male) connector on the Nano/Micro PLC to an RS-485 (15-pin D-
sub female) connector.
Two LEDs on the adapter indicate activity on the transmit and receive lines.
Figure 174
Specifications
Temperature Rating 0ºC to 55ºC
Storage Temp. Rating -10ºC to 75ºC
Humidity 5 to 95%
Shock MIL-STD 810C, 15G
Noise Immunity ANSI/EE C37.90A, 801.2 ESD L3, 801.3 L3, 801.6 RF, 801.4 Fast
Transient L3, 801.5 Surge, EN55011 Emissions
Agency Approvals UL (Class 1, Div 2) for Nano/Micro PLC version B and higher , CUL and CE
Figure 175
11
RT pin is connected with a 120 resistor to pin 11: RD(B') to provide a simple end-of-line termination through a jumper in the back
shell between pin 10 and pin 9.
Installation Instructions 308
User Manual Chapter 15
GFK-1645M Dec 2019
Figure 176
WARNING
Remove power from the unit before removing field wiring or removing the front cover.
Failure to remove power from the unit before disassembling it could cause severe or fatal
injury to personnel.
CAUTION
Do not attempt to remove the circuit boards from the Micro PLC assembly, or to replace
fuses on the power supply board. Any disassembly beyond removing the front cover and
replacing AC output fuses could damage the unit and will invalidate the warranty.
The plug-in fuses are located on the I/O circuit board, which is accessible after removing the
Micro PLC front cover. To replace these fuses:
Note: The CPU board assembly should remain captive inside the front cover as you remove it.)
Figure 177
Note: The fuses listed above are only for the output points on the AC In/AC Out Micro PLCs
(IC200UAA003/IC200UAA007). Do not attempt to replace any other parts in any other Micro PLC
unit.
• Configuration Overview
• CPU Configuration
• Port 1 Configuration
• Port 2 Configuration
• Configuring Analog I/O Parameters
• Configuring High-Speed Counter, PWM or Pulse Output Operation
Configuration selects the characteristics of module operation. It also establishes program
references that will be used for each I/O point.
Auto configuration is also disabled when the Nano or Micro PLC receives a valid
configuration from Logic Developer. Once auto configuration is disabled, it remains
disabled and configuration is retained at power on until configuration is cleared with Logic
Developer or the PLC is powered on with the battery removed and the memory backup
capacitor discharged.
The CPU retains a software configuration across power cycles. After a software
configuration is stored to the CPU, the CPU will not auto-configure when power-cycled.
Configuration 312
User Manual Chapter 16
GFK-1645M Dec 2019
However, actually clearing a configuration from the programmer does cause a new auto-
configuration to be generated. In that case, auto-configuration is enabled until a
configuration is stored from the programmer again.
For a Nano or Micro PLC, one of the parameters that can be controlled by the software
configuration is whether the CPU reads the configuration and program from Flash at power-
up, or from RAM. If Flash is the configured choice, the CPU will read a previously-stored
configuration from its Flash memory at power-up. If RAM is the choice, the CPU will read a
configuration and application program from its RAM memory at power-up.
Note: If a hardware configuration is stored to the CPU, the configuration for the serial port to which the
programmer is connected is not actually installed until the programmer is removed. After removal
of the programmer, there is a delay before the new protocol begins operating. This delay is equal
to the configured T3’ time.
When a programmer is first connected to a Nano or Micro PLC, the PLC communicates using
the default communications parameters: 19,200 baud, odd parity, one start bit, one stop
bit, and eight data bits. If these parameters are re-configured, the new settings will be used
at power-up instead.
Configuration 313
User Manual Chapter 16
GFK-1645M Dec 2019
Configuration 314
User Manual Chapter 16
GFK-1645M Dec 2019
Configuration 315
User Manual Chapter 16
GFK-1645M Dec 2019
Configuration 316
User Manual Chapter 16
GFK-1645M Dec 2019
Port 2 configuration can be changed through the configuration utility, or by using the
COMMREQ (communications request) function block within a logic program.
Configuration 317
User Manual Chapter 16
GFK-1645M Dec 2019
For Nano PLCs with one analog input, the mode is always voltage. Reference addresses can
also be selected as described above.
Configuring High-Speed Counter, Pulse Train, Ramping Pulse Train, Motion Support, or
PWM operation enables specific features and assigns them to dedicated references on the
PLC. You can mix high-speed counting and regular I/O functions on the same Micro PLC, as
long as there are references available.
Figure 180
Configuration 318
User Manual Chapter 16
GFK-1645M Dec 2019
Counter Type Configuration for PLC Module Configurable for Each Channel
PLC 3 Type A 4 Type A 1 Type 4 Type A 1 Type A, Standard Counter PWM Pulse Pulse Motion
A, 32 1 Type B Train Train Support
1 Type B 32 with
Ramp
All Nano PLCs Yes - Yes - - Yes Yes Yes Yes - -
All Micro PLCs - Yes Yes - - Yes Yes Yes Yes - -
except UAA003
and UAA007
UAA003, 007 Feature Not Available
20-/40-/64- - Yes Yes Yes 12 Yes 12 Yes Yes Yes Yes Yes Yes 12
Point Micro
PLCs
The Counter Type selection made for the module determines, in turn, the features that can
be configured for the channels.
• 3 Type A (for Nano PLCs only). Configures a Nano PLC High-Speed Counter
functionality as three separate channels. Each channel can then be configured as a
Type A Counter, OR as a standard, Pulse Train, or Pulse-Width Modulated output.
• 1 Type A / 1 Type B. Combines the functionality of channels 1, 2, and 3 into one Type
B counter. For Micro PLCs, channel 4 can then be independently configured as a Type
A Counter, OR as a standard, Pulse Train, or Pulse-Width Modulated output. Micro-
20, -40, and -64 PLCs also provide Pulse Train with Ramp channel configuration.
• 4 Type A (for all Micro PLCs). Configures the Micro PLC High-Speed Counter
functionality as four separate channels. Each channel can then be configured as a
Type A Counter, OR as a standard, Pulse Train, or Pulse-Width Modulated output.
Micro-20, -40, and -64 PLCs also provide Pulse Train with Ramp channel
configuration.
• 1 Type A / 1 Type B_32) (for all Micro-20 and Micro-40 PLCs, and for Release 3.60 or
later Micro-64 PLCs only). Combines the functionality of channels 1, 2, and 3 into
one Type B counter. Channel 4 can then be independently configured as a Type A
Counter, OR as a standard, Pulse Train, Pulse-Width Modulated, or Motion Support
output.
• 4 Type A_32 (for all Micro-20 and Micro-40 PLCs, and for Release 3.60 or later Micro-
64 PLCs only). Configures the Micro PLC High-Speed Counter functionality as four
12
Rel. 3.6 or later.
Configuration 319
User Manual Chapter 16
GFK-1645M Dec 2019
Normal means that High-Speed Counter outputs continue to respond to the counter inputs
and standard outputs turn off. Preset outputs continue to operate as though the CPU were
present, changing state to reflect the counter Accumulators. Ramp Pulse and Motion
outputs (for Micro-20, -40, and -64 PLCs) stop immediately when the PLC is put into Stop
Mode.
Force Off means all Preset outputs are turned off and remain off until the CPU returns to
normal operation.
Hold Last means Preset outputs retain current levels and do not reflect the counter
Accumulators.
Figure 181
The Channel Functions that can be configured here depend on the Counter Type and Micro
PLC type, as explained previously. Parameters for all Channel Functions are described below.
Configuration 320
User Manual Chapter 16
GFK-1645M Dec 2019
Count Direction: for a Type A Counter only, this specifies whether count inputs increment
(Up) or decrement (Down) the accumulator.
Count Mode: defines whether the counter wraps if the count limit is reached (Continuous)
or if it stops at the counter limit (Single Shot).
Preload/Strobe Input Edge: for Type A counters only. This non-editable parameter specifies
that the Zero to Positive transition is used for a preload or strobe input.
Count Input Edge: for Type A counters only, this parameter specifies which transition of the
counter is used as the count input. Zero to Positive is a low-to-high transition. Positive to
Zero is a high-to-low transition.
Time Base (mSec): specifies the timebase for the Counts-per-Timebase register: The default
is 1000mS. Range is 10mS to 65530mS.
High Limit: the counter’s upper limit. It must be greater than the low limit.
The Counter Status parameter enables or disables the channel’s PWM output.
The Counter Status parameter enables or disables the channel’s Pulse Train Output.
Configuration 321
User Manual Chapter 16
GFK-1645M Dec 2019
PTR Acceleration sets up the Pulse Train acceleration rate, from stop to full speed. For
channels 1, 2, and 3, the range is 10 through 1,000,000. For channel 4, the range is 90 to
1,000,000.
PTR Deceleration sets up the Pulse Train deceleration rate, from full speed to stop. For
channels 1, 2, and 3, the range is 10 through 1,000,000. For channel 4, the range is 90 to
1,000,000.
The User Units and Counts parameters set up a scaling factor for the Acceleration and
Deceleration parameters of a motion profile. The possible ratio of User Units to Counts is
1:16 through 8:1.
Configuration 322
User Manual Chapter 17
GFK-1645M Dec 2019
• The basic operating mode of the PLC is called Standard Sweep mode. In this mode,
the CPU performs all parts of its sweep normally. Each sweep executes as quickly as
possible with a different amount of time consumed each sweep.
• The PLC may instead operate in Constant Sweep Time mode. In this mode, the CPU
performs the same series of actions but each sweep takes the same amount of time.
• The PLC may also be in either of two Stop modes:
— Stop with I/O Disabled mode
— Stop with I/O Enabled mode
In this mode, the CPU performs all parts of its sweep normally. Each sweep executes as
quickly as possible with a different amount of time consumed each sweep.
Limited Mode The execution time of the window is 6ms. The window
terminates when it has no more tasks to complete or when
6ms has elapsed.
Run to Completion Mode Regardless of the time assigned to a particular window, the
window runs until all tasks within that window are
completed (up to 200ms for the System Communications
Window and up to 50ms for the Programmer
Communications Window).
SVCREQ 2 can be used in the application program to obtain the current times for each
window.
If the sweep takes longer than 200mS, the OK LED on the CPU module goes off. The CPU
resets, executes its power-up logic, generates a watchdog failure fault, and goes to Stop
mode. Communications are temporarily interrupted.
If the constant sweep timer expires before the sweep completes, the CPU still completes the
entire sweep, including the windows. However, it automatically provides notice than a too-
long sweep has occurred. On the next sweep after the over-sweep, the CPU places an over-
sweep alarm in the PLC fault table. Then, at the beginning of the following sweep, the CPU
sets the OV_SWP fault contact (%SA0002). The CPU automatically resets the OV_SWP
contact when the sweep time no longer exceeds the Constant Sweep Timer. The CPU also
resets the OV_SWP contact if it is not in Constant Sweep Time mode.
As with other fault contacts, the application program can monitor this contact to keep
informed about the occurrence of over-sweep conditions.
SVCREQ 13 can be used in the application program to stop the PLC at the end of the next
sweep. All I/O will go to the OFF state and a diagnostic message will be placed in the PLC
Fault Table.
The END function should not be placed in logic associated with or called by a Sequential
Function Chart control structure. If this occurs, the PLC will be placed in STOP/FAULT mode
at the end of the current sweep and an SFC_END fault will be logged.
Jumps cannot span blocks, SFC actions, SCF transitions, or SFC pre- or post-processing logic.
By default, there is no password protection. Passwords are set up, changed, or removed
using the programming software. After passwords have been set up, access to the PLC is
restricted unless the proper password is entered. Entering a correct password allows access
to the requested level and to all lower levels. For example, the password for level 3 allows
access to levels 1, 2, and 3. If PLC communications are suspended, protection automatically
returns to the highest unprotected level. For example: If a password is set at levels 2 & 3, but
none at level 4, if the software disconnects and reconnects, the access level is 4. Privilege
level 1 is always available because no password can be set for this level.
3 • Write to all configuration and logic when the CPU is in Stop mode, including
word-for-word changes (when supported), the addition/deletion of program
logic, and the overriding of discrete I/O.
• Read/Write/Verify user flash.
• Store reference/override tables.
• Change sweep mode.
• Plus all access from levels 2 and 1
A privilege change may be to a lower level or to a higher level. The privilege level is changed
from the programmer by entering the new level and the correct password for that level. If
the wrong password is entered, the change is denied and a fault is logged in the PLC fault
table. A request to change to a privilege level that is not password-protected is made by
supplying the new level and an empty password.
If the passwords prevent changing the run/stop mode, firmware upgrades cannot be
performed if the PLC is in run mode.
The Run/Stop switch (if configured) will place the PLC in run or stop mode regardless of the
passwords.
When the OEM key password has been created, the OEM key can be locked in two ways: by
choosing the locked setting from the programming software or by power-cycling the PLC.
(The OEM key locked status does not change when PLC communications are suspended.)
If passwords and/or the OEM key have been set and written to flash, a read from flash
updates the protection level. In this case, it is not necessary to re-enter the password to gain
access to a particular level. A Clear All does not clear user flash.
A 10-Point VersaMax Nano PLC can provide the same functionality by adding a Single Pole,
Single Throw (SPST) switch. An external switch on a Nano PLC is read as a normal 24Vdc
input. The specifications for the RUN input are the same as the other DC inputs on the Nano
PLC.
If Run/Stop mode switch operation is enabled, the switch can be used to place the Micro PLC
CPU in Run mode if a fatal fault condition exists in the CPU. Note that the switch overrides
any restrictions on mode selection that have been set up using password protection.
• If the CPU has non-fatal faults and is not in Stop/Fault mode, placing the switch in
Run position causes the CPU to go to Run mode. Faults are NOT cleared.
• If the CPU has fatal faults and is in Stop/Fault mode and Run/Stop Enabled is
configured, placing the switch in Run position causes the Run LED to blink for 5
seconds. While the Run LED is blinking, the CPU switch can be used to clear the fault
table and put the CPU in Run mode. After the switch has been in Run position for at
least ½ second, move it to Stop position for at least ½ second. Then move it back to
Run position. The faults are cleared and the CPU goes to Run mode. The LED stops
blinking and stays on. This can be repeated if necessary.
• If the switch is not toggled as described, after 5 seconds the Run LED goes off and
the CPU remains in Stop/Fault mode. Faults stay in the fault table.
• If Run/Stop operation is NOT enabled by configuration and a fatal fault occurs, it is
not possible to restore operation using the switch as described above. The CPU
remains in Stop/Fault mode and faults stay in the fault table.
1. The CPU runs self-diagnostics. This includes checking a portion of RAM to determine
whether or not the RAM is functional. (For DC Micro PLCs, power-up diagnostics can
be disabled by configuration. It is recommended that you not use this feature unless
your application requires unusually rapid power-up. For details, see “Installation
Instructions”.)
2. The hardware configuration is compared with the software configuration. Any
mismatches detected constitute faults and are alarmed.
3. If there is no software configuration, the CPU uses the default configuration.
4. The mode of the first sweep is determined based on CPU configuration. The PLC can
either copy the program from flash memory into RAM (see below), or power up in
Stop or Run mode. See “Flash Memory”.
Only one application program at a time can be present in non-volatile flash memory.
Separate copies of the user data (program, configuration, and retentive data) are
maintained in FLASH memory.
During configuration of a Nano or Micro PLC, you can choose whether, in the future, the PLC
will read its user data from flash or from RAM.
In addition, Micro PLCs that use the optional backup battery can read their user data from
RAM if the unit has been powered down for an extended period of time. If there is no battery
backup, RAM may be invalid on power-up. In that case, the default program is installed, or
the user data must be read from flash.
User Data
Configuration Program Retentive Data
Default Settings
Read From RAM X X X
Read From FLASH – -- –
Recommended Settings
Read From RAM – -- X
Read From FLASH X X X
(If battery is not used)
If the application uses SVCREQ 53 to write additional data to flash memory (supported in
firmware rev 3.0), retentive data will be updated. If the retentive data is read from flash on
power-up, these updated values will be used instead of the original data values.
Note: During a gradual power down, when the input power supply voltage drops below the minimum
operating voltage, the PLC will transition to a state where all outputs are disabled. In this state,
the Run LED and the OK LED are also turned off. The PLC remains in this state until power is lost
completely (the PLC shuts off), or until power is restored (above the minimum operating voltage).
In the latter case, the PLC will reset itself and start the normal power-up sequence.
Condition Effects
PLC loses power while storing a program On the ensuing power-up the program will be deleted
to RAM from either the programming from RAM. You will need to store the program again
software or flash memory. from the programmer.
PLC loses power while storing a On the ensuing power-up, the configuration will be
configuration to RAM from either the deleted from RAM. You will need to store the
programming software or flash memory. configuration again from the programmer.
PLC loses power while storing the On the ensuing power-up, the reference table data
reference tables to RAM from either the will be deleted from RAM. You will need to store the
programming software or flash memory. data again from the programmer.
PLC loses power while storing a program, The flash memory area used to store the program,
configuration, or reference table data to configuration, or reference table data will be
flash memory. considered invalid. You will need to store the
program, configuration, or reference tables to flash
memory again.
If system includes expansion unit(s):
Micro PLC base unit loses power before the Expansion units will be reset (all outputs will be set to
expansion unit(s) zero)
Expansion unit(s) lose power before the A Loss of Expansion Module fault may be logged.
Micro PLC base unit while Micro PLC is
scanning I/O
Micro PLC base unit powers up before the If expansion units do not power up at the same time
expansion unit(s) as the Micro PLC, a Loss of Expansion Module fault
may be logged.
Expansion unit(s) power up before the Expansion unit outputs remain off until the Micro
Micro PLC base unit base unit completes power-up and begins scanning
I/O.
If the application uses SVCREQ 53 to write additional data to flash memory (supported in
firmware rev 3.0), retentive data will be updated. If the retentive data is read from flash on
power-up, these updated values will be used instead of the original data values.
For 20/40/64-point Micro PLCs, input filtering is configurable in 1ms increments only. Use
the values shown below (1ms = 2, 2ms = 4, 3ms = 6 and so on).
Note that input filtering is not provided for 64-point expansion units.
The input filter recognizes signals that have a duration within ±0.5mS (±1.0mS for 20-/40-
/64-point Micro PLCs) of the filter time. For example, if the filtering time is 5mS, any input
that lasts more than 4.5mS (5.0mS for 20-/40-/64-point Micro PLCs) is recognized. What
will be read on an input is not only based on the input filter setting. It is also based on the
scan time. An input will always be seen if it is longer than both the scan time and the filter
time.
Because %AQ11 is used to control the discrete input filtering time, it should not be used for
any other purpose.
The value in memory reference %AQ1 controls the number of samples to be averaged,
calculated as follows:
For example, if 4 is placed in %AQ1, 16 samples are averaged to determine the values to
place in %AI16 and %AI17. If 5 is placed in %AQ1, 32 samples are averaged.
The analog value from the potentiometer is not reported until the number of sweeps
determined by the value in AQ1 has occurred. If you want to receive a value from the
potentiometer on every sweep, including the first sweep, %AQ1 must contain 0.
• Overview
• HSC/PWM/PTO Channels
• Type A Counter Operation
• Type B Counter Operation
• High-Speed Counter Outputs
• PWM Outputs
• Pulse Train Outputs
• Pulse Train with Ramp
• COMMREQs for HSC/PWM/PTO Functions
• HSC Application Examples
For a Micro-20, Micro-40, or Micro-64 (Release 3.6 or later) PLC, individual channels can
perform the basic Motion Control functions of: Jogging, Homing, Blended Move, and Stop
Motion. Details of these features are provided in Chapter 19:.
18.1 Overview
All VersaMax Nano PLCs and Micro PLCs with DC inputs are configurable for a mix of High-
Speed Counting features. Nano PLCs and Micro PLCs with DC outputs can also be configured
with Pulse-Width Modulation, Pulse Train, and Pulse Train with Ramp features.
For added flexibility, the operating parameters of these features can be fine-tuned during
operation by including special function blocks in the application program.
Micro-20, Micro-40 and Release 3.6 and later Micro-64 PLCs provide Jog, Homing, and
Blended (multi-velocity move) functionality commanded by function blocks in the
application program. They also feature configurable 32-bit resolution for both Type A and
Type B counters.
If the PLC goes into Stop mode when the PTO with Ramp is running, the ramp output stops
immediately.
If a new configuration has been stored to the PLC, the PLC continues with the existing
HSC/PTO/PWM/Pulse Train with Ramp/Motion Features configuration. When the PLC is
switched to Run mode, the HSC begins using the new configuration and the Preload value
is placed in the Accumulator register.
• With the configuration software, enable each feature you want to use.
• If you want a counter to control an output you must enable the output, also using
the configuration software.
• Finally, you can provide application program control over operation of the output by
setting or clearing its associated Enable Output bit from the program or in the data
tables. For example, if a High-Speed Counter is configured with its output enabled
and its Output Enable bit is set, it will control the output. The Output Enable bits are
assigned to fixed reference addresses: Q505 through Q508.
A sample ladder logic rung that sets the Output Enable bit for a High-Speed Counter is
shown below.
Figure 183
A Nano PLC (which has 10 points) can be set up to have either three 16-bit Type A counters,
or one 16-bit Type A counter and one 16-bit Type B counter).
• Each channel can be configured for High-Speed Counter, PWM, Standard, Pulse
Train, Pulse Train with Ramping operation (in 16-bit mode) or Motion support (in 32-
bit mode).
• A channel that uses High-Speed Counter inputs can use its associated output(s) as
either High-Speed Counter or standard output(s).
• A channel that uses PWM or Pulse Train or Pulse Train with Ramping or Motion
support outputs can use its associated inputs as standard inputs.
• High-Speed Counter inputs cannot be mixed with PWM, PTO, PTO with Ramping or
Motion support outputs on the same channel.
For Micro PLCs that have only one DC output, only one PWM or Pulse Train output can be
configured.
For Micro PLCs that have only one DC output, only one PWM or Pulse Train/Ramp Pulse Train
Or Motion output can be configured.
Ramp Pulse Train Outputs are available for Four Type A / One Type A and One Type B. Motion
Support is available for Four Type A / One Type A and One Type B in 32-bit mode.
Figure 184
In the example below, the counter has been configured to count on the low to high
transition of the Pulse input. The Count signal represents an internal signal that indicates
where counting occurs with respect to the pulse input.
Figure 185
High-Speed Counters run independently of the application program. When the PLC goes
from Run to Stop mode, its High-Speed Counters continue to operate. High-Speed Counters
remain in run mode through a power cycle. If a High-Speed Counter is running when power
is lost, it will start again as soon as power is restored. Counters will stop on a store of logic
or configuration and a write to the user storage device. When power is cycled or the PLC is
placed in Run mode, the Accumulator is loaded with the Preload value and the registers start
updating.
Depending on the configuration for Preload/Strobe, the Preload/Strobe Input can either
preload a value into the Accumulator or strobe the accumulator value into a register.
Preload/Strobe signals are always positive edge-sensitive.
Error Status and Status Code: The program should monitor the Error Status bit %I0512 to
check for error conditions. When this bit is 1, the program can look at the Status Code
register %AI001 to learn what caused the error. After taking any necessary corrective action,
the program logic should clear the error status by clearing the Clear Error output bit
(%Q0512). See “Command Word Error Responses” later in this chapter for more
information.
The Type B counter can have one output that is activated based on selected On and Off
preset values.
Figure 190
The counter counts continuously within its limits. The Accumulator wraps when the count
limit is reached and continues counting. For example, if the Count Direction is up, when the
count exceeds the High Limit by 1, the Accumulator value wraps to the Low Limit.
Type B Counter
Count Inputs Phase 1: I0001
Phase 2: I0003
Preload or Strobe Input I0006
Strobe Status Bit I0497
Preload Status Bit I0501
Counter Output Q0003
Clear Strobe Bit Q0497
Clear Preload Bits Q0501
Counts per Timebase Register AI002
Accumulator Registers: 16-Bit mode AI006
32-Bit mode AI006-007
Strobe Registers : 16-Bit mode AI007
32-Bit mode AI008-009
For a B-type counter, the Counts per Timebase value represents the relative shift over the
sample time, not an exact number of counts. For example, if the counter starts at 10, counts
up to 20, and then counts back to 15, the resulting counts per timebase value is 5.
Figure 191
Figure 192
Figure 193
Figure 194
When the Counter Type configured is both Type A and Type B, PWM and Pulse Train outputs
1-3 are not available because A-QUAD-B counting uses output channels 1–3, as shown
earlier in this chapter.
If the configurations are changed for HSC, PWM, and Pulse outputs, the new outputs take
effect when the PLC changes from Stop to Run mode and the enable output bit is ON. When
the transition to Run mode occurs, the currently configured output stops running and the
new configuration takes over.
Results vary with temperature, but the maximums and minimums shown below apply
across the entire operating range for the unit (both temperature and DC output voltage).
The output state indicates when the Accumulator value is between the Preset on and off
points. For example, using the Type B counter:
Figure 197
If the output is enabled for the High-Speed Counter being used, the output turns on as
described in the Type A and Type B counter sections.
The minimum span that should be configured between the On and Off Presets depends on
the count frequency.
For this Count Frequency: Minimum Span Between On Preset and Off Preset
Should Be:
100kHz 100 counts
90kHz 90 counts
80kHz 80 counts
70kHz 70 counts
60kHZ 60 counts
50kHz 50 counts
40kHz 40 counts
30kHz 30 counts
25kHz 25 counts
20kHz 20 counts
15kHz 15 counts
10kHz 10 counts
5kHz 5 counts
2kHz 2 counts
1kHz 1 count
less than 1kHz no gap required
Note: Count frequencies above 10 kHz are supported only on 20-, 40-, and 64-point Micro PLCs.
When a PWM output starts operating, it continues until a new configuration is received, a
store occurs (logic and/or configuration), a write to the user storage device occurs, or the
Output Enable bit is cleared. A PWM output stops if an invalid frequency or duty cycle value
is commanded.
If a PWM output is running when power is lost and the Output Enable bit remains set to 1,
the output starts again as soon as power is restored and the PLC transitions to Run mode.
Figure 198
A Pulse Train Output continues to operate when the Micro PLC goes from Run mode to Stop
mode. If a Pulse Train Output is running when power is lost, it will restart after power is
restored when the PLC transitions with Run mode if both the Enable Output bit and the Start
Pulse Train output bits are set to 1.
The sum total of frequency configured for all Pulse Train Outputs on a Micro PLC should be
less than or equal to 65kHz (this frequency is available for a Micro-20/40/64 only). The
minimum frequency that can be configured on each channel is 15Hz. For example: If all the
channels are to be configured for Pulse Train with Ramp for maximum possible frequency,
the frequencies on each channel can be 15kHz, 15kHz, 15kHz, and 20kHz.
The frequency of a Pulse Train Output can be changed while the Pulse Train is operating.
One application of this feature would be to ramp up at the beginning of the Pulse Train
operation, and ramp down at the end. For a Micro-20, -40, -64 PLC, Pulse Ramping can also
be done by configuring the channel for Pulse Train with Ramp.
If the maximum count speed is more than 30 kHz for a Type B Counter, or more than 60 kHz
for Type A, resistance must be added to the encoder input as shown in the example below:
Figure 199
T1+T2 = ON Time.
Figure 200
Figure 201
A Pulse Train with Ramp has configurable acceleration and deceleration rates. The default
for both is 1,000,000 (the maximum). Both acceleration and deceleration can be selected
during configuration from the range of 90 to 1,000,000. Acceleration and deceleration do
not need to be the same. Appropriate values depend on the application and the capability
of the stepper motor being driven by the module. Acceleration and Deceleration can also
be temporarily changed from the application program.
The sum total of frequency configured for Pulse Train with Ramp channels should be less
than or equal to 65kHz. The minimum frequency that can be configured on each channel is
15Hz. For example: If all the channels are to be configured for Pulse Train with Ramp for
maximum possible frequency, the frequencies on each channel can be 15kHz, 15kHz,
15kHz, and 20kHz.
The frequency, acceleration, deceleration, and number of counts of a Pulse Train with Ramp
cannot be changed when the ramp output has started. If the frequency is changed in the
%AQ references after the ramp output has started, the new frequency is used for the next
ramp that is generated.
When the Pulse Train begins, the channel’s Pulse Train Complete bit is set to 0. The channel
outputs the specified number of pulses in varying pulse widths, to produce a velocity profile
similar to the one shown below. After the last pulse is completed, the channel’s Pulse Train
Complete bit is set to 1.
After a Pulse Train with Ramp function has started, it continues until either all of its pulses
have been generated or its Output Enable bit changes from1 to 0.
The ramp up or ramp down motion occurs in steps of 100ms; so the velocity gradient
changes every 100ms until the desired frequency is reached (provided there is a sufficient
number of pulses to ramp up to the desired frequency).
Figure 202
For the example above, the ramp up time is 500ms (1/2 second), so the ramp up takes place
in 5 steps: 100ms, 200ms, 300ms, 400ms, 500ms with frequencies of 1kHz, 2kHz, 3kHz,
4kHz, and 5kHz respectively.
The application program can stop a Pulse Train with Ramp before the requested number of
pulses has been completed by setting its Enable Output bit to 0. When the Enable Output
bit transitions from 1 to 0, the output starts decelerating. The channel outputs a number of
pulses based on: (1) the configured deceleration and (2) the velocity at the time the Enable
Output bit goes Off. When the last pulse is completed, the channel’s Pulse Train Complete
bit is set to 1.
Figure 203
If the Ramp output is already decelerating (because the number of pulses has been
reached) when the Enable Output bit transitions from 1 to 0, the Pulse Train output
continues decelerating at the same rate.
If a Pulse Train with Ramp output should stop immediately, a COMMREQ can be used, as
described later in this chapter.
• Load Accumulator
• Load High and Low Limits
• Load Accumulator Increment
• Set Counter Direction
• Load Timebase
• Load ON and Off Presets
• Load Preload
• Load Stop Mode or Resume Decelerate Mode (for Micro-20, -40, -64 CPUs only)
• Load Acceleration and Load Deceleration (for Micro-20, -40, -64 CPUs only)
• Load Correction
Program logic should be set up to assure that the command is sent to the module once, not
repeatedly. These changes are temporary; they lost when the PLC is powered down and
when a new configuration is stored from the programmer.
Figure 204
The Command Word, located at “address +10” of the command, identifies the action to be
performed. The MSB of the command word specifies the channel number (1 – 4 for Type
A, always 1 for Type B).
MS data word: 0
Note:
1. If a Load Accumulator command is executed with the ON Preset value, the Preset will be turned on
for that instance only.
2. If a Load Accumulator command is executed with the OFF Preset value, the Preset will be turned
off for that instance only.
Figure 205
The first rung in the example includes a one-shot coil (%T0002) that executes the COMMREQ
once. This prevents multiple messages from being sent.
The next rung uses a Block Move Word function to load the commands. In this example,
%R0101 through %R0114 are used for the COMMREQ Command Block. Any registers can be
used.
Parameter Description
enable %T0002 to enables the COMMREQ function.
IN Points to the starting address of the Command Block, which is %R0101.
SYSID Indicates which rack and slot to send the message to (physical location of HSC
module). The SYSID is always 0004 for the Micro PLC.
TASK This parameter is ignored and should be set to zero.
FT This output is energized if an error is detected during processing of the
COMMREQ.
Note: If the program issues a COMMREQ that changes count direction, the counter will go immediately
into the new mode. Remember that the output does not change states at exactly the same points
on an Up-counter as it does on a Down-counter.
13 0d Counter/Channel 3 Limit Error New limit places Off Preset out of range
New limit places Accumulator value out of
14 0e Counter/Channel 4 Limit Error
range
Accumulator value is out of range
Preload value is out of range
On Preset value is out of range
Off Preset value is out of range
19 13 Load Stop Mode/Reset Invalid value. Must be 1 (decelerate) or 2
Decelerate Mode (stop).
20 14 Load Acceleration Acceleration too low. Must be > 10 for
channels 1-3 and >90 for channel 4.
21 15 Load Acceleration Acceleration too high. Must be
< 1,000,000
22 16 Load Deceleration Deceleration too low. Must be > 10. for
channel 1-3 and >90 for channel 4.
23 17 Load Deceleration Deceleration too high. Must be
< 1,000,000
If the number of pulses per revolution is an integer power of 10, setting the timebase for 6,
60, 600, 6000, or 60,000 produces a direct reading of RPM in the Counts per Timebase
register with an assumed decimal placement.
Example
If feedback produces 1000 pulses/revolution, CTB reading = 5210, and the timebase is
configured for 60ms, which gives:
Input Capture
The High-Speed Counter strobe inputs can act as pulse catch inputs for inputs 2, 4, 6, and 8
by using the Strobe Status bits as a latch.
• Overview
— Program References for Motion Features
— Position Registers
— Function Block Instance Registers
— Error Codes for Motion Features
• Finding a Home Position
— Find Home Function Block
— Stopping Find Home
— Example Program Logic for Find Home
• Moving to the Home Position
Go Home Function Block
Stopping Go Home
• Jogging
— Jogging Function Block
— Stopping Jogging
— Example Program Logic for Jogging
• Blending
— Blending Function Block
— Stopping Blending
— Example Program Logic for Blending
— Examples of Blended Moves
• Stopping Motion on an Axis
— Stop Motion Function Block
— Example Program Logic for Stop Motion
19.1 Overview
The High-Speed Counter outputs of a Micro-20, Micro-40. or Micro-64 PLC can be
independently configured for motion support. Use of these features requires PAC Machine
Edition version 5.5, SP2, SIM 6 or later.
The channel’s configured HSC/PWM/PTO setting must be either 4 Type A_32, or 1 Type A /
1 Type B_32. The channel’s Counter Function must be configured as Motion Support.
Configuration is described in Chapter 16:.
Function blocks can be used in the application program to set up and control motion
operations. The same function blocks supply additional parameters for the operation.
All commanded moves increment or decrement the value in the Position Register, so it
reflects the actual motor position. For example, the Position Register is set at 0. A 10,000-
count move is commanded in the forward direction. At the end of this move, the Position
Register contains the value 10,000. Now a 2,000-count move is commanded in the reverse
direction. At the end of this move, the Position Register contains the value 8,000 (10,000–
2,000).
Position Register transitions for both clockwise and counterclockwise motions always start
at the configured low limit. For example, if the low limit = -100.0 and the high limit = +100.0,
a movement of 5 units in the clockwise direction sets the Position Register value to –95.0,
and a movement of 5 units in the counter-clockwise direction sets the position register value
to +96.
If the configured High Limit is less than the Low Limit, the error is displayed in
%AI0001/2/3/4 memory for each of the channels and the High Limit defaults to the Low
Limit +1.
Output bits %Q0497-Q0500 can be used to provide inputs for this mode for each of the four
channels respectively. A value of 0 selects Linear mode and 1 selects Rotary mode.
Limits of the Position Register value in Linear mode are +3.4e38 and –3.4e38. If either limit
is reached, the value stops changing.
Each instance of a motion function block in the program requires a separate memory area
for its internal status and control data. This must be set up by assigning two contiguous
words of %R memory during programming. The reference address location is initially
indicated by ???? in the function block.
During operation, the data in these assigned status and control references should not be
overwritten by user logic. Overlapping reference addresses may cause erratic operation of
the motion function block.
Each instance of a motion function block in the program requires a separate memory area
for its internal status and control data. This must be set up by assigning two contiguous
words of %R memory during programming. The reference address location is initially
indicated by ???? in the function block.
During operation, the data in these assigned status and control references should not be
overwritten by user logic. Overlapping reference addresses may cause erratic operation of
the motion function block.
The first word of this data area is used for 16 status and control bits. As the table below
shows, the Find Home, Go Home, Blending, and Stop Motion function blocks use the same
bit definitions. Jogging uses some different bit definitions. Most of this data is for internal
use only; it is not of interest to the application program. The exceptions to this are bit 1
(Active output), which can be monitored for a Jogging function block, and bit 2 (Done
output), which can be monitored for the other function block types. See the function block
descriptions in this chapter for more information.
13
If an active (not complete) function block instance is re-enabled while motion is still in progress, this condition is recorded as a
warning. If a different function block is enabled while motion is in progress, this condition is recorded as an error.
Motion Control Functions 371
User Manual Chapter 19
GFK-1645M Dec 2019
When the function block’s Enable is not receiving power flow, the function block outputs
are not updated. However, they are still updated to the Instance Registers.
The next time Enable receives power flow, the output status data stored in the Instance
Registers is updated to function block outputs.
The Instance Register references should not be overwritten by user logic. Overlapping
reference addresses may cause erratic function block operation.
When power returns or when the Micro PLC goes to Run mode, the error 0x38 (see above)
is logged in the channel’s %AI memory reference. The same error is generated on the
function block output when its Enable input receives power flow. Error 0x38 is an axis error;
no motion will occur on the axis until the error is cleared.
n≥1, where
or
Example:
For the Find Home function:
Acceleration = 10000
Deceleration = 10000
Offset = 0
With these parameters, the values for Final Home Velocity and Deceleration yield a value of
n=0.5, which does not satisfy the requirement n≥1. Instead of decelerating to home
position, the axis goes immediately to zero velocity. To avoid this, select values for Velocity,
Acceleration and Deceleration that satisfy the above condition.
The Home Switch input is assigned to input reference %I002, %I004, %I006, or %I008
depending on the channel. The input reference cannot be used as a standard input when
the channel is used for Homing.
Figure 207
1. After accelerating to the configured Find Home Velocity, the axis moves in the
specified direction until the Home Input signal is detected.
2. When the rising edge of Home Input signal is detected, the axis decelerates at the
deceleration rate and stops.
3. The axis then accelerates in the opposite direction at the Final Home Velocity until
the Home Input signal goes to 0.
4. Once the falling edge of the Home Input signal is detected (Home Input off as shown
above), the axis decelerates and stops.
5. At the falling edge of the Home Input, the CPU starts capturing the motor position
value. This continues until the motion stops and the axis makes a final move to the
Home switch or to the Home Offset.
6. Zero Home Offset: the axis accelerates to the Final Home velocity. It then
decelerates and stops at the edge transition of the Home Input. This is the Home
position. The position register is automatically zeroed upon completion of the Find
Home cycle.
7. Non-zero Home Offset: Depending on the value of the Home Offset and the motor
position captured by the CPU, the axis accelerates to the Final Home Velocity in
either forward or reverse direction. The axis moves until it decelerates again to reach
the Home Offset position. The position register is set to 0 when the axis reaches the
Home Offset position.
Figure 208
Figure 209
The channel’s Output Enable bit (for example, Q0505 for channel 1) must be set to 1 to use
this or any other motion function block on the channel. If the Output Enable bit is not 1, the
function will not execute, and a Channel Enable error will be reported.
When the Enable input receives power flow and the Execute input transitions to 1, the
function block parameters are loaded. If the parameters are not valid, a warning is
generated, and the function does not start. If the parameters are valid, the motion starts in
the direction (CW or CCW) specified by Axis Direction input, and the Active output is set to
1. Active returns to 0 when the function complete, or is stopped.
If the Enable input continues passing power flow after the motion completes, Find Home
can be restarted with the same parameters by again generating a low to high transition on
the Execute input. To execute the function block with different parameters, the Enable input
must stop passing power flow. After changing the parameter values, the function block can
be executed by again passing power flow to the Enable input and generating a low to high
transition on the Execute input.
The function block’s Enable output remains high as long as Enable Input is high.
If the Enable input stops receiving power flow while motion is in progress, the function
block’s Done output will not indicate when motion stops. In this case, the application
program should monitor the Done output bit (bit 2) at address +0 of the function block’s
assigned Instance data to determine when the motion is completed.
Transitions of the Execute input are only monitored while the Enable input is receiving
power flow. While the Enable input receives power flow, the Execute input is monitored for
a change in its status from the previous logic scan; if Enable and Execute transition in the
same scan, the transition of Execute is not detected. Therefore, the application logic must
not set both Enable and Execute either low or high in the same scan. If Enable and Execute
were made low in the same scan, the Find Home function block would still see the Execute
as high. If Execute and Enable were made high in the same scan, the Find Home function
block would not see the transition in Execute status and motion would not start.
Motion Control Functions 376
User Manual Chapter 19
GFK-1645M Dec 2019
• Executing a Stop Motion function block, as described later in this chapter. This stops
any motion on the channel while leaving the channel active.
• Disabling the channel by setting its High-Speed Counter enable output bit to 0. No
motion functions will operate on the channel while it is disabled.
CAUTION
To avoid abrupt starting and stopping of motion, the ratio of Velocity/Acceleration or
Velocity/Deceleration must be ≥ 0.1. For details, refer to page 420.
Axis A Constant representing the channel (1, 2, 3, or 4) on which Find Home will
be done.
Motion Starting address of 6-word reference location in AI, AQ, or R memory for
Parameters the motion speeds, which are specified in the channel’s configured units:
Final Home Dword variable (%AI, AQ, R) or Constant representing the velocity used
Velocity after the home switch is detected once. Final Home Velocity ranging from
15 to 65,000 is slower than the Find Home velocity, for greater precision in
arriving at the final Home Position.
Home Real variable (%AI, AQ, R) or constant representing the Offset from the
Offset Home Switch.
Axis Boolean variable (Q0005 to Q0024). The Micro PLC output point for which
Direction direction is to be set. 0 = clockwise, 1 = counterclockwise. The actual
Output direction depends on the field connections and drive settings. The
application program should not override the direction output during the
Homing operation.
Done Boolean variable (%I, Q, M, G, T) for the Find Home completion status. Goes
to 1 when motion is completed. If the Execute input is a pulse, rather than
staying continuously on, done remains 1/on for one scan after motion
completes.
Active Boolean variable (%I, Q, M, G, T). Set to 1 when motion starts on the channel.
Resets to 0 when motion stops.
Error ID Word variable (%AI, AQ, R). If Error (ER) =1, this is an error ID. If Warning (WR)
=1, this is the Warning ID. See the list of error definitions on page 371.
Figure 211
If a Home Offset was set up during execution of the Find Home function, the Go Home
function causes the motor to move to the Home Offset position instead.
Figure 212
The number of pulses or the distance and the direction of motion are automatically
detected based on the Position Register value.
Figure 213
The channel’s Output Enable bit (for example, Q0505 for channel 1) must be set to 1 to use
this or any other motion function block. If the Output Enable bit is not 1, the function will
not execute, and a Channel Enable error will be reported.
When the Enable input receives power flow and the Execute input transitions to 1, the
function’s parameters are loaded. If the parameters are not valid, an error code is generated,
and the function does not start. If the parameters are valid, function execution starts and
sets the Active output to 1. Active returns to 0 when the function complete, or is stopped.
If the Enable input continues passing power flow after the function completes, Go Home
can be restarted with the same parameters by generating a low to high transition on Execute
input again. To execute the function block with different parameters, first stop motion and
then stop passing power flow to the Enable input. Then, change the parameter values. The
function block can then be executed by passing power flow to the Enable input and
generating a low-to-high transition on the Execute input.
The function block’s Enable output remains high as long as Enable Input is high.
If the Enable input stops receiving power flow while motion is in progress, the function
block’s Done output will not indicate when motion stops. In this case, the application
program should monitor the Done output bit (bit 2) at address +0 of the function block’s
assigned Instance data to determine when the motion is completed.
Transitions of the Execute input are monitored only while the Enable input is receiving
power flow. While the Enable input receives power flow, the Execute input is monitored for
a change in its status from the previous logic scan; if Enable and Execute transition in the
same scan, the transition of Execute is not detected. Therefore, the application logic must
not set both Enable and Execute either low or high in the same scan. If Enable and Execute
were made low in the same scan, the Go Home function block would still see the Execute as
high. If Execute and Enable were made high in the same scan, the Go Home function block
would not see the transition in Execute and motion would not start.
Stopping Go Home
Go Home can be stopped by:
• Executing a Stop Motion function block, as described later in this chapter. This stops
any motion on the channel while leaving the channel active.
• Disabling the channel by setting its High-Speed Counter enable output bit to 0. No
motion functions will operate on the channel while it is disabled.
CAUTION
To avoid abrupt starting and stopping of motion, the ratio of Velocity/Acceleration or
Velocity/Deceleration must be ≥ 0.1. For details, refer to page 374.
Execute Power flow to this input controls execution of the function. Rising edge is
detected to load the parameters and start execution of the function block.
Axis Boolean variable (Q0005 to Q0024). The Micro PLC output point for
Direction which direction is to be set. 0 = clockwise, 1 = counterclockwise. The
Output actual direction depends on the field connections and drive settings. The
application program should not override the direction output during the
Homing operation.
Error Boolean variable (%I, Q, M, G, T) for the Go Home function block error
status. Set to 1 if an error has occurred within function block. See Error ID
below.
Error ID Word variable. If Error (ER) =1, this is an Error ID. If Warning (WR) =1, this
is the Warning ID. See the list of error definitions on page 371.
19.4 Jogging
A Jogging move consists of Ramp Up (acceleration), At Velocity and Ramp Down
(deceleration) velocities.
Figure 215
Figure 216
The channel’s Output Enable bit (for example, Q0505 for channel 1) must be set to 1 to use
this or any other motion function block. If the Output Enable bit is not 1, the function will
not execute, and a Channel Enable error will be reported.
When the Enable input receives power flow, if no motion is active on the channel and either
Enable Forward (EF) or Enable Backward (EB) begins passing power flow, the function’s
parameters are loaded. If the parameters are not valid, an error code is generated, and the
function does not start. If the parameters are valid and the Enable input is high, execution
starts in the forward (clockwise) direction if Enable Forward is high, or in the reverse
(counterclockwise) direction if Enable backward is high. The Active output is set to 1. Motion
starts at the specified input Acceleration value and continues at the specified input Velocity
until power flow is removed from EF or EB. The axis then decelerates at the Deceleration
value. Active returns to 0 when the function is fully stopped.
If both Enable Forward and Enable Backward pass power flow, an error is returned. When
either input subsequently goes low, motion starts in the other direction and the error clears
automatically.
If the Enable input continues passing power flow, Jogging can be restarted with the same
parameters by passing power flow to the EF or EB input again. To execute the function block
with different parameters, first stop motion. The Enable Forward or Enable Backward input
must stop passing power flow. After changing the parameter values, the application logic
can again pass power flow to the Enable Forward or Enable Backward input.
Enable Forward / Backward input level is not monitored unless the Enable input is receiving
power flow. The Enable Forward / Enable Backward inputs are level-triggered, not edge-
triggered.
The function block’s Enable output transitions to 0 automatically when EN input becomes
0.
If the Enable input stops receiving power flow while motion is in progress, the function
block’s Active output will not indicate when motion stops. In this case, the application
program should monitor the Active output bit (bit 1) at address +0 of the function block’s
assigned Instance data to determine when the motion is completed.
Stopping Jogging
Jogging can be stopped by:
• Executing a Stop Motion function block, as described later in this chapter. This stops
any motion on the channel while leaving the channel active.
• Disabling the channel by setting its High-Speed Counter enable output bit to 0. No
motion functions will operate on the channel while it is disabled.
CAUTION
To avoid abrupt starting and stopping of motion, the ratio of Velocity/Acceleration or
Velocity/Deceleration must be ≥ 0.1. For details, refer to page 374.
Enable If the Enable input is passing power flow, power flow to EF enables
Forward forward motion (clockwise) of the specified axis and starts the Jogging
operation. If Jogging is already in progress, removing power flow to EF
stops motion.
Enable If the Enable input is passing power flow, power flow to EB enables
Backward backward motion (counter-clockwise) of the specified axis and starts the
jogging operation. If Jogging is already in progress, removing power flow
to EB stops motion.
Deceleration Dword variable (AI, AQ, R) variable or Constant representing the jogging
deceleration rate, between 10 and 1,000,000 for channel 1 to 3 and 90
to 1,000,000 for channel 4.
Velocity Dword variable (AI, AQ, R) or Constant representing the velocity rate,
between 15 and 65,000. The sum of velocities on all channels must not
exceed 65,000.
Axis Direction Boolean Variable (Q0005 to Q0024). The Micro PLC output point for
Output which direction is to be set. 0 = clockwise, 1 = counterclockwise. The
actual direction depends on the field connections and drive settings.
The application program should not override the direction output during
the motion operation.
Active Boolean variable (%I, Q, M, G, T) for the Jogging Active status. 1 = Jogging
in progress. 0 = Jogging complete or stopped,
Error Boolean variable (%I, Q, M, G, T) for the error status. Set to 1 if an error
has occurred within function block. See Error ID below.
Error ID Word variable (%AI, AQ, R). If Error (ER) =1, this is an Error ID. If Warning
(WR) =1, this is the Warning ID. See the list of error definitions on page
371.
19.5 Blending
A Blended Move consists of up to four successive moves that are executed without the
output value returning to zero between moves. The speed (pulse rate) and distance
(number of pulses) for each of the blended moves can be defined. Transition to the speed
of the next move uses ramping. At the end of each blended move, when the motor has
moved the defined number of pulses, the motor must be at the speed set for the next move
in the sequence.
Figure 218
Because each Blend profile is equal to a normal ramping profile, a Pulse train with Ramp can
be done using a Blended move with just one blending profile. Use this method if the
hardware configuration selected is 4 Type A_32 or 1 Type A/1 Type B_32.
Each move can use any of the combinations of Ramp up (acceleration), At Velocity and
Ramp Down (deceleration) states. These combinations depend on velocity of the next
move in the sequence.
The parameters of each profile are used until the velocity of the next move is reached.
Based upon the Number of Pulses and the input parameters, the acceleration, deceleration
and the flat regions of the profile are calculated in order to reach the target frequency of
next profile. The motion is then performed with the calculated parameters.
Example 1
In this example, all of the moves have sufficient number of pulses and acceleration to
reach the desired velocity.
Figure 219
Example 2
In this example, the distance 1 value in profile 1 is not enough to reach velocity 1. So in
profile 2 (segment 2), accel2 and pulses2 are used to reach velocity 2. Velocity 2 and velocity
3 are configured as equal.
Figure 220
Example 3
Figure 221
Example 4
In this example, in Profile 1, the acceleration is just enough to reach velocity 1. In profile 2,
segment 2, deceleration 2 is used to reach velocity 2. Segment 3 of profile 2 is at velocity 2.
Segment 4, ramps up at acceleration 2 to reach velocity 3.
Figure 222
Example 5
In profile 1, segment 1 accelerates from zero to velocity 1 then decelerates down to
velocity 2 from velocity 1 in segment 2. Since the distance is just enough for these
segments, profile 1 has no motion at velocity 1.
Figure 223
Figure 224
The channel’s Output Enable bit (for example, Q0505 for channel 1) must be set to 1 to use
this or any other motion function block. If the Output Enable bit is not 1, the function will
not execute, and a Channel Enable error will be reported.
When the Enable input receives power flow, if the Execute input is set to 1, the function’s
parameters are loaded. If the parameters are not valid, an error code is generated, and the
Blending function does not start. If the parameters are valid, the function block starts
execution and sets the Active output to 1. The Active output returns to 0 when the function
completes, or is stopped.
If the Enable input continues passing power flow, Blending can be restarted with the same
parameters by generating a low to high transition on Execute input again. To execute the
function block with different parameters, stop the motion. Then, remove power flow from
the Enable input. After changing the parameter values, the function can be executed by
reapplying power flow to the Enable input and generating a low to high transition on the
Execute input.
The function block’s Enable output transitions to 0 automatically when EN input becomes
low.
Transitions of the Execute input are only monitored while the Enable input is receiving
power flow. While the Enable input receives power flow, the Execute input is monitored for
a change in its status from the previous logic scan; if Enable and Execute transition in the
same scan, the transition of Execute is not detected. Therefore, the application logic must
not set both Enable and Execute either low or high in the same scan. If Enable and Execute
were made low in the same scan, the Blending function block would still see the Execute
input as high. If Execute and Enable were made high in the same scan, the Blending function
block would not see the transition in Execute status and motion would not start.
The motion status can be monitored by the Active output of the function block. If the Active
output is 1, motion is in progress. While motion is in progress, the Done, Error, and Warning
outputs should be 0. After the completion of the motion, the Active output is set to 0 and
the Done output is set to 1.
Motion Control Functions 390
User Manual Chapter 19
GFK-1645M Dec 2019
If the Enable input stops receiving power flow while motion is in progress, the function
block’s Done output will not indicate when motion stops. In this case, the application
program should monitor the Done output bit (bit 2) at address +0 of the function block’s
assigned Instance data to determine when the motion is completed.
When there is any error during the motion or at the start of the motion, the Error indication
and the Error Number are updated to the Error output and the Error ID specified in the
function block.
Stopping Blending
Blending can be stopped by:
• When the PLC has gone through Run-Stop transition. After coming back to Run
mode, an axis error (0x38) is logged into the %AI002 register and also at the Blending
function block's Error ID output. The error in %AI002 must be cleared using the
predefined reset bits for any other motion to start on that axis.
• When the PLC is power cycled.
• Executing a Stop Motion function block, as described later in this chapter. This stops
any motion on the channel while leaving the channel active.
• Disabling the channel by setting its enable output bit to 0. No motion functions will
operate on the channel while it is disabled.
CAUTION
To avoid abrupt starting and stopping of motion, the ratio of Velocity/Acceleration or
Velocity/Deceleration must be ≥ 0.1. For details, refer to page 374.
Enable The Enable input provides power flow to the function block.
Axis A Constant representing the channel (1, 2, 3, 4) on which the Blended Move
will be done.
Execute Power flow to this input starts execution of the function. Rising edge is
detected to load the parameters and start execution of the function block.
Motion Starting address of 32-word reference location in AI, AQ, or R memory that
Parameter will be used for the Motion Parameters of each profile. Acceleration,
s deceleration and velocity are specified in the channel’s configured units.
Axis Boolean variable (Q0005 to Q0024). The Micro PLC output point for which
Direction direction is to be set. 0 = clockwise, 1 = counterclockwise. The application
Output program should not override the direction output during the motion
operation.
Done Boolean variable (%I, Q, M, G, T) for the Blending completion status. Goes
to 1 or passes power flow when motion is complete. If the Execute input is
a pulse, rather than continuously on, Done remains 1/on for one scan after
motion completes.
Active Boolean variable (%I, Q, M, G, T). Set to 1 when motion starts on the
channel. Resets to 0 when motion stops.
Error Boolean variable (%I, Q, M, G, T). Set to 1 if an error has occurred within
function block. See Error ID below.
Error ID Word variable (%AI, AQ, R). If Error (ER) =1, this is an Error ID. If Warning
(WR) =1, this is the Warning ID. See the list of error definitions on page
371.
• Disabling the channel by setting its High-Speed Counter enable output bit to 0. This
stops all motion functions on the channel.
• Executing a Stop Motion function block as described below. This stops any motion
on the channel while leaving the channel active.
Figure 226
When the Execute input receives power flow and the Enable input is high, and there is no
stop motion instance on the axis, the parameters are loaded. If the parameters are valid, a
low to high transition on the Execute input starts execution, stops the axis with the specified
input deceleration value (or immediately) based on the value of Stop mode input, and sets
the Active output to 1. The Done output goes to 1 when the axis stops and the Active output
returns to 0. Done remains high until the Execute input transitions low. If Execute is a pulse,
Done remains high for one scan after the axis stops (Active becomes low). If the parameters
are not valid, an error code is generated, and the function does not start.
To execute the function block with different parameters, remove power flow from the
Enable and Execute inputs. Then, change the parameters. The function block will execute
with the new parameters when power flow is applied to the Enable input and a low to high
transition occurs on the Execute input.
Execute input transitions are not monitored unless the Enable input is receiving power flow.
When the Enable input receives power flow, the Execute input is monitored for a change in
status from the previous logic scan. Therefore, Enable and Execute should not be made low
in the same scan or be made high in the same scan. If both Enable and Execute were set to
low in the same logic scan, the change to the Execute state would not be seen by the Stop
Motion function block because Enable is already low. So although the function block’s
Execute input is low, it still controls the axis and no motion can occur on that axis.
If the Enable input stops receiving power flow while motion is in progress, the function
block’s Done output will not indicate when motion stops. In this case, the application
program should monitor the Done output bit (bit 2) at address +0 of the function block’s
assigned Instance data to determine when the motion is completed.
For example, suppose the logic contains two Stop Motion function blocks for the same axis,
and jogging is running on that axis. Execute is triggered for the first Stop Motion function
block, but the Execute input of the second Stop Motion function block is 0. The first instance
of the Stop Motion function block takes control of the axis and stops the current jogging.
After jogging stops, because the Execute input of second (or last) Stop Motion function
block is still 0, Stop Motion is not controlling the axis and jogging can again be started on
the axis.
CAUTION
To avoid abrupt starting and stopping of motion, the ratio of Velocity/Acceleration or
Velocity/Deceleration must be ≥ 0.1. For details, refer to page 374.
Execute Power flow to this input controls execution of the Function Block.
Stop Mode Boolean variable (%I, Q, T, M, G) or Constant to control the Stop Mode. 0
= decelerate to stop (normal stop mode). 1 = stop immediately.
Done Boolean variable (%I, Q, M, G, T). Goes to 1 when motion is has stopped.
If the Execute input is a pulse, rather than continuously on, Done
remains 1/on for one scan.
Error Boolean variable (%I, Q, M, G, T). Set to 1 if an error has occurred within
function block. See Error ID below.
Error ID Word variable (%AI, AQ, R). If Error (ER) =1, this is an Error ID. If Warning
(WR) =1, this is the Warning ID . See the list of error definitions on page
374.
• Internal Failures
— Non-responding circuit boards
— Memory checksum errors
• External Failures
— Sequence fault
• Operational Failures
— Communication failures
— Configuration failures
— Password access failures
• Informational
• Diagnostic
• Fatal
The PLC logs all faults in the appropriate fault table. For diagnostic and fatal faults, the PLC
sets any associated diagnostic variables. The following table lists the fault action, associated
fault table, and diagnostic variables for different types of faults. In addition, if the fault is a
fatal fault, the PLC halts the system (STOP/FAULTED mode) to prevent possible damage to
the equipment, or personal injury.
PLC If a PLC Software Failure is logged, the PLC immediately goes into Error
Software Sweep mode. The only way to clear this condition is to cycle power.
Failure
PLC Store A sequence store is the storage of program blocks and other data
Failure preceded by the special Start-of-Sequence command and ending with the
End-of-Sequence command. If communications with the programmer are
interrupted or if any other failure terminates the download, the PLC Store
Failure fault is logged. As long as this fault is present in the system, the PLC
will not transition to Run mode.
These special fault references remain set until the PLC is cleared or until the application
program clears the fault.
Figure 228
Application programs are created using the programming software and transferred to the
PLC. Programs are stored in non-volatile memory.
During the CPU Sweep (described in Chapter 17:), the Micro PLC reads input data and stores
the data in its configured input memory locations. The Micro PLC then executes the entire
application program once, utilizing this fresh input data. Executing the application program
creates new output data that is placed in the configured output memory locations.
After completing the end of the application program, the CPU provides the output data to
the output points.
Figure 229
21.2 Subroutines
The program can consist of one Main program that executes completely during each CPU
sweep.
Figure 230
Or a program can be divided into subroutines. The maximum size of a main program block
or subroutine block is 16K bytes. A Nano PLC application program can include up to 8
subroutine declarations. A Micro PLC application program can include up to 64 subroutine
declarations.
Subroutines can simplify programming and reduce the overall amount of logic. Each
subroutine can be called as needed. The main program might serve primarily to sequence
the subroutine blocks.
Figure 231
A subroutine block can be called many times as the program executes. Logic that should be
repeated can be placed in a subroutine block, reducing total program size.
Figure 232
In addition to being called from the program, subroutine blocks can also be called by other
subroutine blocks. A subroutine block can even call itself.
Figure 233
The main program is level 1. The program can include up to eight additional nested call
levels.
Figure 234
Permanently locked subroutines cannot be unlocked, even if the program is copied, backed
up, or restored. A previously view-locked or edit-locked subroutine can be unlocked.
Figure 235
The flow of logical power through each rung is controlled by a set of simple program
functions that work like mechanical relays and output coils. Whether or not a relay passes
logical power flow along the rung depends on the content of a memory location with which
the relay has been associated in the program. For instance, a relay might pass power flow if
its associated memory location contained the value 1. The same relay would not pass power
flow if the memory location contained the value 0.
If a relay or other function in a rung does not pass logical power flow, the rest of that rung is
not executed. Power then flows down along the left rail to the next rung.
A rung contains complex functions that can be used for operations like moving data stored
in memory, performing math operations, and controlling communications between the
Micro PLC and other devices in the system.
Some program functions, such as the Jump function and Master Control Relay, can be used
to control the execution of the program itself.
Together, this large group of Ladder Diagram relays, coils, and functions is called the
“Instruction Set” of the Micro PLC.
As a guide to the programming capabilities of the VersaMax Micro PLC, all of the relays, coils,
functions, and other elements of the Instruction Set are listed on the following pages.
Complete reference information is included in Chapter 23: and in the online help for the
programming software.
21.4.1 Contacts
–| |– Normally Open Passes power if the associated reference is ON.
–|/|– Normally Closed Passes power if the associated reference is OFF.
–|+|– Continuation Passes power to the right if the preceding continuation coil is set ON.
21.4.2 Coils
–( )– Normally Open Sets the associated reference ON if the coil receives power. Otherwise
OFF.
–(/)– Negated Sets the associated discrete reference ON if the coil does not receive
power. Otherwise OFF.
–( )– Positive If power flow was OFF to this coil the last time it was executed and is
Transition ON this time, then the coil is turned ON. Otherwise, the coil is turned
OFF.
–( )– Negative If power flow was ON to this coil the last time it was executed and is
Transition OFF this time, then the coil is turned ON. Otherwise, the coil is turned
OFF.
–(S)– SET Sets the associated discrete reference ON if the coil receives power. It
remains set until reset by an –(R)– coil.
–(R)– RESET Sets the associated discrete reference OFF if the coil receives power. It
remains reset until set by an –(S)– coil.
–(SM)– Retentive SET Sets the associated reference ON if the coil receives power. The
reference remains set until reset by an –(RM)– coil. Its state is retained
through power failure and STOP-TO-RUN transition.
–(RM)– Retentive Resets the associated discrete reference OFF if the coil receives power.
RESET The reference remains reset until set by an –(SM)– coil. Its state is
retained through power failure and STOP-TO-RUN transition.
–(/M)– Negated Sets the associated discrete reference ON if the coil does not receive
Retentive power. The state is retained through power failure and STOP-TO-RUN
transition. Otherwise OFF.
–(M)– Retentive Sets the associated discrete reference ON if the coil receives power.
The state is retained through power failure and STOP-TO-RUN
transition. Otherwise OFF.
– (+)– Continuation If power to the coil is ON, the continuation coil sets the next
continuation contact ON. If power is OFF, the continuation coil sets the
next continuation contact OFF.
An example is represented below. The example shows ten addresses. Each has 16 bits that
together contain one value. The PLC cannot directly access individual bits in word memory.
0001 12467
0002 12004
0003 231
0004 359
0005 14
0006 882
0007 24
0008 771
0009 735
0010 0000
%I Normally used for discrete inputs, and viewable in the Input Status Table.
%Q Normally used for physical output references, and viewable in the Output Status Table. A
%Q reference may be either retentive or non-retentive, depending on its use in the
program.
%M Normally used to represent internal references. A specific %M reference may be either
retentive or non-retentive, depending on its use in the program.
%T Used for temporary references that can be used many times in a program. Data with %T
references is not retained through loss of power or RUN-TO-STOP-TO-RUN transitions.
%T references cannot be used with retentive coils.
%S System status references, which have specific predefinitions.
%S, %SA, %SB, and %SC can be used for any type of logic contact.
%SA, %SB, and %SC can be used for retentive coils.
%S can be used as inputs to functions or function blocks.
%SA, %SB, and %SC can be used as inputs or outputs of functions and function blocks.
%G Used for Global Data. Data in %G references is retained through power loss. %G
references can be used with contacts and retentive coils, but not on non-retentive coils.
Each bit memory address (reference) is on a bit boundary. Data is stored in bit memory as
represented below. The example shows 160 individually addressed bits, with address 1 in
the upper left and address 160 in the lower right.
Figure 236
%T, %S, %SA, %SB, and %SC references have associated transition bits only.
The CPU uses transition bits for transitional coils. When override bits are set, the
associated references can only be changed from the programmer.
14
%I0002, I0004, I0006, and I0008 are reserved as Home Inputs only for Micro-20, -40, and –64 CPUs that are configured for 32-bit
counter operation (either 4 Type A Counters, 32 bits, or 1 Type A and 1 Type B counter 32 bits).
Program Data and References 412
User Manual Chapter 22
GFK-1645M Dec 2019
15
can be reconfigured.
• Program logic
• Fault tables and diagnostics
• Overrides
• Word data (%R, %AI, %AQ)
• Bit data (%I, %SC, %G, fault bits and reserved bits)
• Word data stored in %Q and %M.
• Data in %Q or %M references that are used as function block outputs or with
retentive coils:
-(M)- retentive coils
The last time a %Q or %M reference is used with a coil, the coil type determines whether the
data is retentive or non-retentive. For example, if %Q0001 was last programmed as the
reference of a retentive coil, the %Q0001 data is retentive. However, if %Q0001 was last
programmed on a non-retentive coil, then the %Q0001 data is non-retentive.
• %T data
• %S, %SA, and %SB data (but %SC bit data IS retentive).
• %Q and %M references that have not been declared to be retentive.
• %Q and %M references that are used with non-retentive coils:
-( )- coils
Figure 237
Other system status reference nicknames include T_10MS, T_100MS, T_SEC, and T_MIN
(see below), FST_SCN, ALW_ON, and ALW_OFF.
The state of these contacts does not change during the execution of the sweep. These
contacts provide a pulse having an equal on and off time duration.
The contacts are referenced as T_10MS (0.01 second), T_100MS (0.1 second), T_SEC (1.0
second), and T_MIN (1 minute).
The following timing diagram represents the on/off time duration of these contacts.
Figure 238
22.4.3 %S References
References in %S memory are read only.
Figure 239
For example, if the floating-point number occupies registers %R0005 and %R0006, then
%R0005 is the least significant register and %R0006 is the most significant register.
The range of numbers that can be stored in this format is from ± 1.401298E–45 to
± 3.402823E+38 and the number zero.
If the infinities produced by overflow are used as operands to other REAL functions, they
may cause an undefined result. This result is referred to as NaN (Not a Number). For
example, the result of adding positive infinity to negative infinity is undefined. When the
ADD_REAL function is invoked with positive infinity and negative infinity as its operands, it
produces NaN for its result.
All Bit Operation functions require Word-type data. However, they operate on data as a
continuous string of bits, with bit 1 of the first word being the Least Significant Bit (LSB).
The last bit of the last word is the Most Significant Bit (MSB). For example, if you specified
three words of data beginning at reference %R0100, it would be operated on as 48
contiguous bits.
Overlapping input and output reference address ranges in multi-word functions is not
recommended, it can produce unexpected results.
Logical AND
If both bits examined by the Logical AND function are 1, a 1 is placed in the corresponding
location in output string Q. If either or both bits are 0, a 0 is placed in string Q in that location.
The Logical AND function can be used to build masks or screens, where only certain bits are
passed through (bits opposite a 1 in the mask), and all other bits are set to 0. The Logical
AND function can also be used to clear an area of word memory by ANDing the bits with
another bit string known to contain all 0s. The IN1 and IN2 bit strings specified may overlap.
Logical OR
If either or both bits examined by the Logical OR function is 1, a 1 is placed in the
corresponding location in output string Q. If both bits are 0, a 0 is placed in string Q in that
location. The Logical OR function can be used to combine strings or to control many outputs
with one simple logical structure. The Logical OR function is the equivalent of two relay
contacts in parallel multiplied by the number of bits in the string. It can be used to drive
indicator lamps directly from input states, or to superimpose blinking conditions on status
lights.
Figure 240
Figure 241
Figure 242
Each scan that power is received, the Exclusive OR function examines each bit in string IN1
and the corresponding bit in string IN2, beginning at the least significant bit in each. For
each two bits examined, if only one is 1, then a 1 is placed in the corresponding location in
bit string Q. The Exclusive OR function passes power flow to the right whenever power is
received.
If string IN2 and output string Q begin at the same reference, a 1 placed in string IN1 will
cause the corresponding bit in string IN2 to alternate between 0 and 1, changing state with
each scan as long as power is received. Longer cycles can be programmed by pulsing the
power flow to the function at twice the desired rate of flashing; the power flow pulse should
be one scan long (one-shot type coil or self-resetting timer).
The Exclusive OR function is useful for quickly comparing two-bit strings, or to blink a group
of bits at the rate of one ON state per two scans.
Example
In the example, whenever %I0001 is set, the bit string represented by the nickname WORD3
is cleared (set to all zeros).
Figure 243
IN1 (WORD3) 0 0 0 1 1 1 1 1 1 1 0 0 1 0 0 0
IN2 (WORD3) 0 0 0 1 1 1 1 1 1 1 0 0 1 0 0 0
Q (WORD3) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
All bits are altered on each scan that power is received, making output string Q the logical
complement of IN1. The function passes power flow to the right whenever power is
received. A length of 256 words can be selected.
Figure 244
Example
In the example, whenever input %I0001 is set, the bit string represented by the nickname
TAC is set to the inverse of bit string CAT.
Figure 245
MSB LSB
B2 1 1 0 1 1 1 1 1 1 1 0 0 1 0 0 0 B1
The Shift Right function is used to shift all the bits in a word or group of words a specified
number of places to the right. When the shift occurs, the specified number of bits is shifted
out of the output string to the right. As bits are shifted out of the low end of the string, the
same number of bits is shifted in at the high end.
MSB LSB
B1 → 1 1 0 1 1 1 1 1 1 1 0 0 1 0 0 0 →B2
Figure 246
If the number of bits to be shifted (N) is greater than the number of bits in the array * 16,
the array (Q) is filled with copies of the input bit (B1), and the input bit is copied to the output
power flow (B2). If the number of bits to be shifted is zero, then no shifting is performed;
the input array is copied into the output array; and input bit (B1) is copied into the power
flow.
The bits being shifted into the beginning of the string are specified via input parameter B1.
If a length greater than 1 has been specified as the number of bits to be shifted, each of the
bits is filled with the same value (0 or 1). This can be:
Output Q is the shifted copy of the input string. If you want the input string to be shifted,
the output parameter Q must use the same memory location as the input parameter IN.
The entire shifted string is written on each scan that power is received. Output B2 is the last
bit shifted out. For example, if four bits were shifted, B2 would be the fourth bit shifted out.
Example
In the example, whenever input %I0001 is set, the output bit string contained in the memory
location represented by the nickname WORD2 is made a copy of the bits in location
WORD1. The output string is left-shifted by 8 bits, as specified by the input LENGTH. The
resulting open bits at the beginning of the output string are set to the value of %I0002.
Figure 247
The Rotate Right function rotates the bits in the string to the right. When rotation occurs,
the specified number of bits is rotated out of the input string to the right and back into the
string on the left.
A length of 1 to 256 words can be selected for either function. The number of places to
rotate must be more than zero and less than the number of bits in the string.
The Rotate Bits function passes power flow to the right, unless the number of bits specified
to be rotated is greater than the total length of the string or is less than zero. The result is
placed in output string Q. If you want the input string to be rotated, the output parameter
Q must use the same memory location as the input parameter IN. The entire rotated string
is written on each scan that power is received.
Figure 248
Example
In the example, whenever input %I0001 is set, the input bit string in location %R0001 is
rotated 3 bits. The result is placed in %R0002. The input bit string %R0001 is not changed by
the function. If the same reference is used for IN and Q, a rotation will occur in place.
Figure 249
Each sweep power is received, the Bit Test function sets its output Q to the same state as
the specified bit. If a register rather than a constant is used to specify the bit number, the
same function block can test different bits on successive sweeps.
If the value of BIT is outside the range (1 < BIT < (16 * length) ), then Q is set OFF.
Figure 250
Example
In the example, whenever input %I0001 is set, the bit at the location contained in reference
PICKBIT is tested. The bit is part of string PRD_CDE. If it is 1, output Q passes power flow
and the coil %Q0001 is turned on.
Figure 251
Each sweep that power is received, the function sets the specified bit. If a variable (register)
rather than a constant is used to specify the bit number, the same function block can set
different bits on successive sweeps.
A string length of 1 to 256 words can be selected. The function passes power flow to the
right, unless the value for BIT is outside the range (1 < BIT < (16 * length) ); then, OK is set
OFF.
Figure 252
Example
In the example, whenever input %I0001 is set, bit 12 of the string beginning at reference
%R0040 is set to 1.
Figure 253
Figure 254
When the function receives power flow, it begins comparing the bits in the first string with
the corresponding bits in the second string. Comparison continues until a miss-compare is
found or until the end of the string is reached.
The BIT input stores the bit number where the next comparison should start (a 0 indicates
the first bit in the string). The BN output stores the bit number where the last comparison
occurred (where a 1 indicates the first bit in the string). Using the same reference for BIT
and BN causes the compare to start at the next bit position after a miss-compare; or, if all
bits compared successfully upon the next invocation of the function block, the compare
starts at the beginning.
To start the next comparison at some other location in the string, you can enter different
references for BIT and BN. If the value of BIT is a location that is beyond the end of the string,
BIT is reset to 0 before starting the next comparison.
Example
In the example, after first scan the Masked Compare Word function executes. It compares
%M0001–16 with %M0017–32. %M0033–48 contains the mask. The value in %R0001
determines the bit position in the two input strings where the comparison starts.
Figure 255
Before the function block is executed, the contents of the above references are:
Figure 256
The contents of these references after the function block executes are:
Figure 257
In this example, contact %T1 and coil %M100 force one and only one execution; otherwise
the function would repeat with possibly unexpected results.
Each sweep that power is received, the function scans the bit string starting at IN. When
the function stops scanning, either a bit equal to 1 has been found or the entire length of
the string has been scanned.
POS is set to the position within the bit string of the first non-zero bit; POS is set to zero if
no non-zero bit is found.
A string length of 1 to 256 words can be selected. The function passes power flow to the
right whenever enable is ON.
Figure 258
Example
In the example, if %I0001 is set, the bit string starting at %M0001 is searched until a bit equal
to 1 is found. Coil %Q0001 is turned on. If a bit equal to 1 is found, its location within the bit
string is written to %AQ001. If %I0001 is set, bit %M0001 is 0, and bit %M0002 is 1, then the
value written to %AQ001 is 2
Figure 259
Figure 260
The operation of the function depends on the previous value of the parameter EN:
The reset input (R) overrides the enable (EN) and always resets the sequencer. When R is
active, the current step number is set to the value passed in via the step number parameter.
If no step number is passed in, step is set to 1. All of the bits in the sequencer are set to 0,
except for the bit pointed to by the current step, which is set to 1.
When Enable is active and Reset is not active, the bit pointed to by the current step number
is cleared. The current step number is incremented or decremented, based on the direction
parameter. Then, the bit pointed to by the new step number is set to 1.
The parameter ST is optional. If it is not used, the Bit Sequencer function operates as
described above, except that no bits are set or cleared. The function just cycles the current
step number through its legal range.
Figure 261
Example
In the example, the Bit Sequencer operates on register memory %R0001. Its static data is
stored in registers %R0010–12. When CLEAR is active, the sequencer is reset and the current
step is set to step number 3. The first 8 bits of %R0001 are set to zero.
When NXT_CYC is active and CLEAR is not active, the bit for step number 3 is cleared and
the bit for step number 2 or 4 (depending on whether DIR is energized) is set.
Figure 262
Figure 263
Execution of the function continues until all inputs in the selected range have reported or all
outputs have been serviced. Program execution then returns to the next function.
The function passes power to the right whenever power is received, unless:
• Not all references of the type specified are present within the selected range.
• The Micro PLC is not able to properly handle the temporary list of I/O created by the
function.
• The range specified includes modules associated with a “Loss of I/O" fault.
Note: Using DO_IO with the ALT parameter to expansion modules IC200UDD06, UEC208, UEI016,
UEO008, and UER016 is not supported.
If no reference is specified for ALT, the real input values are updated. This allows inputs to
be scanned one or more times during the program execution portion of the CPU sweep.
Figure 264
Figure 265
If no reference were specified for ALT, the PLC would write values at references %AQ001-
004 to analog output channels.
Figure 266
When the Call function receives power flow, it causes the scan to go immediately to the
designated subroutine block and execute it. After the subroutine block execution is
complete, control returns to the point in the logic immediately following the Call
instruction.
Example
Figure 267
The End of Logic function unconditionally terminates program execution. There can be
nothing after the end function in the rung. No logic beyond the End of Logic function is
executed, and control is transferred to the beginning of the program for the next sweep.
The End of Logic function is useful for debugging purposes because it prevents any logic
which follows from being executed.
The programming software provides an [ END OF PROGRAM LOGIC ] marker to indicate the
end of program execution. This marker is used if no End of Logic function is programmed in
the logic.
Figure 268
Example
In the example, an End of Logic function is programmed to terminate the end of the current
sweep.
Figure 269
Nested MCR
A Nested Master Control Relay function can be nested completely within another
MCRN/ENDMCRN pair.
There can be multiple Master Control Relay functions with a single ENDMCRN.
The Master Control Relay function has an enable input and a name. This name is used again
with the ENDMCRN. The Master Control Relay has no outputs; there can be nothing after it
in a rung.
Figure 270
With a Master Control Relay, function blocks within the scope of the Master Control Relay
are executed without power flow, and coils are turned off.
The ENDMCRN function must be tied to power rail; there can be no logic before it in the
rung. The name of the ENDMCRN associates it with the corresponding Master Control
Relay(s). The ENDMCRN function has no outputs; there can be nothing after it in a rung.
Figure 271
If %I0003 and %I0004 are ON, %Q0003 is turned OFF and %Q0004 remains ON.
Figure 272
The Nested Jump instruction has the form ----->>LABEL01, where LABEL01 is the name of the
corresponding nested Label instruction.
There can be multiple nested Jump instructions corresponding to a single nested Label.
Nested Jumps can be either forward or backward Jumps.
There can be nothing after the Jump instruction in the rung. Power flow jumps directly from
the instruction to the rung with the named label.
CAUTION
To avoid creating an endless loop with forward and backward Jump instructions, a backward
Jump must contain a way to make it conditional.
Label
The Label instruction is the target of a Jump. Use the Label instruction to resume normal
program execution. There can be only one Label with a particular name in a program.
The Label instruction has no inputs and no outputs; there can be nothing either before or
after a Label in a rung.
With a Jump, any function blocks between the Jump and the Label are not executed, and
coils are not affected. In the example, when %I0002 is ON, the Jump is taken. Since the logic
between the Jump and the Label is skipped, %Q0001 is unaffected (if it was ON, it remains
ON; if it was OFF, it remains OFF).
Figure 273
Figure 274
Figure 275
Power flow to the Enable input causes the Drum Sequencer to copy the content of a selected
reference to the Out reference.
Power flow to the Reset input or to the Step input selects the reference to be copied.
The Control Block input is the beginning reference for the Drum Sequencer function’s
parameter block, which includes information used by the function.
Active Step The active step value specifies the element in the Pattern array to copy to
the Out output memory location. This is used as the array index into the Pattern, Dwell
Time, Fault Timeout, and First Follower arrays.
Preset Step A word input that is copied to the Active Step output when the Reset is On.
Step Control A word that is used to detect Off to On transitions on both the Step input and
the Enable input. The Step Control word is reserved for use by the function block, and must
not be written to.
Timer Control Two words of data that hold values needed to run the timer. These values are
reserved for use by the function block and must not be written to.
• MOVE Data. This function copies data as individual bits, so the new location does not
have to be the same data type.
• Block Move. This function places constants into seven specified memory locations.
• Block Clear. This function fills an area of memory with zeros.
• Shift Register. This function shifts one or more data words or data bits from a
reference location into a specified area of memory. Data already in the area is shifted
out.
• Communication Request (COMMREQ). This important function allows the CPU to
communicate with intelligent modules in the system, for example, communications
modules. The basic format of the COMMREQ function is shown in this chapter. The
detailed parameters needed to program specific communications tasks are
provided in the documentation for each module.
When the Move function receives power flow, it copies data from input parameter IN to
output parameter Q as bits. If data is moved from one location in discrete memory to
another, (for example, from %I memory to %T memory), the transition information
associated with the discrete memory elements is updated to indicate whether or not the
Move operation caused any discrete memory elements to change state. Data at the input
parameter does not change unless there is an overlap in the source and destination.
Figure 276
Note that if an array of Bit-type data specified in the Q parameter does not include all the
bits in a byte, the transition bits associated with that byte (which are not in the array) are
cleared when the Move function receives power flow.
The input IN can be either a reference for the data to be moved or a constant. If a constant
is specified, then the constant value is placed in the location specified by the output
reference. For example, if a constant value of 4 is specified for IN, then 4 is placed in the
memory location specified by Q. If the length is greater than 1 and a constant is specified,
then the constant is placed in the memory location specified by Q and the locations
following, up to the length specified. Do not allow overlapping of IN and Q parameters.
The result of the Move depends on the data type selected for the function, as shown below.
For example, if the constant value 9 is specified for IN and the length is 4, then 9 is placed in
the bit memory location specified by Q and the three locations following:
Figure 277
Figure 278
Revision 2.6 and later Micro-64 PLCs, Micro-20 PLCs and Micro-40 PLCs support both
DWORD and DINT data types for a Block Move. Other Micro PLC models do not support 32-
bit data types.
Example
In the example, when the enabling input represented by the nickname FST_SCN is ON, the
Block Move function copies the input constants into memory locations %R0010–16.
Figure 279
Figure 280
Example
In the example, at power-up, 32 words of %Q memory (512 points) beginning at %Q0001
are filled with zeros. %Q is defined as WORD of length 32.
Figure 281
The reset input (R) takes precedence over the function enable input. When the reset is
active, all references beginning at the shift register (ST) up to the length specified for LEN,
are filled with zeros.
If the function receives power flow and reset is not active, each bit or word of the shift
register is moved to the next highest reference. The last element in the shift register is
shifted into Q. The highest reference of the shift register element of IN is shifted into the
vacated element starting at ST. The contents of the shift register are accessible throughout
the program because they are overlaid on absolute locations in logic addressable memory.
Figure 282
CAUTION
The use of overlapping input and output reference address ranges in multi-word functions
is not recommended; it may produce unexpected results.
Example 1:
In the example, the shift register operates on register memory locations %R0001 through
%R0100. (%R0001 is defined as type Word of length 100). When the reset reference CLEAR
is active, the Shift Register words are set to zero.
When the NXT_CYC reference is active and CLEAR is not active, the word from output status
table location %Q0033 is shifted into the Shift Register at %R0001. The word shifted out of
the Shift Register from %R0100 is stored in output %M0005.
Figure 283
Example 2:
In this example, the Shift Register operates on memory locations %M0001 through
%M0100. (%M0001 is defined as type Boolean of length 100). When the reset reference
CLEAR is active, the Shift Register function fills %M0001 through %M0100 with zeros.
When NXT_CYC is active and CLEAR is not, the Shift Register function shifts the data in
%M0001 to %M0100 down by one bit. The bit in %Q0033 is shifted into %M0001 while the
bit shifted out of %M0100 is written to %M0200.
Figure 284
When the function receives power flow, a command block of data is sent to the specified
module. After sending the COMMREQ, the program can either suspend execution, and wait
for a reply for a maximum waiting period specified in the command, or resume immediately.
Figure 285
The Command Block contains the data to be communicated to the other device, plus
information related to the execution of the COMM REQ. The Command Block has the
following structure:
Example
In the example, when enabling input %M0020 is ON, a Command Block starting at %R0016
is sent to communications task 1 in the device located at rack 1, slot 2 of the PLC. If an error
occurs processing the COMMREQ, %Q0100 is set.
Figure 286
Data can be converted to BCD format to drive BCD-encoded LED displays or presets to
external devices such as high-speed counters.
When the function receives power flow, it performs the conversion, making the result
available via output Q. The function passes power flow when power is received, unless the
specified conversion would result in a value that is outside the range 0 to 9999.
Figure 287
Example
In the example, whenever input %I0002 is set and no errors exist, the integer at input
location %I0017 through %I0032 is converted to four BCD digits, and the result is stored in
memory locations %Q0033 through %Q0048. Coil %Q1432 is used to check for successful
conversion.
Figure 288
When the function receives power flow, it performs the conversion, making the result
available via output Q. The function always passes power flow when power is received,
unless the data is out of range.
Figure 289
Example
In the example, whenever input %I0002 is set, the BCD-4 value in PARTS is converted to a
signed integer and passed to the Addition function, where it is added to the signed integer
value represented by the reference RUNNING. The sum is output by the Addition function
to the reference TOTAL.
Figure 290
When the function receives power flow, it performs the conversion, making the result
available via output Q. The function always passes power flow when power is received,
unless the real value is out of range.
Figure 291
Note that loss of precision can occur when converting from Real-type data to Double-
Precision Integer, because Real data has 24 significant bits.
Example
In the example, whenever input %I0002 is set, the integer value at input location %I0017 is
converted to a double precision signed integer and the result is placed in location %R0001.
The output %Q1001 is set whenever the function executes successfully.
Figure 292
When the function receives power flow, it performs the conversion, making the result
available via output Q. The function passes power flow when power is received, unless the
specified conversion would result in a value that is out of range.
Note that loss of precision can occur when converting from Double-Precision Integer to Real
data, because since the number of significant bits is reduced to 24.
Figure 293
Example
In the example, the integer value of input IN is 678. The result value placed in %T0016 is
678.000.
Figure 294
When the function receives power flow, it performs the conversion, making the result
available via output Q. The function passes power flow when power is received, unless the
specified conversion would result in a value that is outside the range 0 to FFFFh.
Figure 295
Example
Figure 296
When the function receives power flow, it performs the conversion, making the result
available via output Q. The function passes power flow when power is received, unless the
specified conversion would result in a value that is out of range or unless IN is not a number.
Figure 297
Example
In the example, the displayed constant is truncated, and the integer result 562 is placed in
%T0001.
Figure 298
When a math function receives power flow, the appropriate operation is performed on input
parameters IN1 and IN2. Parameters IN1, IN2, and the output Q must be the same data
type.
Figure 299
The standard math functions pass power if there is no math overflow. If an overflow occurs,
the result is the largest value with the proper sign and no power flow.
The input and output parameter data types must be the same (16 bits or 32 bits).
If you have to convert Integer to Double-Precision Integer values, remember that the CPU
uses standard 2’s complement with the sign extended to the highest bit of the second word.
You must check the sign of the low 16-bit word and extend it into the second 16 bit word. If
the most significant bit in a 16-bit INT word is 0 (positive), move a 0 to the second word. If
the most significant bit in a 16-bit word is –1 (negative), move a –1 or hex 0FFFFh to the
second word.
Converting from Double-Precision Integer to Integer data is easier, because the low 16-bit
word (first register) is the integer portion of a Double-Precision Integer 32-bit word. The
upper 16 bits or second word should be either a 0 (positive) or –1 (negative) value or the
Double-Precision Integer number will be too big to convert to 16 bits.
Example
This example uses the Addition and Subtraction functions to keep track of the number of
parts in a temporary storage area. Each time a part enters the storage area, power flows
through relay %I0004 to a positive transition coil with reference %M0001. Relay %M0001
then enables the Addition function, adding the (constant) value 1 to the current total value
in %R0201.
Each time a part leaves the storage area, power flows through relay %I0005 to a positive
transition coil with reference %M0002. Relay %M0002 then enables the Subtraction
function, subtracting the (constant) value 1 from the current total value in %R0201.
Figure 300
When the function receives power flow, it divides input IN1 by input IN2. These parameters
must be the same data type. Output Q is calculated using the formula:
The division produces an integer number. Q is the same data type as inputs IN1 and IN2. OK
is always ON when the function receives power flow, unless there is an attempt to divide by
zero. In that case, it is set OFF.
Figure 301
Example
In the example, the remainder of the integer division of BOXES into PALLETS is placed into
NT_FULL whenever %I0001 is ON.
Figure 302
Figure 303
Example
In the example, the registers %R0120 through %R0123 are used to store the high and low
scaling values. The input value to be scaled is analog input %AI0017. The scaled output data
is used to control analog output %AQ0017. The scaling is performed whenever %I0001 is
ON.
Figure 304
OK is set ON if the function is performed without overflow, unless one of these invalid REAL
operations occurs:
• IN < 0
• IN is NaN (Not a Number)
Otherwise, OK is set OFF.
Figure 305
Example
In the example, the square root of the integer number located at %AI001 is placed into the
result located at %R0003 whenever %I0001 is ON.
Figure 306
Figure 307
The Sine, Cosine, and Tangent functions accept a broad range of input values, where
The Inverse Sine and Cosine functions accept a narrow range of input values, where
-1 < IN < 1.
Given a valid value for the IN parameter, the Inverse Sine Real function produces a result Q
such that:
ACOS(IN) = 0 ≤ Q ≤ π.
The Inverse Tangent function accepts the broadest range of input values, where
-∞ ≤ IN ≤ +∞.
Given a valid value for the IN parameter, the Inverse Tangent Real function produces a
result Q such that:
Example
In the example, the Cosine of the value in %R0001 is placed in %R0033.
Figure 308
• For the Base 10 Logarithm (LOG) function, the base 10 logarithm of IN is placed in
Q.
• For the Natural Logarithm (LN) function, the natural logarithm of IN is placed in Q.
• For the Power of E (EXP) function, e is raised to the power specified by IN and the
result is placed in Q.
• For the Power of X (EXPT) function, the value of input IN1 is raised to the power
specified by the value IN2 and the result is placed in output Q. (The EXPT function
has three input parameters and two output parameters.)
The OK output receives power flow unless the input is NaN (Not a Number) or is negative.
Figure 309
Figure 310
The OK output will receive power flow unless IN is NaN (Not a Number).
Figure 311
Example
In the example, +1500 is converted to DEG and is placed in %R0001.
Figure 312
• Greater Than or Equal Test whether one number is greater than or equal to
another
• Less Than or Equal Test whether one number is less than or equal to another
When the function receives power flow, it compares input IN1 to input IN2. These
parameters must be the same data type.
Figure 313
If inputs IN1 and IN2 match the specified relational condition, output Q receives power
flow and is set ON (1); otherwise, it is set OFF (0).
The %S0020 bit is set ON when a relational function using Real data executes successfully.
It is cleared when either input is NaN (Not a Number).
Example
In the example, two double precision signed integers are tested for equality. When the relay
%I0001 passes power flow to the LE (Less or Equal) function, the value presently in the
reference nicknamed PWR_MDE is compared to the value presently in the reference
BIN_FUL. If the value in PWR_MDE is less than or equal to the value in BIN_FUL, coil %Q0002
is turned on.
Figure 314
When the Range function is enabled, it compares the value of input IN against the range
specified by limits L1 and L2. Either L1 or L2 can be the high or low limit. When the value is
within the range specified by L1 and L2, inclusive, output parameter Q is set ON (1).
Otherwise, Q is set OFF (0).
Figure 315
Example
In this example, when the Range function receives power flow from relay %I0001, the
function determines whether the value in %AI001 is within the range 0 to 100.
Figure 316
Output coil %Q0001 is On only if the value presently in %AI0001 is within the range 0 to 100.
Each relay contact and coil has one input and one output. Together, they provide logic
flow through the contact or coil.
Example
The example shows a rung with 10 elements having nicknames from E1 to E10. Coil E10 is
ON when reference E1, E2, E5, E6, and E9 are ON and references E3, E4, E7, and E8 are OFF.
Figure 317
Figure 318
A coil sets a discrete reference ON while it receives power flow. It is non-retentive; therefore,
it cannot be used with system status references (%SA, %SB, %SC, or %G).
Example
In the example, coil E3 is ON when reference E1 is ON and reference E2 is OFF.
Figure 319
Negated Coil
A negated coil sets a discrete reference ON when it does not receive power flow. It is not
retentive, so it cannot be used with system status references (%SA, %SB, %SC, or %G).
Example
In the example, coil E3 is ON when reference E1 is OFF.
Figure 320
Retentive Coil
Like a normally open coil, the retentive coil sets a discrete reference ON while it receives
power flow. The state of the retentive coil is retained across power failure. Therefore, it
cannot be used with references from strictly non-retentive memory (%T).
Transitional coils can be used with references from either retentive or non-retentive
memory (%Q, %M, %T, %G, %SA, %SB, or %SC).
Transitional coils can be used with references from either retentive or non-retentive
memory (%Q, %M, %T, %G, %SA, %SB, or %SC).
Example
In the example, when reference E1 goes from OFF to ON, coils E2 and E3 receive power flow,
turning E2 ON for one logic sweep. When E2 goes from ON to OFF, power flow is removed
from E2 and E3, turning coil E3 ON for one sweep.
Figure 321
SET Coil
SET and RESET are nonretentive coils that can be used to keep (“latch”) the state of a
reference either ON or OFF. When a SET coil receives power flow, its reference stays ON
(whether or not the coil itself receives power flow) until the reference is reset by another
coil.
SET coils write an undefined result to the transition bit for the given reference.
RESET Coil
The RESET coil sets a discrete reference OFF if the coil receives power flow. The reference
remains OFF until the reference is set by another coil. The last-solved SET coil or RESET coil
of a pair takes precedence.
RESET coils write an undefined result to the transition bit for the given reference.
Example
In the example, the coil represented by E1 is turned ON whenever reference E2 or E6 is ON.
The coil represented by E1 is turned OFF whenever reference E5 or E3 is ON.
Figure 322
Retentive SET coils write an undefined result to the transition bit for the given reference.
Retentive RESET coils write an undefined result to the transition bit for the given reference.
For bit data, when word-oriented memory is selected for the parameters of the source array
and/or destination array starting address, the least significant bit of the specified word is the
first bit of the array.
The indices in an Array Move instruction are 1-based. In using an Array Move, no element
outside either the source or destination arrays (as specified by their starting address and
length) may be referenced.
The OK output receives power flow unless one of the following occurs:
• Enable is OFF.
• (N + SNX – 1) is greater than (length).
• (N + DNX – 1) is greater than (length).
Figure 323
16
Applies to Array Move only.
Example 1:
In this example, if %R100=3 then %R0003 - %R0007 of the array %R0001 - %R0016 is read
and is written into %R0104 - %R0108 of the array %R0100 - %R0115. (%R001 and %R0100
are declared as type WORD of length 16.)
Figure 324
Example 2:
Using bit memory for SR and DS, %M0011 - %M0017 of the array %M0009 - %M0024 is read
and then written to %Q0026 - %Q0032 of the array %Q0022 - %Q0037. (%M009 and %Q0022
are declared as type BOOL of length 16).
Figure 325
Example 3:
Using word memory, for SR and DS, the third least significant bit of %R0001 through the
second least significant bit of %R0002 of the array containing all 16 bits of %R0001 and four
bits of %R0002 is read and then written into the fifth least significant bit of %R0100 through
the fourth least significant bit of %R0101 of the array containing all 16 bits of %R0100 and
four bits of %R0101. 0001 and %R0100 are declared as type BOOL of length 20).
Figure 326
When the Search function receives power, it searches the specified array. Searching begins
at the starting address (AR) plus the index value (NX).
Figure 327
The search continues until the array element of the search object (IN) is found or until the
end of the array is reached. If an array element is found, the Found Indication (FD) is set ON
and the Output Index (output NX) is set to the relative position of this element within the
array. If no array element is found before the end of the array is reached, the Found
Indication (FD) is set OFF and the Output Index (output NX) is set to zero.
The valid values for input NX are 0 to (length 1). NX should be set to zero to begin searching
at the first element. This value increments by one at the time of execution. The values of
output NX are 1 to (length). If the value of input NX is out-of-range, (i.e. < 0 or > length), its
value is set to the default value of zero.
Example 1:
The array AR is defined as memory addresses %R0001 - %R0005. When EN is ON, the portion
of the array between %R0004 and %R0005 is searched for an element whose value is equal
to IN. If %R0001 = 7, %R0002 = 9, %R0003 = 6, %R0004 = 7, %R0005 = 7, and %R0100 = 7,
then the search will begin at %R0004 and conclude at %R0004 when FD is set ON and a 4 is
written to %R0101.
Figure 328
Example 2:
Array AR is defined as memory addresses %AI001 - %AI016. The values of the array elements
are 100, 20, 0, 5, 90, 200, 0, 79, 102, 80, 24, 34, 987, 8, 0, and 500. Initially, %AQ001 is 5.
When EN is ON, each sweep will search the array looking for a match to the IN value of 0.
The first sweep will start searching at %AI006 and find a match at %AI007, so FD is ON and
%AQ001 is 7. The second sweep will start searching at %AI008 and find a match at %AI015,
so FD remains ON and %AQ001 is 15. The next sweep will start at %AI016. Since the end of
the array is reached without a match, FD is set OFF and %AQ001 is set to zero. The next
sweep will start searching at the beginning of the array.
Figure 329
The state of these contacts does not change during the execution of the sweep. These
contacts provide a pulse having an equal on and off time duration.
The contacts are referenced as T_10MS (0.01 second), T_100MS (0.1 second), T_SEC (1.0
second), and T_MIN (1 minute).
The following timing diagram represents the on/off time duration of these contacts.
Figure 330
When you enter a timer or counter, you must enter a beginning address for these three
words (registers). Do not use consecutive registers for the 3-word timer/counter blocks.
Timers and counters will not work if you place the current value of a block on top of the
preset for the previous block.
Figure 331
The control word stores the state of the Boolean inputs and outputs of its associated
function block in the following format:
Figure 332
Bits 0 through 11 are used for timer accuracy; not for counters.
If the Preset Value (PV) is not a constant, PV is normally set to a different location than the
second word. Some applications use the second word address for the PV, such as using
%R0102 when the bottom data block starts at %R0101. It is then possible to change the
Preset Value while the timer or counter is running. The first (CV) and third (Control) words
can be read but should not be written, or the function will not work.
Instruction Set Reference 489
User Manual Chapter 23
GFK-1645M Dec 2019
When this function first receives power flow, it starts accumulating time (current value).
When this timer is encountered in the ladder logic, its current value is updated.
Figure 333
When the current value equals or exceeds the preset value PV, output Q is energized. As
long as the timer continues to receive power flow, it continues accumulating until the
maximum value is reached. Once the maximum value is reached, it is retained, and output
Q remains energized regardless of the state of the enable input.
If multiple occurrences of the same timer with the same reference address are enabled
during a CPU sweep, the current values of the timers will be the same.
Figure 334
Example
In the example, a retentive On-Delay Timer is used to create a signal (%Q0011) that turns on
8.0 seconds after %Q0010 turns on, and turns off when %Q0010 turns off.
Figure 335
Figure 336
When the On-Delay Timer function receives power flow, the timer starts accumulating time
(current value). The current value is updated when it is encountered in the logic to reflect
the total elapsed time the timer has been enabled since it was last reset.
If multiple occurrences of the same timer with the same reference address are enabled
during a CPU sweep, the current values of the timers will be the same.
This update occurs as long as the enabling logic remains ON. When the current value equals
or exceeds the preset value PV, the function begins passing power flow to the right. The
timer continues accumulating time until the maximum value is reached. When the enabling
parameter transitions from ON to OFF, the timer stops accumulating time, and the current
value is reset to zero.
Figure 337
B. Current value reaches preset value PV; Q goes high, and timer continues
accumulating time.
C. ENABLE goes low; Q goes low; timer stops accumulating time and current time is
cleared.
E. ENABLE goes low before current value reaches preset value PV; Q remains low;
timer stops accumulating time and is cleared to zero (CV=0).
Example
In the example, a delay timer (with address) TMRID is used to control the length of time that
coil is on. This coil has been assigned the Nickname DWELL. When the normally open
(momentary) contact with the Nickname DO_DWL is on, coil DWELL is energized.
The contact of coil DWELL keeps coil DWELL energized (when contact DO_DWL is released),
and also starts the timer TMRID. When TMRID reaches its preset value of one-half second,
coil REL energizes, interrupting the latched-on condition of coil DWELL. The contact DWELL
interrupts power flow to TMRID, resetting its current value and de-energizing coil REL. The
circuit is then ready for another momentary activation of contact DO_DWL.
Figure 338
Figure 339
When the Off-Delay Timer first receives power flow, it passes power to the right, and the
current value (CV) is set to zero. The function uses word 1 as its CV storage location. The
output remains on as long as the function receives power flow. If the function stops
receiving power flow from the left, it continues to pass power to the right, and the timer
starts accumulating time in the current value.
If multiple occurrences of the same timer with the same reference address are enabled
during a CPU sweep, the current values of the timers will be the same.
The Off-Delay Timer does not pass power flow if the preset value is zero or negative.
Each time the function is invoked with the enabling logic set to OFF, the current value is
updated to reflect the elapsed time since the timer was turned off. When the current value
(CV) is equal to the preset value (PV), the function stops passing power flow to the right.
Instruction Set Reference 494
User Manual Chapter 23
GFK-1645M Dec 2019
When that occurs, the timer stops accumulating. When the function receives power flow
again, the current value resets to zero.
When the Off-Delay Timer is used in a program block that is not called every sweep, the
timer accumulates time between calls to the program block unless it is reset. This means
that it functions like a timer operating in a program with a much slower sweep than the
timer in the main program block. For program blocks that are inactive for a long time, the
timer should be programmed to allow for this catch-up feature. For example, if a timer in a
program block is reset and the program block is not called (is inactive) for four minutes,
when the program block is called, four minutes of time will already have accumulated. This
time is applied to the timer when enabled, unless the timer is first reset.
Example
In the example, an Off-Delay Timer is used to turn off an output (%Q00001) whenever an
input (%I00001) turns on. The output is turned on again 0.3 seconds after the input goes
off.
Figure 340
Figure 341
Figure 342
Figure 343
The current value of the Down Counter is retentive on power failure; no automatic
initialization occurs at power-up.
Figure 344
Example 1
In the example, the down counter identified as COUNTP counts 500 new parts before
energizing output %Q0005.
Figure 345
Example 2
The following example shows how the PLC can keep track of the number of parts in a
temporary storage area. It uses an up/down counter pair with a shared register for the
accumulated or current value. When parts enter the storage area, the up counter increases
the current value of the parts in storage by 1. When a part leaves the storage area, the down
counter decrements by 1, decreasing the inventory storage value by 1. The two counters
use different register addresses. When a register counts, its current value must be moved
to the current value register of the other counter.
Figure 346
See the pages on Math functions for an example of using the Addition and Subtraction
functions to provide storage tracking.
Function # Description
1 Change/Read Constant Sweep Timer
2 Read Window Times
3 Change Programmer Communications Window Mode and Time
4 Change System Communications Window Mode and Time
5 reserved
6 Change/Read Number of Words to Checksum
7 Change/Read Time-of-Day Clock
8 Reset Watchdog Timer
9 Read Sweep Time from Beginning of Sweep
10 Read Folder Name
11 Read PLC ID
12 reserved
13 Shut Down the PLC
14 Clear Fault Tables
15 Read Last-Logged Fault Table Entry
16 Read Elapsed Time Clock
17 reserved
18 Read I/O Override Status
19-22 reserved
23 Read Master Checksum
26, 30 Interrogate I/O
27, 28 reserved
29 Read Elapsed Power Down Time
31-33 reserved
34 Enter Analog Calibration mode
35 Execute Analog Calibration
36-51 reserved
52 Read from Flash
53 Write to Flash
53-255 reserved
Figure 347
When the SVCREQ receives power flow, the PLC is requested to perform the function
number (FNC) indicated. Parameters for the function are located beginning at the reference
given for PARM. This is the beginning of the “parameter block" for the function. The number
of 16-bit references required depends on the SVCREQ function being used.
Parameter blocks may be used as both inputs for the function and the location where data
may be output after the function executes. Therefore, data returned by the function is
accessed at the same location specified for PARM.
The SVCREQ function passes power flow unless an incorrect function number, incorrect
parameters, or out-of-range references are specified. Specific SVCREQ functions have
additional causes for failure.
Figure 348
address 0
address + 1 ignored
address 1
address + 1 0 or timer value
Note: If the timer should use a new value, enter it in the second word. If the timer value should not be
changed, enter 0 in the second word. If the timer value does not already exist, entering 0 causes
the function to set the OK output to OFF.
address 2
address + 1 new timer value
address 3
address + 1 ignored
0 = disabled
address 1 = enabled
address + 1 current timer value
Example of SVCREQ 1
In this example, if contact OV_SWP is set, the Constant Sweep Timer is read, the timer is
increased by two milliseconds, and the new timer value is provided to the CPU. The
parameter block is in local memory at location %R0050. Because the MOVE and ADD
functions require three horizontal contact positions, the example logic uses discrete
internal coil %M00001 as a temporary location to hold the successful result of the first rung
line. On any sweep in which OV_SWP is not set, %M00001 is turned off.
Figure 349
All parameters are output parameters. It is not necessary to enter values in the parameter
block to program this function.
Example of SVCREQ 2
In the following example, when enabling output %Q00102 is set, the Micro PLC CPU places
the current time values of the windows in the parameter block starting at location %R0010.
Figure 350
SVCREQ 3 passes power flow to the right unless a mode other than 0 (Limited) or 2 (Run-to-
Completion) is selected.
Example of SVCREQ 3
In the following example, when enabling input %I006 goes ON, the programmer
communications window is enabled and assigned a value of 6ms. The parameter block is in
reference memory location %R0051.
Figure 351
SVCREQ 4 passes power flow to the right unless a mode other than 0 (Limited) or 2 (Run-to-
Completion) is selected.
Example of SVCREQ 4
In the following example, when enabling input %I0003 is ON the system communications
window is changed to Run-to-Completion mode. The parameter block is at location
%R0025.
Figure 352
The function returns the current word count in the second word of the parameter block.
address 0
address + 1 current word count
To change the word count, the first word of the parameter block must contain a one:
The PLC will change the number of words to be checksummed to the new value.
Example of SVCREQ 6
In the example, when enabling contact FST_SCN is set, the parameter blocks for the
checksum function are built. Later in the program, if input %I0137 turns on, the SVCREQ
reads the number of words being checksummed. The parameter block for the Read function
is located at %R0150-151. The ADD function adds 32 to the current word count in %R0151
and places the result in %R0153. The parameter block for the Change function is located at
%R00152-153. The second SVCREQ then changes to the new word count specified in
%R0153.
Figure 353
Words 3 to the end of the parameter block contain output data returned by a read function,
or new data being supplied by a change function. In both cases, format of these data words
is the same. When reading the date and time, words (address + 2) to the end of the
parameter block are ignored on input.
Example of SVCREQ 7
In the example, when called for by previous logic, a parameter block for the time-of-day
clock is built. It requests the current date and time, then sets the clock to 12 noon using BCD
format. The parameter block is located at location %R0300. Array NOON has been set up
elsewhere in the program to contain the values 12, 0, and 0. (Array NOON must also contain
the data at %R0300.) BCD format requires six contiguous memory locations for the
parameter block.
Figure 354
CAUTION
Be sure that resetting the watchdog timer does not adversely affect the controlled process.
Example of SVCREQ 8
In this example, power flow through enabling output %Q0027 or input %I1476 or internal
coil %M00010 causes the watchdog timer to be reset.
Figure 355
Example of SVCREQ 9
In the following example, the elapsed time from the start of the sweep is always read into
location %R0200. If it is greater than 100ms, internal coil %M0200 is turned on.
Figure 356
Example of SVCREQ 10
In this example, when enabling input %I0301 goes OFF, register location %R0099 is loaded
with the value 10, which is the function code for the Read Folder Name function. The
Program Block READ_ID is then called to retrieve the folder name. The parameter block is
located at address %R0100.
Figure 357
Example of SVCREQ 11
In this example, when enabling input %I0302 goes OFF, register location %R0099 is loaded
with the value 11, which is the function code for the Read PLC ID function. The program
block READ_ID is then called to retrieve the ID. The parameter block is located at address
%R0100.
Figure 358
Example of SVCREQ 13
In the example, when %T0001 is set SVCREQ 13 executes. The PARM input is not used.
This example uses a JUMP to the end of the program to force a shutdown if the Shutdown
PLC function executes successfully. This JUMP and LABEL are needed because the transition
to Stop mode does not occur until the end of the sweep in which the function executes.
Figure 359
Example of SVCREQ 14
In the example, when input %I0346 is on and input %I0349 is on, the PLC fault table is
cleared. When input %I0347 is on and input %I0349 is on, the I/O fault table is cleared. When
input %I0348 is on and input %I0349 is on, both are cleared. A positive transition coil should
be used to trigger SVCREQ14.
The parameter block for the PLC fault table is located at %R0500; for the I/O fault table the
parameter block is located at %R0550. Both parameter blocks are set up elsewhere in the
program.
Figure 360
The format of the output parameter block depends on whether the function reads data from
the PLC fault table or the I/O fault table.
PLC Fault Table Output Format I/O Fault Table Output Format
High Byte Low Byte High Byte Low Byte
0 1
spare long/short address + 1 memory type long/short
spare spare address + 2 offset
slot rack address + 3 slot rack
task address + 4 block bus
fault action fault group address + 5 point
error code address + 6 fault action fault group
fault specific data address + 7 fault type fault category
address + 8 fault specific data fault description
to
address + 18
minutes seconds address + 19 minutes seconds
day of month hour address + 20 day of month hour
Long/Short Value
The first byte of word address +1 contains a number that indicates the length of the fault-
specific data in the fault entry. These possible values are:
Example of SVCREQ 15
When inputs %I0250 and %I0251 are both on, the first Move function places a zero (read PLC
fault table) into the parameter block for SVCREQ 15. When input %I0250 is on and input
%I0251 is off, the Move instruction instead places a one (read I/O fault table) in the SVCREQ
parameter block. The parameter block is located at location %R0600.
Figure 361
The first two words are the elapsed time in seconds. The last word is the number of 100 µs
ticks in the current second.
Example of SVCREQ 16
In the example, when internal coil %M0233 is on, the SVCREQ with a parameter block
located at %R0127 reads the system's elapsed time clock and sets internal coil %M0234.
When coil %M0233 is off, the SVCREQ with a parameter block at %R0131 reads the elapsed
time clock again.
The subtraction function finds the difference between the first and second readings, which
have been stored in the SVCREQ parameter blocks. The subtraction ignores the hundred
microsecond ticks.
The difference between the two readings is placed in memory location %R0250.
Figure 362
Example of SVCREQ 18
The following SVCREQ reads the status of I/O overrides memory into location %R1003. The
equality function checks %R1003 to see if it is equal to (the constant) 1. If it is, the equality
function turns on output %T0001.
Figure 363
The first two items in the output parameter block indicate when the program and
configuration checksums are valid. (Program checksums may not be valid during a Run
Mode Store.)
Example of SVCREQ 23
In the example, when input %I0251 is ON, the master checksum information is placed into
the parameter block at %R0050 and the output coil (%Q0001) is turned on.
Figure 364
The more configuration faults there are, the longer it takes these SVCREQs longer to
execute.
These SVCREQs have no parameter block. They always output power flow.
Example of SVCREQ 26
In the example, when input %I0251 is ON, the SVCREQ checks the installed modules and
compares them to the software configuration. Output %Q0001 is turned on after the
SVCREQ is complete.
Figure 365
The first two words are the power-down elapsed time in seconds. The last word is always 0.
Example of SVCREQ 29
In the example, when input %I0251 is ON, the Elapsed Power-Down Time is placed into the
parameter block that starts at %R0050. The output coil (%Q0001) is turned on.
Figure 366
SVCREQ 34 places the Micro PLC in calibration mode. When SVCREQ 34 is executed, the PLC
uses default gain and offset so that you can start the calibration process. No parameter
block is needed with SVCREQ 34.
Note: This calibration procedure applies to analog channels on 23-point Micro PLCs only. Software
calibration of Analog Expansions and Nano PLCs is not available.
Example of SVCREQ 34
In the following example, when enabling input %I0251 goes ON, the analog calibration
defaults are restored and output coil %Q0001 is turned on.
Figure 367
SVCREQ 35 uses an input parameter block containing the new calibration data and control
data. Contents of the parameter block are shown on the next page. When the SVCREQ is
successfully completed, the new calibration values take effect.
After the SVCREQ function executes, the PLC returns the function status and the number of
tries available to the 2 words of the output parameter block.
Example of SVCREQ 35
In the example, when contact %I0003 is on, the SVCREQ with a parameter block located at
%R0127 stores the analog calibration to the memory type specified in the parameter block
and sets coil %Q00234.
Figure 368
address Status
address + 1 Number of tries available
Parameter Definitions
Password (address and address +1) must be CALB. If an invalid password is provided, the
service request returns error 3 in the status word.
Destination Control (at address +2), determines whether to write the constants in flash or
in RAM. You can select the RAM option (0) and calibrate as many times as necessary without
burning the calibration constants into the flash memory. When you are satisfied with the
calibration, you can select the flash option (1) and finalize the calibration. When the flash
option is selected, the calibration data is copied into RAM as well as burned into flash
memory. It is important to issue a SVCREQ with the flash option selected in the Destination
Control parameter field once the desired calibration state is reached. Otherwise, the new
calibration values will be lost when the unit is powered off.
Select Control (address +3). Allows you to calibrate a particular channel in a specific mode.
Four choices are allowed for each channel:
0: Last user calibration. The last calibration in flash is used for the channel and for the mode. (If
no user calibration exists, the last factory calibration is used.)
1: New. The PLC calculates new gain and offset using the values supplied in the next four words.
New calibration value will replace the value in the RAM or flash as determined by the
Destination Control field.
2: Default. If this option is specified, the default calibration value is used.
3: Factory. If this option is specified, the last factory calibration value is used.
Number of Tries Available (address +34). Indicates the number of tries remaining.
Service Request 52 reads Reference Variables that were previously written into flash
memory using Service Request 53 and stores the variables in CPU reference memory. Each
execution of Service Request 52 can read:
Example of SVCREQ 52
In this example, when enabling input %M0003 goes on, the Service Request reads the flash
memory location specified in the Parameter Block located at %R00040 and places the data
into the intended destination. It then sets coil %M0004.
Figure 369
Address Memory type (number) of the flash memory location of the first byte or word of data
to be read. Numbers are:
Memory Decimal Hex
%I (byte) 16 10
%Q (byte) 18 12
%T (byte) 20 14
%M (byte) 22 16
%G (byte) 56 38
%R (word) 8 08
%AI (word) 10 0A
%AQ (word) 12 0C
address + 1 Offset of the requested data within the memory type in flash memory
address + 2 Length of data to be read, 1 – 10 bytes or words.
address + 3 Memory type of the PLC reference memory type where the requested data should be
placed. See the numbers above.
address + 4 Offset to place the requested data within the requested memory type in PLC reference
memory.
address + 5 Memory type of the PLC reference memory type for the completion status.
See the numbers above. For example, %R1 = memory type 8.
address + 6 Offset in PLC Memory to write completion status (zero based).
For example, %R1 = offset 0.
Word 0
Hex Dec Status Definition
0x0001 1 Full Success All requested data was successfully read
0x0101 257 Partial Success Less than requested data length was read. Can occur
if all data requested was not present in flash.
0x0102 258 Insufficient Dest Mem Can occur if the PLC reference memory location
specified is not sufficient to store all the data read
from flash
0x0202 514 Invalid Length Length is beyond minimum 1 and maximum 10
0x0302 770 Source/Dest Wrong source or destination reference memory
Mem Wrong specified in the SVCREQ.
Word 1
Number of bytes read
Service Request 53 stores requested PLC reference data in flash memory. Each execution of
Service Request 53 can write:
Example of SVCREQ 53
In the example, when enabling input %M0003 goes on, the Service Request reads the PLC
memory location specified in the Parameter Block located at %R00040 and writes the data
to flash. It then sets coil %M0004.
Figure 370
Address Memory type (number) of the PLC memory location of the first byte or word of
data to be written. Numbers are:
Memory Decimal Hex
%I (byte) 16 10
%Q (byte) 18 12
%T (byte) 20 14
%M (byte) 22 16
%G (byte) 56 38
%R (word) 8 08
%AI (word) 10 0A
%AQ (word) 12 0C
address + 1 Offset of the requested data within the memory type in PLC memory
address + 2 Length of data to be read, 1 – 10 bytes or words.
address + 3 Memory type of the PLC reference memory type for the completion status. See
the numbers above. For example, %R1 = memory type 8.
address + 4 Offset in PLC Memory to write completion status (zero based).
For example, %R1 = offset 0.
Word 1
Hex Dec Status Definition
0x0001 1 Full Success All requested data was successfully written
0x0101 257 Partial Success Less than requested data length was written. Can
occur if some requested data is already in flash.
0x0102 258 Insufficient Flash memory area full, connect with the programmer
Destination Memory and write all data to flash in order to erase and store
latest values.
0x0202 514 Invalid Length Length is beyond minimum 1 and maximum 10
0x0302 770 Source/Dest Wrong source or destination reference memory
Mem Wrong specified in the SVCREQ.
Word 2
Number of bytes written
Word 3
Number of bytes remaining in flash
This chapter also contains instructions for using COMMREQs to configure the CPU serial
ports for SNP, RTU, or Serial I/O protocol.
At higher sweep times, serial communication throughput is less and response times are
larger. As a result of this, a communication request takes longer to complete.
The COMMREQ requires that all its command data be placed in the correct order (in a
command block) in PLC memory before it is executed. The COMMREQ should then be
executed by a contact of a one-shot coil to prevent sending the data multiple times. A series
of Block Move (BLKMV) commands should be used to move the words to create a command
block in the Register tables.
The COMMREQ function has three inputs and one output. When the function receives
power flow, a command block of data is sent to the specified module.
Figure 371
The Command Block contains the data to be communicated to the other device, plus
information related to the execution of the COMMREQ. The Command Block has the
following structure:
Figure 372
25.2.1 Timing
If a port configuration COMMREQ is sent to a serial port that currently has an SNP/SNPX
master (for example, the programmer) connected to it, the serial port configuration
specified by the COMMREQ does not take effect until the Micro PLC detects a loss of the
SNP/SNPX master. This occurs after the configured T3’ times out, once the master
disconnects. The COMMREQ status word for the port configuration COMMREQ is updated
as soon as the CPU verifies that the specified configuration is valid. That means a COMMREQ
Successful value may be returned by the Port Configuration COMMREQ before the specified
configuration is actually installed.
Note: For all Nano and Micro PLC CPUs, care must be taken setting timeouts and message lengths when
operating at 4800 bps or lower. Messages at this rate are longer in duration and may cause
various timeouts within a system. This can become worse on the Micro-64 CPU because the scan
times on this unit are typically slightly longer.
The programmer must use the same serial communications parameters (baud rate, parity,
stop bits, etc.) as the currently active RTU Slave protocol for it to be recognized.
When the Micro PLC recognizes the programmer, the Micro PLC removes the RTU Slave
protocol from the port and installs SNP Slave as the currently active protocol. The SNP ID,
modem turnaround time, and default idle time for this new SNP Slave session are obtained
from the configured Micro PLC settings, not the port 1 or port 2 configurations. Connection
should be established within 12 seconds. When the programmer connection has been
enabled, normal programmer communications can take place. (Failure of the programmer
to establish communications within 12-seconds is treated as a Loss of Programmer
Communications).
The programmer may send a new protocol via configuration or a Serial Port Setup
COMMREQ. (COMMREQs not supported by SNP Slave protocol are rejected). If a new
protocol is received, it will not take effect until the programmer is disconnected.
After the programmer is removed, there is a slight delay (equal to the configured SNP T3’
timeout) before the Micro PLC recognizes its absence. During this time, no messages are
processed on the port. The Micro PLC detects removal of the programmer as an SNP Slave
protocol timeout. Therefore, it is important to be careful when disabling timeouts used by
the SNP Slave protocol.
When the Micro PLC recognizes the disconnect, it reinstalls the RTU Slave protocol, unless a
new protocol has been received. In that case, the Micro PLC installs the new protocol
instead.
Note: If an RTU slave receives a message with length greater than 265 bytes it responds with an error
code 0x03 indicating "Invalid Data Field"
Example
1. Port 1 is running RTU Slave protocol at 9600 baud.
2. A programmer is attached to port 1. The programmer is using 9600 baud.
3. The Micro PLC installs SNP Slave on port 1 and the programmer communicates
normally.
4. The programmer stores a new configuration to port 1. The new configuration sets
the port for SNP Slave at 4800 baud (it will not take effect until the port loses
communications with the programmer).
5. When the Micro PLC loses communications with the programmer, the new
configuration takes effect.
17
The device identifier for SNP Slave ports is packed into words with the least significant character in the least significant byte of the word.
For example, if the first two characters are “A” and “B,” the Address + 18 will contain the hex value 4241.
Serial I/O, SNP & RTU Protocols 536
User Manual Chapter 25
GFK-1645M Dec 2019
18
Release 2.02 and later Micro PLC CPUs support Receive to Transmit Delay and RTS Drop Delay functionality for RTU and Serial IO through
the Serial Port Setup COMMREQ. Both of these optional parameters are described in Receive to Transmit Delay and RTS Drop Delay. When
configuring the protocol, these two optional parameters can be added to the port setup COMMREQ. The data block length (Address + 0)
for a COMMREQ that includes the Receive to Transmit Delay and RTS Drop Delay parameters should be 12H, not 10H. Either length (10H
or 12H) is valid for this COMMREQ.
Serial I/O, SNP & RTU Protocols 537
User Manual Chapter 25
GFK-1645M Dec 2019
When configuring the protocol, these two optional parameters can be added to the port
setup COMMREQ. The data block length (Address + 0) for a COMMREQ that includes the
Receive to Transmit Delay and RTS Drop Delay parameters should be 12H, not 10H. Either
length (10H or 12H) is valid for this COMMREQ.
Receive to transmit delay - This is the time interval that defines the end of each received
response message. It is measured from the end of the last received character. RTS is off and
the transmitter is silent during this interval. If a new query is ready for transmission, RTS is
asserted no earlier than the end of this interval.
Zero specifies the default, defined as 3.5 character times at the specified data rate,
assuming 11 bits per character.
Data Rate Default (10ms Units) Data Rate Default (10ms Units)
1200 322 19200 21
2400 161 38400 10
4800 80 57600 7
9600 40 115200 3
If the required delay is greater than the default value at the current data rate, increase the
specified value to required delay in 10ms units. If the required delay is less than the default
at the current data rate, no additional delay is necessary.
RTS Drop Delay -This is the time from the end of the last transmitted character to the time
when RTS is turned off (dropped). The RTS Drop Delay is also specified in 10ms units. The
receiver is disabled during transmission and remains disabled during the RTS drop delay
time.
Data Rate Default (10ms Units) Data Rate Default (10ms Units)
1200 92 19200 6
2400 46 38400 3
4800 23 57600 2
9600 12 115200 1
19
Release 2.02 and later Micro PLC CPUs support Receive to Transmit Delay and RTS Drop Delay functionality for RTU and Serial IO through
the Serial Port Setup COMMREQ. Both of these optional parameters are described in Receive to Transmit Delay and RTS Drop Delay. When
configuring the protocol, these two optional parameters can be added to the port setup COMMREQ. The data block length (Address + 0)
for a COMMREQ that includes the Receive to Transmit Delay and RTS Drop Delay parameters should be 12H, not 10H. Either length (10H
or 12H) is valid for this COMMREQ.
Serial I/O, SNP & RTU Protocols 539
User Manual Chapter 25
GFK-1645M Dec 2019
When using Serial, I/O protocol with a VersaMax Nano or 14 point Micro PLC, the user switch
must be configured. A Nano PLC requires an external switch connection. When a Nano PLC
or 14-Point Micro PLC is in Run mode, Serial I/O protocol is active; after a Run-to-Stop
transition, the Nano PLC or 14-Point Micro PLC automatically reverts to SNP. An SNP master
device (VersaPro, for instance) is not able to communicate with a Nano PLC or 14-Point
Micro PLC that is configured for Serial I/O when it is in Run mode.
Since the Serial I/O is completely driven by the application program, in STOP mode a port
configured as Serial I/O automatically reverts to SNP slave, to facilitate programmer
communication. Therefore, while in Stop mode, Serial I/O protocol is not active; it is only
active when the PLC is in Run mode.
The protocol can also be implemented from within a timed interrupt block. Whenever the
interrupt block executes, the status of the previous COMMREQ or the status of the port is
queried to determine if the last requested action is complete. It if is, a new port command
can be initiated with a COMMREQ function block.
25.3.1 Compatibility
The COMMREQ function blocks supported by Serial I/O are not supported by other currently
existing protocols (such as SNP slave, SNP master, and RTU slave). Errors are returned if they
are attempted for a port configured for one of those protocols
Major Error
Description
Code
1 (01h) Successful Completion (the expected completion value in the COMMREQ status word).
12 (0Ch) Local error —Error processing local command. Minor error code identifies the specific error.
1 (01h) Wait-type command is not permitted. Use No-Wait command.
2 (02h) COMMREQ command is not supported.
5 (05h) Error writing COMMREQ status word to PLC memory.
6 (06h) Invalid PLC memory type specified.
7 (07h) Invalid PLC memory offset specified.
8 (08h) Unable to access PLC memory.
12 (0Ch) COMMREQ data block length too small.
14 (0Eh) COMMREQ data is invalid.
13 (0Dh) Remote error — Error processing a remote command. Minor error code identifies the error.
2 (02h) Number of bytes to read exceeds input buffer size, or more than 250 bytes requested to be
written.
3 (03h) COMMREQ data block length is too small. String data is missing or incomplete.
4 (04h) Receive timeout awaiting serial reception of data
8 (08h) Unable to access PLC memory.
12 (0Ch) COMMREQ data block length too small.
48 (30h) Serial output timeout. The port was unable to transmit the string. (Could be missing CTS signal
when the serial port is configured to use hardware flow control.)
50 (32h) COMMREQ timeout. The COMMREQ did not complete within 20-second time limit.
14 (0Eh) Autodial Error — An error occurred while attempting to send a command string to an attached external
modem. The minor error code identifies the specific error.
2 (02h) The modem command string length exceeds end of reference memory type.
3 (03h) COMMREQ Data Block Length too small. Output command string data missing or incomplete.
4 (04h) Serial output timeout. The port was unable to transmit the modem autodial output.
5 (05h) Response was not received from modem. Check modem and cable.
6 (06h) Modem responded with BUSY. Modem is unable to complete the requested connection. The
remote modem is already in use; retry the connection request later.
7 (07h) Modem responded with NO CARRIER. Modem is unable to complete the requested connection.
Check the local and remote modems and the telephone line.
8 (08h) Modem responded with NO DIALTONE. Modem is unable to complete the requested connection.
Check the modem connections and the telephone line.
9 (09h) Modem responded with ERROR. Modem is unable to complete the requested command. Check
the modem command string and modem.
Major Error
Description
Code
10 (0Ah) Modem responded with RING; the modem is being called by another modem. Modem is unable
to complete the requested command. Retry the command later.
11 (0Bh) Unknown response from modem. Modem unable to complete the command. Check modem
command string and modem. Response should be CONNECT or OK.
50 (32h) COMMREQ timeout. The COMMREQ did not complete within 20 seconds.
• Local COMMREQs - do not receive or transmit data through the serial port.
— Initialize Port (4300)
— Set Up Input Buffer (4301)
— Flush Input buffer (4302)
— Read port status (4303)
— Write port control (4304)
— Cancel Operation (4399)
• Remote COMMREQs - receive and/or transmit data through the serial port.
— Autodial (4400)
— Write bytes (4401)
— Read bytes (4402)
— Read String (4403)
New COMMREQ
Currently- Autodial Write Initialize Set Up Flush Read Write Read Read Cancel Serial
pending (4400) bytes Port Input Input port port bytes String Operation Port
COMMREQs (4401) (4300) Buffer buffer status control (4402) (4403) (4399) Setup
(4301) (4302) (4303) (4304 (FFF0)
Write bytes
No No Yes Yes Yes Yes Yes Yes Yes Yes No
(4401)
Read bytes
No Yes Yes No No Yes Yes No No Yes No
(4402)
Read String
No Yes Yes No No Yes Yes No No Yes No
(4403)
Operating Notes
Note: COMMREQs that are cancelled due to this command executing do not have their respective
COMMREQ status words updated.
CAUTION
If this COMMREQ is sent when a Write Bytes (4401) COMMREQ is transmitting a string from
a serial port, transmission is halted. The position within the string where the transmission is
halted is indeterminate. In addition, the final character received by the device the Micro PLC
is sending to is also indeterminate.
If data is not retrieved from the buffer in a timely fashion, some characters may be lost.
Operating Notes
It is not possible to set the buffer length to zero. If zero is entered as the buffer length, the
buffer size will be set to the 2K bytes default.
1. A read request was initiated previously, and the required number of characters has
now been received or the specified time-out has elapsed.
2. A write request was initiated previously and transmission of the specified number of
characters is complete or a time-out has elapsed.
The status returned by the function indicates the event or events that have completed.
More than one condition can occur simultaneously, if both a read and a write were initiated
previously.
Port Status
The port status consists of a status word and the number of characters in the input buffer
that have not been retrieved by the application (characters which have been received and
are available).
Operating Note
For Micro PLC port 2 (RS-485), the RTS signal is also controlled by the transmit driver.
Therefore, control of RTS is dependent on the current state of the transmit driver. If the
transmit driver is not enabled, asserting RTS with the Write Port Control COMMREQ will not
cause RTS to be asserted on the serial line. The state of the transmit driver is controlled by
the protocol and is dependent on the current Duplex Mode of the port. For 2-wire and 4-
wire Duplex Mode, the transmit driver is only enabled during transmitting. Therefore, RTS
on the serial line will only be seen active on port 2 (configured for 2-wire or 4-wire Duplex
Mode) when data is being transmitted. For point-to-point Duplex Mode, the transmit driver
is always enabled. Therefore, in point-to-point Duplex Mode, RTS on the serial line will
always reflect what is chosen with the Write Port Control COMMREQ.
Operating Notes
This function does not update the status of words of the cancelled COMMREQs.
CAUTION
If this COMMREQ is sent in either Cancel All or Cancel Write mode when a Write Bytes (4401)
COMMREQ is transmitting a string from a serial port, transmission is halted. The position
within the string where the transmission is halted is indeterminate. In addition, the final
character received by the device the Micro PLC is sending to is also indeterminate.
To implement this feature, the port must be configured for Serial I/O.
For example, pager enunciation can be implemented by three commands, requiring three
COMMREQ command blocks:
Examples of commonly used command strings for Hayes-compatible modems are listed
below:
Up to 250 characters can be transmitted with a single invocation of this operation. The
status of the operation is not complete until all of the characters have been transmitted or
until a timeout occurs (for example, if hardware flow control is being used and the remote
device never enables the transmission).
Although printable ASCII characters are used in this example, there is no restriction on the
values of the characters that can be transmitted.
Operating Notes
Note: Specifying zero as the Transmit time-out sets the time-out value to the amount of time actually
needed to transmit the data, plus 4 seconds.
CAUTION
If an Initialize Port (4300) COMMEQ is sent or a Cancel Operation (4399) COMMREQ is sent
in either Cancel All or Cancel Write mode while this COMMREQ is transmitting a string from
a serial port, transmission is halted. The position within the string where the transmission
has halted is indeterminate. In addition, the final character received by the device the Micro
PLC is sending to is also indeterminate.
The function returns both the number of characters retrieved and the number of
unprocessed characters still in the input buffer. If zero characters of input are requested,
only the number of unprocessed characters in the input buffer is returned.
If insufficient characters are available to satisfy the request and a non-zero value is specified
for the number of characters to read, the status of the operation is not complete until either
sufficient characters have been received or the time-out interval expires. In either of those
conditions, the port status indicates the reason for completion of the read operation. The
status word is not updated until the read operation is complete (either due to timeout or
when all the data has been received).
If the time-out interval is set to zero, the COMMREQ remains pending until it has received
the requested amount of data, or until it is cancelled.
If this COMMREQ fails for any reason, no data is returned to the buffer. Any data that was
already in the buffer remains and can be retrieved with a subsequent read request.
Operating Note
If the input data memory type parameter is specified to be a word memory type and an
odd number of bytes are actually received, then the high byte of the last word to be
written with the received data is set to zero.
As data is received from the serial port it is placed in the internal input buffer. If the buffer
becomes full, then any additional data received from the serial port is discarded and the
Overflow Error bit in the Port Status word (See Read Port Status Function) is set.
The function returns both the number of characters retrieved and the number of
unprocessed characters still in the input buffer. If zero characters of input are requested,
only the number of unprocessed characters in the input buffer is returned.
If the terminating character is not in the input buffer, the status of the operation is not
complete until either the terminating character has been received or the time-out interval
expires. In either of those conditions, the port status indicates the reason for completion of
the read operation.
If the time-out interval is set to zero, the COMMREQ remains pending until it has received
the requested string, terminated by the specified end character.
If this COMMREQ fails for any reason, no data is returned to the buffer. Any data that was
already in the buffer remains and can be retrieved with a subsequent read request.
Operating Note
If the input data memory type parameter is specified to be a word memory type and an odd
number of bytes are actually received, then the high byte of the last word to be written with
the received data is set to zero.
As data is received from the serial port it is placed in the internal input buffer. If the buffer
becomes full, then any additional data received from the serial port is discarded and the
Overflow Error bit in the Port Status word (See Read Port Status Function) is set.
Example
The following Block Move will set up values to perform a serial I/O port configuration. In this
example, port 2 is being configured. The entries of the first Block Move set up the following:
IN1 Length of the data block, which is always16 for a configuration COMMREQ
IN4 Status word pointer offset; this number is zero based, so 0 points to %R1
IN7 Command Word; FFF0 hex is the command for serial port setup
Figure 373
%R1 is used as the status word for the COMMREQ. The following rung clears the word before
the COMMREQ is issued:
Figure 374
The following logic issues a COMMREQ for port 2. The SYSID is set to rack 0 slot 1. The TASK
ID of 20 defines port 2. The IN-parameter points to %AI1 which is where all the configuration
data was placed with the Block Move statements. If an error occurs, the bit COMMREQP1bad
(%T6) will be set.
Figure 375
The following rung sets the bit COMMREQ Complete (%T7), which keeps the COMMREQ
from being issued more than once and keeps the status from being overwritten.
Figure 376
Figure 377
The PID function does not pass power flow if there is an error in the configurable
parameters. It can be monitored using a temporary coil while modifying data.
As scaled 16 integer numbers, many parameters must be defined in either Process Variable
(PV) counts or units or Control Variable (CV) counts or units. For example, the Set Point (SP)
input must be scaled over the same range as the Process Variable as the PID block calculates
the error by subtracting these two inputs. The Process Variable and Control Variable Counts
may be –32000 or 0 to 32000 matching analog scaling or from 0 to 10000 to display
variables as 0.00% to 100.00%. The Process Variable and Control Variable Counts do not
have to have the same scaling, in which case there will be scale factors included in the PID
gains.
20
Incremented (UP parameter) or decremented (DN parameter) by one (1) per access of the PID function.
The PID block uses the CV Upper and CV Lower Clamp parameters to limit the CV output. If
a positive Minimum Slew Time is defined, it is used to limit the rate of change of the CV
output. If either the CV amplitude or rate limit is exceeded, the value stored in the integrator
is adjusted so that CV is at the limit. This anti-reset windup feature means that even if the
error tried to drive CV above (or below) the clamps for a long period of time, the CV output
will move off the clamp as soon as the error term changes sign.
This operation, with the Manual Command tracking CV in Automatic mode and setting CV
in Manual mode, provides a bumpless transfer between Automatic and Manual modes. The
CV Upper and Lower Clamps and the Minimum Slew Time still apply to the CV output in
Manual mode and the internal value stored in the integrator is updated. This means that if
you were to step the Manual Command in Manual mode, the CV output will not change any
faster than the Minimum Slew Time (Inverse) rate limit and will not go above or below the
CV Upper or CV Lower Clamp limits.
The longest possible interval between executions is 10.9 minutes. The PID function
compensates for the actual time elapsed since the last execution within 100µS.
The PID algorithm is solved only if the current Micro PLC elapsed time clock is at or later than
the last PID solution time plus the sample period. If the sample period is set to 0, the
function executes each time it is enabled; however, it is restricted to a minimum of 10 ms
as noted above.
The set point input must be scaled over the same range as process variable, because the PID
function calculates error by subtracting these two inputs. The process variable and control
variable counts do not have to use the same scaling. Either may be -32000 or 0 to 32000 to
match analog scaling, or from 0 to 10000 to display variables as 0.00% to 100.00%. If the
process and control variables do not use the same scaling, scale factors are included in the
PID gains.
Figure 378
The first 13 words of the parameter block must be specified before executing the PID
function. Zeros can be used for most default values. Once suitable PID values have been
chosen, they can be defined as constants in a BLKMOV so they can be changed by the
program as needed.
CAUTION
If you do not want this to happen, make sure
the Control Word is set to 0. If the low bit is 0,
the next 4 bits can be read to track the status
of the PID input contacts as long as the PID
Enable contact has power.
Error Term (in Normal Mode) = Set Point (SP) – Process Variable (PV)
Error Term (in Reverse Action Mode) = Process Variable (PV) – Set Point (SP)
by setting the Error Term (low bit 0 in the Config Word %Ref+12) to 1.
Derivative = ∆Error / Delta time (dt) = (Error – previous Error) / Delta time (dt)
where
Delta time (dt) = Current PLC elapsed time - PLC elapsed time at previous PID solution.
In Normal Mode (without Reverse-Action mode), this is equal to the change in the Error
term.
and has no effect on the output. However, Set Point changes can cause large changes in the
Derivative term and in the output.
dt = Current PLC Elapsed Time clock - PLC Elapsed Time Clock at Last PID
solution
Derivative = (Error - previous Error)/dt or
(PV - previous PV)/dt if 3rd bit of Config Word set to 1
The Independent term PID (PID_IND) algorithm calculates the output as:
where Kc is the controller gain, and Ti is the Integral time and Td is the Derivative time. The
advantage of ISA is that adjusting the Kc changes the contribution for the integral and
derivative terms as well as the proportional one, which may make loop tuning easier. If you
have PID gains in terms or Ti and Td, use
The CV Bias term above is an additive term separate from the PID components. It may be
required if you are using only Proportional Kp gain and you want the CV to be a non-zero
value when the PV equals the SP and the Error is 0. In this case, set the CV Bias to the desired
CV when the PV is at the SP. CV Bias can also be used for feed forward control where another
PID loop or control algorithm is used to adjust the CV output of this PID loop.
If an Integral Ki gain is used, the CV Bias would normally be 0 as the integrator acts as an
automatic bias. Just start up in Manual mode and use the Manual Command word (%Ref+13)
to set the integrator to the desired CV, then switch to Automatic mode. This also works if Ki
is 0, except the integrator will not be adjusted based on the Error after going into Automatic
mode.
Figure 379
The ISA Algorithm (PIDISA) is similar except the Kp gain is factored out of Ki and Kd so that
the integral gain is Kp * Ki and derivative gain is Kp * Kd. The Error sign, DerivAction and
Polarity are set by bits in the Config Word user parameter.
The CV output is then compared to the CV Upper and CV Lower Clamp values. If either limit
is exceeded, the CV output is set to the clamped value. If either rate or amplitude limits are
exceeded modifying CV, the internal integrator value is adjusted to match the limited value
to avoid reset windup.
Finally, the block checks the Output Polarity (2nd bit of the Config Word %Ref+12) and
changes the sign of the output if the bit is 1.
The Sample Period should be no bigger than the total time constant divided by 10 (or down
to 5, worst case). For example, if PV seems to reach about 2/3 of its final value in 2 seconds,
the Sample Period should be less than 0.2 seconds, or 0.4 seconds worst case. On the other
hand, the Sample Period should not be too small, such as less than the total time constant
divided by 1000, or the Ki * Error * dt term for the PID integrator will round down to 0. For
example, a very slow process that takes 10 hours or 36000 seconds to reach the 63% level
should have a Sample Period of 40 seconds or longer.
Unless the process is very fast, it is not usually necessary to use a Sample Period of 0 to solve
the PID algorithm every PID sweep. If many PID loops are used with a Sample Period greater
than the sweep time, there may be wide variations in PLC sweep time if many loops end up
solving the algorithm at the same time. The simple solution is to sequence a one or more 1
bits through an array of bits set to 0 that is being used to enable power flow to individual PID
blocks.
1. How big is the change in PV when we change CV by a fixed amount, or what is the
open loop gain?
2. How fast does the system respond, or how quickly does PV change after the CV
output is stepped?
Many processes can be approximated by a process gain, first or second order lag and a pure
time delay. In the frequency domain, the transfer function for a first order lag system with a
pure time delay is:
Plotting a step response at time t0 in the time domain provides an open loop unit reaction
curve:
Figure 380
The following process model parameters can be determined from the PV unit reaction
curve:
Usually the quickest way to measure these parameters is by putting the PID block in Manual
mode and making a small step in CV output, by changing the Manual Command %Ref+13,
and plotting the PV response over time. For slow processes, this can be done manually, but
for faster processes a chart recorder or computer graphic data logging package will help.
The CV step size should be large enough to cause an observable change in PV, but not so
large that it disrupts the process being measured. A good size may be from 2 to 10% of the
difference between the CV Upper and CV Lower Clamp values.
1. Set all the User Parameters to 0, then set the CV Upper and CV Lower Clamps to the
highest and lowest CV expected. Set the Sample Period to the estimated process
time constant (above)/10 to 100.
2. Put block in Manual mode and set Manual Command (%Ref+13) at different values
to check if CV can be moved to Upper and Lower Clamp. Record PV value at some
CV point and load it into SP.
3. Set a small gain, such as 100 * Maximum CV/Maximum PV, into Kp and turn off
Manual mode. Step SP by 2 to 10% of the Maximum PV range and observe PV
response. Increase Kp if PV step response is too slow or reduce Kp if PV overshoots
and oscillates without reaching a steady value.
4. Once a Kp is found, start increasing Ki to get overshooting that dampens out to a
steady value in 2 to 3 cycles. This may require reducing Kp. Also try different step
sizes and CV operating points.
5. After suitable Kp and Ki gains are found, try adding Kd to get quicker responses to
input changes providing it doesn't cause oscillations. Kd is often not needed and will
not work with noisy PV.
6. Check gains over different SP operating points and add Deadband and Minimum
Slew Time if needed. Some Reverse Acting processes may need setting Config Word
Error Sign or Polarity bits.
26.6.1 Setting Loop Gains Using the Ziegler and Nichols Tuning
Approach
Once the three process model parameters, K, Tp and Tc, are determined, they can be used
to estimate initial PID loop gains. The following approach provides good response to system
disturbances with gains producing an amplitude ratio of 1/4. The amplitude ratio is the ratio
of the second peak over the first peak in the closed loop response.
Kp = 2 * Tc/(3 * K * Tp)
Ki = Tc
Kd = Ki/4 if Derivative term is used
Once initial gains are determined, convert them to integers. Calculate the Process gain K as
a change in input PV Counts divided by the output step change in CV Counts and not in
process PV or CV engineering units. Specify all times in seconds. Once Kp, Ki and Kd are
determined, Kp and Kd can be multiplied by 100 and entered as integer while Ki can be
multiplied by 1000 and entered into the User Parameter %RefArray.
Figure 381
The block can be switched to Manual mode with %M1 so that the Manual Command, %R113,
can be adjusted. Bits %M4 or %M5 can be used to increase or decrease %R113 and the PID
CV and integrator by 1 every 100 ms solution. For faster manual operation, bits %M2 and
%M3 can be used to add or subtract the value in %R2 to/from %R113 every PLC sweep. The
%T1 output is on when the PID is OK.
PID Function 574
User Manual Chapter 27
GFK-1645M Dec 2019
This chapter describes the Logic-driven Write to Flash feature, and gives application
program examples.
If “Read from flash” is the configured choice, the CPU will read previously stored reference
tables from flash memory at power-up. In addition, Release 3.0 and later VersaMax Micro
PLCs (which includes all 20-, 40-, and 64-Point Micro PLCs) will also read from flash all data
that has been stored to flash using Service Request 53. This feature is called “Logic-drive
write to flash”.
The logic-driven flash data area is cleared using the programmer. When storing an
application to the PLC, if “Write All To Flash” is configured, all data that has been written to
flash using Service Request 53 is automatically deleted. The data area can also be cleared by
using the flash-EEPROM tab and selecting Write All Data to Flash. This option is not available
during Run mode due to the time required to erase flash.
• 1 to 10 words of %R, %AI, or %AQ reference data plus 6 bytes of command data. That
means a 1-word write to flash requires 8 bytes of flash memory, while a 10-word
write to flash requires 26 bytes of flash memory ((10 words X 2 bytes per word) + 6
bytes of command data).
• 1 to 10 bytes of %I, %Q, %M, %T, or %G reference data plus 6 bytes of command data.
A 1-byte write to flash requires 7 bytes of flash memory, while a 10-byte write to
flash occupies 16 bytes of flash memory.
Therefore, because each request requires 6 bytes of command data, the most efficient use
of flash is by transferring data in 10-word increments.
If a Logic Driven Userflash Full fault is logged in the PLC Fault Table, the PLC must be power
cycled.
After power-cycling the PLC, if another Logic Driven Userflash Full fault is logged, the
contents of flash memory must be completely erased by downloading new logic with ‘Write
All To Flash’ selected during download to PLC. After power-cycling the PLC, data can again
be stored in flash until the Logic Driven Userflash Full “fault is logged again.
The same configuration and application program must be stored on RAM and PLC flash to
use this feature. It should not be done with configuration stored with ‘Read from flash’ set
and ladder program on RAM. If the program on RAM calls Service Request 53 to store
reference memory on flash, then the PLC is power-cycled, if the configuration says to read
data from flash, the data will be read but the application program may not be the same one
that called Service Request 53.
Figure 382
Figure 383
Figure 384
Results of Example 3
In this example, the status words returned for Service Request begin at PLC reference
%G00321.
Figure 385
Example 4, Part 1
The first part of this example:
Writes %R0001 through %R0010 from PLC reference memory to flash. Return Write status
data to PLC references starting at %R0051.
Reads back %R0001 through %R0010 from flash into CPU references %R0061 through
%R0070. It returns status data into PLC references starting at %R0071.
Figure 386
• %R0051 shows the Write status as 1. That means all data was successfully written.
• %R0052 shows that 10 words of data have been written to flash.
• %R0053 shows the remaining available flash memory as 8158 bytes. Note: The
available memory will be 65518 for 14, 23, or 28-point Micro PLCs.
The Read status references are not shown here.
Figure 387
Example 4, Part 2
The next part of Example 4:
1. Writes the contents of PLC references %R0015 through %R0024 into flash. It returns
Write status data to PLC references starting at %R0081.
2. Reads flash references %R0015 through %R0024 into PLC references %R0091
through %R0100 and returns Read status information to PLC references starting at
%R0101.
Figure 388
Figure 389
Example 4, Part 3
This part of Example 4:
1. Writes PLC references %R0008 through %R0017 to flash and returns Write status
data to PLC references starting at %R0111. This single Service Request:
— Overwrites the values in %R0008 through %R0010 that were written in Example
4 Part 1.
— Writes new data into %R0011 through %R0014.
— Overwrites the values in %R0015 through %R0017 that were written in Example
4 Part 2.
2. Reads %R0008 through %R017 from flash into PLC references %R0121 through
%R0130 and returns Read status data to PLC references starting at %R0131.
Figure 390
• The value in status reference %R0111 is 257 (0x0101). That indicates partial success,
because not all 10 bytes of data were written to flash. Error 257 may occur if some
requested data is already stored in user flash, as was done in this example.
• %R0112 shows that only 7 words of data were stored, not the 10 words requested.
• %R0113 shows that the remaining available flash memory is 8112 bytes.
The Read status references start at %R0131:
Figure 391
Example 4, Part 4
This part of the example program logic:
1. Reads flash references %R0011 through %R0020 into PLC references %R0141
through %R0150 and returns Read status information to PLC memory starting at
%R0151.
2. Reads flash references %R0021 through %R0030 into PLC references %R0161
through %R0170 and returns Read status information to PLC memory starting at
%R0171.
Figure 392
• The value in Read status reference %R0151 is 1. The Read operation was successful.
• %R0152 shows that all 10 words of data were read into PLC memory.
• The value in Read status reference %R0171 is 257 (0x0101). That indicates partial
success, because not all 10 bytes of data were written to flash. That can occur if not
enough memory is available in the selected PLC reference area for the data that has
been read from flash.
• %R0172 shows that only 4 words of data were read.
Figure 393
• the value in the "enabled" column represents a range of typical contribution times
when the function block receives power flow during that sweep.
• the value in the "disabled" column represents the typical contribution time when the
function block is not receiving power flow during that sweep and/or there is power
flow to reset of the function block.
• All timing values represent typical execution time. Actual execution time may vary
with input and error conditions.
CPU Releases
3.8 3.0 2.0, 1.10 1.07 1.05 1.0
10-point Nano PLCs 1.4 ms/K 1.3 ms/K 1.3 ms/K N/A N/A 1.2 ms/K
14-point Micro PLCs 1.5 ms/K 1.1 ms/K 1.1 ms/K N/A N/A 1.0 ms/K
20-point Micro PLCs 1.7 ms/K N/A N/A N/A N/A N/A
23-point Micro PLCs 1.5 ms/K 1.1 ms/K 1.1 ms/K N/A N/A 1.0 ms/K
28-point Micro PLCs 1.5 ms/K 1.1 ms/K 1.1 ms/K N/A 1.0 ms/K 1.0 ms/K
40-point Micro PLCs 1.7 ms/K N/A N/A N/A N/A N/A
28-point Micro PLC
with ESCP 1.3 ms/K 1.0 ms/K 1.0 ms/K 1.0 ms/K N/A N/A
(IC200UDD120)
64-point Micro PLC 1.7 ms/K 1.7 ms/K N/A N/A N/A N/A
For each instance of a function block, the table shows typical execution times when the
function block is enabled (receiving power flow) or disabled (not receiving power flow).
Execution Time
(Range in µsec.)
20-/40-/64-Point
Group Function Size bytes Enabled Disabled
Timers Off Delay Timer 15 93 63
On Delay Timer 15 97 70
Elapsed Timer 15 70 51
Counters Up Counter 13 64 59
Down Counter 13 59 57
Math Addition (INT) 13 39 9
Addition (DINT) 19 52 9
Addition (REAL) 17 138 9
Subtraction (INT) 13 34 9
Subtraction (DINT) 19 40 9
Subtraction (REAL) 17 153 9
Multiplication (INT) 13 43 9
Multiplication (DINT) 13 33 9
Multiplication (REAL) 17 145 9
Division (INT) 13 58 9
Division (DINT) 19 43 9
Division (REAL) 17 237 9
Modulo Division (INT) 13 57 9
Modulo Division (DINT) 19 59 9
Square Root (INT) 10 55 9
Square Root (DINT) 13 46 9
Square Root (REAL) 11 557 9
Trigonometric SIN (REAL) 11 1534 9
COS (REAL) 11 1630 9
TAN (REAL) 11 2316 12
ASIN (REAL) 11 1638 9
ACOS (REAL) 11 1638 9
ATAN (REAL) 11 951 9
Logarithmic LOG (REAL) 11 1001 9
LN (REAL) 11 915 9
Execution Time
(Range in µsec.)
20-/40-/64-Point
Group Function Size bytes Enabled Disabled
Exponential Power of e 11 703 9
Power of X 11 368 9
Radian Conv Convert RAD to DEG 11 379 9
Convert DEG to RAD 17 79 9
Relational Equal (INT) 10 35 9
Equal (DINT 16 25 9
Equal (REAL) 14 40 9
Not Equal (INT) 10 22 9
Not Equal (DINT) 16 38 9
Not Equal (REAL) 14 46 9
Greater Than (INT) 10 31 9
Greater Than (DINT) 16 30 9
Greater Than (REAL) 14 41 10
Greater Than/Equal (INT) 10 22 9
Greater Than/Equal (DINT) 16 24 9
Greater Than/Equal (REAL) 14 36 9
Less Than (INT) 10 22 9
Less Than (DINT) 16 24 9
Less Than (REAL) 14 36 9
Less Than/Equal (INT) 10 21 9
Less Than/Equal (DINT) 16 24 9
Less Than/Equal (REAL) 14 40 9
Range (INT) 13 26 9
Range (DINT) 22 29 9
Range (WORD) 13 26 9
Bit Operation Logical AND 13 33 9
Logical OR 13 32 9
Logical Exclusive OR 13 33 9
Logical Invert, NOT 10 28 9
Shift Bit Left 16 204 10
Shift Bit Right 16 139 10
Rotate Bit Left 16 88 9
Rotate Bit Right 16 106 9
Bit Position 13 57 9
Bit Clear 13 57 9
Bit Test 13 35 9
Execution Time
(Range in µsec.)
20-/40-/64-Point
Group Function Size bytes Enabled Disabled
Bit Set 13 52 9
Mask Compare (WORD) 25 129 9
Mask Compare (DWORD) 25 113 9
Data Move Move (INT) 10 27 9
Move (BOOL) 13 62 9
Move (WORD) 10 26 9
Move (REAL) 13 41 9
Block Move (INT) 28 34 9
Block Move (WORD) 28 34 9
Block Move (REAL) 13 61 11
Block Clear (WORD) 11 59 9
Shift Register (BIT) 16 103 10
Shift Register (WORD) 16 85 10
Bit Sequencer 16 97 93
COMMREQ 13 1035 245
Table Array Move (INT) 22 83 9
Array Move(DINT) 22 71 9
Array Move (BOOL) 22 116 9
Array Move (BYTE) 22 77 9
Array Move (WORD) 22 83 9
Search Equal (INT) 19 70 9
Search Equal (DINT) 22 62 9
Search Equal (BYTE) 19 56 9
Search Equal (WORD) 19 70 9
Search Not Equal (INT) 19 61 9
Search Not Equal (DINT) 22 71 9
Search Not Equal (BYTE) 19 55 9
Search Not Equal (WORD) 19 68 9
Search Greater/Equal (INT) 19 65 9
Search Greater/Equal (DINT) 22 70 9
Search Greater/Equal (BYTE) 19 44 9
Search Greater/Equal (WORD) 19 61 9
Search Greater Than (INT) 19 82 9
Search Greater Than (DINT) 22 82 9
Search Greater Than (BYTE) 19 55 9
Search Greater Than (WORD) 19 70 9
Execution Time
(Range in µsec.)
20-/40-/64-Point
Group Function Size bytes Enabled Disabled
Search Less Than (INT) 19 66 9
Search Less Than (DINT) 22 78 9
Search Less Than (BYTE) 19 43 9
Search Less Than (WORD) 19 64 9
Search Less/Equal (INT) 19 64 9
Search Less/Equal (DINT) 22 60 9
Search Less/Equal (BYTE) 19 56 9
Search Less/Equal (WORD) 19 64 9
Conversion Convert INT to REAL 10 53 9
Convert REAL to INT 13 766 9
Convert DINT to REAL 13 45 9
Convert REAL to DINT 13 757 9
Convert WORD to REAL 10 35 9
Convert REAL to WORD 13 757 9
Convert BDC to INT 10 40 9
Convert INT to BCD 10 109 9
Convert BCD to REAL 10 47 9
Truncate to INT 13 175 9
Truncate to DINT 13 156 9
Control Call a Subroutine 7 36 7
Do I/O 13 275 9
Service Request #6 10 90 9
Service Request #7 Read 10 426 9
Service Request #7 Write 10 1012 9
Service Request #9 10 145 9
Service Request #14 10 315 9
Service Request #15 10 25 9
Service Request #16 10 162 9
Service Request #18 10 81 9
Service Request #23 10 316 9
Service Request #26, #30 10 510 9
Service Request #29 10 92 9
Service Request #34 10 11 9
Service Request #35 10 19 17
Service Request #52 10 420 9
Service Request #53 10 1082 9
Execution Time
(Range in µsec.)
20-/40-/64-Point
Group Function Size bytes Enabled Disabled
Nested MCR/ENDMCR 4 5 5
PID-ISA Algorithm 16 236 59
PID-IND Algorithm 16 236 59
Communication MODBUS_TCP_RW 21
41 214 40
For each instance of a function block, the table shows typical execution times when the
function block is enabled (receiving power flow) or disabled (not receiving power flow).
21
For the MODBUS_TCP_RW function block, time between Execute ON to busy ON is 720 µSec.
For each instance of a function block, the table shows typical execution times when the
function block is enabled (receiving power flow) or disabled (not receiving power flow).
For each instance of a function block, the table shows typical execution times when the
function block is enabled (receiving power flow) or disabled (not receiving power flow).
22
Not applicable for 14-Point CPUs.
The following table details function block timing for a Release 1.1, 28-Point Micro PLC CPU
with ESCP, model IC200UDD120. For each instance of a function block, the table shows
typical execution times when the function block is enabled (receiving power flow) or
disabled (not receiving power flow).
Operating Differences: Lists ways in which the VersaMax Nano and Micro PLCs operate
differently than earlier PLCs.
Program Functions Supported: This section compares the program functions supported by
VersaMax Nano PLCs and Micro PLCs with functions supported by Series 90 Micro PLCs.
Program References: Compares the program references used by VersaMax and Series 90
Micro PLCs.
— VersaMax Nano/Micro PLCs output for PTO are on Q1, Q2, Q3, and Q5. While
the Series 90 Micro PLCs output PTO on Q1, Q3, Q5. Wiring changes will be
required when a VersaMax Nano/Micro is used to replace a Series 90 PLC.
— The PTO #4 Complete bit is I511 and Start is Q511.
— For VersaMax Micro PLCs and Nano PLCs, the High-Speed Counter PWM and
PTO features use different %AQ settings than in the Series 90 Micro PLC. A
Series 90 Micro PLC folder containing these features will not function properly
if converted directly to a VersaMax Micro PLC folder. The logic which calculates
the %AQ frequencies and/or duty cycles must be changed before being used on
a VersaMax Micro or Nano PLC. Series 90 Micro programs which used the PWM
and PTO features needed to calculate values to put into the %AQ registers,
based on the desired frequency and duty cycle. For the VersaMax Nano and
Micro PLCs, this calculation is not necessary; the frequency and duty cycle must
be input directly into the %AQ registers.
— Frequency limits for the VersaMax HSC/Pulse outputs have been improved
HSC PTO/PWM
Frequency Limits Frequency Limits
Series 90 Micro 19Hz – 5kHz 19Hz - 2kHz
VersaMax
Nano 15Hz – 10kHz 15Hz - 5kHz
Micro 14- point / 28- point 15Hz – 10kHz 15Hz - 5kHz
Micro 20-, 40-, and 64-point 15Hz – 100kHz 15Hz - 65kHz
— For VersaMax Nano and Micro PLCs, the frequency of Pulse Train outputs can
be changed while the Pulse Train is operating. This is different from the Series
90 Micro PLC, which continues at the previous frequency until the start of the
next Pulse Train.
— New COMMREQ for load correction value for pulse train outputs. Sets the
change (in µS) that should be applied to the duty cycle of a Pulse Train output
to compensate for the slow turn-off time of the optical isolator circuit (see
below). The range is 0 to 200µS.
35µS - DC outputs for Nano/ 14-point/ 28point;
02µS - DC outputs for Micro 64-point;
85µS relay outputs for Nano/ 14-point/ 28-point;
10µS relay outputs for micro 64-point.
If you don’t know the PWM frequency and duty cycle specified by the Series 90 Micro
application, you can calculate them from the %AQ reference values. See the formulas that
follow.
If you don’t know the pulse frequency specified by the Series 90 Micro application, you can
calculate them from the %AQ reference values .
VersaMax Series 90
Function
Nano PLC, Micro PLC Micro PLC
Division all all
Division, double precision all all
Division, Floating Point all not supported
Modulo Division all all
Modulo Division, double precision all all
Scaling all not supported
Square Root all all
Power of x all not supported
Power of e all not supported
Trigonometric sine all not supported
Trigonometric cosine all not supported
Trigonometric tangent all not supported
Inverse sine all not supported
Inverse cosine all not supported
Inverse tangent all not supported
Convert to Degrees all not supported
Convert to Radians all not supported
Logarithm, base 10 all not supported
Logarithm, natural all not supported
Square Root, double prec. all all
Relational
Equal all all
Not Equal all all
Less Than or Equal To all all
Greater Than or Equal To all all
Less Than all all
Greater Than all all
Equal, double precision all all
Not Equal, double precision all all
Less Than or Equal To, double precision all all
Greater Than or Equal To, double precision all all
Less Than, double precision all all
Greater Than, double precision all all
Range, signed integer all all
Range, double precision signed integer all all
Range, word all all
Range, double word all all
VersaMax Series 90
Function
Nano PLC, Micro PLC Micro PLC
Bit Operation
Bit Set all all
Logical AND all all
Bit Clear all all
Logical OR all all
Bit Test all all
Logical Exclusive OR all all
Bit Position all all
Logical Invert all all
Shift Left all all
Shift Right all all
Rotate Left all all
Rotate Right all all
Masked Compare, word all all
Masked Compare, double word all all
Data Move
Multiple Integer Move all all
Constant Block Move, Integer all all
Multiple Bit Move all all
Multiple Word Move all all
Constant Block Move all all
Block Clear all all
Shift Register Word all all
Shift Register Bit all all
Bit Sequencer all all
Communication Request all all
Table Functions
Search equal to all all
Search not equal to all all
Search less than all all
Search less than or equal to all all
Search greater than all all
Search greater than or equal to all all
Array move all all
Conversion
Integer to BCD all all
BCD to integer all all
VersaMax Series 90
Function
Nano PLC, Micro PLC Micro PLC
Control
Comment all all
End all all
no operation all all
Nested Jump all not supported
Non-Nested Jump not supported All
Nested master control relay all not supported
Target number for jump all all
Nested endmcr all not supported
Master Control Relay (non-nested) not supported all
End Master Control Relay (non-nested) not supported all
Do I/O update all Rel. 3.00
PID-ISA algorithm all all
PID-IND algorithm all all
Service Request all all
Drum Sequencer all all
Communication
Modbus_TCP_RW Micro 20, 40, 64 not supported
Rel. 3.83 and later
Motion
Find Home Micro 20, 40, 64 not supported
Rel. 3.60 and later
Go Home Micro 20, 40, 64 not supported
Rel. 3.60 and later
Jogging Micro 20, 40, 64 not supported
Rel. 3.60 and later
Blending Micro 20, 40, 64 not supported
Rel. 3.60 and later
Stop Motion Micro 20, 40, 64 not supported
Rel. 3.60 and later
The High Capacity battery (IC200ACC414) is provided with a special battery holder that is
compatible with all 20-, 23-, 28-, 40- and 64-point VersaMax Micro PLCs.
23
Units with serial number prior to 07000069274 (manufactured before November 2002)
24
Units with serial number after 07000069274 (manufactured after November 2002)
In this example, a machine sits at the OEM facility for 30 days with the battery attached to
the Micro PLC CPU, prior to shipment to the end user. No power is applied.
After the machine is shipped and installed, the end user maintains power on the machine
24 hours a day but shuts down the machine during the weekends.
D-1 IC200ACC450
Input Simulator for DC-powered VersaMax
Nano PLCs
The six-position DC input simulator connects directly to the input terminals on a VersaMax
Nano PLC. An external connection for the 12Vdc or 24Vdc is required.
Figure 394
D-1.1 Compatibility
Input Simulator IC200ACC450 is compatible with any DC input VersaMax Nano PLC. The
input simulator is not to be used with AC Inputs.
D-2 IC200ACC451
Input Simulator for DC-powered VersaMax
Micro PLCs and Expansion Units
The eight position DC input simulator connects directly to the input terminals of a VersaMax
Micro PLC or Expansion Unit. The connection takes advantage of the 24Vdc provided by the
Micro PLC or Expansion Unit; no external wiring is required.
Figure 395
D-2.1 Compatibility
Input Simulator IC200ACC451 is compatible with any VersaMax DC input:
E-1 125Vac
Figure 396
E-2 250Vac
Figure 397
E-3 30Vdc
Figure 398
Note: If the product is purchased through an Authorized Channel Partner, please contact the seller directly for any support.
Emerson reserves the right to modify or improve the designs or specifications of the products mentioned in this manual at any time without
notice. Emerson does not assume responsibility for the selection, use or maintenance of any product. Responsibility for proper selection, use
and maintenance of any Emerson product remains solely with the purchaser.