Emerson PAC Machine Software v10 Maual PDF
Emerson PAC Machine Software v10 Maual PDF
Emerson PAC Machine Software v10 Maual PDF
GFK-1918U
Apr 2022
Contents
Section 1: Welcome ............................................................... 1
1.1 Processor Speed and Memory .............................................................................. 3
1.2 VMWare Support ................................................................................................. 3
1.3 Installation .......................................................................................................... 4
1.3.1 To Install Logic Developer – PLC ................................................................ 4
1.3.2 Microsoft Visual C++ ................................................................................. 5
1.4 Product Authorization ......................................................................................... 5
1.4.1 Automatic License Activation .................................................................... 5
1.4.2 License Report........................................................................................... 6
Contents 5
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
Contents 6
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
Contents 7
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
4.4.5 To Create a Project Containing a Remote I/O Target from a Template ..... 38
4.4.6 To Add a Remote I/O target to an Existing Project .................................... 39
4.4.7 To Replace the Power Supply in your Remote I/O Configuration .............. 40
To Add a New Carrier/Base to Your VersaMax Remote I/O ................................. 41
To Add a Module to a Carrier/Base .................................................................... 41
Contents 8
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
Contents 9
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
Contents 10
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
Contents 11
Logic Developer PLC – PAC Machine Edition Contents
GFK-1918U Apr 2022
Contents 12
Logic Developer PLC – PAC Machine Edition Warnings and Cautions
GFK-1918U Apr 2022
WARNING
Warning notices are used in this publication to emphasize that hazardous voltages, currents, temperatures, or other
conditions that could cause personal injury exist in this equipment or may be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used.
CAUTION
Caution notices are used where equipment might be damaged if care is not taken.
Note: 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 a particular purpose.
Section 1: Welcome
Congratulations on your purchase of PAC Machine Edition, PAC Machine Edition is the single toolchain
to program, configure, and maintain the entire PACSystems automation portfolio including HMIs, PLCs,
VFDs, servos, and edge devices. Providing programmers with access to widely used IEC 61131 and C
languages, as well as the superior integration of PROFINET I/O, PAC Machine Edition 10 delivers a
modern, advanced development environment that helps close the loop between information and
automation. PAC Machine Edition has four product offerings: ProPlus, Professional, Lite, and
QuickPanel CE Development Suites.
Catalog
Product Types Features
Identifier
PC Control Development
PACSystems RX3i & RX7i
PC Control Runtime
View Development
700
(standard)
ProPlus
Development 1500 (O), MEMBPP001
Suite 8000 (O),
35000 (O)
700
(standard)
Professional
Development O 1500 (O), MEMBP001
Suite 8000 (O),
35000 (O)
Lite Development
None MEMBL001
Suite
QuickPanel
Development None MECSCEMK
Suite
Welcome 1
Logic Developer PLC – PAC Machine Edition Section 1
GFK-1918U Apr 2022
PAC Machine Edition provides a way to configure your Controller hardware or remote I/O, create
and edit logic, upload and download projects, and monitor and debug the execution of control
programs. Projects can be imported from Logicmaster™, VersaPro™, and Control folders.
The Machine Edition environment unites and organizes components, providing data sharing and
networked operation.
The following features are included in the product type of PAC Machine Edition that you purchased.
Targets that can be configured are dependent on the product type where ProPlus includes all
features and QuickPanel CE includes the least.
• Logic Developer - PLC
• Hardware Configuration
• LD Editor
• FBD Editor
• IL Editor
• ST Editor
• C Blocks
• C Programs
• DLBs
• PACMotion
• Motion Editor
• Local Logic Editor
• CAM Editor
The remainder of the Getting Starting Guide will focus on the Logic Developer – PLC.
To use Logic Developer - PLC and its tools, you require the following minimum requirements:
• 64-bit Variations Only: Windows Server 2016, Windows Server 2019, Windows 10, and
Windows 11.
• Must be part of the Administrators group.
• Windows regional settings must be set to English.
Welcome 2
Logic Developer PLC – PAC Machine Edition Section 1
GFK-1918U Apr 2022
CAUTION
After powering down the guest operating system (O/S) of a VMware virtual machine, configure the number of
cores to use for that virtual machine: match or come as close as possible to the number of cores in your
computer's processor. You cannot configure the number of cores for a virtual machine if its guest O/S is
running or paused.
The APM Motion Programmer does not function if PAC Machine Edition is executed from within VMware.
Welcome 3
Logic Developer PLC – PAC Machine Edition Section 1
GFK-1918U Apr 2022
Other Requirements
• Internet Explorer 10.0, 9.0, or 8.0; with current updates.
• You must install Internet Explorer before installing Machine Edition.
• TCP/IP network protocol (if you use an Ethernet connection).
• .NET Framework 4.5 Full. If the Microsoft .NET Framework is not yet installed, it is
automatically included during the installation of Machine Edition, and a reboot may be
required to complete the installation.
• 2 GB hard disk space. Additional space is required for your projects and temporary files.
1.3 Installation
If you have a previous version of Machine Edition installed on your computer, you must uninstall it
before installing the latest version. All your existing projects, settings, and authorizations are
preserved following an uninstall operation.
For the latest information, release notes, and supported hardware lists for Machine Edition
products, see the Important Product Information (IPI) document on the disk image. There are
several ways to view this document:
• When running Machine Edition, the IPI is accessed by clicking the Product Information
button located in the Help menu.
Figure 1: Important Product Information (IPI)
• Alternatively, IPIs can be downloaded from our knowledge base at the following URL:
https://emerson-mas.force.com/communities/CC_Home
Welcome 4
Logic Developer PLC – PAC Machine Edition Section 1
GFK-1918U Apr 2022
During or following the trial period of PAC Machine Edition, customers can select the Activate a License
button (located under the Help menu) (Figure 2) to initialize the License Activation screen from the
Entitlement and License Manager and follow the activation wizard’s prompts. This section will
demonstrate how to license PME from within the application.
Alternatively, customers can open Entitlement and License Manager directly and activate their copy of
PAC Machine Edition. For more information on using Entitlement and License Manager, please refer to
the Entitlement and License Manager User Manual (GFK-3104).
Activate License: Launches the License and Entitlement Manager. (If not installed, the software will
prompt users to install the manager.)
Remove License: Launches the License and Entitlement Manager. (If not installed, the software will
prompt users to install the manager.)
Reload License: Reloads a license from the license manager service running on the machine. If you
update your license with the License and Entitlement Manager, then reloading will retrieve the latest
license changes that were made to your license.
Welcome 5
Logic Developer PLC – PAC Machine Edition Section 1
GFK-1918U Apr 2022
License Report: Displays a License Report for the local machine. (Instructions are in the next section.)
The following license report will display the software status on the local machine.
Figure 3: License Report
Welcome 6
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
Welcome 7
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
2. Select the appropriate option to open a project. The Open an Existing Project option is selected
by default
Notes: If the user selects either the Empty project option or the Machine Edition Template
option, the New Project dialog box appears and you can continue creating a new project.
3. If you select the Open an Existing Project option, select from the list the project wanted.
4. Optionally, select the Don’t show this dialog box on the startup option.
5. Click OK.
Your project opens in the Machine Edition environment.
2.2 Projects
The user can create and edit Machine Edition projects by using PAC View, Logic Developer - PC, and
Logic Developer - PLC. These products share Machine Edition tools to provide a high level of
integration between the various parts of the project.
The user can import folders created with Logicmaster, Control, or VersaPro.
With Logic Developer - PLC, you can build multiple projects to suit specific requirements.
Welcome 8
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
Welcome 9
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
Move the mouse over a docking marker to preview how the window would be docked when using
that marker. Release the mouse button while hovering over a marker to use that location.
Welcome 10
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
2.4 Variables
A variable is a named storage space for data. A variable name represents a memory location in the
target Controller. How the variable represents a memory location is determined by the value of the
variable’s Ref Address property. A variable's Ref Address property can be set to any of the following:
A reference address, for example,%R00001. This is the PACSystems Controller memory location
that contains the variable's value. This can be an I/O register or an internal memory register on the
Controller.
A blank. On a PACSystems, if you leave a variable's Ref Address property blank, the variable is a
symbolic variable. Machine Edition handles the mapping for you in a special portion of PACSystems
user memory space. On Series 90 and Versamax Controllers, you cannot leave the Ref Address
property blank.
An I/O variable address, for example%IX0.6.0.1. (PACSystems only.) This represents the
PACSystems Hardware Configuration terminal that contains an I/O variable's value. For example,
this can be a physical discrete or analog I/O point on a module or Genius device, a discrete or
analog status returned by the module, or global data.
A name. This makes the current variable an alias variable of the name. An alias variable will point to the
same memory location as the name. The following names may be valid:
4. The name of a parameterized LD block parameter (provided the alias variable is local to the same
block)
5. The name and index of an array element, for example, MyComplexArray[255,3]
6. The name of a structure element, for example, MyStructure.MyElement
7. The name of another variable that is not used as an alias variable.
Arrays and compound structure variables are supported by Machine Edition. Variable definitions
can be imported from and exported to a variety of file types. You can edit your variables in a
spreadsheet and then import them.
Variables used on PACSystems targets must be externally published to be viewed in PAC View.
Welcome 11
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
Variable names can range from 1 through 32 characters, begin with a letter or the $ character,
contain upper or lower case letters, use numbers between zero and nine, and use the
underscore character.
3. Select the target in which the variable will be used.
4. If the new variable is an array, select the Array check box and enter the size.
5. Click Ok.
The new variable appears in the list in the Variables tab.
First Method
1. In the Variables tab of the Navigator, right-click a variable and choose Properties.
2. In the inspector that appears, in the Ref Address field, enter a reference address to map the variable
or enter the name of another existing variable, a parameterized LD block parameter, an array
element, or a structural element to alias the variable.
3. Spell out the exact reference address, for example, %R00123 or 123R (in either case this maps the
variable to %R00123), or enter only the memory area, for example, %R. This maps the variable to
the next available address in that memory area. For example, if %R00122 is the last address used by
a 16-bit variable, entering %R maps the variable to%R00123.
4. Spell out the name of another variable, or of a parameterized LD block parameter, for example,
MyVarWithALongName, or ABC. Or provide the array’s name and the element’s number, for
example, MyArray[5]. Or provide the structure element’s name, for example,
MyStructure.MyElement.
Note: PACSystems only
5. If you leave the Ref Address property of a variable blank, the variable is a symbolic variable. You can
enter an I/O variable address to make the variable an I/O variable, but it is easier to map an I/O
variable in the terminals tab of a module.
Second Method
1. In the Variables tab of the Navigator, right-click a variable and choose Properties.
2. In the Inspector that appears, click the Ref Address field and then click the … button.
The reference Address Wizard appears.
Do one of the following:
a. Map a variable to Controller memory: From the Memory Area list, choose a region of
Controller memory. In the Index box, enter an index from the beginning of the region. Select
a bit reference. The Bit Reference box is available only if you are mapping a BOOL variable to
a 16-bit memory area on a PACSystems. Click OK.
- or -
b.Alias a variable: In the Variable Aliasing Filters section, select the appropriate check boxes
for the filters you want to use. In the Alias variable box, select what you want to alias the
Welcome 12
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
2.5 Options
The Options tab of the Navigator contains option and preference settings. Options are organized
into folders and pages. Click to expand or collapse folders. Examples:
Controller >General > Duplicate Addresses: Indicates whether to prevent, warn about, or ignore
mapping two variables of the same data size (1, 8, 16, 32, or 64 bits) and length (array size) to the
same reference address.
Controller >Hardware Configuration > New Reference Assignment: How default reference
addresses are assigned when modules are added to the Hardware Configuration.
Editors >Ladder >View > Coil Justification: The default column in which coils are placed; also the
column where the right power rail resides. The default is 10.
Machine Edition >Preferences > Visual Style: The visual style used for the Machine Edition
environment, including the appearance of toolbars, tool windows, and menus. Options include
Blue, Light, Dark, Windows 10 (Light), and Windows 10 (Dark).
Tip: When you click an option, the Companion automatically displays help on that option. If the
Companion is not already open, press Shift +F11 to open it.
Figure 8: Reset
Tip: To reset only one option, look up its default value in the Companion and set the option to that
value.
Welcome 13
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
2. Click an item in Machine Edition located outside the Companion panel. A description of the item
you clicked appears in the Companion.
• Table of Contents
• Index
• Full-Search Engine
• Toolbar for Navigating the Help System
InfoViewer help is context-sensitive. Click an item on the screen and press F1 to display the
appropriate topic in the InfoViewer.
Welcome 14
Logic Developer PLC – PAC Machine Edition Section 2
GFK-1918U Apr 2022
Welcome 15
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
Depending on the product type (ProPlus, Pro, Lite, or QuickPanel) your license will allow you to add entitled targets and
configure them in your project.
Welcome 16
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
Documentation
Enter the URL where your project documentation is stored.
Address
Controller Target
The name of the target is stored on the Controller.
Name
Update Rate (ms) Set the rate at which the screen is updated while online to the target.
The sweep time of the Controller when online. This value is also
Sweep Time (ms)
displayed on the status bar. (Read-only.)
Hardware Configuration 17
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
Other properties are available depending on the value of the Family property and the CPU model.
Hardware Configuration 18
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
CAUTION
The capabilities of a destination target may be different from those of the original target. Carefully
examine the conversion report when it is available. Validate the project and test it thoroughly before
deploying it in production.
Hardware Configuration 19
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
a. For a PACSystems RXi, expand the PACSystems RXi node, and double-click the Ethernet
node, or
b. For a PACSystems Rx3i, expand the main rack, double-click every IC695ETM001 Ethernet
module, and repeat step c for each one of them.
c. In the Settings tab that appears in the Parameter editor, set the IP Address, the Subnet
Mask, and the Gateway UP Address.
2. Right-click the target and choose Properties. The Inspector displays the target’s properties.
Hardware Configuration 20
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
error warning in your project. Tips showing you how to proceed are displayed in the Companion.
To open the Companion press SHIFT +F11.
You can be online to only one target at a time. When a target is offline, its icon is grey.
2. If the name of the target you want to go online to does not appear in bold characters, right-
click the target and choose Set as Active Target.
Hardware Configuration 21
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
Upload/Download
The download process builds and validates all run-time files necessary for a target to perform its role in
a completed project. The compiled project is then transferred to the target hardware over the
communication connection previously configured.
The upload process acquires a project from the active PACSystems controller target and transfers it to
the Logic Developer – PLC for editing.
Hardware Configuration 22
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
For each target that you download, Machine Edition performs a validation. Any errors that
occur are displayed in the Build tab of the Feedback Zone. If there are no errors, Machine
Edition builds and sends all the necessary run-time files to the Controller.
2. In the Project tab of the Navigator, right-click the target Controller from which you want to
upload information and choose Upload from Controller.
The Upload from controller dialog box appears, displaying these or other options.
3. Choose the item(s) you want to upload and click OK.
The selected items are uploaded to Logic Developer - PLC. If you already had a version of the
project open, the uploaded project merges with the existing project. Because variable names
are not stored on Series 90 or VersaMax Controllers, if you upload to an empty target, all
variables are assigned default names. For example, %R00001 is named R00001.
Run/Stop
When you are online in programmer mode, you can set a target Emerson control to Run or Stop
mode. In Stop mode, you can choose to enable or disable the outputs.
Alternatively:
1. Click Stop on the target bar.
Hardware Configuration 23
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
A new reference View Table with a default name is added to the folder.
The Reference View Table appears in the main Machine Edition window.
2. Add reference addresses to the table as required.
Note: You cannot add reference addresses to a default RVT.
3. Format the table entries as desired.
Hardware Configuration 24
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
3.4.14 Reports
Reports provide summaries and tales of information about your project. Most reports are displayed in
the InfoViewer. The Reports tab of the FeedbackZone contains a list of all reports generated since the
last Machine Edition project was opened. The following table shows the types of reports and logic
printouts available in Logic Developer – PLC.
CAM Profile Report Modbus Address Report Local Logic Block ReportL
For example, if a variable's name appears hyperlinked in a report, clicking it selects that
variable in the Variables tab of the Navigator. Large reports are often separated into several
pages. To view a different page of the report, scroll to the bottom of the report in the
InfoViewer and click the number of the page you want to view.
Hardware Configuration 25
Logic Developer PLC – PAC Machine Edition Section 3
GFK-1918U Apr 2022
The Structured Text Blocks logic printout is automatically generated and displayed in the
InfoViewer.
Hardware Configuration 26
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Hardware Configuration 27
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
interchangeably in a Series 90-30 rack system or a PACSystems RX3i rack system. The only
hardware difference is their color.
When you configure a PACSystems RX3i rack system, you can selectIC693NNNnnn or
IC694NNNnnn racks or modules. When you configure a Series 90-30 rack system, however, you
can select only IC693NNNnnn racks or modules. Even if you are physically using IC694NNNnnn
racks or modules, selecting IC693NNNnnn racks or modules in Logic Developer - PLC is inadequate.
The PACSystems RX3i default main rack, IC695CHS012, has 13 slots: Slots 0 through 12. The
alternate main rack, IC695CHS016, contains 17 slots: Slots 0 through 16.
On either main rack, slot 0 is reserved for a power supply or the CPU, but the power supply or CPU
does not have to be in slot 0. The last slot is reserved for the Serial Bus Transmitter module
(IC695LRE001). The slot just before the last slot can contain any single-width module native to
PACSystems RX3i (IC695...)except the Serial Bus Transmitter. Any other slot can contain any single-
width module native to PACSystems RX3i (IC695...) except the Serial Bus Transmitter, and if the
next slot is empty, it can contain any supported double-width module.
The IC695PSA040 and IC695PSA140 power supplies and the CPU are two-slot modules. The
IC695PSD040 and IC695PSD140 power supplies are one-slot modules. PACSystems RX3i supports
many Series 90-30 modules: each one occupies a single slot.
Hardware Configuration 28
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Hardware Configuration 29
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
2. To move the module within a target: drag and drop the module onto an appropriate empty slot
without pressing any keys. The module is removed from the original slot and inserted into the
empty slot.
3. You can drag a double-width module to the main rack slot only if both the slot and the slot after it is
empty. Exceptions: The last slot on a PACSystems RX3i main rack can contain only an IC695LRE001.
5. In the Project tab of the Navigator, expand the Hardware Configuration and then the rack that
contains the module.
Hardware Configuration 30
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Hardware Configuration 31
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Note: When you enable I/O variables for a module, the Hardware Configuration and logic
become coupled. This means that they must be downloaded, uploaded, or cleared together.
You cannot change or add I/O variables in Run Mode Store.
Hardware Configuration 32
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
• Single Bus with Preferred Master (Series 90-70 CPUs CGR772 and CGR935 only): uses a
single Genius bus with one or more bus Controllers in each Controller. The primary unit is
always chosen as the active unit when the units initially synchronize.
Single Bus with Floating Master (PACSystems RX7i, PACSystems RX3i, and Series 90-70 ):
uses a single Genius bus with one or more bus Controllers in each Controller. No
switchover occurs on initial synchronization to make the primary unit the active unit.
• Dual Bus with Floating Master (RX7i, RX3i, and Series 90-70): uses dual busses with one or
more bus Controllers in each Controller. No switchover occurs on initial synchronization.
Bus Switching Modules (BSMs) are required for the configuration of a dual bus network.
This option provides redundancy for both the CPU and the Genius bus.
Hardware Configuration 33
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Hardware Configuration 34
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
4. PAC Machine Edition will configure the target with two HWCs, designating the first HWC as
Primary and the second HWC as Secondary.
Figure 10: Secondary
A secondary rack system that is a copy of the primary rack system is generated. The target now
displays two Hardware Configurations (HWCs), one labeled [Primary] and the other, [Secondary].
The Primary HWC is bolded because it is currently selected. The target property Dual HWC is now
set to True. To select which Controller to interact with, set the Selected HWC property, just below
the Dual HWC (Figure 12).
Hardware Configuration 35
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Note: You can mirror as many times as necessary to synchronize the two HWCs after modifying the
primary HWC. Each time you mirror the primary HWC, the secondary HWC is updated to reflect
those changes.
Hardware Configuration 36
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
3. Click OK. As per the example illustration, an IC693DSM314 is added to the Hardware
Configuration of your project.
Hardware Configuration 37
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Hardware Configuration 38
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
Hardware Configuration 39
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
2. Right-click the PWR slot and choose Replace Module. The Module Catalog dialog box appears
(Figure 17):
3. From the list, select the power supply that you want to configure for your system.
4. Click OK.
Hardware Configuration 40
Logic Developer PLC – PAC Machine Edition Section 4
GFK-1918U Apr 2022
2. Expand the Hardware Configuration node and the main rack. The navigator displays the following
(Figure 18):
3. Right-click the Slot 0 node and choose Add Carrier/Base. The Module Catalog dialog box
appears.
4. Select the carrier/base that you want to add to the remote I/O target.
Note: You can add a maximum of eight carrier modules to each VersaMax rack.
5. Click OK.
3. From the Module Catalog, select the module that you want to install.
4. Click OK.
Hardware Configuration 41
Logic Developer PLC – PAC Machine Edition Section 5
GFK-1918U Apr 2022
Each C program is a named section of executable code. The main program and the Motion
program contain blocks; that is, named sections of executable code that can be written in various
languages.
The Project tab of the Navigator contains all of the programs:
6. The main program and its blocks reside in the Program Blocks folder. You can create user-defined
subfolders to further organize these blocks.
7. C programs reside in the Logic folder.
8. The Motion program resides in the Motion Program folder.
5.1.2 C Programs
Series 90-70 CPUs firmware version 6.00 and later support either the main program, various C
programs, or a combination of a main program and C programs. You download these various
programs to the Controller together as logic; that is, after you initiate a download, a dialog box
presents you with three Download to RAM options and you select the Logic option.
If there is no _MAIN block, then there is no main program. In this case, you would have only one or
more C programs and possibly various standalone interrupt blocks (LD or C). These standalone
interrupt blocks do not constitute the main program if there is no _MAIN block.
A-C program can be named _MAIN only if the target contains no LD blocks.
A-C program is not the same as a C block.
1
PACSystems controllers can only support up to 512 subroutine blocks depending on the firmware version.
execution of any scan does not have to begin with the _MAIN block of the main program: you can
schedule any C program to begin the logic execution part of the scan. Within the main program,
you can further schedule individual interrupt blocks of logic (except the _MAIN block). If you have
no main program, that is, if your logic has no _MAIN block, you can still have stand-alone interrupt
blocks that you can schedule individually.
5.2 LD Editor
The Ladder Diagram (LD) editor is used to create programs with the Ladder Diagram programming
language. LD logic graphically represents the programmed actions performed by a Controller as it
executes.
The LD editor is cell-based with rungs constructed of horizontal sequences of instructions that are
wired together. A given instruction and its operands can occupy one or more cells.
You can work with the LD editor while offline to edit a disk copy of a project, or while online to
monitor the execution of the logic while you fine-tune the project.
You can customize the appearance and behavior of the LD editor by setting options.
An LD block is a named section of LD Logic that is compiled and downloaded to the Controller
represented by the associated target.
To Insert an Instruction
1. In the LD Editor, right-click an empty cell and choose Place Instruction.
3. In the Address property, enter a variable name or a reference address to specify the start of a
memory block used for the instance data of the function block instance.
Note: If you type a reference address, it is converted to a variable name automatically.
In the Length property, enter the number of bits or 16-bit registers on which the function block
instance or instruction is to operate.
Second Method
1. In the LD editor, insert a built-in function block or insert an instruction that requires a Length.
2. Double-click the function block instance or instruction or select it and press ENTER.
When you double-click a function block instance, the Function Block Properties dialog box
appears (Figure 25). When you double-click an instruction, the Function Properties dialog box
appears, in which the Address property is unavailable.
Figure 25: Function Block Properties
3. In the Address property, enter a variable name or a reference address to specify the start of a
memory block used for the instance data of the function block instance.
Note: If you type a reference address, it is converted to a variable name automatically.
4. In the Length property, enter the number of bit or 16-bit registers on which the function block
instance or instruction is to operate.
2. Type, or choose from the list, a variable name or reference address. If you enter a reference
address, a variable name is automatically substituted.
A horizontal wire was inserted in the first cell to make room for the ADD_DINT instruction’s
operands and the operands were inserted in their proper places. In the keyboard entry, “AD“ stood
for “ADD_DINT“, because ADD_DINT is the first available instruction that begins with “AD“ in the
smart list. A semicolon separates the ADD_DINT instructions. The required horizontal wires are
supplied automatically.
A powerful extension of typing logic into the LD editor is the ability to write LD logic in any text
editor and copy and paste it into the LD editor, or to copy and paste logic from the LD editor to a
text editor. You can copy an entire block of LD logic from the Navigator to any text editor, or copy
sections of LD logic as text from the LD editor to any text editor. You can then edit the logic in the
text editor and copy the edited logic back into the LD editor.
When LD logic is copied as text, a verbose format is used to make it easier to read, but when you
edit the logic as the text you can use the same shorthand used in the keyboard method of entering
LD logic in the LD editor.
To move it:
c. Accept the changes you tested and commit them to the PACSystems.
5.2.15 To Cancel the Test and Continue Editing the Logic While in Test
Edit Mode
1. Click Anywhere Inside the LD Editor
2. From the Debug menu, choose Cancel Test.
The modified logic block is deactivated in the PACSystems. The original block is activated
and executed. The modified logic block retains its changes in the LD editor and you can
continue editing it and test it again later.
5.2.16 To Cancel Test Edit Mode and Restore the Original Logic in the
PACSystems
1. Click anywhere inside the LD editor.
2. From the Debug menu, choose Cancel Edit. If you made no changes to logic, the Test Edit
session ends immediately. If you made any changes to logic, the Cancel Test Edit dialog box
appears.
3. In the Cancel Test Edit dialog box, select one of the following options and click OK.
4. Restore original logic in the editor and maintain equality: The PACSystems deactivates and deletes
the modified block of logic, and it activates and executes the original block. The LD editor discards
the modified logic from the block, retaining only the block's original logic. Your Test Edit session
ends.
You are online in programmer mode and logic is equal.
5. Keep modified logic in the editor and lose equality: The PACSystems deactivates and deletes the
modified block of logic, and it activates and executes the original block. The LD editor retains the
modified block of logic and no longer displays the original logic where it was different. Your Test
Edit
5.2.17 To Accept the Changes you Tested and Commit Them to the
PACSystems Controller
1. Click anywhere inside the LD editor.
2. From the Debug menu, choose Accept Edit. The modified logic is committed to the
PACSystems. The original logic is completely deleted from the PACSystems; it no longer
exists as an inactive block. The Test Edit session is ended. You are online in programmer
mode and logic is equal.
Word-for-Word Changes
A word-for-word is a small change in logic made while online that generally fits in the same amount
of memory as the original logic. For example, changing the type of contact or coil or changing an
operand is usually a word-for-word change.
Word-for-word changes can be completed online to PACSystems, Series 90- 70, Series 90-30,
VersaMax, and Series 90 Micro Controllers. (VersaMax Nano / Micro Controllers do not support
word-for-word changes.)
To make word-for-word changes
1. While online to a target Controller, make a change to LD logic that does not
change the logic size.
2. Do one of the following:
a. If the Logic Change Options dialog box appears, select Word-for-word change and click
OK.
- or -
b. If the Word for Word Change dialog box appears, click Yes. The change is downloaded to
the Controller.
LD Instructions
The following is a list of all LD instructions available in Logic Developer - PLC. Companion help
indicates which Controllers support the instructions.
ADVANCED MATH
ACOS ATAN_LREALP EXP LN REALP SIN TAN
P P P P P
ACOS_LREAL ATAN_REAL EXP_LREAL LN_REAL SIN_LREAL TAN_LREALP
ACOS_REAL P COS EXP_REAL P LOG SIN_REAL P TAN_REALP
ASIN COS_LREAL P EXPT LOG_LREAL P SQRT_DINT
ASIN_LREALP COS_REALP EXPT_LREALP LOG-REALP SQRT_INT
ASIN_REALP DEG_TO_RAD_LREADP EXPT_REALP RAD_TO_DEG_LREALP SQRT_LREALP
BIT OPERATIONS
AND_DWORD^ BIT_SET_DWORD^ NOT_WORD SHIFTL_DWORD^
AND_WORD BIT_SET_WORD OR_WORD^ SHIFTL_WORD
^ ^
BIT_CLR_DWORD BIT_TEST_DWORD OR_WORD SHIFTR_DWORD^
BIT_CLR_WORD BIT_TEST_WORD ROL_DWORD^ SHIFTR_WORD
^
BIT_POS_DWORD MASK_COMP_DWORD ROL_WORD XOR_DWORD^
BIT_POS_WORD MASK_COMP_WORD ROR_DWORD^ XOR_WORD
BIT_SEQ NOT_DWORD ROR_WORD
^
Indicates instructions shared by PACSystems and Series 90-70 Controllers and exclusive to them.
COILS
COIL NCCOIL NTCOIL PTCOIL SETCOIL
CONTCOIL NEGCOIL POSCOIL RESETCOIL
P
Indicates instructions exclusive to PACSystems Controllers.
COMMUNICATION
MODBUS_TCP_RW PNIO_DEV_COMM
CONTACTS
CONTCON HIALR ^ NCCON NOCON NTCON P
PTCON P FAULT ^ LOALR ^ NEGCON ^ NOFLT ^
POSCON ^
P
Indicates instructions exclusive to PACSystems Controllers.
^
Indicates instructions shared by PACSystems and Series 90-70 Controllers and exclusive to them.
CONTROL
DO_IO EXIT_FOR ^ MASK_IO_INTR R_TRIG p SUS_IO ^
SWITCH_POS p DRUM F_TRIG p PID_IND SCAN_SET_IO p
SUSP_IO_INTR END_FOR ^ FOR_LOOP ^ PID_ISA SER
SVC_REQ
P
Indicates instructions exclusive to PACSystems Controllers.
^
Indicates instructions shared by PACSystems and Series 90-70 Controllers and exclusive to them.
CONVERSIONS
BCD4_TO_INT DINT_TO_INT ^ INT_TO_UINT ^ REAL_TO_UINT ^ UNIT_TO_REAL ^
BCD4_TO_REAL DINT_TO_LREAL p LREAL_TO_DINT p REAL_TO_WORD WORD_TO_REAL
BCD4_TO_UINT ^ DINT_TO_REAL p LREAL_TO_REAL p TRUNC_DINT
BCD8_TO_DINT ^ DINT_TO_UINT RAD_TO_DEG TRUNC_INT
BCD8_TO_REAL^ INT_TO_BCD4 REAL_TO_DINT UINT_TO_BCD4^
DEG_TO_RAD INT_TO_DINT^ REAL_TO_INT UINT_TO_DINT^
DINT_TO_BCD8^ INT_TO_REAL REAL_TO_LREALp UINT_TO_INT^
COUNTERS
DNCTR UPCTR
DATA MOVE
ARRAY_SIZE p BUS_RMW_WORD p DATA_INIT_REAL ^ SHFT_DWORD ^
p ^
ARRAY_SIZE_DIM1 BUS_TS_BYTE DATA_INIT_WORD SHFR_WORD
ARRAY_SIZE_DIM2 p BUS_TS_WORD MOVE_BOOL SIZE_OF p
p
BLK_CLR_WORD BUS_WRT_BYTE MOVE_DATA SWAP_DWORD ^
^ p p
BLKMOV_DINT BUS_WRT_DWORD MOVE_DATA_EX SWAP_WORD ^
p
BLKMOV_DWORD BUS_WRT_WORD MOVE_DINT VME_CFG_READ 70
BLKMOV_INT COMM_REQ MOVE_DWORD VME_CFG_WRITE 70
^ p
BLKMOVE_REAL DATA_INIT_ASCII MOVE_FROM_FLAT VME_RD_BYTE 70
^ ^
BLKMOVE_UINT DATA_INIT_COMM MOVE_INT VME_RD_WORD 70
^ p
BLKMOVE_WORD DATA_INIT_DINT MOVE_LREAL VME_RMW_BYTE 70
BUS_RD_BYTE DATA_INIT_DLAN ^ MOVE_REAL VMW_RMW_WORD 70
BUS_RD_DWORD p DATA_INIT_DWORD ^ MOVE_TO_FLAT p WME_TS_BYTE 70
BUS_RD_WORD p DATA_INIT_INT ^ MOVE_UINT ^ VME_TS_WORD 70
BUS_RMW_BYTE p DATA_INIT_LREAL P MOVE_WORD VMW_WRT_BYTE 70
BUS_RMW_DWORD P DATA_INIT_UINT ^ SHFR_BIT VME_WRT_WORD 70
P
Indicates instructions exclusive to PACSystems Controllers
70
Indicates instructions exclusive to Series 90-70 Controllers
^
Indicates instructions shared by PACSystems and Series 90-70 Controllers and exclusive to them.
DATA TABLE
ARRAY_MOVE_BOOL FIFO_WRT_WORD ^ SEARCH_GE_UINT ^ SEARCH_NE_DINT
^
ARRAY_MOVE_BYTE LIFO_RD_DINT SEARCH_GE_WORD SEARCH_NE_DWORD ^
ARRAY_MOVE_DINT LIFO_RD_DWORD ^ SEARCH_GT_BYTE SEARCH_NE_INT
ARRAY_MOVE_DWORD ^ LIFO_RD_INT ^ SEARCH_GT_BYTE SEARCH_NE_INT
^
ARRAY_MOVE_INT LIFO_RD_UINT SEARCH_GT_DWORD SEARCH_NE_WORD ^
ARRAY_MOVE_UINT ^ LIFO_RD_WORD ^ SEARCH_GT_INT ^ SORT_INT ^
ARRAY_MOVE_WORD LIFO_WRT_DINT ^ SEARCH_GT_UINT ^ SORT_UINT ^
ARRAY_RANGE_DINT ^ LIFO_WRT_DWORD ^ SEARCH_GT_WORD SORT_WORD ^
ARRAY_RANGE_DWORD LIFE_WRT_INT ^ SEARCH_LE_BYTE TBL_RD_DINT ^
ARRAY_RANGE_INT ^ LIFO_WRT_UINT ^ SEARCH_LE_DINT TBL_RD_DWORD ^
^ ^ ^
ARRAY_RANGE_UINT LIFO_WRT_WORD SEARCH_LE_DWORD TBL_RD_INT ^
ARRAY_RANGE_ WORD ^ SEARCH_EQ_BYTE SEARCH_LE_WORD TBL_RD_UINT ^
FIFO_RD_DINT ^ SEARCH_EQ_DINT SEARCH_LE_WORD TBL_RD_WORD ^
FIFO_RD_DWORD ^ SEARCH_EQ_DWORD ^ SEARCH_LE_DWORD ^ TBL_WRT_DINT ^
FIFO_RD_INT ^ SEARCH_EQ_INT SEARCH_LT_BYTE TBL-WRT_DWORD ^
FIFO_RD_UINT ^ SEARCH_EQ_UINT ^ SEARCH_LT_DINT TBL_WRT_INT ^
FIFO_RD_WORD ^ SEARCH_EQ_WORD SEARCH_LT_DWORD ^ TBL_WRT_UINT ^
FIFO_WRT_DINT ^ SEARCH_GE_BYTE SEARCH_LT_INT TBL_WRT_WORD
FIFO_WRT_DWORD ^ SEARCH_GE_DINT SEARCH_LT_UINT ^
FIFO_WRT_INT ^ SEARCH_GE_DWORD ^ SEARCH_LT_WORD
^
FIFO_WRT_UINT SEARCH_GE_INT SEARCH-NE_BYTE
^
Indicates instructions shared by PACSystems and Series 90-70 Controllers and exclusive to them.
MATH
ABS_DINT ^ ADD_REAL DIV_UINT ^ MUL_MIXED ^ SUB_DINT
^ ^
ABS_INT ADD_UINT MOD_DINT MUL_REAL SUB_INT
^ ^
ABS_LREAL DIV_DINT MOD_INT MUL_UINT SUB_LREAL P
^ ^ P
ABS_REAL DIV_INT MOD_UINT SCALE_DINT SUB_REAL
P
ADD_DINT DIV_LREAL MUL_DINT SCALE_INT DUB_UINT ^
P
ADD_INT DIV_MIXED ^ MUL_INT SCALE_UINT
ADD_LREAL P DIV_REAL MUL_LREAL P SCALE_WORD P
You can customize the appearance and behavior of the FBD editor by setting options. An FBD block
is a named section of FBD Logic that is compiled and downloaded to the Controller represented by
the associated target.
Figure 27: FBD Editor
2. In the smart list that appears, enter or choose an existing variable, constant, or expression to
assign to the instruction parameter. In the FBD editor, the instruction may display as seen in
Figure 30:
Note: Inside the rectangle of the ADD instruction, the “1“ indicates the solve order of the
instruction. Under the variable myCounter, the “1“ is the initial value of myCounter.
After you have assigned the parameter, the instruction will appear in Figure 32:
Note: In the above diagram, “61“ is the initial value of myResult. “4“ inside the rectangle of the
FBD instruction.
Notes:
• The numbers “1“ and “2“ inside the rectangles have been reversed, indicating a change in the solve
order.
• The zeroes under the wire are the value that is traveling over the wire. It’s the same value at
both ends.
17. At least two instructions must exist in the FBD editor.
1. In the FBD editor, assign a BOOL parameter to a connection point of an FBD instruction that
requires a BOOL variable.
2. Right-click a BOOL variable assigned to a connection point, for example, in the diagram above,
BOOL1.
3. In the list box that appears, choose Negate. The diagram now appears as shown in Figure 37.
Figure 37: Assign a BOOL Parameter to a Connection Point
Note: Negating a BOOL parameter while online causes logic to be not equal; turning a BOOL
parameter ON/OFF while online does not affect logic equality.
To Move It
Click the selection and drag it to a new valid location. When you move instruction, the parameters,
and wires assigned to it move along with it.
To Duplicate It
Press CTRL while clicking the selection and drag the selection to where you want to place the
duplicate. When you release the mouse button, a duplicate copy of the selected instruction is
placed in the new area. When you duplicate an instruction, its parameters are also duplicated;
wires are not duplicated.
Note: Forcing a variable ON or OFF overrides any actions the logic may take during runtime. That is
if a variable is forced OFF (0), but FBD logic is trying to turn it ON (1), it stays OFF.
ADVANCED MATH
ABS ASIN COS EXPT LOG SQRT
ACOS ATAN EXP LN SIN TAN
BIT OPERATIONS
AND OR ROR SHIFTR
NOT ROL SHIFTL XOR
COMPARISON
CMO GE LE NE
EQ GT LT RANGE
COMMUNICATION
CONTROL
DO_IO MASK)IO_INTR PID_ISA SCAN_SET_IO SUSP_IO_INTR
F_TRIG PID_IND R_TRIG SUS_IO SVC_REQ
COUNTERS
DNCTR UPCTR
DATA MOVE
ARRAY_SIZE BUS_RMW_BYTE BUS_TS_WORD MOVE
ARRAY_SIZE_DIM1 BUS_RMW_DWORD BUS_WRT MOVE_DATA_EX
ARRAY_SIZE_DIM2 BUS_RMW_WORD COMM_REQ MOVE_TO_FLAT
BUS_RD BUS_TS_BYTE FANOUT SIZE_OF
MATH
ADD MOD NEG SUB
DIV MUL SCALE
PROGRAM FLOW
ARG_PRES CALL
TYPE CONVERSION
BCD4_TO_INT DINT_TO_DWORD INT_TO_DINT REAL_TO_DINT UINT_TO_DINT
BCD4_TO_REAL DINT_TO_INT INT_TO_REAL REAL_TO_INT UINT_TO_INT
BCD4_TO_UINT DINT_TO_LREAL INT_TO_UINT REAL_TO_LREAL UINT_TO_REAL
BCD8_TO_DINT DINT_TO_REAL INT_TO_WORD REAL_TO_UINT UINT_TO_WORD
BCD8_TO_REAL DINT_TO_UINT LREAL_TO_DINT TRUNC_DINT WORD_TO_INT
DEG_TO_RAD DWORD_TO_DINT LREAL_TO_REAL TRUNC_INT WORD_TO_UINT
DINT_TO_BCD8 INT_TO_BCD4 RAD_TO_DEG UINT_TO_BCD4
5.4 IL Editor
Instruction List (IL) is a programming language specified by the IEC 61131-3 standard. This text
language is accumulator-based and much like the assembly languages used for programming
microprocessors. The instructions executed by an IL block modify or use an accumulator that is
located in Controller memory. Two types of accumulators are defined: one analog accumulator for
numeric and
bitwise operations and eight Boolean accumulators for discrete logic to support eight levels of
nested Boolean expressions. The IL editor is free-form with an option to apply a standard
formatting rule. The appearance and behavior of the IL editor are user-configurable.
Note: Only Series 90-30, VersaMax Controllers, and VersaMax Nano/Micro support IL logic.
2. To move it, click the selection and drag it to a new location. To duplicate it, press CTRL while
clicking the selection, and drag the selection to where you want to place the duplicate.
3. When you release the mouse button, the selection is respectively moved to the new location,
or a duplicate copy of the selected logic is placed in the new area.
2. Type (* followed by comment text. A block comment can contain any number of characters
and can span multiple lines.
In the IL editor, right-click a BOOL variable and choose Force On, Force Off, or Toggle Force.
The state of a forced variable remains unchanged, regardless of any actions by Controller logic.
5.4.14 IL Instructions
The following is a list of all IL instructions available in Logic Developer - PLC.
Companion help indicates which Controllers support the instructions.
BASIC INSTRUCTIONS
ADD GT LT OR ST_DINT XOR
AND LD_BOOL MOD ORN ST_INT XORN
ANDN LD_ENO MUL PT ST_REAL
DIV LD_INT NE R ST_WORD
EQ LDN_BOOL NOT S STN_NOOL
GE LE NT ST_BOOL SUB
ADVANCED MATH
BIT OPERATIONS
AND-WORD BIT-SEQ MASK_COMP_DWORD OR_WORD SHIFTL_WORD
BIT_CLR_WORD BIT_SET_WORD MASK_COMP_WORD ROL_WORD SHIFTR_WORD
BIT_POS_WORD BIT_TEST_WORD NOT_WORD ROR_WORD XOR_WORD
COMMUNICATION
MODBUS_TCP_RW (VersaMax Micro CPUs with firmware version 4.00 or later)
CONTROL
DO_IO DRUM PID_IND PID_ISA SER SVC_REQ
CONVERSIONS
BCD4_TO_INT DIN_TO_REAL _RAD_TO_DEG REAL_TO_WORD WORD_TO_REAL
COUNTERS
DNCTR UPCTR
DATA MOVE
BLK_CLR_WORD BLKMOV_REAL COMM_REQ MOVE_BOOL MOVE_REAL
BLKMOVE_INT BLKMOV_WORD MOV_INT MOVE_WORD SHFT_WORD
DATA TABLE
ARRAY_MOVE_BOOL SEARCH_EQ_INT SEARCH_GR_DINT SEARCH_LT_BYTE
ARRAY_MOVE_BYTE SEARCH_EQ_WORD SEARCH_GT_INT SEARCH_LT_DINT
ARRAY_MOVE_DINT SEARCH_GE_BYTE SEARCH_GT_WORD SEARCH_LT_INT
ARRAY_MOVE_INT SEARCH_GE_DINT SEARCH_LE_BYTE SEARCH_LT_WORD
ARRAY_MOVE_WORD SEARCH_GE_INT SEARCH_LE_DINT SEARCH_NE_BYTE
SEARCH_EQ_BYTE SEARCH _GE_WORD SEARCH_LE_INT SEARCH_NE_DINT
SEARCH_EQ_DINT SEARCH_GT SEARCH_LE_WORD SEARCH_NEW_INT
SEARCH_NE_WORD
MATH
ADD_DINT DIV_DINT MOD_DINT MUL_DINT SCALE_WORD
ADD-INT DIV_INT MOD_INT MUL_REAL SUB_DINT
ADD_REAL DIV_REAL MUL_IN SCALE_INT SUB_INT
SUB_REAL
PROGRAM FLOW
CAL CALCN END_MCRN JMPC MCRN
RETC
RELATIONAL
EQ-DINT GE_DINT GT_DINT LE_Dint LT_DINT
NE_DINT RANGE_DINT EQ_INT GE_INT GT_INT
LE_INT LT_INT NE_INT RANGE_INT EQ_REAL
GE_REAL GT_REAL LE_REAL LT_REAL NE_REAL
RANGE_WORD
5.5 ST Editor
Structured Text logic is a programming language specified by the IEC 61131-3 standard. The
Structured Text (ST) Editor is a free-form text editor for editing Structured Text logic in the Machine
Edition environment. With the ST editor, you can work on a disk copy of a structured text block
(offline) or monitor the execution of an ST block running in the Controller (online). You can edit an
ST block online, but this causes the logic to become not equal until you download the ST block. ST
is a high-level language that uses various operators and functions. ST logic is supported by
PACSystems controllers.
NOTE: As of version 9.70, the ST Editor options have been added to customize the editor. The
Options are located under Editors > Structured Text.
2. Type, or choose from the list, the item you want, and then press ENTER. The variable or
keyword appears in the ST Editor.
Note:
• Constants must be manually entered.
• When entering an indirect reference as an operand, prefix the variable name with @ after selecting
it from the smart list, for example, @IntVar. Indirect referencing is available for all registered
references (%R, %P, %L, %W, %AI, and %AQ).
6. If the text refers to a parameter instead of a variable, and the block was opened from a CALL
instruction (in an LD, ST, or FBD block), then if possible, the parameter is associated with the
variable used in the call the block was opened from. In this case, the tooltip displays the parameter
name, address of the variable, description of the parameter, data type, and value of the variable.
7. If the text refers to a parameter instead of a variable, and the block was not opened from a CALL
instruction (in an LD, ST, or FBD block), then the tooltip displays the parameter name, description
of the parameter, and data type only.
In either case, if this is a forced BOOL variable, the tooltip also displays if the variable has been
forced On (1) or Off (0).
Note: The tooltip displays a variable’s current value only if logic is equal; the tooltip does not
display the current value if logic is not equal.
ADVANCED MATH
ACOS ATAN EXP LN SIN
SQRT_REAL ACOS_LREAL ATAN_LREAL EXP_LREAL SIN_LREAL
TANACOS_REAL ATAN_REAL EXP_REAL LN_REAL SIN_REAL
TAN_LREAL ASIN COS EXPT, “”, OR ^ LOG
SQRT_DINT TAN_REAL ASIN_LREAL COS_LREAL EXPT_REAL
LOG_LREAL SQRT_INT ASIN_REAL COS_REAL EXPT_LREAL
LOG_REAL SQRT_LREAL
BITWISE OPERATORS
AND NOTE OR XOR
COMMUNICATIONS
PNIO_DEV_COMM
CONTROL
DO_IO MASK_IO SCAN_SET SUSP_IO_INTR SWITCH_POS
F_TRIG R_TRIG SUS_IO SVC_REQ
CONVERSIONS
ANGLES BCD4 to INT, REAL to DINT, BCD8 to DINT TRUNC_DINT,
REAL, or UINT INT, LREAL, or or REAL TRUNC_INT
UINT
DINT to UINT to DWORD to WORD to INT INT to BCD4,
BCD8, BCD4, DINT, DINT or UINT DINT, REAL,
DWORD, INT, INT, REAL, or UINT, or
LREAL, REAL, WORD WORD
or UINT
DATA MOVE
ARRAY_SIZE ARRAY_SIZE_DIM2 MOVE_DATA_EX SIZE_OF ARRAY_SIZE_DIM1
COMM_REQ MOVE_TO_FLAT
PROGRAM FLOW
ARG_PRES
MATH FUNCTIONS
ABS_DINT ABS_LREAL SCALE_DINT SCALE_UINT ABS_INT
ABS_REAL SCALE_INT
MATH OPERATORS
+ (addition) - (subtraction) - (negation) * (multiplication) / (division)
Mod (modulo)
RELATIONAL OPERATORS
= (equal) >= (greater than or > (greater than) <= (less than or < (less than)
equal) equal)
<>, != (not equal)
5.5.20 C Blocks
A C block is an independent section of executable code written in the C programming language
that is downloaded to and executed on the target Controller. C blocks are created externally using
Emerson’s C Programming Toolkit and then imported into a project. A C block compiled for
PACSystems has a .gefelf extension. A C block compiled for Series 90-70 or Series 90-30 has a .exe
extension. C Blocks can be called as a subroutine from another block (LD, ST, FBD, or IL) but cannot
call another block.
Note: There are four different extensions for the C block depending on the target controller. For
more information on developing C Blocks, refer to C Programmer’s Toolkit for Series 90 Controllers
(GFK-0646) and PACSystems C Toolkit User’s Guide (GFK-2259). More information on C Block
extensions is also available in PME Help.
C Programs
Note: C programs are supported only on Series 90-70 CPUs, firmware release 6.00 and later.
A C program is an independent section of executable code, written in C language, that is
downloaded to and executed on the associated target Controller. To develop a C program, use
Emerson’s C Programmer's Toolkit for Series 90 Controllers User's Manual (GFK-0646). You then
import it into a project.
A C program has access to all the % reference tables of the Controller except for the _MAIN LD
block’s %P memory and the %L memory of any other LD block. A C program can also call any of the
numerous Controller-embedded functions that are included in the C Programmer’s Toolkit. A C
Software
In Machine Edition, the PROFINET devices connected to a PNC are shown as nodes under the PNC in
the Hardware Configuration of a PACSystems RXi or PACSystems RX3i target in a Machine Edition
project. The illustration on the next page highlights the target names and the PNCs.
Configuration Data
The data required to configure the PROFINET devices connected to the PROFINET Controller is
contained in GSDML files provided by the vendors by PROFINET standards.
Redundancy
PACSystems RX3i Controllers support Hot Standby CPU redundancy with PROFINET I/O. In that
setup, two RX3i Controllers are capable of controlling the same set of PROFINET devices. (For the
minimum PACSystems RX3i firmware version requirement, refer to online help.)
PROFINET Support 84
Logic Developer PLC – PAC Machine Edition Section 7
GFK-1918U Apr 2022
PROFINET Support 85
Logic Developer PLC – PAC Machine Edition Section 7
GFK-1918U Apr 2022
PROFINET Support 86
Logic Developer PLC – PAC Machine Edition Section 7
GFK-1918U Apr 2022
process: publish the authoritative information from all tools to the server, and have each tool read
the information it needs from the server and confirm to the server that it has received it.
PROFINET Support 87
Logic Developer PLC – PAC Machine Edition Section 7
GFK-1918U Apr 2022
PROFINET Support 88
Logic Developer PLC – PAC Machine Edition Section 7
GFK-1918U Apr 2022
PROFINET Support 89
Logic Developer PLC – PAC Machine Edition Section 7
GFK-1918U Apr 2022
If an error is found pertaining to a consumed exchange, you typically need to synchronize the
consumed exchange.
6. You have uploaded the Hardware Configuration and EGD configuration from the producer
Controller to your computer
7. You have converted the target that contains the producer
You have deleted the Ethernet Global Folder from the target that contains the producer and added
it again.
2. Validating the target that contains the producer updates the EGD Configuration Server with the
produced exchange that this consumed exchange consumes.
3. In the Project tab of the Navigator, expand the target.
4. Expand the Ethernet Global Data folder and then expand the Consumed Exchanges folder.
5. If you have changed the Local Producer ID property of the producer that the consumed
exchange consumes from, right-click the consumed exchange and choose Properties. Then, in
the Inspector, set the Producer ID property on the consumed exchange to the same value as
the new Local Producer ID.
6. In the Project tab of the Navigator, right-click the consumed exchange and choose Synchronize
to Server.
PROFINET Support 90
Logic Developer PLC – PAC Machine Edition Section 8
GFK-1918U Apr 2022
Section 8: PACMotion
(PACSystems RX3i with firmware version 5.60 or later.) The PACMotion Multi-axis Motion
controller (PMM) is a high-performance, easy-to-use servo motion control module that is closely
integrated with the PACSystems RX3i CPU logic solving and communications functions. This
versatile motion controller combines the benefits of highly integrated motion and machine logic
with the performance, flexibility, and scalability required for advanced machine automation. The
open programming environment simplifies motion and machine logic synchronization and enables
the real-time performance required for high-speed motion applications.
Expanding the PACMotion node reveals the following PACMotion components used with a
PACMotion Digital Motion Control Module (IC695PMM335):
• Cam Profile Library: This contains all of the PACMotion Cam profiles for this target, which cannot be
downloaded to a PACMotion module.
• Active Profiles: Contains all of the PACMotion Cam profile aliases for this target, which can be
downloaded to a PACMotion module.
• Data Logging Windows: This contains all of the Data Logging Windows for this target. Each window
is used to view and print graphs of the values of various IC695PMM335 parameters over time.
PACMotion function blocks and instructions controlling or interacting with a PMM module are
supported in LD, FBD, and ST logic. You can drag them into logic from the Toolchest LD
Instructions drawer (or FBD Instructions drawer)PACMotion folder.
The following can be used with PACMotion function blocks only:
• Enumerated data types: An enumerated variable stores a value belonging to an enumeration, list,
or set of possible values. The value of an enumerated variable can be selected from a drop-down
list in the Inspector.
8. Reference ID variables (RIVs): A variable of a reference ID data type is used to identify something on
which a PACMotion function block instance is used to operate.
9. This chapter outlines basic procedures that will get the user started in Logic Developer – PLC to
work with PACMotion.
PACMotion 91
Logic Developer PLC – PAC Machine Edition Section 8
GFK-1918U Apr 2022
PACMotion 92
Logic Developer PLC – PAC Machine Edition Section 8
GFK-1918U Apr 2022
2. In logic, create an instance of the MC_DL_ACTIVATE PACMotion function block. When the
Enable input to the instance is set to On, data logging occurs.
3. In logic, create an instance of the MC_DL_GET PACMotion function block.
When the instance executes, it writes the data logged to the *.dlog file specified by the
DataLogFile
In the Controller File Explorer window In the Select DLW to Load dialog box
A Data Logging Window (DLW) appears, in alphabetical order, under the Data Logging Windows
node with a default name that begins with “Sessions.” It contains the following nodes.
Views:
4. If you selected a .dlw file, this contains one or more views.
5. If you selected a .dlog or .csv file, there are no views. You need to add one.
Data Sources, whose child node contains the data snapshot contained in the .dlog, .dlw, or .csv file.
If the .csv file was exported from a data source, it is a complete snapshot. If it was exported from a
view, it
contains only the data required for the traces configured to appear in that view.
PACMotion 93
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
Motion Programming 94
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
Motion Programming 95
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
2. Select the appropriate command from the smart list and press enter. The command is placed in
the motion editor.
Motion Programming 96
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
The ACCEL statement sets the axis acceleration for subsequent moves
ACCEL and remains in effect in a given block unless changed. Note: If a move
instruction is executed before ACCEL, the tag Acceleration is used.
The CAM statement starts the CAM motion and specifies exit
CAM
conditions.
Motion Programming 97
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
Motion Programming 98
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
2. Select the desired command in the smart list and press ENTER
The command is inserted.
Note: You can drag variables from the Local Logic Variable Table (LLVT) to the Local Logic
editor.
Motion Programming 99
Logic Developer PLC – PAC Machine Edition Section 9
GFK-1918U Apr 2022
NAME Contains the variable name that is to be used within a Local Logic
block
TYPE The data type for this variable. For example, 32-bit means that
this variable is a 32-bit variable.
GROUP The group this variable is placed in. For example, Faceplate I/O
means that this variable refers to a point on the module faceplate.
BWOR IF *(multiply)
Technical Support
Americas
Phone: 1-888-565-4155
1-434-214-8532 (If toll-free option is unavailable)
Europe
Phone: +800-4444-8001
+420-225-379-328 (If toll-free option is unavailable)
+39-0362-228-5555 (from Italy - if toll-free 800 option is unavailable or dialing from a mobile telephone)
Asia
Phone: +86-400-842-8599
+65-6955-9413 (All other Countries)
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.
© 2022 Emerson. All rights reserved.
Emerson Terms and Conditions of Sale are available upon request. The Emerson logo is a trademark and service mark
of Emerson Electric Co. All other marks are the property of their respective owners.