Logic Master 9070
Logic Master 9070
Logic Master 9070
GE Fanuc Automation
Logicmaster 90-70
Programming Software
User’s Manual
GFK-0263G June 1998
GFL–002
Warnings, Cautions, and Notes
as Used in this Publication
Warning
Caution
Note
Notes merely call attention to information that is especially significant to
understanding and operating the equipment.
This document is based on information available at the time of its publication. While
efforts have been made to be accurate, the information contained herein does not
purport to cover all details or variations in hardware or software, nor to provide for
every possible contingency in connection with installation, operation, or maintenance.
Features may be described herein which are not present in all hardware and software
systems. GE Fanuc Automation assumes no obligation of notice to holders of this
document with respect to changes subsequently made.
GE Fanuc Automation makes no representation or warranty, expressed, implied, or
statutory with respect to, and assumes no responsibility for the accuracy, completeness,
sufficiency, or usefulness of the information contained herein. No warranties of
merchantability or fitness for purpose shall apply.
This programming software user’s manual describes the features that are used to create
ladder logic user programs for the Series 90-70 PLC. These features are available with
Release 7.02 of the Logicmaster 90-70 programming software.
Changes made to this manual reflect the features of Release 7 of Logicmaster 90-70
software for the Series 90-70 PLC. The Release 7 and later CPU and Logicmaster
software offer new capabilities and expanded functionality which we have documented
in this manual and the Series 90t-70 Programmable Controller Reference Manual
(GFK-0265G). CIMPLICITY Control 2.1 or later is required to take full advantage of
some of the new capabilities of the the Release 7 and later CPUs. Additionally,
corrections and clarifications have been made in this manual where necessary. The
following list describes the major revisions of this manual, as compared to the previous
version (GFK-0263F):
D New installation instructions for installing under Windowsr 95 or Windows NTr
beginning on page 2-4.
D If you have a C program but do not have the Toolkit on your PC or if you are putting
the standalone program into more than one folder, Logicmaster now has a way of
accommodating that need. Instructions on how to use the C Standalone Program
Merge feature to bring a C program into your Logicmaster folder. For more
information, refer to the instructions beginning on page 3-76.
D CPX 772, CPX782, CPX928, and CPX935 support a flash memory option which
allows you to store program logic, configuration data, reference tables, passwords,
and the OEM key to the flash memory device located on the Series 90-70 PLC.
Previously, only the CPU 781 and 782 models could use this option. To learn more
about this, refer to page 9-12.
D The CPX models of CPUs have embedded serial COM ports giving you the ability to
monitor your program with one of the two new ports while using the other ports for
other communications (usually eliminating the need for an additional
communications module). To learn more about this, refer to page 11-55.
D The CGR772 and CGR935 CPUs have enhanced Hot Standby features and allows for
configuration of GENIUS dual bus. For more information about these CPUs, refer to
the Series 90t-70 Enhanced Hot Standby CPU Redundancy User‘s Guide (GFK-1527).
The information in this book is arranged as chapters that correspond to the main
features of the Logicmaster 90-70 software.
Chapter 1. Introduction: provides an overview of the features available with the
Logicmaster 90-70 programming software. After you read chapter 1, refer to the
chapters that describe the functions you want to use.
Chapter 2. Operation: explains what you need to know to install and start up the
software. It also explains the format of the software screen displays.
Chapter 3. Program Editing: describes program entry and edit features.
Chapter 4. Reference Tables: describes how to display tables of reference values,
change formats in reference tables, force references, and override bit-oriented
references.
Chapter 5. PLC Control and Status: describes how to control and modify the operation
of a connected PLC. These features include how to change the PLC operating state,
display and access PLC privilege levels, display and clear PLC and I/O faults, display
PLC and program memory usage, display configured reference sizes, and modify sweep
parameters.
Chapter 6. Program Librarian: explains how to use the librarian function to reuse
program blocks from other programs without having to re-enter the logic.
Chapter 7. Programmer Setup: explains how to set up the programmer for
communication with the PLC, and how to select the programmer operating mode.
Chapter 8. Program Folders: describes how to create, select, rename, modify, copy, or
delete program folders.
Chapter 9. Program Utilities: describes how to use program utility functions to transfer
programs and tables between the programmer and the PLC, to compare programs and
data in the programmer with programs and data in the PLC, and to clear PLC memory.
Chapter 10. Print Functions: describes how to use the print functions to enter printer
parameters, create files containing information to be printed, and print copies of
programs, reference tables, and display screens.
Chapter 11. I/O Configuration: describes how to use the configuration software to
configure the I/O modules.
Chapter 12. CPU Configuration: describes how to use the configuration software to set
the operating characteristics of the CPU.
There are eleven appendixes in this manual:
Appendix A. Programming Lesson: provides a sample programming lesson with
simple instructions for creating a program folder, creating a program, entering a variable
declaration, adding ladder logic to the program, printing the program, and exiting the
programmer.
Related Publications
David Bruton
Sr. Technical Writer
xii Logicmaster 90-70 Programming Software User’s Manual – June 1998 GFK-0263G
Contents
xiv Logicmaster 90-70 Programming Software User’s Manual – June 1998 GFK-0263G
Contents
xvi Logicmaster 90-70 Programming Software User’s Manual – June 1998 GFK-0263G
Contents
xviii Logicmaster 90-70 Programming Software User’s Manual – June 1998 GFK-0263G
Contents
Chapter 1 Introduction
section level 1
1 figure bi level 1
table_big level 1
Logicmaster 90-70 programming software is used to configure and program the Series
90-70 programmable controller.
Note
In this manual, the WSI version of Logicmaster 90-70 software refers to
using a Work Station Interface (WSI) Board in the programmer to
provide serial communication between the programmer and the
attached PLC. The standard serial communications version of
Logicmaster 90-70 software refers to using ports COM1 and COM2
instead of the Work Station Interface Board.
Configuration is the process of assigning logical addresses, as well as other
characteristics, to the hardware modules in the system. It may be done either before or
after programming, using the configuration software; however, it is recommended that
configuration be done first.
Programming consists of creating an application program for a PLC.
GFK-0263G 1-1
1
Note
Some folders may require additional memory. If additional memory is
required, system software error ID: 0000 EX: 0000 will be displayed.
Check the AUTOEXEC.BAT and CONFIG.SYS files to remove any
device drivers and Terminate and Stay Resident (TSR) programs in
order to free more RAM. Logicmaster 90-70 software does not require
the ANSI.SYS device driver.
MS-DOS Version
To run Logicmaster 90-70 software, MS-DOSr Version 5.0 (or higher) must be installed
on your computer.
Logicmaster 90-70 software provides foreign keyboard support, depending on the
configuration of MS-DOS residing on the host computer. Consult your MS-DOS User’s
Manual for information on configuring for your country.
Note
You can run Logicmaster in a MS-DOS window under Windows 95 or
Windows NT, but you cannot install Logicmaster in a MS-DOS window
under Windows 95 or Windows NT. Refer to Section 3 or Chapter 2 for
details.
Help Screens
Logicmaster 90-70 software includes detailed Help screens. These Help screens are
loaded onto the hard disk of your programmer during the software installation
procedure and are readily accessible. To access the Help screens, press ALT-H for help,
ALT-I for instruction mnemonic help, or ALT-K for key help.
Key Functions
Appendix E, Key Functions, lists the keyboard functions that are active in the
Logicmaster 90-70 software environment. Appendix E also contains a perforated Help
card which can be removed from this manual. This information may also be displayed
on the programmer screen by pressing ALT-K to access key help.
CPU Configuration
Configuration software is used to display and modify the characteristics of the CPU
(such as the time-of-day clock, SNP ID, memory configuration, and fault category).
Chapter 12, “CPU Configuration,” explains how to complete the CPU configuration for
your system. This will set up or change the system features described below.
SNP ID
For multidrop configurations, each CPU connected to the system must have a unique
identification name. The current SNP ID can be displayed and changed using the CPU
configuration function.
I/O Configuration
The I/O configuration function is used to describe the modules that are present in the
PLC racks, to assign logical addresses, and select options for individual modules. These
logical addresses are independent of physical location or function. Chapter 11, “I/O
Configuration,” explains how to complete the I/O configuration for your system.
The I/O configuration rack screen represents the appearance of the Series 90-70 I/O rack.
Use the Next and Previous page keys, or the Up and Down cursor keys, to display
another rack. Then, use the Left and Right cursor keys to move the cursor to the slot to
be displayed or configured.
Marker Description
Variable To access the variable declaration table, move the cursor to this marker, and
Declarations press Zoom (F10). Nicknames and reference descriptions can then be
entered in the table.
Program Block A program can include more than one block of logic. Additional blocks can
Declarations be called from other blocks. When that is done, blocks must be declared
before they are called. To declare a block, move the cursor to this marker,
and press Zoom (F10).
The main block has a block declaration table. This table lists all blocks which
are part of the complete program.
Blocks do not have block declaration tables. However, blocks can be called
from the main block or from any block in the program.
Interrupts The main program block also has a section for interrupts. This lists any
program blocks that will be called as the result of an interrupt from a
hardware module. Interrupt declarations themselves do not declare a
program block; they must first be specified in the program block declaration
section.
This marker shows where interrupt logic can be included in the program. If
I/O modules capable of generating interrupts are present in the PLC, their
inputs can be used to cause the execution of certain program logic. Their use
is optional. To enter interrupt logic, move the cursor to this marker, and press
Zoom (F10).
Start/Endof All logic is placed between these two markers. To enter logic, place the cursor
ProgramLogic on the [END OF PROGRAM LOGIC] marker, and press Insert (F1).
Editing functions include rung insert/edit, select, cut, delete, paste, include, and write. In
addition, search and goto functions allow you to position the cursor on a particular rung
or element. An optional feature of the search function is the replacement of the search
target with a user-specified element and/or reference address.
Chapter 3, section 4, “Program Annotation,” describes how annotation can be added to a
program to make the program easier to read and understand. Three types of annotation
(nicknames, reference descriptions, and rung comments) are supported by Logicmaster
90-70 software.
System Security
Security for configuration and program functions consists of:
D A range of four privilege levels for the PLC, which may be protected using passwords.
D A software lock that can be applied to individual program folders.
D A selectable operating mode.
D A software lock that can be applied to individual program blocks.
D An OEM key.
Passwords are a configurable feature of the Series 90-70 PLC. Their purpose is to
provide different levels of access privilege for the PLC when the programmer is in
ONLINE mode. Passwords may not be set, or the password access (privilege) level may
not be changed, when the programmer is in OFFLINE mode. The use of passwords is
optional and may be set up using the status functions in the configurator. Passwords
may be used to restrict changing I/O and PLC configuration data, changing programs,
and clearing faults.
Chapter 3, section 8, “Program Blocks, External Blocks, and Interrupts,” describes how
individual program blocks may be locked and unlocked.
Chapter 5, “PLC Control and Status,” describes the programmer’s privilege levels and
explains how to enter passwords. Chapter 5 also describes how passwords are specified.
Program Folders
Each program and the corresponding configuration is assigned to a subdirectory called a
program folder. Both the configuration software and the programming software use a
set of program utility functions to create and maintain program folders. Chapter 8,
“Program Folders,” explains how to use the program folder functions to:
D Select another program folder.
D Create a new program folder.
D Delete an unneeded program folder.
D Rename a program folder.
D Make a backup copy of the current program folder.
D Restore a program folder with its backup copy.
D Clear the contents (entire or selective) of the current program folder.
D Lock/unlock a program folder.
D Copy the contents (entire or selective) of one program folder into the current
program folder.
Application programs and related files can be stored on the same hard disk as the
software. They can also be copied to floppy disks for portability or for independent
storage.
Transferring Programs
The program utility functions, described in chapter 9, “Program Utilities,” are used to:
D Transfer programs and configuration between the PLC and the programmer.
D Clear part or all of the program and/or configuration from PLC memory.
D Compare (verify) a program or configuration in the PLC with the current folder to
determine if they are the same.
This chapter explains what you will need to know to install and start up the Logicmaster
90-70 software. It also explains keyboard use and content of the Logicmaster 90-70
software screens.
GFK-0263G 2-1
2
Grounding
Be sure the computer has a ground connection in common with the CPU rack. This is
usually done by connecting the programmer computer to the same power source (with
the same ground reference point) as the rack.
Warning
Cabling
The communications cable that connects the computer to the PLC is a shielded twisted
pair cable with a 37-pin D connector on each end. The maximum length for this cable is
50 feet. After installing the Work Station Interface Board in your computer, connect the
computer to the PLC by first attaching the cable to the Work Station Interface Board and
then to either the SNP port on the CPU module or the parallel port on the Bus
Transmitter Module (BTM).
Note
Refer to the IPI accompanying the specific release of Logicmaster for
updated instructions on installation of the Logicmaster software. The
information presented in this chapter is not intended to reflect
differences in specific releases of the Logicmaster software.
Also, please note that you cannot install most versions of Logicmaster
in a MS-DOS box under Windows 95 or Windows NT. You have to
restart in DOS mode and then install. Refer to the IPI for specific
instructions.
should modify them. If you prefer, you can edit your existing files for use with
Logicmaster 90-70 software.
The CONFIG.SYS (System Configuration) file is a short, readable file that describes the
configuration of MS-DOS. Different software packages may use different system
configurations. For all Logicmaster 90-70 applications, the file must contain at least these
two lines:
Buffers = 15
Files = 20
Note
If MS-DOS 5.0 is used and is loaded high, buffers may be set higher
(e.g., buffers = 60). This will help Logicmaster 90-70 software
performance during program searches, program loads, program stores,
and other disk operations.
If you want to check the content of an existing CONFIG.SYS file, you can use the TYPE
command.
Caution
Caution
If you have loaded device drivers for special devices or a local area network, which
terminate and stay resident, these programs may need to be removed before installing
and running the Logicmaster 90-70 software. The MS-DOS CHKDSK or MEM
command may be used to determine available memory (bytes free).
Logicmaster 90-70 software does not require the ANSI.SYS device driver; it may be
removed in order to obtain more memory.
If you want to check the content of an existing CONFIG.SYS file, you can use the TYPE
command. (Recommended buffer size is 40; minimum is 15.)
D The WSI version of Logicmaster 90-70 software requires a minimum of 545 KB
(558,080 bytes) of available MS-DOS application memory in order to run.
The Standard Serial COM Port version requires either a minimum of 590 KB (604,160
bytes) of available DOS application memory, or 520 KB (532,480 bytes) of available
DOS application memory and 42 KB of available High Memory Area, Upper Memory
Block or Expanded Memory for the COM port driver (see page NO TAG and
following for details about the Standard Serial COM Port version and memory
management).
Both versions require a minimum 1024 KBofLotus/Intel/MicrosoftExpanded
Memory (LIM EMS 3.2 or higher) for optimum performance. If additional DOS
application memory (also called “low memory” or “conventional memory”) is
needed, system software error ID: 0000 EX: 0000 will occur. Remove any unneeded
TSR (Terminate and Stay Resident) programs and any unnecessary device drivers
from the AUTOEXEC.BAT and CONFIG.SYS files to make more memory available.
The following configurations will assist you in setting up your computer system to
run Logicmaster 90-70 software optimally on 386/486 computers with a minimum of
2 MB RAM.
Note
The above EMM386.EXE switch “X=CE00–CFFF ” is used to reserve this
area of memory for the Series 90-70 WSI card. If the computer does not
have a WSI card, the “X= CE00– CFFF” is not required; however, the
“EMM386.EXE 1024 RAM” specification enhances performance and may
be necessary if you have over 537 MB of free hard disk space (see next
paragraph below). If you have less than 537 MB of free hard disk space,
the special precautions discussed below are unnecessary.
If you have over 537 MB of free hard disk space and you have the
statementDEVICE=C:\DOS\EMM386.EXENOEMS in your
CONFIG.SYS, you will receive the following error: (00032) An
unknown error occurred during install initialization.
To prevent this error. from occurring, you must specify Expanded
Memory in your CONFIG.SYS, e.g., DEVICE=C:\DOS\EMM386.EXE
1024 RAM. If you are using a commercial memory manager, such as
t t
QEMM or 386MAX , this precaution may not be necessary. (See IPI
GFK-0350 which comes with this Logicmaster release for examples of
t
tested configurations using QEMM and 386MAX .) t
In addition, some folders may require additional memory. If additional
memory is required, system software error ID: 0000 EX: 0000 will be
displayed. Check the AUTOEXEC.BAT and CONFIG.SYS files to
remove any device drivers and Terminate and Stay Resident (TSR)
programs in order to free more RAM. Logicmaster 90-70 software does
not require the ANSI.SYS device driver.
The AUTOEXEC.BAT file must have (drive ID):\LM90 added to the existing path.
(drive ID) is the letter which corresponds to the hard disk drive where Logicmaster
90-70 software is installed.
If you need to run Version 4.01 or later of Logicmaster 90-70 software from a disk that
does not contain the software, add this to your AUTOEXEC.BAT file:
Note
Logicmaster 90-70 TCP/IP Ethernet for DOS cannot be run from a DOS
window under Windowsr, Windows 95, or Windows NT. For the
other versions of Logicmaster, refer also to the IPI accompanying
the software disks for additional information about installing
Logicmaster.
Installation Instructions
1. Boot up the computer using MS-DOS.
2. Be sure the CONFIG.SYS file has files set to at least 20, i.e., FILES=20.
3. Remove the write-protect tab from the disk.
4. Insert the Logicmaster 90-70 software disk into the computer’s disk drive.
5. At the MS-DOS prompt, enter the designation of the disk drive followed by a colon.
For example, if the disk is in drive A, type: A: and press the Enter key.
6. Begin the installation procedure by typing: INSTALL and pressing the Enter key.
The following screen is displayed.
7. Specify the hard disk drive and press the Enter key, or just press the Enter key if the
default is correct. The following screen is displayed if this is the first installation of
this disk.
Note
The Serial Number field must contain the serial number from your
registration card or the back of the distribution disks.
8. Use the cursor keys to move between fields. Each field is validated as you move off
the field. You must fill in all of the fields and press the Enter key in order for the
installation process to continue. If any fields are empty or invalid when the Enter
key is pressed, the first invalid field is highlighted and an error message is displayed.
The system will prompt you to confirm that the registration information is correct as
displayed.
If the registration data is not correct, press: N (No) and correct the registration
information. When the registration data is correct, press: Y (Yes). The data is then
encoded and written onto the master distribution disk. This screen is displayed until
the registration data is successfully written to the master disk, or until the
installation program is aborted by pressing the Escape key. You may print this
screen by pressing the Print Screen key.
9. When the registration data is successfully written to the master disk, the installation
process can begin. The following screen is displayed after the registration data has
been entered, or on future Logicmaster installations of the same software package.
(Registration is not required once the data is written to the master disk.) Read the
licensing agreement.
10. First, the installation procedure creates the \LM90 directory in the root directory, if it
does not already exist. INSTALL checks the AUTOEXEC.BAT and CONFIG.SYS files
in the root directory of the hard disk. These files must contain certain commands to
ensure that Logicmaster 90-70 software executes properly. If neither file exists, they
are both created. If either file already exists, INSTALL will ask if the files should be
automatically modified.
11. If you are using a Workmaster industrial computer, remove the lines
device=c:\gexmem2.sys and device=c:\gexdisk.sys. The line
device=c:\gexdisk.sys. The line device=c:\gexmem.sys may remain for Expanded
Memory.
12. If you change your mind and want INSTALL to automatically update the
AUTOEXEC.BAT and CONFIG.SYS files, enter Y (Yes). Otherwise, enter N (No)
or press the Enter key.
13. INSTALL attempts to create three subdirectories under the root directory on the
hard disk, and transfers the appropriate files to those subdirectories. If the
subdirectories already exist, any files in them are deleted and the new files installed.
If folders exist, they are not deleted.
14. INSTALL will then prompt you to insert any other disks. After all the files have been
transferred, the final installation screen is displayed.
15. The computer must now be rebooted in order to complete the installation process.
After removing the last disk used during the installation process, press
CTRL-ALT-Delete to reboot the computer. When the MS-DOS prompt is displayed,
enter LM90 to start up the software.
Programmer Setup
A default setup file is created during installation. Only in special circumstances will this
file need to be changed. Refer to appendix D, “Programmer Environment Setup,” for
instructions on modifying the setup parameters.
Section 4: Startup/Exit
Note
Beginning with Release 4, a teach file can be used to enter the
Logicmaster 90-70 software. This entry teach file will contain the
keystrokes previously taught while entering the programming or
configurator software. Information on using a teach file to enter the
Logicmaster 90-70 software can be found in chapter 2, section 5,
Keyboard Functions.
2. Press the appropriate function key:
D To select the programming software, press Program (F1).
D To select the configuration software, press Config (F2).
D To select the PCM configuration software, press PCM (F3).
D To select the Axis Positioning Module package, press APM (F4).
D To select operator interface utilities, press OI (F5).
D To access the Logicmaster 90 utilities package, press Utilities (F7).
D To access a file of MS-DOS executable commands (COMENU.PRD) outside the
Logicmaster 90 software package, press Comenu (F8).
D To access the Logicmaster 90 setup package, press Setup (F9).
D To return to MS-DOS, press Exit (F10).
3. If only one version of Logicmaster 90-70 software (either WSI or standard serial
communications) is installed, it will be run automatically. If both versions are
installed, the Logicmaster 90 Setup Package (F9) can be used to select the version to
run. Refer to appendix D, “Programmer Environment Setup,” for instructions on
modifying the programmer environment setup.
When the Logicmaster 90-70 software powers up, it attempts to automatically select a
program folder.
D If there is a program folder beneath the drawer last selected, whose name matches
the program name in the attached PLC, that folder is selected.
D If the current directory is a program folder and its name matches the program name
in the attached PLC, that folder is selected.
D If there is a program folder beneath the current directory, whose name matches the
program name in the attached PLC, that folder is selected.
D If the current directory is a program folder, it is selected.
D Other wise, the initial select screen is displayed with the name of the last folder
selected in the Folder field.
Note
At serial baud rates of 1200 or less, the folder cannot be automatically
selected during startup. Once in the programming software, however,
you may use the auto function to automatically select a folder. (Refer to
the information on “Automatic Folder Selection” in chapter 8, “Program
Folders.”)
Enter a name of up to seven characters for the program folder. (The name is also used
for the program.) After entering a name, press the Enter key. If you need more
information about program folders, refer to chapter 8, “Program Folders”.
Note
For the WSI version of Logicmaster 90-70 software, WSI is displayed
after the version number in the screen shown above. For the standard
serial communications version of software, COM is displayed after the
version number.
Function
Key Function Description
F1 Program Create or edit a program or monitor program logic. Chapter 3
describes the program display and explains how to create or edit a
program.
F2 Tables Display and change reference data. To select a particular reference
table, enter the reference type on the command line before pressing
F2. Chapter 4 describes monitoring data and explains how to change
tables and variable data.
F3 Status Select the status functions. These functions include displays of I/O
faults and PLC faults. The memory configuration and the current PLC
access level can also be viewed. Chapter 5 describes these functions.
F6 Librarian List the contents of the library, import a block from the library, export a
block to the library, add an element to the library, or create/edit refer-
ence offset templates. Chapter 6 describes these features.
F7 Setup Display and change serial port setup and other programmer
configuration. Chapter 7 explains how to use these functions.
F8 Folder Create, select, clear, rename, delete, lock, or back up a program folder.
Chapter 8 explains how to use the folder functions.
F9 Utility Load, store, or verify a program, or clear PLC memory. Chapter 9
explains how to use the utility functions.
F10 Print Print a program folder. Chapter 10 describes the print functions.
The function keys remain active after selecting a programming function. You can go
directly from one programming function to another without returning to the main menu
by simultaneously pressing the shift key and the desired function softkey.
The bottom of the main menu screen displays three lines of status information. Chapter
2, section 6, Screen Format, explains the content of the screen’s status area.
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
Program PLC Programmer Program Program
Reference Control and Librarian Mode and Print
Display Folder Utility
Tables Status Functions Setup Functions
and Edit Functions Functions
F1 F1 F1 F1 F1 F1
Load Setup
Unsigned Run/Stop Select/
Insert F1 F1 from Printer
Integer PLC Create
PLC Parameters
F2 F2 F2 F2 F2 F2 F2 F2
List Set Store Designate
Signed Password Contents Screen
Edit of Programmer Delete to Print
Integer Protection
Library Mode PLC Device
F3 F3 F3 F3 F3 F3 F3
Import Select Verify
Double PLC Element Auto– PLC
Modify Precision Fault To SNP/Parallel With F3
Select
Integer Table Folder Connections Programmer
F4 F4 F4 F4 F4 F4 F4
Import PLC
I/O Block To Comm. Print
Search Real Fault Folder/ Serial Port Backup F4
Program
Table Redefine Setup
Logic
F5 F5 F5 F5 F5 F5 F5
PLC Export View Clear Select
Element Cross
F5 Hexadecimal Memory To Modes Restore PLC
Reference
Usage Library Setup Memory Options
F6 F6 F6 F6 F6
Program Add
Block Element Print
F6 Binary To F6 Rename F6
Memory Values
Usage Library
F7 F7 F7 F7 F7
Create/
Reference Edit Ref.
Option ASCII Table Offset F7 Clear F7 F7
Sizes Templates
F8 F8 F8 F8
PLC Lock
Timer/
GOTO Sweep F8 F8 Or F8 F8
Counter
Table Unlock
F9 F9 F9
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
NOTE: Press Insert (F1) and Edit (F2) to display the programming instruction
menus.
When Password Protection (F2) is pressed (PLC Control and Status functions), F9 will
become the OEM softkey.
When PLC Fault Table (F3) or I/O Fault Table (F4) is pressed (PLC Control and Status
functions), F9 will become the Clear softkey and F10 will become the ZOOM softkey.
Note
For the WSI version of Logicmaster 90-70 software, WSI is displayed
after the version number in the screen shown above. For the standard
serial communications version of software, COM is displayed after the
version number.
Function
Key Function Description
F1 I/O I/Oconfiguration is the process of describing to the software the
content of a PLC system’s rack(s) and Genius I/O busses. Chapter 11
tells how to complete I/O configuration.
F2 CPU CPU configuration sets the operating characteristics of the CPU.
Chapter 12 describes the CPU configuration.
F3 Status The status function displays I/O faults and PLC faults. You will also use
this function to display PLC information such as memory usage and to
assign passwords. Chapter 5 describes these displays.
F7 Setup The programmer setup function sets up the computer ’s serial ports,
current operating mode, and PLC connection. Refer to chapter 7 for
information on the setup function.
F8 Folder Program folder functions are a group of file-handling utilities which
you will use to create, delete, back up, and limit access to configuration
and program files. Chapter 8 describes these functions.
F9 Utility Program utilities are used to transfer information between the
computer and the PLC. An additional program utility is used to clear
memory in the PLC. Chapter 9 explains how to use the program
utilities.
F10 Print Print functions are used to generate configuration printouts and to set
up a destination for screen prints. Chapter 10 describes these print
functions.
The functions are selected using the function keys shown on the top line of the screen.
You can go directly from one function to another without returning to the main menu by
using the shift function keys.
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
F6 F6 F6 F6 F6 F6
F7
F7 F7 F7 Clear F7 F7
F8
Lock
F8 F8 F8 or F8 F8
Unlock
F9
F9 F9 F9 F9 F9 Pause
F10 F10
F1
Equal
F1
continued Default
on next
page
continued a44858
from
previous
page
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
Bus
Model 70 Genius Power Rack Communications VME Other Zoom
Expansion
I/O Supply Selection
Module
F1 F1 F1 F1 F1 F1 F1
Discrete
GBC BTM PS MAP VME PCM
Input
F2 F2 F2 F2
F3 F3 F3 F3
Discrete dlan
F3 RCM F3 Serial F3
Mixed
F4 F4
Analog F4 F4 F4 F4 F4 Operator
Input Interface
F5
Analog F5 F5 F5 F5 F5 F5
Output
F6
Analog
F6 F6 F6 F6 F6 F6
Mixed
F7
Other F7 F7 F7 F7 F7 F7
F8
F8 F8 F8 F8 F8 F8 Other
F9
Expansion
F9 F9 F9 F9 F9 F9
Board
F10
This section describes the keyboard functions that are active in the Logicmaster 90-70
software environment. It also describes playback functions, which can be used to assign
sequences of frequently-used keystrokes to a file for simple recall later on.
Keyboards Supported
Logicmaster 90-70 programming software can be used with the 83-key or 101-key
keyboard for an IBM PC personal computer, or a Workmaster, Workmaster II, or
CIMSTAR I industrial computer. Other types of keyboards for the IBM PC/XT,PC/AT, or
IBM-compatible computer may work with Logicmaster 90-70 software, but have not
been tested. The 91-key keyboard for the Workmaster computer, developed for use with
Logicmaster 6 programming software, would be difficult to use since Logicmaster 90-70
software was designed to use with standard keyboards.
Key Functions
Appendix E, Key Functions, lists the keyboard functions that are active in the
Logicmaster 90-70 software environment. Appendix E also contains a perforated Help
card which can be removed from this manual. This information may also be displayed
on the programmer screen by pressing ALT-K to access key help.
??????? ???????
( )
The auto-next highest reference address function, described on pages 3-107 and 3-108 at
the end of chapter 3, section 10, Rung Edit, provides another example of using a
keystroke macro.
The keystrokes that make up a keystroke macro are stored in a file named KEYx.DEF,
where x is a digit in the set 0 to 9 that you choose when you create the keystroke macro.
This file is called a teach file; it is located in the current program folder.
Enter the name of the text file for this macro (e.g., prg9070.tch) and the letter t after the
path. The t indicates TEACH mode. For example, to begin recording keystrokes to a
text file named prg9070.tch, enter:
c:\lm90\p70\prg9070 prg9070.tch t
To end the teach sequence, press ALT-Q or CTRL-Break to end the teach sequence and
exit the software.
To play back the keystroke macro, enter the path and teach file name, followed by the
letter p for PLAYBACK mode. For example, to play back a macro for the programming
software, enter:
To initialize the communications driver for the standard COM port version of
Logicmaster 90 software, the batch file must contain the line: c:\lm90wsil70 i
before the command to create or play back the teach file. The line: c:\lm90\wsil70 r
must be added after the command to create or playback the teach file in order to remove
the communications driver. For example:
c:\lm90\wsil70 i
c:\lm90\p70s\prg9070 p
c:\lm90\wsil70 r
This is a typical bit-oriented reference table display for Logicmaster 90-70 software.
The main part of the screen shows menus, data, and other information related to the
function you are currently using.
The lower line displays the secondary functions that can be selected with that main
function key active. In the example above, the display formats can be selected while the
reference table function is active. These display formats are selected by pressing a
function key, F1 through F10, without using the shift key.
Message Line
Directly under the function key area is the message line. Errors in command syntax, or
those discovered while executing commands or selections, are displayed on the message
line. Prompts for additional information required from the user are also displayed on
the message line.
Command Line
The command line, identified by the > prompt, displays typed entries, such as data to
be used for the table being displayed. It is also used to enter instruction mnemonics,
reference addresses, values for constants, nicknames, and reference descriptions.
Status Information
The bottom three lines display information about the status of the programmer, the PLC,
the program, and the keyboard. The information displayed will change depending on
the programmer mode. For example:
The three lines of status information does not have to be displayed at the bottom of the
screen if you want to display additional lines of logic. Use ALT-E to toggle the display of
status information off and on.
Items that may appear on this line are explained in the following table. (Items will not
appear on the status lines if they are not used for the currently active function.)
Field Description
SNP ID The Series Ninety Protocol (SNP) identifier assigned to the PLC or Remote I/O
Scanner.
PLC State The current status of the CPU or Remote I/O Scanner:
RUN/OUT EN: PLC running the logic program, outputs enabled.
RUN/OUT DIS: PLC running the logic program, outputs disabled.
STOP/IOSCAN: PLC stopped, not executing the logic program, scanning I/O.
STOP/NO IO: PLC stopped, not executing the logic program, no I/O scan.
STOP/FAULT: PLC stopped due to a fault; check fault tables.
Scan Time The CPU or Remote I/O Scanner sweep time in milliseconds. This is followed by
the type of the scan, which may be:
SCAN: Each scan executed as fast as possible.
FIXED: Constant sweep timer enabled, scan fixed to set time limit.
OVER: Constant sweep timer enabled, scan exceeds the set time
limit.
Mode The current mode of the programmer connected to the CPU or Remote I/O
Scanner:
OFFLINE: No communications with PLC, or no PLC attached.
ONLINE: Actively communicating with the PLC.
MONITOR: Same as ONLINE, but programmer cannot modify the
contents of the PLC.
Access Level The password access level of the PLC:
LEVEL 4: Changepassword,writelogic/configuration.
LEVEL 3: Writelogic/configuration,PLCstopped.
LEVEL 2: Write data, clear fault tables.
LEVEL 1: Read PLC only.
Equality This field compares the program in the PLC with the version in the folder:
LOGIC EQUAL: Both program versions are the same.
LOGIC NOTEQ: Program versions may be different.
BLOCK EDIT: The PLC program is the same as that in the current program
folder, the current block is being edited online and may be
different in the programmer. The block can be stored to the
PLC by pressing ALT-S.
3 figure bi level 1
table_big level 1
This chapter describes the program edit features of Logicmaster 90-70 programming
software. Program display and editing may be protected by passwords. If your system
has been set up to use passwords and is in ONLINE mode, you may have to enter a
password in order to use the functions described in this chapter. Chapter 3 contains the
following sections:
Note
When the program editor is entered, the Logicmaster 90-70 software checks the
amount of space on the disk containing the program folder. If insufficient space exists
to support changes to the program, the folder is temporarily locked. Programlogic
may be viewed, but not changed. If space is freed up on the disk using MS-DOS, the
lock state is automatically cleared when you run Logicmaster 90-70 software.
GFK-0263G 3-1
3
The tables in this section summarize the programming instructions available for the
Series 90-70 PLC. You can access all of these instructions from either the Insert (F1) or
Edit (F2) function by selecting one of the main functions displayed in the upper line
shown below. Press the Shift key and the function key for the function you wish to
select. For example, to select one of the math functions, first press Shift-F3 to display
the math functions listed in table 3-3 in this section. Then, select the appropriate math
function by pressing the function key for that particular function.
These function keys provide access to the instructions required to edit ladder diagram
rungs:
Function
Key Function Description Page
F1 Relay Functions Select contacts, coils, and links in ladder logic rungs. 3-3
F2 Timer / Select on-delay stopwatch, off-delay, and on-delay 3-5
Counter timers; up counters; and down counters.
Functions
F3 Math Select addition, subtraction, multiplication, division, 3-6
Functions modulo division, square root, absolute value,
trigonometric,logarithmic/exponential, and radian
conversionfunctions.
F4 Relational Select functions which can compare two numbers: 3-8
Functions equal, not equal, greater than, greater than or equal,
less than, less than or equal, or compare.
F5 Bit Operation Select functions which perform comparison and move 3-9
Functions operations on bit strings: Logical AND, OR, and
exclusive OR; logical invert; shift left or right; rotate left
or right; bit test, bit set, bit clear, and bit position; and
masked compare.
F6 Data Move Select basic data move functions including move, block 3-10
Functions move, block clear, shift register, bit sequencer, swap, and
communications request. VME functions include read,
write,read/modify/write,test/set,configurationread,
configuration write, data initialization, data initialization
of a COMMREQ, and data initialization of ASCII data.
F7 Table Select functions to enter values into tables, copy values 3-12
Functions out of tables, sort arrays, and copy from one array to
another. Search for all array values which are equal, not
equal, greater than, less than, greater than or equal, or
less than or equal to a specified value.
F8 Conversion Select functions to convert values from one data type to 3-13
Functions another.
F9 Control Limit program execution, call a program, enter a 3-14
Functions comment in a program, or change how the CPU
executes a program.
Appendix E lists the complete mnemonics for each programming instruction. Please
refer to the Series 90-70 Programmable Controller Reference Manual, GFK-0265, for
additional information on each instruction.
Pressing More (F9) displays these additional data table function key assignments:
F1 srh eq &SRCHE Search Equal Search array for values equal to a
specifiedvalue.
F2 srh ne &SRCHN Search Not Search array for values not equal to a
Equal specifiedvalue.
F3 srh gt &SRCHGT Search Greater Search array for values greater than a
Than specifiedvalue.
F4 srh ge &SRCHGE Search Greater Search array for values greater than or
Than or Equal equal to a specified value.
F5 srh lt &SRCHLT Search Less Search array for values less than a
Than specifiedvalue.
F6 srh le &SRCHLE Search Less Search array for values less than or equal
Than or Equal to a specified value.
F7 arrrng &ARRANG Array Range Test an input value against two arrays of
delimiters.
F9 more Return to the first level of data table
functions.
F10 types Select a data type for the function.
Pressing Types (F10) displays the
function keys described in table 3-10 on
pages 3-15 and following.
Data Zoom
The data zoom feature supports the PID_ISA or PID_IND function by providing a
display window that expands the parameters of the function block and displays them in
real time with labels in a format consistent with their use. For example, a word of data
may contain several boolean flags. Each flag is labeled and displayed separately. The
boolean inputs and outputs to the function are also displayed.
The data zoom feature is available in either ONLINE or OFFLINE mode. In ONLINE
mode when the program folder is identical to the PLC, changes made to values are only
stored to the PLC. Real-time updates are maintained within the data zoom window. In
OFFLINE mode, changes made to values are only stored to disk.
Note
If you try to write-protect a floppy disk while the Data Zoom screen is
displayed, any changes made on the Data Zoom screen will be lost
when you exit the screen.
2. The PID function is displayed as a window, with the cursor positioned on the first
field whose value can be changed. Use the arrow keys to cursor to another field.
Each field in the window is displayed in a format consistent with its usage in the
function. In the example above, Loop No. indicates the number this PID is within a
loop structure and is, therefore, displayed as a signed integer. Min Slew Time is a
timing parameter displayed in seconds. Fixed point numbers, like those displayed in
the Sample Period field, are truncated upon entry.
While the data zoom window is displayed, the function softkeys normally displayed
at the top of the screen will be blank.
3. The New Value field functions like a command line. To change the value of any field
(provided that field can be changed), use the arrow keys to highlight the field, enter
a new value in the New Value field, and press the Enter key. The value of the field
will be changed when the Enter key is pressed. You can also use the Tab key to
change the value of a field.
4. Most field values associated with explicit parameters can be changed. The software
will not allow you to highlight those fields whose values cannot be changed.
In the PID function, the CV, PV, and Enable fields cannot be changed. The
following table lists the formulas used to compute the percentages in these fields.
Parameter Formula
SP Percentage = (quantity – min value) / (max value – min value),
where quantity is the current value of SP.
Using this formula with the values displayed on the Data Zoom screen
shown on the previous page results in a value of 75% for SP:
SP = [50 – (–100)] / [+100 – (–100)]
= 150 / 200
= .75 or 75%
PV Percentage = (quantity – min value) / (max value – min value),
where quantity is the current value of PV.
Using this formula with the values displayed on the Data Zoom screen
shown on the previous page results in a value of 50% for PV:
PV = 0 – (–100)] / [+100 – (–100)]
= 100 / 200
= .50 or 50%
CV Percentage = (CV – lower clamp) / (upper clamp – lower clamp).
Using this formula with the values displayed on the Data Zoom screen
shown on the previous page results in a value of 10% for CV:
CV = 0 – (–10)] / [+90 – (–10)]
= 10 / 100
= .10 or 10%
Percentages are calculated to the nearest 1% on the screen. Percentages less than
zero are set to 0%. Percentages greater than 999 are set to 999%. The bar will
display up to 100%.
Whenever a bar graph is displayed in data zoom, minimum and maximum scaling
values will also need to be displayed. For the PID function, the recommended
default minimum and maximum values for the SP and PV bars are –32,000 and
+32,000. The minimum and maximum scaling values for the CV bar are the lower
and upper clamp values. In the screen shown above, the –100 and +100 displayed
immediately above the bar graphs correspond to the minimum and maximum SP
and PV scaling values.
5. Press the Escape key to exit the data zoom window and return to your original
position within the editor before the data zoom feature was begun.
For more information on the PID function and its parameters, refer to the Series 90-70
Programmable Controller Reference Manual, GFK-0265.
The DATA_INIT_COMM window contains a New Value field for entering values and a
Data Element field, which indicates which data element in the data block the cursor is
currently positioned on. Only the Data Element field cannot be changed.
The window also contains the first six words of the COMMREQ command block, with
labels consistent with each word’s use and the COMMREQ data block. The first six
words are Data Length, Wait Flag, Timeout, Status Memory, Status Offset, and Max
Comm Time.
The line labels to the left of the data block elements and the Data Element field will
correspond to the data block portion of the COMMREQ block. For example, the data
block elements will be labeled beginning with number 1, even though the data block
begins at the seventh word of the instruction.
The data block portion of the window will scroll and page.
Note
The data block format is hexadecimal.
You can enter as many characters as will fit on the command line at one time. Enter
non-printable characters with a backslash immediately followed by the 3-digit decimal
equivalent of the character (e.g., ”\010 for line feed).
After entering the text on the command line, press the Enter key.
Press the Escape key to exit this window and return to the ladder diagram logic display.
Program elements are combined to form rungs of ladder logic. A ladder diagram has a
symbolic power source. Power is considered to flow from the left rail through a contact
to the coil or function block connected to the right.
From the main menu, select Program Display/Edit (F1). The screen displays a list of
markers which represent parts of a program.
The declaration options for a program block differ, depending on whether it is a main
program block or a program block. Program blocks and interrupt assignments may only
be created in the main program block.
Marker Description
Variable To access the variable declaration table, move the cursor to this marker and
Declarations press Zoom (F10). Nicknames and reference descriptions can then be entered
in the table.
Program Block A program can include more than one block of logic. Additional blocks can be
Declarations called from other blocks. When that is done, blocks must be declared before
they are called. To declare a block, move the cursor to this marker and press
Zoom (F10).
The main block has a block declaration table. This table lists all blocks which
are part of the complete program.
Blocks do not have block declaration tables. However, blocks can be called
from the main block or from any block in the program.
Interrupts The main program block also has a section for interrupts. This lists any
program blocks that will be called as the result of an interrupt from a
hardware module. Interrupt declarations themselves do not declare a
program block; they must first be specified in the program block declaration
section.
This marker shows where interrupt logic can be included in the program.
If I/O modules capable of generating interrupts are present in the PLC, their
inputs can be used to cause the execution of certain program logic. Their use
is also optional. To enter interrupt logic, move the cursor to this marker
and press Zoom (F10).
Start/Endof Start and end of _MAIN program blocks. All logic is placed between these two
ProgramLogic markers. To enter logic, place the cursor on the [END OF PROGRAM LOGIC]
marker and press Insert (F1).
The cursor keys are used to highlight the area of the program to be displayed or edited.
1 2 3 4 5 6 7 8 9 10
/ / / ( )
⇐ vertical link
⇑ horizontal link
The following example shows two separate rungs, which must be entered and accepted
separately.
( )
/ ( )
In the next example, two rung lines are connected by a vertical link, forming only one
rung.
( )
/ ( )
Logicmaster 90-70 software was designed to allow for rapid entry of relay ladder
diagram programs. By allowing entry of program elements with either function keys or
mnemonics, both frequent and occasional users can be satisfied.
Annotation (nicknames, reference descriptions, and rung comments) can be input either
prior to logic entry or as each logic element is entered. Rung comments can be entered
as logic is created or inserted after the logic has been debugged. For information on
annotation, refer to chapter 3, section 4, “Program Annotation.”
Note
Program folders on write-protected floppy disks are automatically
locked. Remove the write-protect tab and unlock the folder using the
lock/unlockcurrent program folder function (see chapter 8).
Using Mnemonics
Mnemonic entry enables you to enter an instruction by typing its mnemonic on the
command line. For example, to enter the ADD function, you would type &ADD on the
command line and press the Enter key.
For some instructions, it is not necessary to type the entire mnemonic, just enough
characters for the entry to be unique. For example, instead of typing &ADD to enter the
ADD function, you could simply type &AD and press the Enter key. Appendix E lists the
mnemonics of all program instructions. While programming, you can also display a list
of mnemonics by pressing ALT-I.
For many functions, you can also specify a data type or reference address. For example,
&ADD_DINT would enter the double precision integer version of the ADD function at
the current cursor position in the rung.
2. To enter a relay element at the cursor location, press the desired function key. For
example, to enter a normally open contact, press F1 with the relay functions
displayed for the softkeys at the top of the screen. Or, you may enter the normally
open contact by typing the mnemonic &NOCON on the command line and pressing
the Enter key.
3. A reference may now be entered on the command line. For each reference, include
both a user reference and location. There are two ways to do this:
A. By entering the reference type and then the address (e.g., %I1), or
B. By entering them in reverse sequence (e.g., 1I). The software automatically
places the entry in the correct order and format when you press the Enter key.
Entering the number before the reference type eliminates having to enter the %
character.
Then, press the Enter key. The cursor is automatically advanced to the next position,
ready for entry of the next element.
Some program functions require references that begin on a word or byte boundary.
The Logicmaster 90-70 software will automatically adjust the entries to be properly
aligned.
You may also combine the previous step and this step into one operation by typing
the mnemonic &NOCON I1 on the command line and pressing the Enter key.
Note
The previous two operations can be combined into one by entering the
reference address before pressing the contact function key.
4. This process can be continued until a rung is completed and is ready to be accepted.
A rung can be accepted by pressing the Enter key with the command line empty, or
the Plus (+) key on the numeric keypad. If there is an error in the rung, the rung is
not accepted and the cursor is placed on the incorrect element for correction.
Inserting Functions
Functions can be entered as easily as relay elements.
1. First, use the relay function keys to enter the enabling logic. In the first example
screen shown below, a normally open contact with reference address %I1 is entered
as the enabling logic.
2. Select the type of function using the shift-function keys. For example, to select math
functions, press Shift-F3.
3. Select the function desired using the function keys. For example, to select the ADD
function, press Add (F1). Or, you may enter the ADD function by typing the
mnemonic &ADD on the command line and pressing the Enter key.
4. The Tab key can now be used to move the cursor to each parameter position around
the function.
5. When the cursor is on the first input, simply type the value to be entered in this
position on the command line (for example, %R00001 or 1R), and press the Tab key
or Enter key to place this entry into its position. Pressing the Tab key will move the
cursor to the next entry position. This process can be continued until the rung is
completed and accepted.
If the logic fails the check, an error message is displayed and the cursor is positioned
on the location where the error occurred.
Informational messages relating to the executability of the logic may also be
displayed. An example of an informational message is ”Unbound references used –
program is not executable.”
2. Press the Enter key with the command line empty (or Plus (+) key on the numeric
keypad). This causes the same response as pressing the Escape key.
3. Press ALT-A to exit the insert or edit function without modifying the existing ladder
diagram logic. Confirmation is required. Pressing ALT-A the first time will restore
the rung to its original state. In INSERT mode, this would be an empty rung.
Pressing ALT-A a second time exits the insert function.
Each rung is not saved to disk as it is accepted. To update the disk, press the Escape key
to exit the program editor and return to the programming software main menu, or press
ALT-U.
Annotation is optional explanatory text in a program. This text makes the program
easier to read and to understand.
Note
Files containing program annotation exist only in the folder, not in the
PLC.
Logicmaster 90-70 software provides the following types of program annotation:
Type Description
Nickname An optional 1- to 7-character identifier, which can be used for each
program reference. The characters used in a nickname may be a letter
from A through Z, a numeral from 0 through 9, an underscore, or the
special characters +, –, %, #, @, <, >, =, and &. The first character
of the nickname must be a letter.
Indirect references do not have nicknames. For example, you cannot
assign a nickname to the indirect reference @R00031. For information
on indirect references, refer to the Series 90-70 Programmable Controller
ReferenceManual, GFK-0265.
A nickname is case-insensitive, unless a global nickname has been
reassigned in a block. When a global nickname (e.g., SWITCH1) has
been reassigned in a block, the local use of that nickname will remain
in upper-case letters; however, the global use of that nickname will be
displayed in lower-case letters (e.g., switch1).
ReferenceDescription An optional text description of up to 32 characters which is associated
with a machine reference or with implicit identifiers (e.g., program
name,programblock,orJUMP/LABEL/MCR/ENDMCR).Areference
description can be used with or without a nickname.
Comment Longer blocks of text (rung explanations). A comment consists of up
to 2048 characters of text. On the screen, the text of a comment can be
read by pressing Zoom (F10) with the cursor located at the comment
rung. The comment can also be printed as part of the ladder logic.
Machine Reference
Separate the reference, nickname, and reference description by a space. Use quotation
marks before and after the reference description. A double colon (::) may also be
inserted between the nickname and the reference description. If a double colon is used,
quotation marks are not required around the reference description.
If you are in the main block (_MAIN), nicknames, references, and reference descriptions
entered on the command line are automatically added to the _MAIN global variable
declaration table. If you are in a program block, nicknames, references, and reference
descriptions entered on the command line are automatically added to that block’s local
variable declaration table. To add the entry to the global variable declaration table
instead of the local variable declaration table, add /G after the entry. For example:
%I1 INPUT1 /G
When you press the Enter key, if there are no conflicts, the nickname is displayed above
the program element. It is also temporarily included in the variable declaration table for
that program. While inserting or editing a rung, you can press ALT-V to view the
variable declaration table. Temporary entries are marked with an asterisk. When the
rung is accepted, the nickname is permanently added to the table. If the rung is aborted
before it is accepted, this information is removed from the table.
If a conflict or error occurs when you press the Enter key, the contents of the command
line are not applied to the instruction and a message is displayed. Press CTRL-Home to
display the last entry made on the command line. Then, press the CTRL key and the
Left or Right cursor key to move within the command line to correct the entry.
Depending on which display mode is active, if you enter a nickname for a reference, it is
displayed in the program instead of the reference. For example, if you entered the
reference %I00104 for a normally closed contact in the logic, the display would look like
this:
|
|%I00104
|––|/|–––––
|
If you entered a nickname and (optionally) a reference description for the reference on
the command line:
|
|XWATMOV
|––|/|–––––
|
Note
Use ALT-N to toggle between reference address display, nickname
display, reference description display, and compressed rung display.
Refer to chapter 7, “Programmer Setup,” for more information on
specifying which modes will be displayed when ALT-N is pressed.
The second and simplest way to enter nicknames and reference descriptions, however, is
to use the variable declaration table, described in the next section. As each entry is made
in the variable declaration table, the reference description for the current entry will
appear in a window in the upper right portion of the table. This window consists of 4
lines, each 7 characters in length, and will show the way the description will look above
a reference when printed or displayed in expanded mode.
Program annotation can be entered in a program using the variable declaration table, as
described in this section.
You may enter nicknames in the _MAIN block or any program block. Nicknames in the
program’s _MAIN (global) variable declaration table are known to all program blocks.
Nicknames in a program block’s (local) declaration table are known only to that block.
Each program block may have its own local use of nicknames. The same reference may
have different local nicknames in different program blocks, as shown in these examples:
Two program blocks may have the same nickname for different references, as shown in
these examples:
Note
5000 declarations (variables and identifiers) are allowed in the _MAIN
variable declaration table, and 1000 declarations (variables and
identifiers) are allowed in each program block’s variable declaration
table. Each table is always arranged in sorted reference address order.
As more nicknames are used, performance in the program editor may
be affected. To enhance performance, 1024K of Expanded Memory
(LIM/EMSVersion 3.20 or later) and SMARTDRV may be used.
3. The identifier table can be displayed from this screen by pressing Switch (F10).
(Refer to page 3-45 for a sample identifier table.) This table lists the program name,
program block names, external block names, JUMPs, LABELs, MCRs, and ENDMCRs
declared in this folder. You cannot insert new entries on this display screen;
however, you can edit entries already displayed. For example, you could assign an
identifier description to the program name.. The program name cannot have its
identifier edited. A block can have its identifier edited if it is not called. All other
identifiers and descriptions can be edited.
4. Variable declarations may be viewed in a window on the screen, without leaving the
insert or edit function, by pressing ALT-V. (This can be helpful in checking prior use
and reducing errors made while entering references.) The variable declarations
displayed in this window, however, cannot be edited. Entries temporarily listed
(those created or modified during the current editing session) in the variable
declarations table can be easily identified by an asterisk (*). Use the Up/Down
cursor keys or Page Up/Down keys to scroll through the entries in this window;
then, press the Escape key to exit the window.
2. Enter the reference in this field (e.g., %R2 or 2R), and then press the Enter or Tab key
to move to the Nickname field.
3. Enter a nickname (e.g., IN_REG), and then press the Enter or Tab key to move to the
Reference Description field.
To accept this entry, press the Enter key, or the Plus (+) key on the numeric keypad.
The variable declaration table is automatically sorted each time you press the Enter
key to accept a new entry. The cursor then moves to the Reference field on the next
line.
5. To enter a nickname for the next reference, simply press the Enter or Tab key and
the next reference in sequence (in this example, %R0002) will be inserted into the
Reference field. The cursor will move to the Nickname field. To enter a nickname
for a different reference, simply type in this reference and press the Enter key.
6. You can continue this process until all references have been defined.
7. To exit INSERT mode, press the Escape key. To exit the variable declaration table
and return to the logic entry screen, press Escape again.
The line you copied moves down one, and a copy of it appears where your cursor is
located (awaiting your modifications). First enter a new reference number, then edit the
nickname and description.
The sample shown on the next page shows the screen that appears immediately after
pressing the Copy key (F5) from the screen shown above.
Notice that the cursor is resting in the REFERENCE (i.e., reference number) field so that
you can assign a unique reference number to it. You will also need to assign a unique
NICKNAME and REFERENCE DESCRIPTION. Remember, you can use Ctrl-Right
Arrow, i.e., hold the Control key down and press the Right Arrow key (i.e., the right
cursor mover key), to move the cursor across the letters or words you want to keep.
Then key over or add to the text you want to change; e.g., in the example shown above,
you would only need to key over the last digit on both the nickname and the
description.
Note
Make sure you enter a unique reference number. If you just press the
Right Arrow key to advance to the NICKNAME field, the reference
number from the line you copied will drop in by default which will force
you to change it to an unused number when you press Enter at the
end of that line.
Using Goto
The Goto (F8) function key may be used to move the cursor within the variable
declaration table. To move to the nth variable declaration, enter n on the command
line and press Goto (F8). For example, to move the cursor to the first variable
declaration, enter 1 on the command line and press Goto (F8).
Note
You may not paste or include variable declarations if a reference address
in the paste buffer or include file is already in the variable declaration
table. However, you may edit the variable declaration table before the
paste or include operation to eliminate any reference address conflicts.
The identifier table in the _MAIN program block contains the program name, program
block names, Parameterized Subroutine Block names, external block names, JUMPs,
LABELs, MCRs, and ENDMCRs. The identifier table in a program block contains JUMPs,
LABELs, MCRs, and ENDMCRs.
You cannot insert new entries on this display screen. The program name cannot have its
identifier edited. A block can have its identifier edited if it is not called. All other
identifiers and descriptions can be edited.
The identifier table may be searched for a reference or nickname; it cannot be searched
for a reference description. To initiate a search in the identifier table:
1. Press Search (F4) to display the search function window.
2. Enter either the reference or its associated nickname into the Search for field. You
cannot enter a reference description in this field. Then, press the Enter key.
The steps for importing and exporting files that use the SNF format are shown here. For
information about SNF format, see appendix K.
1. Before you begin the next steps (which are all from within the programming
software), make sure that your SNF is in the same directory as the program into
which you are going to import.
2. Move the cursor to highlight the [ VARIABLE DECLARATIONS ] marker as
shown on page 3-38.
3. Press Zoom (F10).
4. Press region (F9). Your screen display will change to the one shown on the
following page.
5. Press import (F7). You will see the message shown in the following sample screen.
6. Type the file name. The path is optional because in Step 1 you ensured that the SNF
was in the same directory as the folder.
As long as your SNF follows the guidelines discussed in Appendix K, it will import
correctly into the Variable Declarations Table.
3. Press region (F9). The selections at the top of the screen will change to the ones
shown below.
4. Press select (F1). Then press the Cursor Down key (the Down Arrow key) until
you have highlighted the portion of the Variable Declaration Table you wish to
export.
The selected region appears in reverse video as represented in the sample shown below.
5. Press export (F8); then type the name you wish to call the SNF that Logicmaster
will create from your Variable Declarations. You do not have to add an extension;
Logicmaster will automatically add the extension .SNF. (The recommended method
of nomenclature is to use the same name for your SNF as the folder from which it
came.) If you do not enter a path, the file will save in the same directory where your
program resides. Refer to Appendix K for more information about SNF format.
6. After typing in a name, press Enter. The words “Export completed” will appear in
the upper left portion of your screen just below the menu.
7. Press the Escape key after seeing the “Export completed” to return to the program.
Each COMMENT instruction has a unique text block associated with it. Pasting/including
a comment will create a copy of the text block for each COMMENT instruction pasted.
The text for any COMMENT instruction is edited independently of any other
COMMENT instruction. This allows you to copy a COMMENT instruction by cutting
and pasting the text; then, you can edit the pasted text. Refer to chapter 3, section 5,
“Variable Declaration Table,” for information on cutting and pasting variable
declarations.
1. Press Insert (F1) and then Control (Shift-F9) to select the control functions.
3. Press the Escape key to accept the rung and exit INSERT mode.
Adding Text
Text can be entered into the COMMENT instruction by positioning the cursor on the
COMMENT instruction and pressing Zoom (F10).
This is a simple full-screen editor, which allows you to input your rung description. Up
to 2048 characters of text are permitted.
The available keys in the comment editor include:
Key Description
Cursor keys Move the cursor within the rung.
Page Up key Move the cursor up one page.
Page Down key Move the cursor down one page.
Insert key Change the text editing mode (INSERT or REPLACE).
Delete key Delete the character at the cursor position.
Backspace key Delete the character to the left of the cursor position.
Home key Position the cursor on the first character of the first line of the comment text.
End key Position the cursor at the end of the comment text.
Creating Borders
To make comments stand out in program printouts, borders can be printed around them.
The software will automatically create the border using any character you enter, as
instructed below:
1. Create the text for the comment.
2. At the beginning of the comment, on a line by itself, enter \B (or \b, as lower-case
alphanumeric characters are also recognized) and an ASCII character to be used as
the border. The ASCII character must be the next character after the B. For example,
entering \B? would create a border of question marks around the outside of the
text. If the comment text does not contain \B followed by the ASCII character for
the border, then Logicmaster 90-70 software prints asterisks by default.
???????????????????????????????????????????????????????????????????????????
?? The following logic rung enables automatic mode when all enabling ??
?? conditions are met. ??
???????????????????????????????????????????????????????????????????????????
AUTO
] /[
EMERGST UNISUP
]/[ ] /[
The border of question marks shown in this example will be used for all subsequent
rung comments in the program, unless it is changed or the border is deleted.
3. To print out a comment with no border, enter \B followed by the space character.
\I d:\text\commnt1
The drive designation is not necessary if the file is located on the same drive as
the program folder.
C. Continue editing the program, or exit to MS-DOS.
2. After exiting the programmer, create a text file using any MS-DOS compatible
software package. Give the file the file name in the comment, and place it on the
drive specified in the comment.
The view mode setup function, described in chapter 7, section 6, “View Modes Setup,”
enables you to specify which modes are displayed when you press ALT-N. These view
modes range from showing only rung references to showing reference names and
reference descriptions in an expanded rung form (display all mode). You can also view
the maximum amount of program logic on a screen by selecting a compressed rung
mode.
Display all mode shows reference description information in four 7-character segments
at each occurrence of an identifier or reference address in the program editor. The
Variable Declaration Editor displays a 4 x 7 character window with the reference
description for the current entry.
Note
The display mode (ALT-N) cannot be changed during RUNG EDIT or
RUNG INSERT mode.
Each time ALT-N is pressed, the editor display will move to the next display mode. The
five display modes are listed below.
Display All
Mode Description Lines / Rung
A Reference descriptions off, nicknames on. 3 screen lines per rung line.
B Reference descriptions off, nicknames off. 3 screen lines per rung line.
C Reference descriptions on, nicknames on. 7 screen lines per rung line.
D Reference descriptions on, nicknames off. 7 screen lines per rung line.
E Compressed rung mode. 1 screen line per rung line.
Mode A is the default mode. Each time ALT-N is pressed, the mode changes to the next
mode (e.g., mode A to B). If ALT-N is pressed while mode E is displayed, the display
cycles back to mode A. Refer to chapter 7, section 6, “View Modes Setup,” to select the
modes displayed when ALT-N is pressed.
Note
The mode identifier letters A, B, C, D, and E are used for reference in
this document only.
Display Mode D without status lines (press ALT-E to remove the status lines):
The following screen shows how the reference description breaks within the 4-line x
7-character window when the cursor is on %I00105.
Note
The information on external blocks contained in this manual is
concerned only with how Logicmaster 90-70 software handles external
blocks. This manual does not describe how external blocks are created
or debugged. For information on blocks written in C programming
language, refer to the C Programmer’s Toolkit for Series 90-70 PLC User’s
Manual, GFK-0646.
Eight variations of a CALL EXTERNAL instruction can be used to call external blocks.
These eight instructions vary in the number of parameters which convey input and
output data blocks. The enable and OK parameters are present for each instruction. For
more information on the CALL EXTERNAL instruction, refer to the Series 90-70
Programmable Controller Reference Manual, GFK-0265.
The block name specified on the command line determines which CALL or CALL
EXTERNAL instruction is programmed. The same Call (F1) softkey provides access to all
forms of the CALL instruction; and one &CALL mnemonic can be used to program any
form of the instruction. Specifying the &CALL mnemonic will search for the CALL and
CALL EXTERNAL instructions.
Specifying another instruction causes the desired instruction to overlay the instruction
highlighted by the cursor, if room permits. You can change from the CALL instruction to
one of the CALL EXTERNAL instructions or from one of the CALLEXTERNAL
instructions to the CALL instruction by specifying the block name and CALL mnemonic
on the command line, or by specifying the block name on the command line and
pressing the Call (F1) softkey.
Block Declarations
Up to 255 program blocks and external blocks can be declared in the main program
block. (Block declarations cannot be included in a program block.) Each block
declaration provides additional logic that may be called from the main program block or
from another program block.
Blocks are declared through the program block declaration editor. To add a block
declaration in the main program block, place the cursor on the [PROGRAM BLOCK
DECLARATIONS] marker. Then, press Zoom (F10) to display the program block
declarations screen.
Program blocks can also be declared through the library import function. External blocks
can be declared through the library import function only. For information on the import
function, refer to chapter 6, section 2, “Importing an Element from the Library.”
Using Goto
The Goto (F8) function key may be used to move the cursor. To move to a particular
block declaration, enter the number of that declaration on the command line and press
Goto (F8). For example, to move the cursor to the first block declaration, enter 1 on
the command line and press Goto (F8).
You may also go to a block by simply entering the block name with an optional rung
number on the command line and pressing Goto (F8).
Note
%L memory may still be viewed and/or modified even though the
program block is locked.
In addition to the locking capability, locked blocks can also be unlocked, unless they are
permanently locked.
A search or search and replace function may be performed on a view locked block. If the
target of the search is found in a view locked block, one of the following messages is
displayed, instead of logic:
For view locked blocks:
You may continue or abort the search. If you decide to continue, the locked block is
skipped and the search continues from the next block. If you decide to quit, the search is
aborted. For more information on search and search/replace, refer to section 11, “Search
Function,” in this chapter.
Locked blocks may be deleted. Folders that contain locked blocks may be cleared or
deleted. If a folder contains locked blocks, these blocks remain locked when the import,
export, copy, backup, and restore functions are used. For information on the import and
export functions, refer to chapter 6, “Program Librarian.” For information on the copy,
backup, and restore functions, refer to chapter 8, “Program Folders.”
Note
A block cannot be locked if it does not have an established language, or
if it is non-zoomable, such as an external block.
To lock a program block:
1. Move the cursor to the [PROGRAM BLOCK DECLARATIONS] marker and press
Zoom (F10).
2. In the block declaration editor, move the cursor to the desired block and press Lock
(F5) to display the Lock/Unlock Block screen. The program block name is included
as part of the title on this screen.
Note
If Lock (F5) is pressed when the cursor is on a block with the LANG:
field empty, the message “Block does not have a language” is displayed.
You cannot lock a block without its language defined.
Field Description
Lock State Specify the operation to be performed on the current block. Use the Tab key to
view the values for this field:
VIEWLOCK: A view lock is set on the block, and you cannot zoom into the block.
If you try to zoom into the block, the error message “Zoom denied because the
block is locked” is displayed.
EDITLOCK: An edit lock is set on the block, and the block cannot be changed.
If you try to edit the block, the error message “Edit denied because the block is
locked” is displayed.
3. If no lock is set on the current block, the LockState field is set to UNLOCK when the
screen is displayed. If a lock is set on the current block, then the LockState field is
set to the type of lock imposed on the block. Initially, the Password field is empty.
4. To set the lock, enter the value in the Lock State field. Move the cursor to the
Password field, and enter a password. Then, press the Enter key. The software will
prompt you to confirm the locking process with the message ”Is logic block to be
locked ? (Y/N).”
5. If you enter Y (Yes) after the confirmation prompt, the locking process begins.
Entering N (No) aborts the process. Once the block is successfully locked, the
message ”Block locked” is displayed in the message area of the screen, and the
Password field is cleared.
6. To quit the Lock/Unlock Block screen, press the Escape key. To restore the value of
the fields to their original values, press ALT-A.
1. Move the cursor to the desired program block and press Lock (F5) to display the
Lock/Unlock Block screen.
The current program block name is included as part of the title on this screen. If the
current block is locked, the LockState field indicates the type of lock. If the block is
not locked, the field is set to UNLOCK. The Password field is initially empty.
2. To unlock the block, set the value of the Lock State field to UNLOCK.
3. Move the cursor to the Password field, and enter the correct password. As each
character of the password is typed, an asterisk is displayed in the field.
4. Then, press the Enter key. The password you entered is compared with the
password last set. If the two passwords are identical, the block is unlocked and the
message “Block unlocked” is displayed in the message area of the screen. Once the
block is unlocked, the Lock State field is set to UNLOCK and the Password field
contains the password of the block just unlocked.
5. If the passwords do not match, the block is not unlocked, the error message
“Incorrect password given for unlock” is displayed in the message area of the screen,
the Password field is cleared, and the Lock/Unlock Block screen remains displayed.
6. To quit the Lock/Unlock Block screen, press the Escape key. To restore the value of
the fields to their original values, press ALT-A.
Caution
Interrupts
An interrupt declaration is used to form an association between an interrupt and a block.
The block that will execute in response to the interrupt must have its declaration entered
in the program block declarations section of the main program block. Up to 64 interrupt
declarations can be used.
Note
Timer function blocks do not accumulate time if used in a block that is
executed as a result of a timed or I/O interrupt.
Beginning with Release 6 of the PLC CPU, RLD interrupt blocks may
make calls to other blocks. The application stack used during the
execution of interrupt blocks is different from the stack used by the RLD
program. Therefore, the nested call limit is different from the limit
described for calls from the _MAIN block. The PLC will log an
”Application Stack Overflow” fault and the PLC will transition to
STOP/FAULT mode if a call results in insufficient stack space to complete
the call. For additional information, refer to the “Interrupt Handling
t
and Scheduling with Blocks” section of chapter 2 of the Series 90 -70
Programmable Controller Reference Manual (GFK-0265).
Once the association between an interrupt trigger and a block is made, the block will be
invoked each time its interrupt is received.
Note
Blocks which may execute as a result of a timed or I/O interrupt should
not be called from the _MAIN block or other non-interrupt blocks
because portions of the code executed by blocks are not reentrant. In
the example below INT1, INT2, BLOCK5, and PSB1 should not be called
from _MAIN, BLOCK2, BLOCK3, or BLOCK4.
To add an interrupt declaration in a main program block, place the cursor on the
[INTERRUPTS] marker and press Zoom (F10) to display the interrupts screen.
Timed Interrupts
Timed Interrupts enable the interrupt declaration editor to specify timed execution of
blocks. The softkey menu for this feature provides selection of timed or simple input
trigger driven interrupt declarations. The time base options are 1.0s, 0.10s, 0.01s, and
0.001s.
Note
Timed interrupts are available only in Release 4 or later CPUs.
The first execution of a timed interrupt will always occur at ((DELAY * time base) +
(INTVL * time base)) after the PLC is placed in RUN mode. For example, a timed
interrupt with a two-second time interval and a one-second offset would be executed at
times of 3 seconds, 5 seconds, 7 seconds, etc., after the PLC is placed in RUN mode.
Note
Beginning with Release 4 of the software, there is a limit of 64 input
triggered interrupts plus 16 timed interrupts per program.
In the following example, the interrupt block CHECK will be executed at two-second
intervals, beginning two seconds after the PLC is placed in RUN mode. The absence of a
DELAY value indicates that there will not be an initial delay in the first execution of the
block.
The input interrupt block MOV_ARM is triggered by %AI00009. The last interrupt block
CK_TMP will be executed at 0.2 second intervals (2 * 0.10s) after an initial delay of 2.2
seconds (20 * 0.10s) + (2* 0.10s).
CONST INTVL
00002
DELAY
CONST INTVL
00002
CONST DELAY
00020
Note
Timed interrupts are available only in Release 4 or later CPUs.
Beginning with Release 6 of Logicmaster and Release 6 of the Series 90-70 CPU, you
t
can have multiple standalone programs. Refer to chapter 2 of the Series 90 -70
Programmable Controller Reference Manual (GFK-0265) for relevant background
information about the multiple standalone programs feature.
3. To insert C programs, press the insert softkey (F1); then type the name of the C
program you wish to add. If you are in MONITOR mode as shown above, you will
have to switch (using Alt-M) to either ONLINE or OFFLINE mode before inserting.
From this screen you can set priorities for program scheduling and specify local I/O as
discussed on the next two pages. This screen only appears after you have copied
programs into a folder through the C Programmer ’s Toolkit, as discussed above. Folders
that do not have C programs will be unaffected and will not have this display.
Press F3 to begin the Standalone Program Merge process. The following screen will be
displayed:
Type the name of the standalone C program you wish to merge into the folder. If the
standalone C program is not located in the default directory, type the path and name of
the program.
3. The default scheduling mode is ORDERED which will execute all programs in the
order in which they appear on the Program Declaration screen (see sample on the
previous page), one after another. The choices are ORDERED, TRIGGERED, TIMED,
and PERIODIC. Press Tab with the cursor resting in the “Schedule Mode” field to
scroll through the Schedule Mode selections. Press Enter to select the mode.
For detailed information about the different Schedule modes, refer to chapter 2 of the
t
Series 90 -70 Programmable Controller Reference Manual (GFK-0265).
Note
Only Release 6 or higher PLCs have the ability to accommodate multiple
programs and to use the Schedule Modes.
Note
To establish the priorities of execution for Event-Triggered programs,
you must choose a number (10–99 in Normal, Constant Sweep, or
Constant Window Sweep mode, or 100–109 when the CPU is in
Microcycle Sweep mode) for each program to determine which program
will run first. If two or more programs have the same priority, the order
of execution is undefined.
The sample screen shown below shows the settings for an Event-Triggered program
with the CPU in Microcycle Sweep mode. Setting the priority at 101 gives it the second
highest priority possible for programs in Microcycle mode (see the table shown above).
The sample screen shown below shows the settings for a Timed program with the CPU
in Constant Sweep mode. Setting the priority at 10 gives it the highest priority possible
for programs in Normal, Constant Sweep, or Constant Window Sweep mode (see the
table shown on previous page).
Most of the parameters are self-explanatory with the exception of “Priority” (discussed
above) and those that are listed in the table below.
Parameter Usage
Initial Delay Enter the number of milliseconds to establish how long the CPU should wait in
addition to the Time Interval before the first execution. If you wish to use seconds
rather than milliseconds (the default), move the cursor onto the “MSEC” field and
press Tab to toggle through the choices (MSEC, SEC).
Time Interval Enter the number of milliseconds for the interval between each activation of the
program. If you wish to use seconds rather than milliseconds (the default), move
the cursor onto the “MSEC” field and press Tab to toggle through the choices
(MSEC, SEC). In the sample screen shown above, the Initial Delay and the Time
Interval parameters will cause program FNC7_S2 to execute every 10 milliseconds
after waiting 45 milliseconds once the CPU is put into Run Mode.
Note
For detailed information on this and the other schedule modes, refer to
the “Program Scheduling Modes” section (and the pages following that
t
section) of chapter 2 in the Series 90 -70 Programmable Controller
Reference Manual (GFK-0265).
The above sample screen shown above has the I/O already specified.
3. Press the Cursor Down key once to move the cursor to the INPUT
SPECIFICATION field.
4. Enter the starting point and length similar to the sample shown above. Use the
cursor keys to move from field to field. Press the Escape key when you are
finished.
Note
The maximum number of block calls that can occur in any block is 64.
The maximum number of declared blocks is 255. No block may be
called more than 255 times.
data
%P
Inherits as %L
_MAIN – – – – – – – – PSB 1
PROGRAM
BLOCK
data
%L
Inherits as %L
PROGRAM – – – – – – – – PSB 2
BLOCK
1
– – – – Data inheritance
Program block call
Block Declarations
Blocks are declared through the block declaration editor. To add a Parameterized
Subroutine Block or edit an existing subroutine block from the _MAIN block, position
the cursor on the [ PROGRAM BLOCK DECLARATIONS ] marker. Then, press
Zoom (F10) to display the block declarations screen.
From this screen, you can create, delete, and zoom into parameterized subroutines. In
the example displayed above, a program block named START has been declared, along
with a subroutine named CHECK1, which has no input/output parameter pairs, and
another subroutine named LOAD_41 ,which has four input/output parameter pairs.
Parameter Description
SUBR This field is automatically generated when a PSB is declared. It identifies the
program block as being a Parameterized Subroutine Block. This field cannot be
edited.
Block Name Enter a block name of up to seven characters. The characters used in the block
name may be a letter A through Z, a numeral from 0 through 9, and an
underscore. However, the first character of the name must be a letter. A block
name is required and can be edited.
LANG This field is automatically generated when a PSB is declared. It identifies the
language the block was programmed in. For PSB program blocks, the language
will always be LD. If the block is unexecutable, NOT EXECUTABLE will be
displayed directly under the language identifier. This field cannot be edited.
Comment A 32-character explanation of the subroutine block is displayed in this field. The
comment is optional and may be edited.
Parameter Subroutine parameter names can be from one to three characters. Valid
Name parameter name characters are A through Z, a numeral from 0 through 9,
and an underscore. However, the first character of the name must be a letter.
Note: The number of characters in the parameter name added to the number
of digits in the parameter length must not exceed 5.
Parameter The parameter type describes the data format of each parameter. The available
Type data formats are BIT, WORD, NWORD, and NONE*.
Parameter The parameter length describes the length of the parameter, in number of units
Length (specified by type). (Default=1)
Note: The number of characters in the parameter name added to the number
of digits in the parameter length must not exceed 5.
* Default selection.
Note
Press ALT-A at any time to abort this process.
1. Place the cursor at the desired location, and press the Insert (F1) softkey.
A. If you do not have the Sequential Function Chart (SFC) feature, a program block
filled with question marks (???????) will be displayed. Skip step 2 and proceed
with step 3 below.
B. If you have the Sequential Function Chart (SFC) feature, a set of softkeys
consisting of a Ladder Diagram (LD – F1) softkey and a Sequential Function
Chart (SFC – F2) softkey will be displayed. Proceed with step 2.
2. Enter a valid block name on the command line, and press the Ladder Diagram (F1)
softkey. A standard program block with the block name will be created at the cursor.
Also, a set of softkeys consisting of Program Block (F1) and Subroutine (F2) will be
displayed.
A. If no block name or an invalid block name is entered prior to this step, the block
will be labeled ???????.
B. If a block name and number of parameters is entered prior to this step, the block
name will be used, but the number of parameters will be ignored.
3. To add a subroutine block with four input/output parameter pairs, enter 4 on the
command line, and press the Subroutine (F2) softkey. When you press F2, the
screen displayed will show all of the parameters inactive.
A. If a valid block name and/or valid number of parameters has not been entered,
the following message will be displayed:
B. A block name and number of parameter pairs can be entered on the command
line separated by a space. The order of the name and number of parameters
may be reversed.
C. A program block name is required before the block can be accepted.
D. If the number of parameters is not specified, a default of 0 parameters will be
used.
E. Parameters X1 – X7 are input parameters, and Y1 – Y7 are output parameters.
4. To change X1 from NONE to BIT, use the Tab key to cursor to the X1 input
parameter, and press F1 to select the parameter type BIT.
A. A valid parameter name and/or parameter length can be entered on the
command line prior to pressing one of the softkeys (bit, word, or nword)
separated by a space. For example, if you tab to X1, enter IN 50 on the
command line, and press the Bit (F1) softkey, a type, length, and name will be
entered for the parameter (type = bit, name = IN, length = 50).
B. If both the name and length are entered, they must be separated by a space.
The order in which the name and number of parameters is entered may be
reversed.
C. Arrow keys may be used to move around the subroutine block.
Note
If either the parameter name or the parameter length is invalid, and
they are entered together, both will be ignored.
The following table describes the maximum length for each parameter type:
Parameter Maximum
Type Length
Bit 256
Word 512
Nword 512
None N/A
Note
A subroutine block cannot be edited once a call to that subroutine is made.
Parameter Description
Block Name To change the block name, place the cursor anywhere inside the subroutine
box, enter a valid name, beginning with an alpha character, on the command
line, and press the Enter key.
Number of To change the number of parameter pairs, place the cursor anywhere inside
Parameter Pairs the subroutine box, enter a number from 0 to 7 on the command line, and
press the Enter key.
A parameter name and/or length may be entered on the command line when
changing the type.
Comment To change the comment, place the cursor anywhere in the comment area,
enter a new comment up to 32-characters, and press the Enter key.
With the cursor on the subroutine block declaration, or while editing the subroutine
block declaration, you can press ALT-W to display the Highest Used Parameters in Block
screen. A sample screen is shown below:
This example shows the subroutine CALL instruction as it will appear in the calling
block. By positioning the cursor within the instruction, you can press F10 to zoom into
the parameterized subroutine.
Parameterized subroutine block formal parameters (e.g., X1[001]) may be passed from
one Parameterized Subroutine Block to another. Refer to the restrictions listed on page
3-99.
For more information on calling a Parameterized Subroutine Block, refer to the Series
90-70 Programmable Controller Reference Manual, GFK-0265.
Nicknames may be defined when using a formal parameter. For example, IN[005] may
be assigned the name SWITCH by entering IN[005] SWITCH on the command line.
SWITCH can now be used to reference IN[005] anywhere within the PSB.
The following sample parameter assignment table was zoomed in from a program block.
ab[ccc]
When the formal parameter nicknames are used, the formal parameter reference has the
following forms:
d[ccc]
dd[ccc]
ddd[cc]
NWORD type parameters may be used on any multi-word type operands, but not on
discrete types. If an NWORD parameter type is declared with a length value of 5, N005
will be displayed above the selected parameter location.
Note
For more information about using NWORDs, refer to page 3-98.
Assigned parameters are PLC references or data flow which pass their address or data
into or out of a Parameterized Subroutine Block. An assigned parameter may pass either
the value of the data in the assigned parameter (BIT type parameters) or the address of
the assigned parameter (WORD or NWORD type parameters). Assigned parameters are
viewed in the parameter assignment table.
In the following screen, the IN[020] formal parameter value has the state of the assigned
parameter of %I00021, and IN[002] has the state of the assigned parameter of %I00003.
The OPN[01] – OPN[24] parameters reference the actual values of %R00001 –
%R00024. The OPN[25] – OPN[40] parameters reference the actual values of %R00025
– %R00040. The value of the output parameter CLS[16] is assigned to %M00016.
OUT[01]–OUT[24] and MOV[01]–MO V[16] reference the word values at parameter
locations %R00101 – %R00124 and %AQ00001 – %AQ00016, respectively. The Y0[001]
reference on the first rung will control the OK output of parameterized subroutine
LOAD_41.
Note
When zoomed into a PSB from the Program Block Declarations, no
real-time updates will be displayed for formal parameters (X1 – X7,
Y1 – Y7) or local data (%L). You must zoom into the PSB from a call to
it to display real-time updates of the formal parameters.
When zoomed into a PSB, power flow input and output parameters, as
well as the OK output (Y0[001]) will always be displayed in an OFF
state.
Note
NWORDs are used only with Parameterized Subroutine Blocks.
NWORDs allow an array of words to be referenced. NWORD
parameters enforce type checking for DWORD, DINT, and REAL
instructions. To avoid confusion, please read the explanation presented
below.
NWORDs Defined
An NWORD is a number of words passed into and/or out of a Parameterized Subroutine
Block. NWORDs can be treated as WORDs or DWORDs, determined by the way they
are accessed. If you are using DWORD/DINT features, such as MATH or MOVE, you
must set up the array as shown at the bottom of this page.
NWORD parameters are parameters that make up multiple WORDs; i.e., NWORD
parameters comprise an array of WORDs. The size of NWORDs is specified in WORDs,
not DWORDs. NWORD parameters may be used on any multi-word operands, but
NOT on discrete type parameters.
Using NWORDs
Within a Parameterized Subroutine Block, the first word of an NWORD parameter
would be referenced by X1[1], for example. The second word would be referenced by
X1[2], etc.
If you want to pass DWORD parameters into a Parameterized Subroutine Block, you
must use the NWORD parameter type. The first DWORD would be referenced by X1[1]
(same as for word). However, the second DWORD would be referenced by X1[3]; the
third by X1[5], etc.
Function Parameter
Service Request (SVCREQ) PARMS input parameter.
Communications Request (COMMREQ) IN input parameter.
DATA_INIT Q output parameter.
DATA_INIT_COMM
DATA_INIT_PID
DATA_INIT_ASCII
DOIO ST, END, and ALT parameters.
6. A Parameterized Subroutine Block’s BIT type formal parameters may not be passed
directly to another (nested) Parameterized Subroutine Block. You may, however,
create logic that moves the BIT type formal parameter to a temporary storage
location such as %I memory and pass this reference to another (nested)
Parameterized Subroutine Block.
7. A PSB’s WORD type formal parameter may not be passed to another PSB’s
NWORD type formal parameter.
In order to initiate a search for a formal parameter, you must have the subroutine
displayed. Press Search (F4). Enter the name of the formal parameter in the Search for
field, set the Scope to LOCAL, and press the Enter key. For example, to search for the
formal parameter IN[003], enter IN[003] in the Search for field, set the scope to
LOCAL, and press the Enter key.
To replace the formal parameter IN[003] with IN[005], enter IN[003] in the Search for
field and IN[005] in the Replace with field. Then, press the Enter key to initiate the
search and replace.
Interrupts
Note
Only 0-parameter PSBs may be invoked by an interrupt.
PSBs invoked by an interrupt are not interruptible, while PSBs invoked from relay
ladder diagram logic are interruptible.
The sample below shows how the interrupt editor will display various types of
interrupts when paging through the interrupt declarations.
—[ START OF INTERRUPTS ]
+—————————————+
[%AI00009]—————> CALL MARY |
+—————————————+
+—————————————+
[%AI00002]—————>CALL INT_C_1 |
| (EXTERNAL) |
| |
+—————————————+
+—————+ +———————————————+
|TIMER+—————>CALL INTERRUPT |
|.010s| | (EXTERNAL) |
| | | |
CONST —+INTVL| +———————————————+
00123 | |
| |
CONST —+DELAY|
00120 +—————+
+—————+ +———————————————+
|TIMER+—————> CALL CHECK1 |
|.010s| | (SUBROUTINE) |
| | | |
CONST —+INTVL| +———————————————+
00123 | |
| |
CONST —+DELAY|
00120 +—————+
+—————+ +———————————————+
|TIMER+—————> CALL PERCY |
|.001s| | |
| | | |
CONST —+INTVL| +———————————————+
00456 | |
| |
CONST —+DELAY|
00012 +—————+
—[ END OF INTERRUPTS ]
Note
When a PSB is invoked by an interrupt, it will inherit the _MAIN block’s
local data (%P).
After a logic program has been entered, there is always a need to make modifications,
either to correct logic errors or to add new capabilities. Logicmaster 90-70 software has
an array of features to make this process easy. The same function keys used to initially
enter a rung are available to insert new rungs. In addition, there are function keys to
edit or modify existing rungs.
Function
Key Function Description
F1 Insert Add one or more rungs to the program. Selecting the insert function
opens a new space above the rung where the cursor is positioned and
displays the Edit Rung keys, which are used to select program elements.
This allows you to create a new rung.
F2 Edit Edit the rung at the cursor location. The edit function activates the
current rung, enabling you to modify that rung. When F2 is pressed,
the Edit Rung keys are displayed at the top of the screen. These keys
are used to select program elements.
F3 Modify Initiateword-for-word instruction changes using the Edit Rung softkeys
instead of mnemonics.
F4 Search Locate a program element.
F7 Option Access coil checking and other editor options.
F8 Goto Go to the specified rung.
F9 More Access additional Edit Rung softkeys.
F10 Zoom Go to a more detailed level. To return to the original level, press the
Escape key.
Function
Key Function Description
F1 Select Select or deselect a rung or group of rungs. Rungs or declarations may
also be deselected by pressing F1 again, by pressing ALT-A, or by
pressing the Escape key. After deselecting the rungs or declarations,
the message “Select mode cancelled” is displayed on the message line
and the cursor remains on the last rung or declaration that had been
selected.
F2 Cut Delete the selected section of rungs or declarations from a program
and put them in the cut buffer. After a cut operation, the cursor
will appear on the rung or declaration immediately after the selected
region.
F3 Paste Insert previously cut rungs or declarations from the cut buffer. Cut
rungs and declarations may be pasted any number of times, until they
are replaced by new information in the cut buffer, or until the
program editor is exited.
F4 Include Insert previously written rungs or declarations back into the original
program, or into any other program. Written rungs and declarations
may be included any number of times.
F5 Write Copy the selected section of rungs or declarations from a program
into a special file. After a write, the cursor remains on the last rung
or declaration selected.
F6 Delete Delete the rung at the cursor location or a range of selected rungs.
F8 Goto Enter the rung number on the command line, and then press F8 to
”go to” a specific rung in the ladder diagram logic. You can also
specify a block name and rung number in the block to ”go to” a
specific rung in that block.
F9 More Return to the first level of Edit Rung softkeys.
F10 Zoom Zoom into the item the cursor is on.
Note
The function keys listed above can also be applied to the variable
declaration table. Using the file write function, a group of reference
descriptions can be written to a file to be used by another program.
Editing a Rung
When either the insert, edit, or modify function is activated by pressing F1, F2, or F3,
respectively, the following softkey selections are displayed at the top of the screen.
These function keys provide access to the instructions required to edit ladder diagram
rungs.
Note
Only one rung is active at a time in either the insert or edit function.
Each rung must be completed and accepted by the software before the
next rung can be edited.
Entering Instructions
Select instructions by:
1. Typing the mnemonic for the instruction, preceded by an ampersand character (&).
(Refer to appendix E, “Instruction Mnemonics,” for a listing of the mnemonics for
Logicmaster 90-70 programming software.) Then, press the Enter key.
2. Pressing the Shift key and a function key to display a specific group of instructions.
Then, select a specific instruction within that group by pressing its function key.
In this example, the ADD function is selected by typing the mnemonic &ADD on the
command line.
After the Enter key is pressed, the screen adjusts to display the complete new instruction
and the ADD function is inserted.
Key Description
Cursor keys Move the cursor within the rung.
Tab and Shift-Tab Move among the inputs and outputs of a function.
Home key Position the cursor on column 1 in row 1.
End key Position the cursor on the last defined row.
For Command Line Entry
Insert key Change the text editing mode (INSERT or REPLACE).
Delete key Delete the character at the cursor position.
Backspace key Delete the character to the left of the cursor position.
CTRL-Left Cursor Move the cursor within the command line.
or
CTRL-Right Cursor
Entering Nicknames
Nicknames can also be created or modified on the command line. To do this, enter the
nickname together with its machine reference and any associated reference description.
(Refer to chapter 3, section 4, “Program Annotation,” for more information on entering
nicknames and reference descriptions.)
The state of the last executed continuation coil is the flow state that will be used on the
next executed continuation contact. The continuation contact does not require a
continuation coil in previous rungs for editing. However, if the flow of logic does not
execute a continuation coil before it executes a continuation contact, the state of that
contact will be no flow.
Deleting an Element
To delete an operand or instruction from a rung while in INSERT or EDIT mode, press
ALT-D or Open Space (Shift-F10) and then Delete Instruction (F10). Enter another
instruction in the space left by the deleted instruction, or enter a horizontal link. An
instruction may also be deleted by replacing it with another instruction.
To remove the horizontal links and coil that follow the ADD_DINT instruction, place the
cursor on each logic segment and press ALT-D. The Tilde (~) key or Horizontal Link
(F9) softkey can also be used to clear the link.
Function
Key Function Description Page
F1 Move Right Move the element at the cursor position, and all the 3-118
elements to the right of the cursor position, one
position to the right in all lines. Shunts are automatically
inserted into the new column in the rung.
F3 Move Down Create room for an additional line of logic above the line 3-119
the cursor is on.
F5 Delete Column Delete an entire column of instructions (including 3-120
verticals) and operands within a rung. All elements to the
right of the deleted column will automatically move left.
F7 Delete Row Delete an entire row of instructions(includingverticals) 3-121
and operands within a rung.
F9 Delete Remove nicknames from the variable declarations table. –
Nickname Enter the nickname to be deleted on the command line
before pressing F9.
F10 Delete Delete an operand or instruction from a rung. (You may 3-122
Instruction also press ALT-D to delete an operand or instruction.)
Deleting a Rung
To remove a single rung of logic, place the cursor at the rung, press More (F9), and then
press Delete (F6); or simply press ALT-D (while not in INSERT or EDIT mode).
Selecting Rungs
The cutting and file writing of rungs requires that a section of rungs first be selected. To
select the rungs:
1. Press More (F9) to display the cut/paste function keys.
2. Move the cursor to the rung at the beginning or end of the section to be selected.
Then, press Select (F1). The message “Select mode initiated ...” displayed on the
message line indicates that the select function has been activated. Once this
function is active, the only functions available are cursor, page, cut, write, help, and
goto.
3. The current rung is automatically selected. By pressing the Up/Down cursor keys,
Prev, Next, Page Up/Down, Home, or End keys, you can add subsequent or previous
rungs into the selected region. Selected rungs are shown in reverse video on the
display.
4. The Select (F1) softkey acts as a toggle between the select and deselect functions. To
deselect the selected rungs, press the Select (F1) key or ALT-A.
A. Press Cut (F2) to cut the selected rungs.
B. Press Write (F5) to write the selected rungs to a file.
C. Press Delete (F6) or Alt-D to delete the selected rungs.
5. To deselect the selected rungs, press Select (F1). The F1 key acts as a toggle between
the select and deselect function.
Note
The select function can also be used to select variable declarations and
interrupt declarations.
If the cut buffer becomes full, repeat the operation, selecting a smaller amount of
logic.
3. All rungs below the selected section will scroll up to fill the gap of the just-cut
section.
Note
Cut rungs are saved only as long as you remain in the program editor.
Conflicts may occur between declarations in the section of rungs to be pasted (buffer)
and declarations in the existing (target) program. A nickname in the buffer that is
identical to one in the target program is simply passed over and ignored during the
paste operation.
When a declaration in the buffer has the same reference address but a different
nickname than a declaration in the target program, the declaration from the buffer is not
added to the existing program’s declaration table.
A name conflict occurs when a declaration in the buffer has the same name as a
declaration in the target program, but a different meaning. For a nickname, the different
meaning would be a different reference address.
Name conflicts are resolved by automatically generating a unique system name for the
conflicting declaration in the buffer, and then adding it to the target program. The
presence of system names (any name beginning with the $ character, e.g., $LA00001) in
the pasted logic indicates that name collisions have occurred during the paste operation.
Implicit declarations, such as JUMPs, LABELs, and MCR names, are handled in the same
way.
Note
If coil checking is set to SINGLE, rung(s) may not be pasted if a coil-use
conflict would occur. %T references should be used on coils to allow
rungs to be pasted, or use the WARN MULTIPLE coil check option.
(Refer to the information on coil checking later in this section.) %T
references may later be replaced with %Q or %M references.
Note
The file write function differs from the cut function in that selected
rungs are not removed from the program.
1. To use the file write function, you must first select the rungs to be written to the side
file. Press F1 to select the current rung; then, select additional rungs required.
2. Enter the name of the side file on the command line, and press Write (F5). The
selected section of rungs will be written out to the specified file.
Any valid file name, without an extension, can be used for the side file. If the file
specification includes a path, the specified directory must already exist. It is not created
as part of a file write operation. If no path is specified, the current folder is assumed.
Note
Side files created with Release 4 or later of Logicmaster 90-70 software
cannot be inserted into folders using Logicmaster 90-70 software
releases prior to Release 4.
Any unique reference address nickname assignments and any identifier names are
added to the current program’s variable declaration table. If the name in the include file
declaration matches a nickname or identifier in the target folder, the duplicate entry is
not added. Conflicts are handled as previously described under “Pasting Previously Cut
Rungs.”
If the name from the include file conflicts with a nickname or identifier in the target
folder, a unique system name is automatically generated for the program declaration
before it can be added to the target folder. For example, an MCR has the name END_OP
in the include file, but END_OP is also the name of the folder (or a nickname). A new
name is generated for END_OP ($MC0001).
1. To use the file include function, the program logic to be included must have been
previously stored to a particular disk file.
2. Press Include (F4) and enter the name of the side file on the command line. Then,
press the Enter key. The contents of the specified disk file are included before the
current rung in the program.
Any valid file name, minus an extension, can be used for the side file. The file
specification may include a path; however, if no path is specified, the current folder is
assumed.
Function
Key Function Description Page
F1 Move Right Move the element at the cursor position, and all the 3-118
elements to the right of the cursor position, one
position to the right in all lines. Shunts are automatically
inserted into the new column in the rung.
F3 Move Down Create room for an additional line of logic above the line 3-119
the cursor is on.
F5 Delete Column Delete an entire column of instructions (including 3-120
verticals) and operands within a rung. All elements to the
right of the deleted column will automatically move left.
F7 Delete Row Delete an entire row of instructions(includingverticals) 3-121
and operands within a rung.
F9 Delete Remove nicknames from the variable declarations table. –
Nickname Enter the nickname to be deleted on the command line
before pressing F9.
F10 Delete Delete an operand or instruction from a rung. (You may 3-122
Instruction also press ALT-D to delete an operand or instruction.)
In the following example, the column next to the power rail is moved right one column
by positioning the cursor in column 1 and pressing Move Right (F1).
Before:
After:
In the following example, the rung of logic beginning with %I00002 is moved down one
row by positioning the cursor in row 2 and pressing Move Down (F3).
Before:
After:
Delete Column
The Delete Column (DEL CN) function is used to delete an entire column of instructions
(including verticals) and operands within a rung. It can be used to delete a column that
contains functions as well as contacts or coils, as long as the function template itself is
totally contained within the column.
When the column to be deleted is within a rung that contains no coil or jump
instructions, all columns to the right of the deleted column are moved left one column.
In the following example, the column which contains %I00007 is deleted by positioning
the cursor in column 3 and pressing Delete Column (F5).
Before:
After:
Delete Row
The Delete Row (DEL RW) function is used to delete an entire row of instructions
(including verticals) and operands within a rung. It can only be used to delete a row
whose instructions, together with their operands, are totally contained within the row.
For example, the DEL RW function can be used to delete a row with a function such as
MCR, but it cannot delete a row containing an ADD_INT function because the
ADD_INT function spans several rows. After the deletion, all rows beneath the deleted
row move up one row. When a row is moved up to the first row position, its verticals
are automatically deleted. In the following example, row 3, which contains %I00003, is
deleted by positioning the cursor in row 3 and pressing Delete Row (F7).
Before:
After:
Delete Instruction
The Delete Instruction (DELINS) function is used to delete an operand or instruction
from a rung. Another instruction or a horizontal link may then be entered in the space
left by the deleted instruction. The ALT-D key sequence may also be used to delete
instructions; however, the cursor will automatically move to the right after the deletion.
In the following example, the ADD instruction is deleted by positioning the cursor on
the ADD function block and pressing Delete Instruction (F10).
Before:
After:
Key Description
CTRL-U Increment key sequence.
CTRL-D Decrement key sequence.
Note
For reference operands which must be byte-aligned, the reference
address is incremented/decremented by one byte.
For example, a discrete input reference address of a MOVE_INT function block will
increment or decrement by one byte (e.g., %I00001 to %I00009). The same reference
address on a normally open contact will increment or decrement by one (e.g., %I00001 to
%I00002). A register reference address on the input of an ADD function block will also
increment or decrement by one (e.g., %R00005 to %R00006).
If there is a numeric value on the command line, it is used as the number of bits to add to
or subtract from the reference address. For parameters that are byte-aligned, the
increment/decrement value is one byte when the value on the command line is between
0 and 8, two bytes when the value is between 9 and 16, etc. The value will remain
displayed on the command line after the function is completed so that the reference
address can be incremented/decremented by the same value again.
If the reference address reaches the current configuration limit, an error message is
displayed and the function is not performed. If the cursor is not on a reference address
and you attempt to increment or decrement the address, an error message is also
displayed.
1. First, position the cursor on the reference address to be changed. In this example,
that would be %I00001.
2. Press CTRL-U five times to display the reference address %I00041, as shown in this
screen.
3. To decrement the reference address to %I00025, press CTRL-D twice. Or, you could
enter the decrement amount 16 (2 bytes) on the command line and press CTRL-D.
The value 16 displayed on the command line does not disappear when the
decrement is completed. It continues to be displayed on the command line so that
you may continue decrementing by that same amount.
9. Press ALT-0 to play back the teach file. The following screen is displayed. Note that
the reference address has automatically been changed to the next available address.
The Program Editor Setup Options menu provides access to options in the program
editor. These options include multiple coil use, automatically inserting references,
automatically creating unbound references, and configuring multiple languages.
Coil Checking
The coil check function of the programming software checks for multiple uses of %M or
%Q references with relay coils or outputs on functions. Beginning with Release 4 of
Logicmaster 90-70 software, you can select the level of coil checking desired from a
screen similar to the one shown below.
To access this screen, press Program (F1) from the Programming Software main menu.
Then, press Options (F7) from the program editor. Instructions for selecting the desired
level of coil checking begin on page .
Note
If the program folder is locked, the level of coil checking cannot be
changed and the coil map cannot be rebuilt. Refer to the information on
unlocking program folders described in chapter 8, “Program Folders.”
The Coil Check screen shows the current level of coil checking, allows you to change the
level, and checks for and displays coil use conflicts on demand. You can change the level
selected, regardless of which level was previously selected.
Note
When the program mode is MONITOR or ONLINE and the program in
your computer is identical to the program in the PLC (i.e., LOGIC
EQUAL status is displayed), only the current level of coil checking is
displayed. An error message is displayed if you try to change the coil
check level.
2. Press Coil Check–displayed as Coilck (F1) to display the Multiple Coil Use screen.
3. The screen shows the current level of coil checking. To select another level,
repeatedly press the Tab key until the desired setting is displayed. Then, press the
Enter key to accept the change. Or, you can type the desired setting into the Coil
Use field, and then press the Enter key.
4. The coil use map is automatically rebuilt when the SINGLE or WARN MULTIPLE
level is accepted. To rebuild the coil map without changing the current setting, press
Check (F1). F1 may be used regardless of the current coil use setting. The message
“Checking Block . . . ” is displayed as the map is built, along with the name of the
block currently being checked.
The rebuilding of the map takes approximately 15 seconds per block. For example, a
program consisting of 10 to 15 blocks may take up to two minutes to rebuild the
map.
5. Press ALT-A to abort the rebuild and restore the old coil use map. A message
indicating that an abort has occurred is displayed.
6. When the rebuild is complete, any conflicts found are listed. Both explicit and
implicit use conflicts are displayed. Only one screen full of conflicts is displayed.
Conflicts are not saved in memory. When you leave this screen, they will not be
redisplayed if you re-enter this display screen. However, the Check (F1) softkey
may be pressed to check for coil conflicts.
ALT- P may be used to print a screen of conflicts. For information on printing a screen
display, refer to chapter 10, section 2, “Selecting a Screen Print Device.”
The automatic insertion of unbound references in the logic defaults to the setting which
was last entered for the currently selected folder. For a newly created folder, the default
value is N (No).
When enabled, the automatic insertion of unbound references provides an unbound
reference whose memory type is appropriate for the current operand and whose
memory offset is the next-highest unused memory offset of its type found in the folder.
If you enter an unbound reference address manually, you can also use the automatic
insertion function to determine the next-highest unused memory offset.
Whether inserted manually or automatically, unbound references are entered in the
appropriate variable declaration table. Unbound references used in the _MAIN logic
block are declared in the folder’s global variable declaration table; unbound references
used in a block are declared in that block’s local variable declaration table.
In the following example, the nickname START_1 is entered as the operand on a contact.
No %U reference has been used, so %U00001 is automatically assigned to that variable.
STOP_1 and PUMP_1 are then entered without associated reference addresses and are
automatically assigned %U00002 and %U00003.
In the program editor, unbound references are treated the same as any other reference,
with the exception of the paste and include functions. When you try to use either of
these functions to insert a rung of logic into a program which contains an unbound
reference address already declared in the program, the message “Unbound reference in
use” is displayed on the message line as the rung is inserted.
In the following example screen, rung 4 is cut and the nickname associated with
%U00002 is changed from STOP_1 to E_STOP. When the original version of rung 4 is
pasted, the message ”unbound reference in use” appears in the message box. The rung
is included in the logic, but %U00002 is now associated with the nickname E_STOP
instead of STOP_1.
Since unbound references are non-executable, they have no values. Therefore, you
cannot access %U or %UR references with reference table or print value functions. You
can examine the %U and %UR references used by a program block with the print block
cross references function, but the print global cross references function does not support
unbound references. You cannot access %U or %UR memory in the configuration
software.
After importing with the variables redefined, the logic for the block appears as shown
below.
If a library block is imported to a folder with its unbound references intact, you must edit
the logic to replace all unbound reference addresses with compatible machine reference
addresses before the program can be executed. If you try to enter the program display
screen when the currently selected folder contains logic with unbound references, or if
you try to zoom into a program block which contains unbound references, the message
”Unbound reference in use” is displayed on the message line. If you try to exit the
program display screen when the currently selected folder uses unbound references, or
if you try to zoom out of a block which uses unbound references, the message box
shown in the following screen is displayed.
If you try to store to the PLC logic using unbound references, the store operation is
aborted and an error message is displayed. You cannot enter unbound references to the
logic while online and equal with the PLC.
If the selection for automatically creating %U and %UR references is set to Y (Yes),
unbound references are automatically entered in the variable declaration tables,
regardless of whether the selection for automatically inserting references is set to Y.
3. Enter Y (Yes) and press the Enter key to enable automatic insertion. Explicit
references entered on the command line during an edit session are automatically
inserted in the variable declaration table; implicit references (those references not
entered while programming logic) are not automatically inserted in the table.
In the following example, the explicit references %M00001, %I00001, %Q00001, and
%Q00017 are inserted automatically in the variable declaration table. %I00002
through %I00016 are implicit references and are not inserted automatically in the
table.
%M00001 %Q00001
ADD_ ( )
INT
%I00001 I1 Q %Q00017
CONST I2
+0004
Note
The default selection for automatically inserting references is N (No).
Every new folder defaults to NO.
Note
Even if you decide to program all your blocks in sequential function
chart language, you can still access relay ladder diagram for those
portions of the SFC block where there is no choice of language (e.g.,
preprocessing actions, postprocessing actions, transition logic, and
action logic).
Also note that the SFC option is available only if your organization has
purchased the SFC option package. This is an extra option that does not
automatically come with the purchase of Logicmaster.
To change the block language configuration:
1. From the Programming Software main menu, press Program (F1) and then Options
(F7) to display the Program Editor Setup Options menu..
Block Language Choices for New Blocks are: SFC AND RLD
and press the Tab key to select a language. Your choices are SFC and RLD,
RLD ONLY, or RLD ONLY.
Note
The multiple language option may be changed as often as desired. Your
selection takes effect immediately; however, it only impacts the
language selection for new blocks. For example, if the RLD ONLY
option is selected, any old blocks programmed in sequential function
chart language will still be in the SFC Editor when you zoom into them.
Remember that the SFC option is available only if your organization has
purchased the SFC option package. This is an extra option that does not
automatically come with Logicmaster.
The search function enables you to locate an identifier name, reference address,
nickname, instruction, instruction plus reference address, instruction plus nickname,
instruction plus identifier name, and reference description anywhere in the program.
1. To begin the search function, select Search (F4) from the program edit functions.
When F4 is pressed, a search function window is displayed on the screen.
Pressing only the Search key accesses the search function again. Since all fields are
already set as desired, simply press the Enter key to initiate the search.
3. If the target is not found, a message indicating this is displayed. The search function
will remain active.
4. If the target is found in a block that is locked for view, the following message is
displayed:
If you continue, all remaining blocks are searched. If you decide to quit, the search is
aborted. For more information on viewing locked blocks, refer to chapter 3, section
8, “Program Blocks, External Blocks, and Interrupts.”
5. The search can be aborted at any time by pressing ALT-A (abort). A message
acknowledging the abort is displayed, and the search function will remain active.
Refer to the definitions in the following table when making entries in the search
function window. To change a selection in one of the fields, other than the Search for
and Replace with fields, use the Tab key to toggle through the available choices.
Field Description
Search for The target to be searched for. It may be an identifier name, a reference address
(e.g., %I00012) or nickname (e.g., WIDGET), an instruction (e.g., &COIL), an
instruction plus reference address (e.g., &COIL %Q00001), nickname
(e.g., &COIL WIDGET), or identifier name (e.g., &JUMP BLK1), or a reference
description entered in quotes. Enter the desired target into this field.
Search allows you to locate all uses of a nickname. First, the software searches
the local table if you are in a program block. Next, it searches the main variable
declaration table and finally the reserved table. The search operation stops
when the first occurrence of the search target is found.
Replace with What will replace the target being searched for.
Scope Modify the search by specifying whether the target should be searched for in
the current program block only or across all program blocks, including the
main block (_MAIN) and interrupt declarations. Choices for this field include
LOCAL for the current program block only or GLOBAL for all blocks. The
search order for all blocks is the program block declaration order, beginning
with the current block.
Usage Modify the search by specifying whether only explicit usage of the reference is
checked for (EXPLICIT) or both explicit and implicit usage (IMPLICIT). More
information about implicit search can be found at the end of this section.
Prompt Action to be taken if the search target is found. For the search function,
selecting Y (Yes) indicates that the system will prompt you for confirmation
before searching for the next target. When Y (Yes) is selected and the target is
found, you may display the search target, disregard this instance of the target
and continue searching, or terminate the actual search but remain in the
search function.
For the search and replace function, selecting Y (Yes) indicates that the system
will prompt you for confirmation before the found target is replaced. There are
four choices available:
The following table shows the legitimate replacement items for the different types of
search items.
Note
If a program contains references that have the same reference
description text, searching for the reference description always finds the
first occurrence of the reference description.
You may continue the search and replace operation at the next block or terminate
the search and replace. For more information on viewing locked blocks, refer to
chapter 3, section 8, “Program Blocks, External Blocks, and Interrupts.”
In the following example, %M00016 will be searched for and replaced with
%M00020. Since the Prompt field is set to No, no confirmation is required. This
screen shows the parameters selected for this search.
Press Y (Yes) to replace the current found target with the replacement item and
then continue the search. Select N (No) to disregard this instance of the target and
continue the search. Press A (All) to drop the confirmation process, beginning with
this found target, and proceed to replace the rest of the found targets with the
replacement item. Pressing Q (Quit) terminates the current search and replace
process, but remains in the function.
5. Assuming that the function replaced one occurrence of %M00016 with %M00020
without error, an appropriate message including the replacement count is displayed
and the function remains alive.
6. If an error occurs while replacing one of the reference addresses, the rung number
where the error occurred is displayed at the top of the ladder diagram screen with
the cursor on the erroneous item. In addition, a prompt displayed on the message
line will ask you to either stop the function or skip the erroneous replacement and
continue the function. Press Y (Yes) to skip the erroneous replacement and
continue with the search and replacement function, or press N (No) to stop. A
search and replace function, however, cannot be aborted.
Implicit Search
Implicit references are those references which are not directly programmed in the logic.
However, due to the length of a function parameter, they are included. An implicit
search enables you to locate these implicit references within a program.
Selecting IMPLICIT in the Usage field of the search function window means that both
explicit and implicit references will be searched for. (Explicit references are those
references you entered while programming the logic for your program or program
block.)
In the following example, %I00001 is an explicit reference, and %I00002 through
%I00016 are implicit references.
%M00001 %Q00001
| | ADD_ ( )
INT
%I00001 I1 Q %Q00017
CONST I2
+0004
Note
Changes made when ONLINE and EQUAL are restricted to those of
equal size. The PLC is updated as each change is completed.
Substitutions
If the programmer is in ONLINE mode and communicating with an operating PLC and
if the program logic in the PLC and in the programmer are equal, an instruction,
constant, or reference address may be substituted with another. Every substitution
updates the logic in the program folder and in PLC memory.
Instruction substitutions are permitted within the groups listed in the following table.
Data types cannot be changed within each group; therefore, it is not necessary to include
the data type.
Modifying Instructions
The following steps describe how to change relay ladder diagram elements and update
the PLC while online with the PLC running.
1. Place the cursor on the element to be changed.
2. Enter the new instruction mnemonic on the command line. The new instruction
must be in the same instruction group as the existing instruction. (Instruction
groups are listed in the table at the beginning of this section.)
3. Press the Enter key, and enter Y (Yes) in response to the confirmation prompt.
The same steps are used to replace functions for other functions in the same instruction
group. For example, the NE_INT function can be replaced with the LE_INT function.
With the cursor on the NE_INT function, enter the new instruction mnemonic &LE_INT
on the command line and press the Enter key.
2. Press Y (Yes) in response to the confirmation prompt to update the PLC with the
new operand value.
3. Press the Enter key. The register value for this example will change from 0 to 30, as
shown in the screen below.
4 figure bi level 1
table_big level 1
GFK-0263G 4-1
4
Reference tables can be displayed directly from the main menu in any programming
mode, or from any main menu function screen. While a table is displayed, you can
change the format of any references in the table for a particular application.
This is a sample reference table used for discrete inputs (%I):
Note
In OFFLINE mode, reference values from the current program folder
are displayed. In ONLINE or MONITOR mode, references from the PLC
are displayed.
Offline values from a reference table (values from the folder) can also be printed using
the print function. These values will have the formats you set up on the display. To
print values displayed online, the values must first be loaded from the PLC and then
printed.
Note
External blocks do not have local data (%L). If you request a table
associated with a %L user reference and an external block is specified on
the command line, an error message will be displayed.
A. To view the lowest-numbered table of a particular type, enter just the reference
type. For example, for the lowest-numbered analog input table, enter %AI.
For the lowest-numbered local register table for a particular block, enter just the
block name on the command line.
B. To view a table containing a specific reference, enter the reference or its
nickname. For example, %AI0123 or 123AI.
2. Then, press Tables (Shift-F2).
3. Once in the reference tables function, you may go to a different reference table by
entering the reference on the command line and pressing the Enter key.
Note
The print function cannot distinguish between these two display modes
and prints all tables right to left.
The default display mode (right to left) is the last mode selected with ALT-N. If the
display mode has never been changed, the default set in the programmer setup is used.
(See chapter 7, section 6, View Modes Setup (ALT-N)).
2. To change the default view mode to display left to right, move the cursor to the
Enabled field for the Reference Table View Modes entry. Then, use the Tab key to
toggle the selection to N (No) or enter N.
3. To validate and save the default view mode selection in the home directory file
%LM090.PSU, press ALT-U, the Escape key, or the shifted function key.
You can force (change) both discrete and register reference values with the reference
tables function.
Note
If the programmer mode is OFFLINE, changes will only be made to the
current program folder. Changes made to the program folder may later
be stored to the PLC by using the store utility function, described in
chapter 9, Program Utilities. If the programmer mode is ONLINE, any
changes will only be made to reference values in the PLC. Reference
values in the PLC may then be loaded to the program folder by using
the load utility function, also described in chapter 9. No changes to the
PLC can be made while the programmer is in MONITOR mode.
Warning
Non-printable characters (e.g., “null” to terminate a string) may be included in the ASCII
string by entering a backslash and the three-digit decimal value of the non-printable
character (e.g., “\000”). To include a backslash (\) in the text, enter two backslashes.
There is no limit, other than the size of the command line, on the number of
non-printable characters a string may have. The software performs a check to verify
that the value is a valid decimal number.
The next example shows the reference table after the null terminated string is accepted.
Discrete references can be overridden from the reference tables display. Discrete
references that have been overridden are indicated by flashing digits on the reference
table screen. An override removes control of the reference from its normal source.
Overridden inputs ignore information from the devices wired to the I/O structure, such
as limit switches or pushbuttons. Similarly, overridden outputs ignore programmed
logic and internal power flow. Overrides are retained even when power is removed
from the system. Non-relay functions such as timers, counters, math functions, and data
move functions, still work when a coil is overridden.
Warning
Using Overrides
Overrides should be used on an operating system only with extreme care.
Warning
Caution
Removing Overrides
All discrete reference bits on a reference table screen, or starting character in a tag name
on a displayed rung, will flash if they have been overridden. To remove an override
from one reference, toggle it by placing the cursor on the reference and pressing the
keypad Asterisk (*) key or F11.
To remove all overrides shown on the current screen, including the last three lines which
may be hidden beneath the status lines (Press ALT-E to remove the status lines.):
1. Press Change All (F10).
2. Press the keypad Asterisk (*) key or F11. The screen prompts: “Remove overrides
from displayed references ? (Y/N)”.
3. Enter Y (Yes) to remove the overrides.
The format of any reference in a table can be changed for a particular application while
the table is displayed on the programmer screen. This section explains how to make
format changes.
The default format for discrete reference table displays is to have the values displayed or
printed in binary. The format may be changed to unsigned integer, signed integer, or
hexadecimal.
Any of these formats can be used for some of the values in the table, or for the entire
table. Thus, each reference table can be uniquely formatted to be most meaningful for
the type of information it contains. (Double precision integer, real, and timer/counter are
not allowed for discrete references.)
Note
The format for system status references (%S, %SA, %SB, and %SC)
cannot be changed. System status references can only be displayed in
binary format. The %S reference table values cannot be cleared or
changed. %S memory is read only and cannot be written. The bit
values in the %SA, %SB, and %SC reference tables can, however, be
cleared or toggled.
The default format for register reference table displays is for the values to be shown or
printed as unsigned integers. The format can be changed to signed integer, double
precision signed integer, hexadecimal, real, ASCII, or timer/counter. The format can also
be changed for some of the values in the table or for the entire table.
In addition, the value of the reference at the cursor is displayed at the top of the table in
binary format.
Display Formats
Use the function keys to change display formats. Changes are automatically saved
when you leave a reference table display. The table will continue to be displayed in the
new format until the format is changed again. If you want to save changes to the
program folder without leaving the reference table display, press ALT-U.
Function
Format Key Description
Unsigned F1 A 16-bit number from 0 to +65,535. In discrete reference tables,
Integer 16 consecutive references are used for the display, beginning at a
multiple-of-8-plus-one boundary (e.g., 1, 9, 17, 25, 33, etc.).
In register reference tables, a single reference is required
(e.g., 43,690).
Signed Integer F2 A 16-bit number from –32,768 to +32,767. In discrete reference
tables, 16 consecutive references are used for the display,
beginning at a multiple-of-8-plus-one boundary (e.g., 1, 9, 17, 25,
33, etc.). In register reference tables, a single reference is required
(e.g., –21,846).
Signed Double F3 A 32-bit number from –2,147,483,648 to +2,147,483,647. This
Integer format can be used for register reference tables only. Two
consecutive references are required, beginning at a multiple-of-
2-minus-one boundary (e.g., 1, 3, 5, 7, etc.).
Real F4 32 consecutive bits (actually two consecutive 16-bit memory
locations). This format can be used for register reference tables
only. The range of numbers that can be stored in this format is
from ±1.401298E–45 to ±3.402823E+38.
Hexadecimal F5 A 16-bit number from 0000 to FFFF. When entering hexadecimal
numbers on the command line, a leading A through F must be
preceded by a zero. In addition, type an h at the end of the
numeric string to ensure that the entry is read as a hexadecimal
number. In discrete reference tables, 16 consecutive references are
used, beginning at a multiple-of-8 boundary (e.g., 1, 9, 17, 25, 33,
etc.). In register reference tables, a single reference is required
(e.g., 0AAAAh).
Binary F6 A 1-bit number with a value of 0 or 1. This format can be used
for discrete reference tables only. A single reference is used.
Binary values are displayed in groups of 8 references
(e.g., 10101010).
NUL 0 00 0 48 30 [ 91 5B
SOH 1 01 1 49 31 \ 92 5C
STX 2 02 2 50 32 ] 93 5D
ETX 3 03 3 51 33 ^ 94 5E
EOT 4 04 4 52 34 _ 95 5F
ENQ 5 05 5 53 35 ’ 96 60
ACK 6 06 6 54 36 a 97 61
BEL 7 07 7 55 37 b 98 62
BS 8 08 8 56 38 c 99 63
HT 9 09 9 57 39 d 100 64
LF 10 0A : 58 3A e 101 65
VT 11 0B ; 59 3B f 102 66
FF 12 0C < 60 3C g 103 67
CR 13 0D = 61 3D h 104 68
SO 14 0E > 62 3E i 105 69
SI 15 0F ? 63 3F j 106 6A
DLE 16 10 @ 64 40 k 107 6B
DC1 17 11 A 65 41 l 108 6C
DC2 18 12 B 66 42 m 109 6D
DC3 19 13 C 67 43 n 110 6E
DC4 20 14 D 68 44 o 111 6F
NAK 21 15 E 69 45 p 112 70
SYN 22 16 F 70 46 q 113 71
ETB 23 17 G 71 47 r 114 72
CAN 24 18 H 72 48 s 115 73
EM 25 19 I 73 49 t 116 74
SUB 26 1A J 74 4A u 117 75
ESC 27 1B K 75 4B v 118 76
FS 28 1C L 76 4C w 119 77
GS 29 1D M 77 4D x 120 78
RS 30 1E N 78 4E y 121 79
US 31 1F O 79 4F z 122 7A
SP 32 20 P 80 50 { 123 7B
! 33 21 Q 81 51 | 124 7C
’’ 34 22 R 82 52 } 125 7D
# 35 23 S 83 53 ~ 126 7E
$ 36 24 T 84 54 “ 127 7F
% 37 25 U 85 55
& 38 26 V 86 56
’ 39 27 W 87 57
( 40 28 X 88 58
) 41 29 Y 89 59
* 42 2A Z 90 5A
+ 43 2B
, 44 2C
– 45 2D
. 46 2E
/ 47 2F
The Change All (F10) key can also be used to change a specified block of range formats.
1. Enter a starting reference (the lower address) and an ending reference (the higher
address) from the current table (e.g., 65i 128i).
2. Press Change All (F10).
3. Select the format (e.g., hex).
Entering only a valid starting reference will cause the formats from the starting reference
to the end of the table to change. Entering a valid starting reference followed by an
invalid entry will also cause the formats from the starting reference to the end of the
table to change.
To restore the previous format (and in OFFLINE mode, restore the data values stored at
the time of the last disk update), press ALT-A to abort the change. Pressing ALT-A will
undo all format changes and value changes made since the last disk update.
To save all the changes and remain in the reference table, press ALT-U. To save the
changes and exit from the reference table, press the Escape key.
Timer/Counter Format
To support the timer/counter function, a timer/counter format requiring three
contiguous reference addresses will display the current value, the preset value, and the
control word. In the control word, bit 15 contains the output status (Q), and bit 16
contains the enable status (EN). The rest of the bits in the control word are not used by a
counter. For a timer, the rest of the control word bits contain the timer accuracy.
The preset value (PV) can be modified in ONLINE or OFFLINE mode. If a reference or
constant was assigned to the PV parameter of the timer/counter function, the contents of
the reference or the constant are written to the PV reference of the timer/counter format
when in RUN mode.
Regardless of whether the reference is assigned to a timer or counter, the format can be
used as long as the reference type is %R, %P, or %L.
The example screen below shows the timer/counter format displayed, using the
Timer/Counter (F8) function key.
The system reference table is displayed with the cursor on the reference address
entered, or the reference address associated with the nickname entered.
In the screen shown above, pressing the Home or Page Up key will position the cursor
on %S00001. Pressing the End or Page Down key will place the cursor on %SC0128.
A mixed table represents a collection of data from one or more of the fixed tables.
Therefore, the identical information displayed in a mixed table could also be displayed
on the related fixed tables.
A total of 99 user-defined mixed reference table displays can be supported. A number
from 1 to 99 is associated with each table.
Note
The mixed table function is used only for viewing PLC information;
therefore, mixed reference tables are not valid when the programmer
mode is OFFLINE. When OFFLINE, no cursor movement or other
mixed table functions are allowed, except for changing tables, exiting
reference tables, or changing modes.
To select a mixed table, enter a number from 1 through 99 on the command line, and
press Mixed (F9). This is an example of a mixed reference table display.
Field Description
User-Defined A description of the mixed table. A maximum number of 63 characters is
Table Title allowed. When the cursor is on the 63rd character, it remains fixed,
overwriting the last character.
Mixed Table A number from 1 to 99, which indicates the mixed table currentlydisplayed.
Number
Cursor Item Information about the address the cursor is on; namely, the current reference,
Line reference nickname, and current value binary representation.
Table Data 16 display lines. Some may be program block headers or blank lines.
If the mixed table entered is not defined, a blank mixed table (no data, no title, only the
mixed table number) is displayed, as shown below.
Note
Since mixed reference tables are defined on a line-by-line basis, the abort
function will restore the lines, formats, and title displayed upon entry.
Unless an update to disk was done, any lines defined or title edited are
lost.
The Mixed (F9) key is used to change from one mixed table to another. The Tables
(Shift-F2) key sequence can also be used to get to any table. The Change All (F10) key is
not supported for global format changes, as in fixed table displays.
To return to the display area, press the Enter key or the Down cursor key. The cursor
will return to the original position in the topmost data display line.
3. Press Change Line (F10) to display the desired information. The cursor will be
positioned on the requested data value. Any information currently displayed is
replaced with the new requested information.
In this example, when F10 is pressed, the line of data containing the reference
%I00012 data value is entered into the topmost display line.
The default display format for data extracted from a discrete table is binary; for register
tables, it is unsigned integer.
The timer/counter format can be used for a %R, %P, or %L line in a mixed table if
enough screen space exists for the format. If the two lines below the line are defined or
are beyond the table size, an error message is displayed.
Deleting a Line
If the command line is blank when the Change Line (F10) key is pressed, the line is
cleared, and the cursor is automatically moved to the next line.
If the current line is already blank, moving the cursor to the next line will produce the
same result as pressing F10 with the command line blank.
Timer/Counter Format
The timer/counter format in a mixed table is the same as in a fixed table, except for the
first timer/counter format of the line. In the timer/counter format, the next two lines
must be blank so that there is sufficient room for the format. Otherwise, an error
message is displayed.
5 figure bi level 1
table_big level 1
The programmer can interact with an operating PLC in many ways. Monitoring
program execution and reference tables was described in previous chapters. Several
additional features involve interaction between the programmer and an operating PLC.
To use most of them, the programmer must be connected to the PLC and must be in
ONLINE or MONITOR mode.
If the programmer is not connected or is in OFFLINE mode, asterisks may be displayed
in place of values in many fields when the function screens are displayed. In addition,
some of these features may be protected by passwords.
To use these features, press Status (F3) from the main menu, or Shift-F3 from any other
main menu function.
This screen identifies the CPU which is attached, the software revision number, and the
PLC Build ID. (The Build ID is included in parentheses after the software revision
number.)
The F9 softkey shows the prgmem function selection when the PLC Control and Status
menu is displayed. When you press the passwd (F2) softkey, the function selection
changes, making the F9 the oem protection key. (For information about the password
and OEM protection, refer to page 5-3 and following, the oem function within the
Password Protection functionality is discussed on page 5-7.
F10, which had previously been designated as the Clear softkey, is not used unless the
active function is either the PLC fault table or the I/O fault table. When either fault table
function is active, F10 will become the Zoom softkey.
GFK-0263G 5-1
5
If the programmer is in OFFLINE mode, default values are displayed on the screen.
Press ALT-M to change the programmer operating mode to ONLINE or MONITOR
mode. (For the Workmaster and CIMSTAR I computers, use the keyswitch. Refer to
appendix D, “Programmer Environment Setup,” for instructions on using the
keyswitch.) ALT-R can also be used to toggle the PLC mode between RUN and the
configured STOP mode from anywhere in the Logicmaster 90-70 programming or
configuration software.
Note
If the switch on the CPU module is in the STOP position, the
programmer cannot command the PLC to go to RUN mode. Under
those conditions you will receive the following error: “Invalid PLC
Sweep Mode/State.” You will also receive that message if you have the
switch set to “Run with Outputs Disabled” (i.e., RUN/DISENABLE
mode).
The PLC field on the screen shown above indicates whether the attached PLC is to be
started or stopped. When the programming software is initially executed, this field is
initialized to STOP/IOSCAN. Use the Tab key to select one of the modes listed below;
then, press the Enter key.
Mode Description
Run/OutputsEnabled The PLC is running the logic program with outputs enabled.
Run/OutputsDisabled The PLC is running the logic program with outputs disabled.
Stop/IOScan The PLC is stopped, not executing the logic program, but scanning I/O.
Stop/No IO Scan The PLC is stopped, not executing the logic program, no I/O scan.
If the screen appears without entries, the programmer is in OFFLINE mode. Press
ALT-M to change the programmer operating mode to ONLINE or MONITOR mode.
(For the Workmaster and CIMSTAR I computers, use the keyswitch.)
Field Description
Access Level Each access level includes all the privileges of lower levels:
Level 4: Write to all configuration or logic. Configuration may only be
written in STOP mode; logic may be written in STOP or RUN
mode. Display, set, or delete passwords for any level. (This is
the default if no passwords are assigned.)
Level 3: Write to any configuration or logic, including word-for-word
changes, the addition/deletion of program logic, and the
overriding of discrete I/O.
Level 2: Write to any data memory, except overridingdiscreteI/O.
The PLC can be started or stopped. PLC and I/O fault tables
can be cleared.
Level 1: Read any PLC data except passwords; no PLC memory may be
changed.
PasswordActive A Y (Yes) displayed in this column indicates that a password has been
assigned to this access level in the PLC.
Current Level An X displayed in this column indicates the current protection level of
the PLC.
AccessDescription Access allowed at each level. Privileges accumulate as the level increases;
at any given level, all privileges at lower levels are permitted.
Caution
The PLC does not save passwords through a loss of power, unless the
CPU battery is attached. After restarting the PLC, passwords must be
sent to the PLC again.
The use of passwords is an optional feature; it is not necessary to use any passwords at
all. You can also use passwords to restrict access to some PLC features but not to others.
Note, however, that the PLC always defaults to the highest unprotected level, so there
should not be any “gaps” in protection levels.
2. If there is not already a password set for the highest level, begin by creating one.
This will protect the passwords you enter against unauthorized changes.
3. In the password column, locate the cursor at a level you want to protect or
unprotect. Then:
B. To remove an existing password previously stored to the PLC, enter seven blank
characters or press ALT-C to clear the field.
4. To save each new password to the PLC, press the Enter key again. Respond to the
prompt that appears by pressing the Y (Yes) key.
If you want to quit without saving any passwords to the PLC, use the N (No) key.
5. To exit, use the Escape key or any main menu function key.
Enabling/Disabling Passwords
The ability to use passwords may be enabled or disabled in the configuration software.
You may want to disable this feature to prevent someone from setting passwords in the
CPU.
A sample CPU module detail screen displaying the Passwords field that would be used
to enable or disable the password feature is shown below. To access this screen, press
Zoom (F10) with the cursor positioned on the CPU-configured slot on the Rack
Configuration screen.
The values for the Passwords field are ENABLED (default selection) or DISABLED.
Entering ENABLED will allow the password feature to be used; entering DISABLED
will prevent the password feature from being used.
Caution
OEM Protection
The OEM protection feature provides a higher level of security than password
protection. It may be used to further restrict access to program logic and configuration
parameters.
To display the OEM Protection screen, press oem (F9) from the Password Protection
screen; i.e., from the STATUS selections press passwd (F2), which causes the F9 key will
display the oem selection instead of the prgmem selection—then, with the oem selection
displaying, press oem (F9).
OEM protection is enabled and disabled by entering the OEM key. The OEM key is a 1
to 7 character password. If the OEM key has never been set, it will equal the NULL
(blank) string.
Note
Definition of the OEM key may only be performed in the configuration
software; however, OEM protection may be locked or unlocked in the
programming software.
The OEM protection state is toggled between unlocked and locked each time the OEM
key is correctly entered. The OEM protection state cannot be toggled to locked until the
OEM key is set to something other than the NULL (blank) string. Once the OEM
protection is locked, it will remain locked until the OEM key is correctly entered to
toggle the protection state.
The OEM protection state is retentive across a power cycle. If the OEM protection is
locked in the PLC and power is lost, the OEM protection state will remain locked when
power is restored to the PLC if the CPU battery is attached.
To display the PLC Fault Table screen, press PLC Fault (F3) from the PLC Control and
Status menu or from another PLC functions screen. The programmer may be in any
operating mode. However, if the programmer is in OFFLINE mode, no faults are
displayed. In ONLINE or MONITOR mode, PLC fault data is displayed. In ONLINE
mode, faults can be cleared (this may be password protected).
Field Description
Top FaultDisplayed The index of the PLC fault currently at the top of the fault display is
shown on the first line of this screen.
Total Faults The total number of faults since the table was last cleared.
Table Last Cleared The date and time faults were last cleared from the fault table.
This information is maintained by the PLC.
Entries Overflowed The number of entries lost because the fault table has overflowed since it
was cleared. The PLC fault table can contain up to 16 faults.
PLC Time/Date The current date and time. This is also maintained by the PLC.
Field Description
Fault Location Thelocationofthefault(rack/slot/bus/busaddress). For example,3.2.1.0
refers to rack 3, slot 2, bus 1. For rack-mounted I/O modules, the bus and
bus address information does not apply.
Fault Description The fault that has occurred.
Loss of, or missing, rack.
Loss of, or missing, IOC.
Loss of, or missing, I/O module.
Loss of, or missing, option module.
Addition of, or extra, rack.
Addition of, or extra, IOC.
Addition of, or extra,I/Omodule.
Reset of, addition of, or extra option module.
IOC fault.
I/Omodulefault.
System configuration mismatch.
System bus error.
PLC CPU hardware failure. 1
Non-fatalmodule hardware failure.
IOC software fault.
Option module software failure.
Program block checksum failure.
Low battery signal.
Constant sweep time exceeded.
PLC system fault table full.
I/O fault table full.
User application fault.
System bus failure.
No user program on power-up. 2
Corrupted user memory – PLC memory cleared.
Programmer window not started – No time available.
Password access failed.
Genius bus address fault.
Null system configuration for RUN mode. 3
PLC CPU software fault. 4
1 The PLC CPU OK LED will flash on and off when the programmer is able to retrieve fault table
information..
2 The PLC stays in STOP mode until a valid program is downloaded and either the programmer
commands the PLC to go to RUN mode or the PLC Run/Stop toggle switch is switched to STOP and
then back to RUN.
3 Running the system with a null system configuration is the same as having I/O scans suspended.
4 If this fault occurs, the PLC stops all activity except programmer communications.
To clear this fault, you must cycle power to the PLC.
Field Description
Fault Description Too many IOCs.
(Continued) PLC sequence store failure.
PLC watchdog timer timed out.
Genius block model number mismatch.
Genius block I/O type mismatch.
Daughter board mismatch.
Unsupported feature in configuration.
Unrecognized VME interrupt source.
Program block corrupted – program lost.
Failed battery signal.
Low battery signal.
Indirect reference address is out of range.
Corrupted user RAM on power-up – PLC memory cleared.
Logic execution fault – illegal boolean opcode.
Program check failed.
Module restart complete.
LAN interface restart complete: running a utility.
LAN duplicate MAC address: off network till fixed.
LAN duplicate MAC address resolved: on network.
LANMAC address mismatch: running soft switch utilities.
LAN soft switch/modem mismatch: running soft switch utilities.
Remote I/O scanner communications failure: verify bus.
Remote I/O scanner serial bus address conflict.
Remote I/O scanner hardware fault.
Required 12V power supply failed or missing.
LAN controller underrun/overrun: resuming.
LAN interface hardware failure:switched off network.
LAN network problem exists: performance degraded.
LAN severe network problem: attempting recovery.
LAN transceiver fault: off network till fixed.
Backplane communications with PLC fault: lost request.
Module software corrupted: requesting reload.
LAN system–software fault: resuming.
LAN system–software fault: aborted assoc and resuming.
LAN system–software fault: restarted LAN I/F.
LAN system–software fault: reinitializing LLC.
Application queue overflow.
LAN data memory exhausted – check parameters: resuming.
Bad remote application request: discarded request.
Bad local application request: discarded request.
LANI/Fcapacityexceeded: discarded request.
LAN PROM/software mismatch: running soft switch utilities.
LAN I/F cannot initialize: check parameters, running softswitch utilities.
Corrupted Remote I/O Scanner EEPROM: config lost.
Remote I/O Scanner communications heartbeat failure.
For diagnostic faults, the CPU sets fault references. For fatal faults, the CPU sets fault
references and places the CPU in STOP mode.
If there are more faults than will fit on one screen, you can display them using the
Home, End, Page Up, Page Down, and cursor keys. Refer to the Series 90-70
Programmable Controller Reference Manual, GFK-0265, for more fault information.
Fault 8
Fault 7
Fault 6
Fault 5
Fault 4
Fault 3
Fault 2
Fault 1
A screen similar to the one shown below would be displayed for a low battery signal.
For more information on fault explanations and correction, refer to chapter 3, “Fault
Explanation and Correction,” in the Series 90-70 Programmable Controller Reference Manual,
GFK-0265.
All softkeys are disabled on this screen, except for Exit (Shift-F10). The Abort key (ALT-A)
and the Escape key may also be used to exit from this screen and return to the PLC fault
table.
Note
Unlike Genius circuit faults, a PLC fault is not again logged in the PLC
fault table if it persists after the fault table is cleared. Thus, after clearing
a fault table, it is possible to place the PLC in RUN mode with an active
fault condition that is configured to be fatal. To avoid this condition,
always clear the fault tables before rather than after storing the program
and configuration.
If you enter a character for the message which is not one of the regular displayable
ASCII characters, the code will be ignored and a question mark is displayed.
If you enter a zero or out-of-range error code, the values in the registers used to specify
the error message text are converted to their corresponding hexadecimal values and are
displayed in place of the fault message. Only the first 24 hexadecimal characters of the
registers will be displayed.
In the following example, the value passed to IN1 is the fault error code. The value
passed in, 16x0057, represents an error code of 87 and will appear as part of the fault
message. The values of the next inputs give the ASCII codes for the text of the error
message. For IN2, the input is 2D45. The low byte, 45, decodes to the letter: “E” and the
high byte, 2D, decodes to “_”. Continuing in this manner, the string continues with:
The final character, 00, is the null character which terminates the string. Thus, the
decoding yields the string message:
E_STOP ON
FST_EXE %Q00001
| | BLKMV ( )
WORD
CONST_ IN1 Q %P00001
0057
CONST_ IN2
2D45
CONST_ IN3
5453
CONST_ IN4
504F
CONST_ IN5
4F20
CONST_ IN6
004E
CONST_
IN7
+00000
%I00050
| | SVC_
REQ
CONST_ FNC
00021
%P00001_ PARM
After the fault error code and message text are set, SVCREQ function #21 is called to
enable the fault. For information about this SVCREQ function, refer to the Series 90-70
Programmable Controller Reference Manual, GFK-0265.
Note
Note that the F6, F7, and F8 softkeys are inactive on this screen in the
configuration software.
To display the I/O Fault Table screen, press I/O Fault (F4) from the PLC Control and
Status menu or from another PLC functions screen. The programmer may be in any
operating mode. However, if the programmer is in OFFLINE mode, no faults are
displayed. In ONLINE or MONITOR mode, PLC fault data is displayed. In ONLINE
mode, faults can be cleared (this feature may be password protected).
Field Description
Top FaultDisplayed The index of the I/O fault currently at the top of the fault display is
shown on the first line of this screen.
Total Faults The total number of faults since the table was last cleared.
Fault Description An explanation of the fault that is currently highlighted in the I/O fault
table.
Table Last Cleared The date and time faults were last cleared from the fault table.
This information is maintained by the PLC.
Entries Overflowed The number of entries lost because the fault table has overflowed since it
was cleared. The I/O fault table can contain up to 32 faults.
PLC Time/Date The current date and time. This is also maintained by the PLC.
Fault Description
The fault description provides additional information about the highlighted fault in the
I/O fault table.
Field Description
Fault Location Thelocationofthefault(rack/slot/bus/busaddress). For example,3.2.1.0
refers to rack 3, slot 2, bus 1. For rack-mounted I/O modules, the bus and
bus address information does not apply.
CircuitNumber The relative position of a point within its module. The value may be
from 0 to 1023.
Reference Address The I/O reference address where the fault was detected. The address
consists of a two or three character identifier (%I, %Q, %AI, or %AQ)
specifying the memory type and a five-digit offset within the memory
type.
Fault Category The general type of fault that has occurred. For more information,
refer to GFK-0265.
For diagnostic faults, the CPU sets fault references. For fatal faults, the
CPU sets fault references and places the CPU in STOP mode.
Fault Type This further explains the fault category. For more information, refer to
GFK-0265.
If there are more faults than will fit on one screen, you can display them using the
Home, End, Page Up, Page Down, and cursor keys.
Fault 16
Fault 15
D
D
D
Fault 1
For more information on fault explanations and correction, refer to chapter 3, “Fault
Explanation and Correction,” in the Series 90-70 Programmable Controller Reference Manual,
GFK-0265.
All softkeys are disabled on this screen, except for Exit (Shift-F10). The Abort key (ALT-A)
and the Escape key may also be used to exit from this screen and return to the PLC fault
table.
Caution
Clearing the fault table removes the faults it contains. Clearing the
fault table does not clear fault conditions in the system. Clearing the
fault table will allow the PLC to be put in RUN mode even though the
fault condition may still exist. If the condition that caused a fault still
exists, the fault may be reported again after storing the configuration,
cycling power to the PLC, or during a STOP-TO-RUN transition.
Note
For Genius block faults, clearing the fault table does clear fault
conditions in the block at the same time the I/O fault table is cleared.
Unlike Genius circuit faults, an I/O fault is not again logged in the I/O fault table if it
persists after the fault table is cleared. After clearing a fault table, it is possible to place
the PLC in RUN mode with an active fault condition that is configured to be fatal. To
avoid this condition, always clear the fault tables before rather than after storing the
program and configuration.
Field Description
PLC ID In ONLINE or MONITOR mode, the name of the PLC being
communicated with. It will always be the same as that shown in the
status area of the screen. The ID name can be set on the Assign PLC
ID screen in the configuration software.
Model The model number of the attached PLC.
SoftwareRevision The revision of PLC software.
User Memory Installed The amount of memory in the PLC that is available for application
programinformation.
User Reference Tables The amount of program memory occupied by program data such as
register reference tables (%R, %AI, %AQ ...) and program block data
tables (%P and %L).
User Program The amount of program memory occupied by the logic program.
This number includes PLC overhead data that is not reflected in the
program size reported on the Print Program Header page.
Total The total of the two previous entries.
To display the Program Block Memory Usage screen, press Block Memory (F6) from the
PLC Control and Status menu or from another PLC functions screen. The first program
block for which information appears is the _MAIN block. To display information for
another program block, enter its name on the command line and press the Enter key.
Field Description
Block Name The name of the program block for which values are displayed.
Values can also be displayed for locked program blocks.
Checksum The result of a comparison of the code checksums for the block from the
programmer and from the PLC. This is either EQUAL or NOT EQUAL.
Program The program block’s logic data size.
LocalRegisters The program block’s local data size.
Declarations The number of entries in the program block’s variable declaration table.
Explanations The program block’s explanation text size. This field will always display
asterisks since no explanations are currently stored in the PLC.
The size of an external block is displayed in the Program field. All other fields will
display asterisks because an external block cannot use local registers, declarations, or
explanations.
This function is available in all programmer operating modes and also to locked program
blocks. If the programmer is in OFFLINE mode, no values are displayed for the PLC.
If the folder does not have configuration files, the default values for a Model 731 PLC
will be displayed in the Config Limit – Folder column. Values which do not match are
highlighted.
Field Description
Highest Used – Folder Lists the highest value used.
Note: The values displayed in this column do not include logic for
any external blocks.
Config Limit – Folder Lists a configuration value for each reference type in the folder.
Config Limit – PLC Lists a configuration value for each reference type in the PLC.
In ONLINE or MONITOR mode, the software shows the current CPU sweep time
information. Values displayed in the PLC Setting column depend on current PLC
conditions.
Note
Settings from this screen are only stored in the PLC, not in the folder.
These settings may be configured and stored in the folder using the
configuration function. For more information, refer to chapter 11,
section 2, “Configuring the CPU Module.”
In ONLINE mode, you can change these many of the times shown above unless they
are password-protected. The WATCHDOG TIMER setting and the CHECKSUM cannot
be change from this screen, but can be changed from the configuration software. The
ACTUAL SWEEP TIME is an information field and, therefore, cannot be changed by
trying to type into the field.
For an explanation of the PLC sweep, refer to chapter 2, “Operation,” in the Series 90-70
Programmable Controller Reference Manual, GFK-0265.
Normal Mode
To select NORMAL mode for the sweep mode:
1. Move the cursor to the Mode field in the Sweep Mode row of the New Setting
column (see Note below).
2. Use the Tab key to toggle through the selections for this mode until NORMAL is
displayed. Once this mode is selected, the software will not allow you to go to the
Time field in this column.
3. Move the cursor to the Mode field in the Programmer Window row in the New
Setting column. Select either LIMITED or COMPLETE for mode (see Note below).
Repeat this step in order to enter a mode for Communications Window. The mode
for Background Window is dependent on the Programmer Window mode; both
selections will be the same.
4. After you have completed all your selections, press the Enter key to send the new
settings to the PLC. A screen similar to the example one shown below will be
displayed.
Note
Refer to page 11-9 and following for an explanation of each of the sweep
modes. Refer to page 11-10 for an explanation of the Programmer
Window modes.
Note
If the communications window is disabled, it can be reenabled manually
by putting the PLC into stop mode and resetting the sweep mode, by
connecting to a WSI-parallel, or by powercycling the system.
While running in CONSTANT WINDOW mode, the modes for programmer window,
communication time window, and background window are all set to CONSTANT by the
PLC. The constant window time is the total time for all windows. The PLC controls the
distribution of time among these windows, and so they will not remain the same.
Therefore, the mode and time for these windows will not be displayed.
Note
Refer to page 11-9 and following for an explanation of each of the sweep
modes.
The mode and time for programmer window, communication time window, and
background window are controlled by the PLC. These values will not be displayed on
the screen.
Note
Refer to page 11-9 and following for an explanation of each of the sweep
modes.
Note
Refer to page 11-9 and following for an explanation of each of the sweep
modes.
The mode and time for programmer window, communication time window, and
background window are controlled by the PLC. These values will not be displayed on
the screen.
Note
The PLC will return an error if the sweep mode is changed to or from
Microcycle mode from any other mode. The PLC will also return an
error if the base cycle time is changed while the PLC is in RUN mode. If
you need to change the base cycle time, you can do so only in STOP
mode.
To check the memory usage of an individual standalone program that is part of the
folder, type the program name and press Enter.
6 figure bi level 1
table_big level 1
The librarian function allows multiple developers to work in parallel on different parts of
an application program and merge them later. The program librarian provides these
features:
D Program blocks, program segments, external blocks, and parameterized subroutines
(collectively called elements) other than the main program block can be copied to
the Logicmaster 90-70 library.
D Elements in the library can be copied into an application program.
D Elements can be renamed as they are copied.
D Lists of elements in the library and in the current folder are displayed on the screen.
D Variables (nicknames and their associated reference addresses) used in a program
block can be redefined before copying that block to a folder.
D Reference offset templates can be created and/or edited. They are applied to a block
or segment during an import operation.
D External blocks can be introduced to the Logicmaster 90 environment.
It is not always possible to put blocks that can be used without change into the library.
Logicmaster 90 software provides two methods of modifying the program block as it is
brought into the program folder.
The simplest way is called reference offsetting. With reference offsetting, up to ten
ranges of addresses can be changed. For example, the change could involve shifting a
range of reference addresses from %I00020 through %I00047 to %I00100 through
%I00127, or it could include changing the reference type, too. This function is equivalent
to a super search and replace function, where each address in the range specified is
replaced with its corresponding adjusted address. The one additional unique feature of
the function is the ability to keep this list of address ranges to adjust for future import
operations.
The second way to change a program block as it is brought into the folder is called
variable programming or redefining variables upon import. This method of changing a
program block is used when the adjustments need to be performed on a
reference-by-reference basis. Variable programming lists the variables (nicknames) used
in the program block you are importing and their current assignment. The variables are
grouped according to how they were defined in the block and whether this definition
corresponds to a definition in the folder you are importing the block to.
For example, if the folder you are importing to has a global variable ESTOP which is
assigned to %I00093 and the block you are importing also has a globally defined variable
named ESTOP, variable programming will automatically make the assignment of
%I00093 to ESTOP. You can then assign ESTOP to another reference; however, the
variable must be made local in order to avoid conflict with the STOP defined in the
folder.
GFK-0263G 6-1
6
Variable programming also provides other features for automatically assigning a range
of addresses to a group of variables.
The first time librarian functions are selected, the Logicmaster 90-70 library directory is
created. To use the librarian functions, press Library (F6) from the main menu, or
Shift-F6 from any other main menu function.
The list function enables you to view the names of all the elements in the library. To use
this function, press List (F2) from the Librarian Functions menu.
The name of each element in the library is displayed within a scrolling window. The
name of the current element is shown in reverse video. The entries on this example
screen are displayed in a short display format. Refer to the table on the next page for a
description of short and long display formats. An example screen in long display format
is also shown on the next page.
Elements in the library may include program blocks, program segments, external blocks,
and/orsubroutines.
Element Description
Program Block A block created and defined by Logicmaster 90-70 software or a
third-partyvendor. It can be displayed and edited using the software.
Program Segment A portion of logic, variable declarations, or interrupts in a file written by
Logicmaster 90-70 software from the program editor. A program segment
is also called a side file.
External Block A block created outside of the Logicmaster 90-70 software environment
that is not written in ladder diagram (LD) logic. It cannot be displayed or
edited from the software, but it can be called from a Logicmaster program.
Subroutine A parameterized subroutine created and defined by Logicmaster 90-70
software.
If more elements exist in the library than can be displayed at one time in the window,
use the Page Up and Page Down keys to scroll through the list of names. Scrolling will
occur automatically as you try to cursor beyond the limits of the window. Then, use the
cursor keys to select an element from the list; the name of that element will be shown in
reverse video.
In addition to being displayed in reverse video in the window, the name of the current
element, the type of element, and a 32-character explanation are displayed above the
scrolling window. Explanation text is entered from the program block declaration editor
when the program block is created or edited; therefore, explanations will exist only for
Logicmaster 90-70 program blocks. The explanation field will be blank for program
segments or external blocks, unless the external blocks have come from the Editor. The
fields above the display window are updated as you cursor through the listing in the
window.
The following function keys are available on the List Contents of Library screen:
Function
Key Function Description
F1 Format Toggle between two display formats. SHORT* simply lists the block
entries, eight per line, with no explanation. An example screen
illustrating the SHORT format is shown on the previous page.
LONG places each entry on a separate line, along with its type,
date, and 32-character explanation. The date displayed for a
program block is the date on the .PRG file in the library. For a
program segment, it is the date on the .SDE file. For an external
block or subroutine, it is the date from MS-DOS. External blocks
will not have explanation text, unless they have come from the
Editor. A sample screen in LONG format is shown below.
F2 Detail Display additional information, including memory and reference
usage, for elements in the library.
F3 Comment Display/edit annotation for the selected element. A block of
comment text may be associated with any block or segment in the
library.
F4 Delete Block Delete the current element from the library.
* Default selection.
The entries on this example screen are displayed in a long display format. Refer to the
table above for an explanation of long and short display formats. An example screen in
short display format is shown on the previous page.
Note
The Detail (F2) softkey is also available on the Import Library Block and
Redefine Variables screen and on the Create/Edit Reference Offset
Templates screen.
The following example screen displays additional information for program block
ACCUM_A.
The name of the block is displayed, along with its 32-character explanation, at the top of
the screen. The second section of the screen displays:
D The language in which the logic for the block was written.
D The executable status of the program block.
D The logic size in bytes.
D The lock status of the block.
D Whether the logic uses multiple %Q or %M references as outputs.
D Whether the logic uses point fault or alarm instructions.
D Whether the logic was written using Logicmaster 90-70 software or a third-party
vendor.
The screen which displays additional information for a subroutine block is similar to the
one displayed above; however, parameter information is displayed at the bottom of the
screen under the heading of Highest ParametersUsed.
A similar screen can be displayed for program segments, which may contain logic,
variable declarations, or interrupt declarations. This screen is identical to the screen
displayed for program blocks, except that the second section of the screen displays:
D The type of material in the program segment file.
D For program segments which contain variable or interrupt declarations, the number
of declarations in the segment.
D For program segments which contain logic, the number of rungs of logic in the
segment.
D The name of the source block.
D For program segments which contain logic, whether the logic uses point fault or
alarm instructions.
The bottom portion of the screen lists the highest references used in the logic for each
user reference (%I, %Q, %M, %T, %U, %P, %L, %R, %UR, %AI, %AQ, and %G - %GE).
The following example screen displays additional information for an external block. This
screen lists the number of parameter pairs and the logic size in bytes.
Press the Escape key to return to the List Contents of Library screen.
Note
The Comment (F3) key is also available from the program block or
segment information screens, from the Import Library Element to
Folder screen, and from the Import and Redefine Variables screen.
The following example screen displays comment text for a program block.
The comment screen may contain up to 18 lines of text, with 80 characters on each line,
for a maximum of 1440 characters. Text is entered by typing in the information. The
lines of text will wrap. An [EOB] (End of Block) marker is displayed at the end of the
text.
When you have finished entering comment text, press the Escape key to save the text,
exit this screen, and return to the previous screen. To save the text without exiting the
screen, press ALT-U. To restore the previous screen contents, press ALT-A before saving
the new comments to disk.
Deleting an Element
The Delete (F4) softkey may be used to delete the current element from the library. To
use this function, position the cursor on the name of the element in the library window
on the List Contents of Library screen, and press Delete (F4). The software will prompt
you to confirm the deletion. In the following example, P7ALSO will be deleted.
If you enter Y (Yes), all files associated with the current element, including the reference
offset template and comment text, are deleted. After the deletion is completed, the
element is deleted from the list of elements; and the List Contents of Library screen is
updated. Once an element has been deleted, it cannot be restored. The following
example screen is displayed after P7ALSO has been deleted.
The import function is used to copy an element from the library to the current program
folder. To use this function, press Import (F3) from the Librarian Functions menu.
Function
Key Function Description
F1 Format Toggle between two display formats. SHORT* simply lists the entries,
eight per line, with no explanation. LONG places each entry on a
separate line, along with its type, date, and 32-character explanation,
ifavailable.
F2 Detail Display additional information, including memory and reference
usage, for elements in the library.
F3 Comment Display/edit annotation for the selected element. A block of comment
text may be associated with any block or segment in the library.
* Default selection.
The import screen contains two scrolling windows. The top window is used to view the
list of elements in the library. The library window may be scrolled by using the Page Up
and Page Down keys. The bottom window lists the elements in the current program
folder. The folder window may be scrolled by using the CTRL-Page Up and CTRL-Page
Down keys.
Note
The current element context is preserved between the list and import
screens. If you select an element on the list screen, the same element
will be displayed as the current element when you go to the import
screen.
2. If you want to rename the element, enter the new name in the Rename to field.
Any text displayed in this field will be used as the new name when you press the
Enter key.
3. Press the Enter key. The software will prompt you to confirm the name of the
element to be imported and the new name, if the element is to be renamed.
A. When importing an element without reference offsetting and the reference
offset template file does not exist, the import operation will begin after you
confirm this prompt.
B. When importing an element with reference offsetting and the reference offset
template file does exist, the Reference Offset Template screen will be displayed
after pressing the Enter key to start the import operation.
Edit the fields on this screen, and press the Escape key. Enter Y (Yes) after the
prompts, ”Edit offset template ? (Y/N)” and ”Update offset template file ? (Y/N)” to
save the reference offsets. Enter Y (Yes) after the prompt, ”Apply reference offsets ?
(Y/N),” to apply the reference offsets. The import operation will begin after you
confirm the final prompt, ”Import <block_name> ? (Y/N).”
Caution
Caution
If the import operation is aborted, the librarian will attempt to restore
the folder to its original contents; however, complete recovery may not
be possible.
5. When an element has been successfully imported, the message, ”IMPORT operation
completed successfully” will be displayed, as shown on the following screen. The
list of names in the folder window is updated to include the new element, plus any
program blocks that were created due to implied imports (see explanation on next
page).
Name Conflicts
The following name conflicts may occur when applying offset templates:
1. If the folder already contains a block named XYZ, the librarian will assume that the
call refers to that block.
2. If the folder does not contain a block named XYZ, and the main program does not
use the name XYZ in some other context, the librarian will add a new, empty block
named XYZ to the folder.
3. If the folder uses the name XYZ for something other than a block, the librarian must
add to the folder a new, empty block with a system-generated name that is unique
within the folder. Calls to XYZ will be changed to calls to the new block.
4. If the folder already contains a parameterized subroutine block named XYZ and its
number and type of parameters does not match that of the called block XYZ, a new
empty block with a system-generated name will be added to the folder.
In the second and third cases above, the librarian must automatically add entries to the
folder’s block declarations in addition to the entry for the block selected for import. If
the import operation is aborted due to an in-process error, these additional entries are
not automatically deleted by the librarian. You must use the block declaration editor to
delete them. The empty entries can be identified by the fact that their language
assignment field will be blank.
Logicmaster 90-70 software will not create empty external blocks. Therefore, you cannot
import a block which calls an external block that does not already exist in the folder.
Note
Appendix C provides a tutorial on variable programming. It would be
helpful to complete this lesson before using this feature.
A block may use both global and local variables. Global variables are those variables
declared in the _MAIN variable declaration table. Local variables are those variables
declared in the local variable declaration table for the block. Both global and local
variables may be viewed and edited. By redefining variables, you can change the scope
and reference address of block variables; however, you cannot change the scope or
reference address of any global variable already declared in the current folder.
Variable programming allows you to redefine nicknames used in a program block before
the block is imported to a folder. The same nickname may use a different reference
address for each application. Multiple developers can create a program, with each
programmer using the same global variables to develop separate blocks. These separate
blocks can then be incorporated into one program.
For example, the nickname RESET is defined in a program folder as %I00001. When this
program folder is exported to the library, a list of global variables used by the block is
placed in the library. The nickname RESET is global in both of these folders. It may be
used in other blocks, as well. If the scope of this nickname is changed to local, RESET
can then be redefined as %I00100 before it is imported to another program folder.
In another example, the nickname LIGHT is a coil in a rung in the library block. LIGHT
is global in the source folder. It is not used in the current folder.
LIGHT
|| ( )
When the block is imported to the folder, the nickname LIGHT is entered in the current
folder’s global table. Because LIGHT is global, it will already be there when additional
blocks are imported. However, if there are no other blocks to import to the library, you
may want to put LIGHT in the local table. Although it was used globally in the source
folder, it will only be used by this block in the current folder.
This function is also useful for changing local reference addresses which were created
using %U and %UR references or %M and %T references. When the program is used
for a specific application, the references can then be changed to real machine addresses.
Redefining Variables
Variables can only be redefined in ladder diagram language program blocks or
parameterized subroutine blocks. They cannot be redefined in program segments or
external blocks.
Note
The variable import function can only be used to move blocks into
folders that have a _MAIN block in ladder diagram language. SFC
language library blocks or destination folders with a _MAIN block in
SFC language cannot use this function.
To use this function, press Variable Import (F4) from the Librarian Functions menu.
Function
Key Function Description
F1 Format Toggle between two display formats. SHORT* simply lists the entries,
eight per line, with no explanation. LONG places each entry on a
separate line, along with its type, date, and 32-character explanation,
ifavailable.
F2 Detail Display additional information, including memory and reference
usage, for elements in the library.
F3 Comment Display/edit annotation for the selected element. A block of comment
text may be associated with any block or segment in the library.
* Default selection.
When the Enter key is pressed, the first of three tables is displayed.
Table Description
Globals Defined in Folder Lists all global variables found in the program block being
and Library Block imported that have counterparts in the current folder. These
variables must either assume the folder ’s reference address or be
inserted into the block’s local variable declaration table.
Globals Defined in Library Lists all global variables found in the program block being
Block Only imported which do not have counterparts in the current folder.
These variables will cause no nickname conflicts when the block is
imported; however, they may cause reference address conflicts
with global variables in the current folder. You may want to
change their addresses and insert them into the block’s local
variable declaration table.
Locals Defined in Library Lists the remaining variables, all local, found in the program block
Block Only being imported. Since they are local to the block, they will not
cause nickname conflicts when the block is imported. You may
want to change their addresses, but their definitions must reside in
the block’s local variable declaration table after the import is
complete.
When a table is initially displayed, the global variables in the library block are looked up
in the current folder. If the variable is in the current folder, it is either defined as
compatible or not. Variables which are not compatible are identified by an asterisk in the
table. Additional information about a conflict can be displayed by pressing the
Information (F10) softkey.
The tables can be edited in any order. Empty tables are displayed. If a table contains
more entry lines than can be displayed, use the Home, End, Up/Down, and Page
Up/Page Down cursor keys to scroll the screen display.
While editing a table, you may create conflicting local variables or exceed the size limit of
the block’s local variable declaration table when the three tables are applied together.
This error will only become apparent when you press the Escape key to complete the
import operation.
The number of global variables in the folder and library block combined is determined.
This number must not exceed 5000 entries, the size limit of the folder’s global variable
declaration table. If it does, you must remove some block variables from global use
before completing the import operation.
Function
Key Function Description
F7 Offset Automaticallyfill a range of To folder fields in the Globals Defined in
Library Block Only table or in the Locals Defined in Library Block
table. (More information on this function follows this table.)
F8 Previous Move to the previous table. F8 is only available in the Globals Defined
in Library Block Only table or in the Locals Defined in Library Block
table.
F9 Next Move to the next table. F9 is only available in the Globals Defined in
Folder and Library Block table or in the Globals Defined in Library
Block Only table.
F10 Informa- Display additional information about any variable on the Globals
tion Defined in Folder and Library Block screen or on the Globals Defined
in Library Block Only screen.
When you have finished viewing and editing these tables, press the Escape key from
any of the tables to begin the import operation.
The default action is to reassign the variable to the reference address in the folder
address without changing its scope. In this table, the nickname ESTOP will default to
%I00050 because that is how ESTOP is defined in the current folder (DESTIN). If there is
a conflict, the scope of the nickname defaults to local, as shown with the nicknames
START and MOTOR31.
The status line indicates which line the cursor is on in the table. It shows the nickname
along with the reference address, if any, and the reference description, if any, in the
current folder.
Each entry line contains five fields, described in the following table. Only the New
Scope and To Folder fields may be edited. You cannot access the other three fields.
Field Description
Nickname The nickname associated with the block’s variable.
New Scope The intended scope in the folder after the import is complete. If GLOBAL
is selected, the variable will reside in the global variable declaration table
for the program folder. You may cursor to the To Folder field, but you
cannot edit the field. If LOCAL is selected, the variable will be inserted in
the local variable declaration table for the newly-imported block. If NONE
is selected, it cannot be inserted in the block, and the To Folder field will be
blank. If NONE is changed to LOCAL or GLOBAL, the default value in the
To Folder field will be restored.
To Folder The reference address which the variable will assume when the import is
complete. If this field is blank, the reference address will be the same as
that shown in the FromLibrary field.
From Library The variable’s reference address in the block before import. Entry lines in
the table are pre-sorted by reference type and offset of the reference address.
Block Reference The block’s reference description of the variable.
Description
When the table is first displayed, the New Scope and To Folder fields are initialized with
default values. The default New Scope value is GLOBAL, and the default To Folder
reference address is the current folder’s reference address for that nickname. Press
ALT-A at any time while editing the table to restore these default values.
The asterisk next to the nickname START indicates that there is a conflict with this
nickname. To determine the cause of the conflict, position the cursor on the entry line
for the nickname and press Information (F10). For example, if the cursor is moved to
the line for START and F10 is pressed, the following screen will be displayed.
You can see from this screen that START already exists in the current program folder.
START is assigned reference address %I00001 in the library block and is used as the
name of a program block in the current folder.
Cursor to the line for the nickname ALARM, and change the scope to LOCAL. ALARM
will be inserted in the local table at the address displayed in the To Folder field.
The default action is to insert the nicknames in the global variable declaration table. For
example, MOTOR30 will be inserted at %I00030. If there is a conflict, the scope of the
nickname defaults to local, as shown with the nicknames CAPPER and STEP.
Note that the status line on this screen is blank because the nickname is not used in the
folder.
Each entry line contains five fields, described in the following table. Only the New
Scope and To Folder fields may be edited. You cannot access the other three fields.
Field Description
Nickname The nickname associated with the block’s variable.
New Scope The intended scope in the folder after the import is complete. If GLOBAL
is selected, the variable will be inserted in the global variable declaration
table for the program folder. If LOCAL is selected, the variable will be
inserted in the local variable declaration table for the newly-importedblock.
If NONE is selected, it will not be inserted in any table and the To Folder
field will be blank.
To Folder The reference address which the variable will assume when the import is
complete. If this field is blank, the variable’s reference address will be the
same as that shown in the FromLibrary field.
From Library The variable’s reference address in the block before import. All entry lines
in the table are pre-sorted by memory type and offset of the reference
address appearing in this field.
Block Reference The block’s reference description for the variable.
Description
In the previous screen, the New Scope field for the nicknames MOTOR30, MOTOR32,
MOTOR33, STEP2, STOP1, and OUTPUT1 is set to GLOBAL. These variables are
defined in the global variable declaration table of the folder where the block was
exported to the library from. They are not used in the folder DESTIN. In order to insert
these variables in the local variable declaration table for BOTTLE, the New Scope field
must be changed to LOCAL.
The asterisk next to the nicknames CAPPER and STEP indicates that there is a conflict
with those nicknames. To determine the cause of each conflict, position the cursor on
the entry line for the nickname and press Information (F10). For example, if the cursor
is moved to the line for STEP and F10 is pressed, the following screen will be displayed.
You can see from this screen that two different nicknames are assigned for the same
reference address. %P00001 is identified as STEP in the library block and as PUMP in the
current folder. To resolve the conflict, the New Scope field for CAPPER is changed to
NONE.
In the previous table, there is a conflict with CAPPER. To resolve this conflict, change the
New Scope field to NONE, as shown in the next screen. CAPPER will not be inserted in
the local variable declaration table for the current folder. The block will use reference
address %Q00082 without a nickname since CAPPER was dropped.
Cursor to the line for the nickname STOP1, and change the scope to LOCAL. Rather
than insert STOP1 in the global variable declaration table, which is the default, it will be
added to the local variable declaration table.
When you are satisfied with the selections for this screen, press the Next (F9) softkey to
view the local variables defined in the library block.
Each entry line contains four fields, described in the following table. There is no New
Scope field on this screen, as the scope of all variables is LOCAL and cannot be changed.
Only the To Folder field may be edited; you cannot access the other three fields.
Field Description
Nickname The nickname associated with the block’s variable.
To Folder The reference address which the variable will assume when the import is
complete. If this field is blank, the reference address will be the same as
that shown in the FromLibrary field.
From Library The variable’s reference address in the block before import. Entry lines in
the table are pre-sorted by reference type and offset of the reference
address.
Block Reference The block’s reference description of the variable.
Description
When you are satisfied with the selections for this screen, press the Enter key to start the
import operation.
1. Select a starting point in the table, and enter a valid reference address in the
To Folder field. For this example, enter the reference addresses shown below for
TEST10, TEST20, and TEST30.
3. With the cursor positioned on the %M00050, press Offset (F7). All the blank
To Folder fields with the same reference type and a are automatically assigned a new
reference address in the To Folder field. Note how it skips the addresses that were
already filled in (%I00010, %I00020, and %I00030). Also, it stops at the next
reference type (in this example, %T).
The software will not allow you to enter a word-oriented reference type in the
To Folder field when the From Library field is a discrete reference type.
The reference address is offset from the From Library address by a fixed amount. If the
To Folder and From Library fields are both discrete or both word-oriented reference
types, the amount of offset is simply the difference between the addresses displayed in
the two fields. If the To Folder field contains a discrete reference type and the From
Library field contains a word-oriented reference type, the amount of offset is the
difference between the addresses plus 8 bits to ensure byte alignment.
Since the reference address in the To Folder field for TEST12 is %M00050, the amount of
offset is 38 bits. Any entry line whose From Library memory type is %M and whose
To Folder field is empty has its New Folder field automatically filled. For example, the
To Folder field for TEST25 was originally blank. Now it contains %M00053, which is
offset by 38 bits from the reference address in its From Library field. The offset function
filled the To Folder fields for TEST16, TEST23, and TEST34 before stopping.
The offset function may be used in conjunction with the auto-next highest feature of
Logicmaster 90-70 software. In the example above, you could have specified the next
highest %M reference in the To Folder field for TEST12 using the auto-next highest
feature before pressing the Offset (F7) key.
In the following example screen, there is a conflict with the nickname START. START is
used with %I00001 in the library block and also as the name of a program block.
The export function is used to copy an element from the current program folder to the
library. To use this function, press Export (F5) from the Librarian Functions menu.
Function
Key Function Description
F1 Format Toggle between two display formats. SHORT* simply lists the entries,
eight per line, with no explanation. LONG places each entry on a
separate line, along with its type, date, and 32-character explanation,
ifavailable.
* Default selection.
The export screen contains two scrolling windows. The top window is used to view the
list of elements in the library. The library window may be scrolled by using the Page Up
and Page Down keys. The bottom window lists the elements in the current program
folder. The folder window may be scrolled by using the CTRL-Page Up and CTRL-Page
Down keys.
Note
The current element context is preserved between the list and export
screens. If you select an element on the list screen, the same element
will be displayed as the current element when you go to the export
screen.
2. If you want to rename the element, enter the new name in the Rename to field.
Any text displayed in this field will be used as the new name when you press the
Enter key.
3. Then, press the Enter key. The software will prompt you to confirm the name of the
element to be exported and the new name, if the element is to be renamed. The
librarian will attempt to use the new name to store the exported block in the library.
A. If the name is already being used for an element of a different type in the library,
the message ”Element name is already used in Library” will be displayed, and
the cursor will not move. You must either rename or replace the element. The
software will prompt you to confirm the replacement. If you enter N (No), the
export operation is aborted. You can then enter a new name in the Rename to
field, and press the Enter key to try again. If you enter Y (Yes), the librarian will
replace the element in the library with the element exported from the folder.
B. If the name is already being used for an element of the same type, the name
specified can be the same as the name of the element in the library, and the
replacement will occur.
C. If the Rename to field is blank, the original name of the program block will be
used as the storage name.
4. Next, the software will prompt you to confirm exporting global variables. If you
enter Y (Yes) to confirm this prompt, information on all global variables used in the
block is gathered and stored in the library, along with the block’s logic. If you enter
N (No), the software will skip this step. The export operation will begin after you
respond to this second prompt.
Caution
If a read/write disk error occurs, it may not be possible for the librarian
to restore the library to its original contents. In this case, the library
may be left with an incomplete entry.
5. When an element has been successfully exported, the message, ”EXPORT operation
completed successfully,” will be displayed, as shown on the following screen. The
list of names in the library window is updated to include the new element.
If you confirm this prompt, information on all global variables used in the block is
gathered and stored in the library, along with the block’s logic. The number of global
variables that may be exported with each program block is limited to 1000 variables. If
this number is exceeded, an error message is displayed, and the rest of the global
variables (1001 – 5000) are not exported. In the logic for the block, their addresses will
have no associated nicknames.
You can still use the variable programming feature when the block is imported even if
you do not export global variables; however, the first two tables will be empty.
This function is used to copy elements from a specified source directory to the
Logicmaster 90-70 library. You can use this function to copy external blocks written in a
language other than ladder logic or program blocks created by third-party vendors.
Program segments in a non-folder directory can be copied to the library either by using
this function or by using the export function (from a folder only).
To use this function, press Add (F6) from the Library Functions menu.
Function
Key Function Description
F1 Format Toggle between two display formats. SHORT* simply lists the entries,
eight per line, with no explanation. LONG places each entry on a
separate line, along with its type, date, and 32-character explanation,
ifavailable.
* Default selection.
This screen contains one scrolling window, listing the elements in the library. The library
window may be scrolled by using the Page Up and Page Down keys.
There are three fields, which can be edited, above the window.
Field Description
New Enter the full path and name of the element to be added to the library.
Element
Since the Element Type field implicitly states the file extension, it is not necessary
to include the extension in the field. If the file extension is included, it must match
the type implied by the Element Type field. In order for the field to be valid, the
path must be present. The library is not an acceptable path.
Element Specify the type of element being added, whether it is a program block, an
Type external block, a subroutine, or a program segment. If the field contains invalid
text, the message ”Invalid field entry” will be displayed.
Rename to This field is optional. It can be used to enter a name other than the name specified
in the New Element field. If the field contains special characters which are not
allowed in names, the message ”Invalid character(s) in name” will be displayed.
Use the cursor keys to move among these three fields. The contents of each field must
be valid before you can cursor to another field. After you have entered values, where
appropriate, press the Enter key to start the add element operation.
When adding an external block or subroutine from a working directory to the library,
the number of input (X1 – X7) and output (Y1 – Y7) parameter pairs must be specified.
The librarian validates the content of your entry. If you specify a name that is already
being used for an element of a different type in the library, the message ”Element name
is already used in Library” will be displayed, and the cursor will not move. If the
elements are the same type, the name specified can be the same as the library element;
the new element will replace the element already in the library.
If you try to add an external block or subroutine to the library, the software will prompt
you for the number of paired input and output parameters in the block. If you enter a
zero, that will mean that the block has no parameters beyond the standard EN and OK
parameters. Any invalid response to the prompt will cause the prompt to be repeated.
After the entry is successfully validated, the software will prompt you for confirmation
to proceed.
After the element has been successfully added, the message, ”Add operation completed
successfully” is displayed on the message line. The list of names in the library window is
updated to include the new element.
Press the Escape key to return to the Librarian Functions menu. The values entered in
these fields are not retained when you exit this screen.
Each program block or segment to be used for an import operation may have a reference
offset template in the library. The offset function is used to create or edit this reference
offset. The offset function can only be used for ladder diagram language blocks or
program segments with no sequential function chart (SFC) variables. It cannot be used
for external blocks.
This can be helpful when multiple developers are creating a program, and each
programmer is developing a separate block that will later be incorporated into one
program. For example, programmers A, B, and C can implement three blocks named
_MAIN,MAKE_IT, and PACK_IT, respectively; then, programmer A can integrate the
blocks into a program folder named SRC. He can develop a _MAIN block, which calls
MAKE_IT and PACK_IT blocks in a folder. Programmer B develops a block MAKE_IT,
complete with logic, local data, declarations, and explanations in any folder he wishes.
Programmer C does the same for block PACK_IT.
If the folders are on a hard disk, programmers B and C use the copy folder function to
copy their work to a floppy disk, which they then turn over to programmer A.
Programmer A creates the folder SRC and uses the copy folder function to transfer his
folder from the floppy disk to this new folder. Programmers B and C use the export
folder function to transfer (export) their program blocks from floppy disk to the LM90
library. Each programmer can create a reference offset template for his block, specifying
the start and end reference address ranges. He can also write a block of comment text
describing the new blocks.
Programmer A can read the block descriptions in the comment text and view the
Program Block Detail screens to learn more about the two blocks. Programmer A then
edits the reference offset templates for the MAKE_IT and PACK_IT blocks to specify the
new start ranges and nickname substitution characters. This avoids conflicts when the
two blocks are integrated into the SRC folder. Programmer A then uses the import
function to transfer MAKE_IT and PACK_IT to the SRC folder.
To use the offset function, press Offset (F7) from the Librarian Functions menu.
Function
Key Function Description
F1 Format Toggle between two display formats. SHORT* simply lists the block
entries, eight per line, with no explanation. LONG places each entry
on a separate line, along with its type, date, and 32-character
explanation. The date displayed for a program block is the date on
the .PRG file in the library. For a program segment, it is the date on
the .SDE file. For an external block, it is the date from MS-DOS.
F2 Detail Display additional information, including memory and reference
usage, for elements in the library.
F3 Comment Display/edit annotation for the selected element. A block of comment
text may be associated with any block or segment in the library.
* Default selection.
The Create/Edit Reference Offset Templates screen contains a scrolling window which
can be used to view the list of elements currently in the library. The contents of the
window may be scrolled using the Page Up and Page Down keys. As with previous
librarian screens, the elements may be displayed in either short or long format. Select
one of the elements in this window by moving the cursor over the name of the element.
Then, press the Enter key. The following Reference Offset Template screen will be
displayed.
The following function keys are available on the Reference Offset Template screen:
Function
Key Function Description
F1 Clear Clear all entry fields on the template. The template will appear as if it
had just been entered for the first time. If you try to save an empty
template, the template file will be deleted.
F2 Delete Line Delete the line the cursor is on.
F3 Insert Line Insert a blank line immediately before the line the cursor is on.
A maximum of ten entries is allowed on this screen. Each entry contains six fields, which
may be edited. With the exception of range start and end, these fields are optional.
Field Description
Range Enter the range of reference addresses to be adjusted.
Start/End
For parameterized subroutine blocks, only defined parameters within their
declared lengths may be entered in these fields. The entire range of a parameter
used by a block or segment may be inserted automatically by entering the range
start and range end without specifying an offset. For example, if X1[ ] is entered
in both fields, the highest offset for the block or segment is filled in automatically.
New Start Enter a new beginning reference address for each start and end range. The
new reference type must be compatible with reference type listed in the first
column for the range. For discrete memory specified in the range fields, only
discrete memory may be specified in the New Start field, and the reference
must be byte-aligned. For word-oriented memory specified in the range fields,
either word-oriented memory or byte-aligned discrete memory may be
specified.
Use the cursor keys to move among the entry fields on the template. Use the right
arrow key to go to the beginning of an entry line; the cursor will go from the Comment
field to the Range Start field on the same line. Use the left arrow key to go to the end of
the entry line. Use the Up and Down arrow keys to move the cursor between lines.
1. The process of editing a reference offset template may begin in two ways:
A. The first way is by pressing the Enter key from the Create/Edit Reference Offset
Templates screen after selecting a program block or segment. After pressing the
Enter key, the librarian will begin by checking for disk read errors. If an error is
found, you will not be able to enter the Reference Offset Template screen, and
an error message will be displayed.
B. The second way to begin is by pressing the Enter key from the import screen
when a reference offset template already exists for the selected program block or
segment. In this case, you can enter the Reference Offset Template screen and
edit an initially clear template if a disk read error is found.
Caution
If a read/write disk error occurs, it may not be possible for the librarian
to restore the library to its original contents. In this case, the library
may be left with an incomplete entry.
2. On a new reference offset template, the Range and Comment columns are
completed first. This would typically be done when the block or segment is
exported to the library by the author of the block.
3. The template may be edited at a later time to enter new beginning reference
addresses in the New Start column and substitution characters in the Substitution
column. This is done at or near import to customize the block for the folder it is
being brought into.
4. To save the template without exiting the screen, press ALT-U. To restore the
previous screen contents, press ALT-A before saving the template to disk.
5. When you have finished creating/editing the template, press the Escape key to save
the template, exit this screen, and return to the Librarian Functions menu. If you
entered the Reference Offset Template screen through the import process, you will
return to the import screen when the Escape key is pressed. When a template has
been successfully saved to disk, a completion message is displayed on the message
line.
7 figure bi level 1
table_big level 1
This chapter explains how to set up the programmer for communication with the PLC
and how to select the programmer operating mode. It contains the following sections:
Note
In addition to the Standard Serial COM Port and WSI Serial Port
versions, there is a TCP/IP Ethernet version of Logicmaster which is not
included in this chapter. For instructions on setting up and using the
TCP/IPEthernet version, refer to the Logicmaster TCP/IP Ethernet User’s
Manual (GFK-1029).
GFK-0263G 7-1
7
Note
On computers with a keyswitch, such as the Workmaster or CIMSTAR I
industrial computer, the Mode Selection (F2) key does not appear on
the Programmer Setup screen, unless the keyswitch was disabled during
programmer setup.
The serial ports, COM1 and COM2, can be used for serial printers. The serial printer
port must be configured with the MS-DOS mode command to match the printer
settings. The printer settings that must be configured are baud rate, parity, data bits, and
stop bits. An example mode command for a serial printer operating on COM2 at 1200
baud, with 8 bits per character, 1 stop bit per character, and no parity bits would be:
mode com2:12,n,8,1
In the example mode command displayed above, COM2: is the port, 12 specifies 1200
baud, n specifies no parity, 8 specifies 8 bits per character, and 1 specifies 1 stop bit.
The mode command can be entered as an MS-DOS command or placed in the
AUTOEXEC.BAT file. The MS-DOS mode command must be used to configure the serial
printer port before entering the Logicmaster 90-70 software package.
If persistent errors occur when printing listings to COM1 or COM2 from within the
Logicmaster 90-70 software package, the buffer size on the printer may have to be
increased, and the serial baud rate configured for the port may have to be lowered.
Read the user manuals provided with your printer and the MS-DOS sections in the
manual concerning serial ports, printing, and the mode command.
Note
The standard serial COM port version of Logicmaster 90-70 software
requires either the COM1 or COM2 serial port. Do not use the selected
Logicmaster 90 serial communications port for serial printing. For more
information, refer to section 4, “Standard Serial COM Port,” in this
chapter.
During configuration and programming, the computer will always be in one of three
operating modes:
Mode Description
Offline OFFLINE mode is used for program development. The programmer does not
communicate with the PLC in OFFLINE mode; power flow display and reference
values are not updated.
Online ONLINE mode provides full CPU communications, allowing data to be both read and
written.
Monitor MONITOR mode allows programs to be examined and real-time status to be displayed,
but no changes of logic, reference values or I/O overrides are allowed. For the
Workmaster and CIMSTAR I computers, MONITOR mode is the only mode which
allows removal of the key from the keyswitch.
Mode Selection
Both the Workmaster and CIMSTAR I computers have a keyswitch which must be used
to select the programmer operating mode. The presence of this keyswitch must be
indicated in the programmer setup file, as described in appendix D, Programmer
Environment Setup.
For computers without a keyswitch (e.g., the Workmaster II computer), the programmer
mode can be selected by pressing Mode (F2) from the Programmer Setup menu or the
Serial Port Setup screen. The programmer mode can also be changed by pressing
ALT-M from another programming function.
To change the programmer operating mode, use the Tab key to toggle the choices at the
cursor position, or type in a new value. Then, press the Enter key.
Auto-Verify
Whenever the mode is changed from offline to monitor or online, the Logicmaster 90-70
software will automatically check for logic equality with the attached PLC. This check
for logic equality also occurs when selecting a folder or when communications are
established with the PLC.
The Select SNP/Parallel Connection screen provides a log of SNP IDs defined by the user.
Logicmaster 90-70 software does not create or use the information in these fields, but it
may be helpful to refer to this listing when selecting a specific SNP ID.
Field Description
File Name The name of a disk file containing the PLC selection information. If no file
name is entered, the default name %PLC070.PSU is used for the WSI version
of Logicmaster 90-70 software. For the standard serial COM port version of
Logicmaster 90-70 software, the default name will be %PLC070L.PSU. This
field allows you to save the setup parameters to a file other than the default
file name. You can then recall the setup from this saved file and perform the
setup within that screen.
Selected SNP ID The name used to identify the PLC to be communicated with. A null string
may be specified as the SNP ID by leaving the field blank. This allows
communication to any PLC using the currently active serial port setup.
The null string SNP ID should be used only for parallel or direct
(point-to-point) PLC connections, since all PLCs will respond in a multidrop
serial configuration. The SNP ID is limited to seven ASCII characters.
Port Connection The serial link configuration. The serial port can be set up for parallel, direct
(point-to-point) communication with one PLC, or multidrop configuration
with several PLCs connected to the WSI Board serial port. Direct connection
should not be used with a multidrop configuration. In a multidrop
configuration, all PLCs must be set up with the same parity and number of
stop bits. They can, however, have a different baud rate.
SNP ID Numbers These fields allow you to enter the SNP IDs which have already been defined.
The standard serial COM port version of Logicmaster 90-70 software provides logic
programming and configuration for the Series 90-70 PLC, using the COM1 or COM2
serial port instead of a Work Station Interface (WSI) board. This version is available as a
separate programming package. It also supports offline programming.
The contents of this programming package include:
D One 5.25-inch High Density diskette, two 3.5-inch Double Density diskettes.
D Logicmaster 90-70 Programming Software User’s Manual, GFK-0263.
D Series 90-70 Programmable Controller Reference Manual, GFK-0265.
D Important Product Information for the Standard Serial COM Port Version of Logicmaster
90-70 Software, GFK-0683.
D If the programming package is ordered as IC640HWP706, a Miniconverter Kit,
IC690ACC901, is included. The kit consists of an RS-422 (SNP) to RS-232
mini-converter, a 6-foot (2 meter) serial extension cable, and a 9-pin to 25-pin
converter plug assembly.
The standard serial COM port version of Logicmaster 90-70 software uses a software
communications driver to perform the functions of the WSI board. This communications
driver, when added to the Logicmaster 90-70 software, will not fit in the available
memory of most computers unless MS-DOS Version 5.0 or a commercially available
memory manager is used.
The following steps must be performed in order to establish communications with the
Series 90-70 PLC:
1. Configure the computer memory for the communications driver. Logicmaster 90-70
software uses a communications driver that may be loaded into different memory
areas. Please refer to “Configuring Memory for the Communications Driver” on
page 7-9.
2. If both versions of the software package (WSI or standard serial COM port) are
installed on your computer, you must select which version to run from the Start-up
Menu’s Setup File Editor. Please refer to “Logicmaster 90 Startup Menu” on page
7-11.
3. Connect the cable between the computer’s serial port (COM1 or COM2), the
RS-422/RS-485Converter, and the Series 90-70 PLC serial port.
Note
If you have the Miniconverter Kit, IC690ACC901, please refer to
GFK-0682 for more information. If you wish to make your own cable,
refer to the Series 90-70 Programmable Controller Installation Manual,
GFK-0262, for more information.
4. Set up the computer’s serial port to be used for PLC communications. It should
match the characteristics of the Series 90-70 PLC serial port. Please refer to “Setting
up the Computer’s Serial Port,” on page 7-12.
Requirements
To run the standard serial COM port version of Logicmaster 90-70 software, you will
need:
Requirement Description
MS-DOS MS-DOS Version 5.0 or later.
Memory Manager MS-DOS Version 5.0 or a memory manager that complies with one of the
following specifications:
• TheLIM/EMS(LotusIntelMicrosoft/ExpandedMemory
Specification) Version 3.2 or later.
• The XMS (eXtended Memory Specification) Version 2.0 or later.
• A list of some compliant memory managers is included at the
end of this section.
Computer A Workmaster II, Zenith Mastersport SL Notebook, or other computer with
80386 or higher processors and at least one available COM port.
Hard Disk At least 4 Megabytes of hard disk space.
RAM At least 545K (558,080) bytes of available RAM and 49K of High Memory
Area, Upper Memory Block, Conventional Memory, or Expanded Memory.
MiniconverterKit A Miniconverter Kit, IC690ACC901, may be ordered. This kit contains the
necessary cable and converter to connect from your computer to the Series
90-70 PLC.
Port Requirements
The standard serial COM port version requires at least one standard serial COM port in
the host computer in order to provide communications with the PLC. This version will
support either the COM1 or COM2 port in common use by IBM-compatible machines.
These ports must use the INS8250 UART chip, or functional equivalent. The COM1 port
has I/O addresses starting at 3F8H, and it uses interrupt line IRQ4 (interrupt 0CH). The
COM2 port has I/O addresses starting at 2F8H, and it uses interrupt line IRQ3 (interrupt
0BH). Other serial ports, or ports which do not adhere to these conventions, are not
recognized.
While the standard serial COM port version of Logicmaster 90-70 software is active, the
serial port assigned to PLC communications will be used exclusively for PLC
communications. If a serial printer is being used, a second serial port is required; or you
may direct print output to disk files, and then use MS-DOS to print the disk files while
outside the Logicmaster environment.
The standard serial COM port version of Logicmaster 90-70 software monitors
Clear-to-Send (CTS) to determine a cable disconnect. Therefore, Logicmaster 90-70
software must use a connection with the Series 90-70 PLC that will keep its
Request-to -Send (RTS) active in ONLINE or MONITOR mode. The RTS at the PLC must
be connected to CTS at the Logicmaster computer serial port. Half-duplex modems
cannot be used with Logicmaster 90-70 software since they rely on RTS/CTSflow
control, which is not supported by the software.
The standard serial COM port version of Logicmaster 90-70 software supports
multi-drop connections, using RS-422 4-wire hookups or modems. RS-422 multi-drop
will work as long as the Series 90 PLC slaves transmit only in response to requests from
an attached Logicmaster host.
Type Description
High Memory 65,520 bytes of memory space just above the 1 Megabyte boundary (addresses
Area 0FFFFF to 10FFFF). This area can only be accessed by a computer with 80286/
80386/80486microprocessors.PCswith8086/8088/80188/80186microprocessors
cannot address this memory space.
Note
The PLC Communications Serial Port Setup screen in the setup function
of Logicmaster 90-70 software will display where the communications
driver was loaded. Refer to “Setting Up the Computer’s Serial Port” on
page 7-12 for more information.
The software will prompt you to continue. If you enter N after the prompt, the
Logicmaster 90 main menu is displayed. You may then exit back to MS-DOS to correct
the memory problem.
If you enter Y, the software will proceed without PLC communication capability. (You
may program offline.) The main menu screen is then displayed. For example, the
programmer software would display this screen:
Field Description
Port Selection Select the serial COM port (COM1 or COM2) to be used for communicating
with the PLC.
Setup File Name The default file name for saving the setup parameters is changed from
%WSI070.PSU to %COM070.PSU, to avoid any confusion with the WSI-based
version. The %COM070.PSU will contain additional information, such as the
COM port selection, which is not present in the %WSI070.PSU file.
Parameters Press Default (F3) to set the parameters on this screen to their default values.
The PLC CPU defaults to these parameters, as displayed on the screen shown
above (e.g., 19200 baud, odd parity, 1 stop bit, etc.). These parameters must
match the CPU slot configuration that was last stored to the PLC before
communications can be established (see chapter 11, section 3, “Configuring the
CPUModule”).
Baud Rate: The transmission rate, in bits per second, of data through the port.
Parity: Specify whether parity is odd or even, or, if no parity bit is needed, se-
lect none. To toggle the selections, place the cursor on the field and press Tab
to toggle forward, or Shift-Tab to toggle backward.
Stop Bits: All serial communications uses at least one stop bit. Slower devices
may use two stop bits.
Modem Turnaround Time: The time required for the modem to start data
transmission after receiving the transmit request. If no modem is used,
specify zero. When the PLC is connected through a modem, the value
must be one or greater.
PLC Information on the communications driver, including:
Communication • Version.
Driver • Where the driver was installed: High Memory Area (HMA),
Information ExpandedMemory (EMS), Conventional MS-DOS Memory (DOS),
or Upper Memory Block (UMB).Area.
• MS-DOS segment address at which the driver is loaded.
• MS-DOS INT vector that it will use.
Conflict Description
Setup Files The setup file looked for during system initialization is %COM070.PSU.
This file is used to initialize the PLC communications port. If more than one
setup file is found for the designated PLC communications port, the PLC
communications file %PLC070L.PSU will take precedence.
User Setup If the Printer Serial Port Setup screen is displayed and you attempt to
perform a setup on the designated PLC communications port, a warning is
displayed and the setup is not done.
Print Destinations The Print utility provides several screens for selecting the print output
device. Any attempt to select the designated PLC communications port
as the output device is denied.
7. t
BlueMAX for PS/2 computers and 386MAX t for 80386 AT-based computers. Both
are available from:
Qualitas, Inc.
7101 Wisconsin Avenue, Suite 1386
Bethesda, MD 20814
(301) 907–6700
Restrictions
To avoid conflicts of memory usage between the standard serial COM port version of
Logicmaster 90-70 software and MS-DOS programs, the following rules must be
followed:
1. If the computer is set up to use the High Memory Area memory area, the VDISK
program must not be used. Any program using VDISK must remove VDISK before
running the Logicmaster 90-70 software.
2. Another application cannot use Expanded Memory if the communications driver is
loaded into Expanded Memory.
device=c:\dos\himem.sys
2. If you have MS-DOS 5.0 (or higher) and wish to use the High Memory Area, do not
load MS-DOS into the High Memory Area. (The CONFIG.SYS file should not have a
DOS=HIGH command.)
3. Restart your computer by pressing CTRL-ALT-Delete.
device=c:\dos\himem.sys
2. Add a device command for EMM386 to your CONFIG.SYS file. The device
command for EMM386 must come after the device command for HIMEM and
before any commands for device drivers that use expanded memory. For example:
Note
With MS-DOS 6.0, more upper memory can be obtained from B000 –
B7FF that is reserved for monochrome VGA display memory; however,
this address space is unused on most computers. To enable extra UMBs,
include this address range using the following command line instead of
the one above:
dos=high,umb
device=c:\dos\himem.sys
dos=high
Extended Memory
You must install a 386 memory manager such as Microsoft EMM386 (MS-DOS Version
5.0 or higher), Quarterdeck QEMM-386 or 386MAX. These memory managers use
extended memory to simulate expanded memory. The memory manager should be
compliant with the Extended Memory Specification (XMS) Version 2.0 or later.
device=c:\dos\himem.sys
2. Add a device command for EMM386 to your CONFIG.SYS file. The device
command for EMM386 must come after the device command for HIMEM and
before any commands for device drivers that use expanded memory. For example:
3. Disable or remove any other device commands for expanded memory managers.
4. Restart your computer by pressing CTRL-ALT-Delete.
device=c:\qemm\qemm386.sys
2. Verify that your AUTOEXEC.BAT file contains a command for the VIDRAM
program. For example:
c:\qemm\vidram on
Tested Configurations
Listed below are configurations which have been tested using the Standard Serial COM
Port version of Logicmaster 90-70 software. GE Fanuc offers this list as a guide to
selecting compatible hardware for this version of software. These products have
demonstrated compatibility with GE Fanuc via in-house testing and/or customer reports;
however, hardware manufacturers’ modifications to their products may affect
compatibility. This list is not exhaustive and is offered as a guide only. No endorsement
of any particular product is intended. If you have any questions, please contact the GE
Fanuc Hotline, 1-800-GEFANUC.
MS-DOS / Memory
Computer Manager CONFIG.SYS File *
Zenith Data Systems MS-DOS 6.0 device=c:\dos\himem.sys
Z-Note 433 Lnc+ Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
(Driver in MS-DOS) dos=high
Zenith Data Systems MS-DOS 6.0 device=c:\dos\himem.sys
Z-Note 433 Lnc+ Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
(Driver in UMB) dos=high,umb
Zenith Data Systems MS-DOS 6.0 device=c:\dos\himem.sys
Z-Note 433 Lnc+ Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
(Driver in EMS) dos=high
Gateway 2000 MS-DOS 6.0 device=c:\dos\himem.sys
4DX-33 Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
(Driver in MS-DOS) dos=high
Gateway 2000 MS-DOS 6.0 device=c:\dos\himem.sys
4DX-33 Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram i=b000-b7ff
(Driver in UMB) dos=high,umb
Gateway 2000 MS-DOS 6.0 device=c:\dos\himem.sys
4DX-33 Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
(Driver in EMS) dos=high
Workmaster II MS-DOS 5.0 device=c:\dos\himem.sys
(Driver in MS-DOS) Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
dos=high
Workmaster II MS-DOS 5.0 device=c:\dos\himem.sys
(Driver in UMB) Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
dos=high,umb
Workmaster II MS-DOS 5.0 device=c:\dos\himem.sys
(Driver in EMS) Microsoft HIMEM device=c:\dos\emm386.e
xe 1024 ram
dos=high
ZEOS MS-DOS 6.0 device=c:\dos\qemm386.sys
486 QEMM 6.0 dos=high
(Driver in MS-DOS)
ZEOS MS-DOS 6.0 device=c:\dos\qemm386.sysram=D000-Dfff
486 QEMM 6.0 dos=high
(Driver in UMB)
* Each CONFIG.SYS file contains the lines: files=20 and buffers=48.
Note
The serial port on the Work Station Interface (WSI) Board in the programmer provides
serial communication between the programmer and the attached PLC. The WSI serial
port setup functions are used to configure the WSI serial port, and to save or recall those
configurations from disk files. If you do not have a WSI Board for serial
communications, please turn to the information on PLC communications serial port
setup in section 4, “Standard Serial COM Port.”
To display the WSI Serial Port Setup screen, press COMSET (F4) from the Programmer
Setup menu.
Note
The PLC CPU defaults to the parameters displayed on this screen
(e.g., 19200 baud, odd parity, etc.) These parameters must match the
CPU slot configuration that was last stored to the PLC before
communications can be established (see chapter 11, section 3,
Configuring the CPU Module).
The WSI serial port settings may be viewed, changed, saved to a disk file, or recalled
from a disk file in all modes of operation by pressing the appropriate function key.
Field Description
File Name The name of a disk file containing the WSI port setup parameters. If no file name
is entered, the default name %WSI070.PSU is used. This field allows you to save
the setup parameters to a file other than the default file name. You can then recall
the setup from this saved file and perform the setup within that screen.
Parameters Press Default (F3) to set the parameters on this screen to their default values. The
PLC CPU defaults to these parameters, as displayed on the screen shown above
(e.g., 19200 baud, odd parity, 1 stop bit, etc.). These parameters must match the
CPU slot configuration that was last stored to the PLC before communications can
be established (see chapter 11, section 3, Configuring the CPU Module).
Baud Rate: The transmission rate, in bits per second, of data through the port.
Parity: An ASCII character may consist of either seven or eight data bits. Specify
whether parity is indicated by an odd or even number of bits, or whether no
parity bit is added to the word.
Stop Bits: All communications use one stop bit. Slower devices may use two stop
bits.
Modem Turnaround Time: The time required for the modem to start data
transmission after receiving the transmit request. If no modem is used,
specify zero. When the PLC is connected through a modem, the value must be
one or greater.
Setting Up a Port
To set up the serial port, enter the appropriate values in the fields on the WSI Serial Port
Setup screen. Once all the values have been entered, press Setup (F6).
The view mode setup function enables you to specify which modes are displayed when
you press ALT-N. These view modes range from showing only rung references to
showing reference names and reference descriptions in an expanded rung form (display
all mode). You can also view the maximum amount of program logic on a screen by
selecting a compressed rung mode.
The Home, End, Page Up, Page Down, Previous, Next, and cursor keys function the
same, regardless of the view mode selected.
Display modes are selected from the View Modes Setup screen. To display this screen,
press View Mode (F5) from the Programmer Setup menu.
When the View Modes Setup screen is displayed, the mode selections which were last
saved are shown. The default selections are Y (Yes) for all the programmer view
modes, except minimum rung size mode whose default selection is N (No).
Use the Up and Down cursor keys to move between selection fields. Then, use the Tab
key to toggle each selection between Y (Yes) and N (No), or enter Y for the view
modes you want to sequence through when you press ALT-N. Enter N to disable the
modes you do not want to sequence through.
To validate and save the view mode selections in the home directory file %LM090.PSU,
press ALT-U or the Escape key. At least one selection must be Y (Yes) in order for the
selections to be valid. If all view mode selections are N (No), an error message is
displayed and the selections are not saved.
To abort the selections and use the last saved setup, press ALT-A.
Note
The print function does not distinguish between these two display
modes and prints all tables right to left.
The default view mode is the last view mode selected with ALT-N. If the view mode has
never been changed, the default set in the programmer setup is used.
1. The default reference table view mode is displayed on the View Modes Setup
screen. To display this screen, press View Modes Setup (F5) from the Programmer
Setup menu. The view mode in the following screen is right to left (the default
display).
2. To change the default view mode to display left to right, move the cursor to the
Enabled field for the Reference Table View Modes entry. Then, use the Tab key to
toggle the selection to N (No) or enter N.
3. To validate and save the default view mode selection in the home directory file
%LM090.PSU, press ALT-U or the Escape key.
8 figure bi level 1
table_big level 1
Series 90 programs and configuration data are stored in folders. A folder is an MS-DOS
subdirectory which contains all the information about one RLD program. A folder can
contain standalone C programs or an SFC programs. For more information about
t
options for multiple programs, refer to chapter 2 of the Series 90 -70 Programmable
Controller Reference Manual (GFK–0265, revision G or later). Folders must be created
using Logicmaster 90-70 software. An existing MS-DOS directory cannot be used as a
folder.
CPU Configuration
I/O Configuration
PROGRAM Program Logic*
FOLDER Reference Tables
Rung Comments
Backup Files
Teach Files
* The representation shown above is based on an RLD program with no additional standalone C
programs.
Drawer
A drawer is an MS-DOS directory path which contains one or more folders.
Note
Drawers must be created using MS-DOS before they can be used by
Logicmaster 90-70 programming software.
When Logicmaster 90-70 software is entered, the current MS-DOS directory is the
default drawer. The default drawer may be changed from the Select screen by pressing
ALT-C to clear the Program Folder field and then entering the MS-DOS directory path
(ending in \) of the subdirectory containing the folders you want, for example:
C:\LM90\FOLDERS\.
Refer to appendix I for an explanation of the files created with Logicmaster 90-70
software.
GFK-0263G 8-1
8
Note
Annotation files (nicknames, reference descriptions, and comment text)
remain in the folder and are not stored to the PLC. Therefore, when
loading a program from the PLC to the TEMP folder, the annotation will
be missing. Those files are still in the original folder where the program
was developed. If another program was developed in the TEMP folder
prior to the store operation, the annotation in the recently loaded
program will actually belong to the previous program.
Caution
To use a program folder function, press Folder (F8) from the main menu. The following
screen is displayed in the programming software package. The Rename (F6) and Copy
(F10) functions are not available in the configuration software.
Function
Key Function Description Page
F1 Select Create a new program folder, or select a previously created 8-4
folder.
F2 Delete Remove a program folder that is no longer needed. 8-7
F3 Auto Automatically select the correct program folder and attempt to 8-5
verify equality with the PLC program.
F4 Backup Make a backup archive of the current program folder. 8-8
F5 Restore Restore a program folder from its backup archive. 8-10
F6 Rename Rename a program folder to a new folder name. F6 is not 8-12
active in the configuration software package.
F7 Clear Clear the contents of the current program folder. 8-13
F8 Lock Lock or unlock a program folder. Locking a program folder 8-14
prevents its files from being changed or deleted.
F10 Copy Copy a program folder into the current program folder. Use 8-15
this function to make a copy of a program folder that can be
modified while retaining the original. F10 is not active in the
configuration software package.
Note
If a folder contains locked program blocks, these blocks remain locked
when the Logicmaster 90-70 software copy, backup, and restore folder
functions are used. For more information on locking and unlocking
program blocks, refer to chapter 3, section 8, “Program Blocks, External
Blocks, and Interrupts.”
Note
Once you edit a program folder using Release 4 of Logicmaster 90-70
software, you cannot use this folder with an earlier release of software.
The name of the last folder selected is shown in reverse video in the Program Folder
field. Other program folders in the current drawer are also listed on the screen. If the
attached PLC contains a user program, the name of this program appears in the PLC
Program Name field. If the attached PLC does not contain a user program, this field is
blank. If the programmer is offline or not connected to a PLC, this field contains
asterisks. This field may not be edited.
To select a folder in the current drawer, move the cursor to the desired folder name or
type the name of the program folder in the Program Folder field, and press the Enter
key. (This is also the name of the program.) The name can have up to seven characters.
If a second diskette is inserted after a folder has already been selected or created on the
first diskette, the list of folders is not updated. In order to have the folder list updated,
you must reselect the drawer (e.g., enter A:\ .
To select a folder in a different drawer, first select the drawer by entering the drawer
MS-DOS path, ending with a “\” and pressing the Enter key. For example, enter
C:\LM90\FOLDERS\. When the Enter key is pressed, the names of the folders in the
newly selected drawer are displayed. Position the cursor on the name of the program
folder you wish to select or type the name of the program folder, and press the Enter
key.
If the program folder already exists, select whether or not to create a backup copy. If the
program folder does not already exist, the system will prompt you for confirmation to
create a new program folder. This prevents you from accidentally creating a program
folder due to a typing mistake. To cancel any changes made to this screen, press ALT-A
(abort). To return to the Program Folder menu, use the Escape key.
Auto-Select Function
The Auto (F3) softkey is only active when the select screen is displayed. When F3 is
pressed in OFFLINE mode or if the programmer is not communicating with the PLC, a
message is displayed indicating that auto-select function is not available in that mode.
When F3 is pressed in MONITOR or ONLINE mode, the programming software checks
to see if a folder exists in the current directory whose name matches the name of the
program in the PLC. If the folder does exist, it is automatically selected. The software
then attempts to verify the program or configuration in the folder with that in the PLC,
and updates the Equality field on the status line based on the result. After the select
screen is exited, the main menu is displayed
In the programming software, if a matching folder does not exist, the following message
is displayed: “Folder matching PLC name not found; load program to TEMP folder?
(Y/N)”. If N (No) is entered, no folder is selected and the select screen remains
displayed on the screen.
If Y (Yes) is entered, the TEMP folder is selected or created if one does not exist.
Program logic and configuration are loaded from the PLC into the TEMP folder. If the
TEMP folder already contains logic and/or configuration files, those files are backed up
prior to the load. The status lines are updated to show the folder program is equal to the
version in the PLC.
In the configuration software, or if the programmer is connected to a Remote I/O
Scanner, the message displayed when a matching folder does not exist is “Load
configuration to TEMP folder?”.
If an error is encountered verifying or loading data from the PLC, an error message is
displayed and the select screen continues to be displayed.
Note
If the baud rate with the serial version of Logicmaster 90-70 software is
set to 1200 or less, the programmer does not automatically go to
MONITOR mode. It goes to OFFLINE mode.
To delete a folder in the current drawer, type the name of the program folder in the
Program Folder field or move the cursor to the desired folder name. Then, press the
Enter key. The software will not allow the currently selected folder to be deleted.
To delete a folder in a different drawer, enter the full path specification or specify the
drawer in the Program Folder field. The window is changed to display the folders in
this drawer.
Respond to the confirmation prompt to continue with the deletion. Once started, the
delete operation cannot be aborted. To return to the Program Folder Functions menu,
press the Escape key.
The backup folder is located in a subdirectory under the program folder. If no backup
folder exists for the current program folder, one is created automatically.
The Backup Destination field allows you to specify where you want to put the backup
copy. The default destination is the backup directory of the current folder. To change
the destination, move the cursor to this field and enter the new destination.
Note
When backing up to a diskette, you must back up to a subdirectory. For
example, A:\ cannot be used as the backup destination. If LESSON is
the folder name, A:\LESSON should be used. If only A:\ is specified,
you cannot restore from the diskette.
Use the cursor keys to move from one option field to another. To back up the entire
contents of the current folder, enter Y (Yes) in the Entire Folder field. To back up only
selected options, enter Y (Yes) in the corresponding fields:
Field Description
ProgramLogic The ladder logic program and %L and %P data.
Configuration The currentconfiguration.
Reference Tables The reference tables for the program (except %L and %P data) and refer-
ence table format files.
The Tab key may also be used to toggle the selection of each option. The default
selection for the Entire Folder field is Y (Yes); all other fields default to N (No). Once
the Entire Folder field is set to Y, the remaining fields are automatically set to N. Once
any of the other fields is set to Y, the Entire Folder field is automatically set to N.
Then, press the Enter key. If you back up the entire folder, the software will prompt you
for confirmation and then automatically delete the previous backup if one already exists.
A new backup copy will be created to reflect the current contents of the program folder.
If you back up only program logic or any other options besides the entire folder, the
previous backup copy is left intact and the selected options are added to the backup. If
the selected options were already contained in the backup, they will first be deleted.
Once started, the backup operation cannot be aborted. To return to the Program Folder
Functions menu, press the Escape key.
The RestorationSource field allows you to specify where you want to retrieve the
backup archive from. The default source is the backup directory of the current folder. To
change the source, move the cursor to this field and enter the new source.
Note
The backup archive must be restored to a folder with the same name as
the folder from which the backup originally was made. If not, the
message “No backup found to restore” is displayed.
When this screen first appears, the selection for the Entire Folder field is set to Y (Yes)
as the default selection. All other fields default to N (No). Once the Entire Folder field
is set to Y, the remaining fields are automatically set to N. Once any of the other fields
is set to Y, the Entire Folder field is automatically set to N.
Use the cursor keys to move from one option field to another. To restore the entire
contents of the current folder, enter Y (Yes) in the Entire Folder field. To restore only
selected options, enter Y (Yes) in the corresponding fields:
Field Description
ProgramLogic The ladder logic program and %L and %P data.
Configuration The currentconfiguration.
Reference Tables The reference tables for the program (except %L and %P data) and reference
table format files.
Then, press the Enter key. If any information exists in the current program folder that
would be overwritten by the backup copy, the software will prompt you for
confirmation. Once started, the restore operation cannot be aborted.
If the programmer is in ONLINE or MONITOR mode, an auto-verification is performed
to determine whether the restored program or configuration is equal to the PLC.
To return to the Program Folder Functions menu, press the Escape key.
Enter the new folder name in the Rename Folder to field. If you press an alphanumeric
key, it is automatically displayed in the Rename Folder to field. To clear this field, press
ALT-C or use the Delete key to delete the contents of the field.
Press the Enter key to start the renaming operation. The software will prompt you for
confirmation to continue the operation with the message “Current folder (<file_name>)
will be renamed to <file_name>. Continue? (Y/N).” Once started, the rename operation
cannot be aborted.
Note
If the folder is renamed after a backup has occurred, the backed up files
cannot be restored to the folder without renaming the folder back to its
original name.
Once the rename operation is completed, the message “Folder renamed successfully” is
displayed and the Rename Folder to field is cleared.
If the rename operation is aborted, the Rename Folder to field is not automatically
cleared since the rename never completed. You must manually clear the field by
pressing ALT-C or use the Delete key to delete the contents of the field.
Use the cursor keys to move from one option field to another. To clear the entire
contents of the current folder, enter Y (Yes) in the Entire Folder field. To clear only
selected options, enter Y (Yes) in the corresponding fields:
Field Description
ProgramLogic The ladder logic program and %L and %P data.
Configuration The currentconfiguration.
Reference Tables The reference tables for the program (except %L and %P data) and
reference table format files.
Print Cross The PRINT.XOV and all .XRF files for the program.
Reference Files
The Tab key may also be used to toggle the selection of each option. The default
selection for the Entire Folder field is set to Y (Yes); all other fields default to N (No).
Once the Entire Folder field is set to Y, the remaining fields are automatically set to N.
Once any of the other fields is set to Y, the Entire Folder field is automatically set to N.
Note
Program annotation files only exist in the folder and not in the PLC.
Clearing the folder and then loading the program from the PLC results
in lost annotation.
Press the Enter key to begin the clear operation. If there is any information in the folder,
the software will prompt you for confirmation to continue the clear operation. Once
started, the clear operation cannot be aborted.
If you answer the continuation prompt by pressing: Y (Yes), you will have a chance to
back up the current program folder. To create a backup copy, press: Y (Yes) at the
prompt. Press: N (No) if you do not want to back up the information first.
To return to the Program Folder Functions menu, press the Escape key.
Use the Tab key to change the access description. Then, press the Enter key. The new
access description will appear in the lower right corner of the screen.
Note
Program folders on write-protected diskettes are automatically locked.
Remove the write-protect tab and unlock the folder using this function.
Note
Copying a locked folder does not copy the lock status to the destination
folder.
Note
The copy function is only available in the programming software; it is
not available in the configuration software.
Note
Copying a locked folder does not copy the lock status to the destination
folder.
When repeatedly copying a folder to a series of diskettes, the displayed folder list is not
updated after the first floppy disk is removed from the drive. In order to have the folder
list updated, you must reselect the drawer (e.g., enter A:\).
To make a copy of a program folder, press Copy (F10) from the Program Folder
Functions menu.
Enter the name of the program folder whose contents you want to copy into the
currently selected program folder. Then, use the cursor keys to move from one option
field to another. To copy the entire contents of the source folder, enter Y (Yes) in the
Entire Folder field. To copy only selected options, enter Y (Yes) in the corresponding
fields:
Field Description
ProgramLogic The ladder logic program and %L and %P data.
Configuration The currentconfiguration.
Reference Tables The reference tables for the program (except %L and %P data) and
reference table format files.
The Tab key may also be used to toggle the selection of each option. The default
selection for the Entire Folder field is set to Y (Yes); all other fields default to N (No).
Once the Entire Folder field is set to Y, the remaining fields are automatically set to N.
Once any of the other fields is set to Y, the Entire Folder field is automatically set to N.
Press the Enter key to begin the copy operation. If there is any information in the
current folder, the software will prompt you for a confirmation to continue since
everything in the current folder will be overwritten. Once started, the copy operation
cannot be aborted.
If the programmer is in ONLINE or MONITOR mode, an auto-verification is performed
to determine whether the programmer/configurator is equal to the PLC.
To return to the Program Folder Functions menu, press the Escape key.
9 figure bi level 1
table_big level 1
The program utility functions are used to transfer programs, configuration data, and
reference tables between the programmer and the PLC. They are also used to compare
the program, configuration data, and reference tables in the programmer with the
program, configuration data, and reference tables in the PLC, and to clear PLC memory.
Note
In the configuration software, only the configuration may be loaded,
stored, verified, or cleared. No operations on program logic or tables
may be performed.
To access the program utility function, press Utility (F9) from the main menu, or
Shift-F9 from any main menu function screen.
GFK-0263G 9-1
9
Function
Key Function Description Page
F1 Load Copyprogram logic, configuration data, and/or reference tables 9-3
from the PLC to the programmer.
F2 Store Copy program logic, configuration data, and/or reference 9-5
tables from the programmer to the PLC.
F3 Verify Compare program logic, configuration data, and/or reference 9-9
data in the programmer with the program logic, configuration
data, and/or reference tables in the PLC.
F5 Clear Delete program, configuration data, and/or reference tables 9-11
from PLC memory.
F10 Flash Copy program logic, configuration data, register data, pass- 9-12
words, and the OEM key from CPU RAM to the flash memory
device.
Caution
Note
In the configuration software, only the configuration may be loaded.
No operations on program logic or tables may be performed.
To use the load function, the programmer must be in ONLINE or MONITOR mode.
Press Load (F1) from the Program Utility Functions menu or from another Program
Utilities screen. The Load Program screen appears:
Note
Annotation files (nicknames, reference descriptions, and comment text)
remain in the folder and are not stored to the PLC. Therefore, you must
load from the PLC to the original folder containing the annotation in
order to retain its annotation.
Note
If comment text has been edited since the program was stored to the
PLC, do not load the program to the folder to restore equality. The
program with the updated text should be stored to the PLC instead.
This also applies to identifier descriptions for program blocks which
have been edited offline. The program block containing the edited
identifier descriptions should be stored to the PLC in order to restore
equality.
The Load Program screen shows the currently selected program folder and the program
name in the PLC; these cannot be changed on this screen. A program must be loaded to
a folder whose name matches the PLC program name or to the TEMP folder (e.g., a
folder whose name is TEMP).
Three types of data can be loaded from the PLC to the programmer: program logic,
configuration data, and reference tables. When this screen first appears, only the
program logic is set to Y (Yes), which is the default selection. To load all of the data,
change the selection for reference tables and configuration to Y (Yes). To load only part
of the data, select: N (No) for any of the following:
Field Description
ProgramLogic The ladder logic program and %L and %P data.
Reference Tables The reference tables for the program, except %L and %P data.
Configuration The currentconfiguration.
Also, select whether or not you want to create a backup copy of the current program
folder before loading. Use the cursor keys to select items, and type in new selections as
appropriate. To restore the original selections while editing this screen, press ALT-A.
To begin loading, press the Enter key.
The name of the program in the PLC is checked against the name of the current
program folder. If the names are the same, the load continues. If the names are not the
same, you cannot start the load unless the folder name is TEMP.
After a successful load, the software displays the message “Load Complete”. If a
communication error occurs during the load process (indicated by a message on the
screen), the selected items are cleared from the current folder. Correct the error and
repeat the load function.
To stop a program load, press ALT-A.
To return to the Program Utility Functions menu, press the Escape key.
Note
In the configuration software, only the configuration may be stored. No
operations on program logic or tables may be performed. The screen is
slightly different than the one shown on page 9-6. The configuration
store screen is shown and discussed on page 9-8.
In RUN MODE STORE, you can only store program logic under these conditions:
5. There must be enough PLC memory to store both old and new program blocks.
6. Timed or Event-Triggered programs cannot be added or deleted.
7. Control information (scheduling mode, I/O specification, etc.) for programs cannot
be modified.
1. You can store program logic, configuration data, and/or reference tables from the
programmer to the PLC.
2. If you choose to store logic only and the PLC program name is different than the
program name in the folder, the current logic in the PLC will be cleared and replaced
by the new logic in the current folder. The current configuration data and reference
tables in the PLC are left intact.
3. If you choose to store logic and configuration data and/or reference tables, the logic,
configuration data, and reference tables in the PLC are cleared, and the new data is
stored from the programmer to the PLC.
To use the store function, press Store (F2) from the Program Utility Functions menu.
The Store Program screen appears:
The screen shows the currently selected program folder, which cannot be changed.
Three types of data can be stored from the programmer to the PLC: program logic,
configuration data, and reference tables. When this screen first appears, only the
program logic is set to Y (Yes), which is the default selection. To store all of the data,
change the selection for reference tables and configuration to Y (Yes). To store only part
of the data, select: N (No) for any of the following:
Field Description
ProgramLogic The ladder logic program and %L and %P data.
Reference Tables The reference tables for the program, except %L and %P data.
Configuration The currentconfiguration.
Note
Annotation files (nicknames, reference descriptions, and comment text)
remain in the folder and are not stored to the PLC.
Logicmaster 90-70 software identifies external blocks with a unique block type when
storing logic to the PLC. If the PLC rejects the external block because it is not in the
proper MS-DOS executable file format, the software will display an appropriate error
message based on an error code which is unique to external blocks.
Use the cursor keys to select items, and type in new selections as appropriate. To restore
the original selections while editing this screen, press ALT-A.
The information to be transferred must fit within the configured boundaries of the PLC
(for example, its register memory size).
To begin storing, press the Enter key. The program must be complete, and must not
contain errors in syntax or any instructions which are not supported by the attached
PLC. If there are errors, the store operation will be aborted.
After a successful store, the software displays the message “Store Complete”. If a
communication or disk error occurs during the store process (indicated by a message on
the screen), the selected items are cleared from the attached PLC. Correct the error and
repeat the store function.
To stop a program store in progress, press ALT-A if the PLC is in STOP mode. If the
PLC is in RUN mode when the store begins, you cannot abort the store process.
To return to the Program Utility Functions menu, press the Escape key.
Note
If there should be an error in any of the programs being stored, the
Store screen will display the applicable error and the name of the
program that was being stored when the error occurred. The program
name will display whether it is an RLD program or program block, SFC
program, or C program.
Field Description
CURRENT The folder currently loaded in the PC.
FOLDER
PLC PROGRAM The folder currently stored in the PLC.
NAME
CONFIG SELECT Type Y (yes) if you wish to store a different folder than the one
currently loaded. Leave it with the default N (no) to store the
current folder.
To begin storing, press the Enter key. The CPU must be in STOP mode for a
Configuration Store. If you use the “CONFIG SELECT” option, a list of configuration
folders will appear from which to choose. If the PLC already has a configuration folder
stored, Logicmaster will prompt you if you wish to overwrite it. Enter Y to continue
with the Store.
Note
You cannot verify a view locked block with an unlocked block. For more
information on viewing locked blocks, refer to chapter 3, section 8,
“Program Blocks, External Blocks, and Interrupts.”
Note
In the configuration software, only the configuration may be verified.
No operations on program logic or tables may be performed.
To use the verify function, the programmer must be in ONLINE or MONITOR mode.
Press Verify (F3) from the Program Utility Functions menu or from another Program
Utilities screen.
The screen shows the currently selected program folder, which cannot be changed.
Six types of data can be compared: current program logic, configuration data, reference
tables, current data block, all data blocks, and all logic blocks. When this screen first
appears, the selections for current program logic and all logic blocks are set to Y (Yes),
which is the default selection.
To compare all of the data, you must change the selection for configuration data and
reference tables to Y (Yes). To compare only part of the data, select: N (No) for any of
the following:
Field Description
Current Logic Block The program block currently zoomed into the program display/edit
function and its %L or %P data. (See BLK field on the status line.)
All Logic Blocks All program blocks in the program and the %L and %P data blocks.
When verifying logic, checksums for logic in an external block in the
programmer are compared with their counterparts in the PLC. If one
of the checksums mismatches, Logicmaster 90-70 will display the
miscomparison on the screen, as it does for other discrepancies.
Current Data Block The local registers (%P for the main program block, and %L for other
program blocks) used by the current logic block.
All Data Blocks All local registers in the program. External blocks are ignored since
they do not have any %L data.
Reference Tables The reference tables for the program, except %P and %L.
Configuration The current I/O and CPU configuration.
Press the Enter key to begin the verify function. While the verify is occurring, you can
press ALT-A to abort.
If the information being compared is the same, the screen prompts: “Verify complete;
no miscompares detected” and the program logic equality state is set to EQUAL. If the
program does not successfully verify, the logic equality state is set to NOT EQUAL.
When miscompares are found, they are listed on the screen. For example:
Each miscompare displays the name of the program block and the memory type where
the miscompare occurs. Pressing the keyboard space bar will restore the screen to its
original form or bring up the next page of miscompare information.
Note
In the configuration software, only the configuration may be cleared.
No operations on program logic or tables may be performed.
If the function is password protected in the PLC, you must know the password in order
to use the function. To use the clear function, the programmer must be in ONLINE
mode. Press Clear (F5) from the Program Utility Functions menu or from another
Program Utilities screen.
Four types of data can be cleared: program logic, configuration data, reference tables,
and reference override tables. When this screen first appears, the selection for each type
is set to Y (Yes). To clear all of the data, do not change any of these selections. When all
options are set to Y, the %S fault bits and overrides are cleared. When only the
reference tables option is set to Y, %S bits and overrides are not cleared. Select N (No)
for those you do not want to clear.
Field Description
ProgramLogic The ladder logic program, %P or %L data, and block data.
Configuration The currentconfiguration.
Reference Tables The reference tables for the program, except %P or %L data.
Override Tables The reference override tables for the program
Press the Enter key to begin the clear function. Once the clear operation has begun, it
cannot be aborted. When the clear operation is complete, the software displays the
message “Clear Complete.”
Note
Only Models 781 and 782 and CPX 772, CPX782, CPX928, and CPX935
let you store user data in flash memory; e.g., Model 914 and higher
CPUs have flash memory, but their flash memory cannot be used as
described in this section.
The read, write, and verify operations require the programmer to be online and the PLC
to be stopped. The verify operation can also be performed while the programmer is in
MONITOR mode.
To select the flash memory feature, press Flash (F10) from the Program Utility Functions
menu. The Read/Write/Verify Flash Memory screen appears:
The Operation field defaults to VERIFY. To select an operation, position the cursor on
this field and enter the desired operation, or use the Tab key to scroll through the valid
operations. Once the desired operation is displayed, select the information to be
processed.
Three types of data can be processed : program logic, configuration data, and reference
data. When this screen first appears, all three fields are set to Y (Yes), which is the
default selection. To process only part of the data, select N (No) for any of the options,
or use the Tab key to toggle the selection of each option. To restore the original
selections while editing this screen, press ALT-A.
Field Description
ProgramLogic All programs and %L and %P data.
Reference Tables The reference tables for the program, except %L and %P data.
Configuration The currentconfiguration.
After all the options are selected, press the Enter key to start the operation. Once the read
or write operation has started, it cannot be aborted.
To return to the Program Utility Functions menu, press the Escape key.
10 figure bi level 1
table_big level 1
Note
Print may be used to print the reference table values in the program
folder only. To print the values from the PLC, the reference values must
first be loaded to the folder by using the load utility function (see
chapter 9).
Chapter 10 contains the following sections:
GFK-0263G 10-1
10
Note
When printing to a file, do not use the same file extensions as are used
for the program folder files. Logicmaster 90 software does not prevent
the printing of a listing to a file with the same name as one of the
program folder files. If this is done, part of the folder may be lost. Refer
to appendix I for a list of file extensions used by the software.
The printer setup parameters must match those of your printer. Default values are
supplied. These can be changed and stored in a file for continued use. To change your
printer setup or check its contents, press Setup (F1) from the Print Functions menu or
from another Print Functions screen.
The setup screen shows the value and possible selections for each parameter. This
screen can be displayed in both the programming and configuration software packages.
Printer Parameters
Refer to the following descriptions when changing the entries on the Printer Parameters
screen.
Parameter Description
Paper Width The number of characters printed on a line. If the printer is set up for
standard 8.5-inch wide paper, select 80 characters for the paper width.
If the printer uses 11-inch (or wider) paper, you may select either 80
or 132 characters.
If you do not want the programmer to insert a line feed character after
each carriage return character, enter N (No). To have the programmer
insert the <LF> character after each <CR> character, enter Y (Yes).
Printer Setup If the printer uses leading or trailing control characters, enter the
Sequences characters here. If you move the cursor to either of these entries, a field
will appear where you can enter the appropriate characters.
The print screen function can be used to print a copy of any screen. To execute a screen
print, go to the screen you wish to print and press ALT-P. The printing of the screen is
sent to the selected device or file. To abort the printing before it completes, press any
key.
Screen prints can be sent to an output port, or directed to a file. To specify a screen print
destination, press Screen (F2) from the Print Functions menu or from another Print
Functions screen.
This screen can be displayed in both the programming and configuration software
packages.
The print program function in the programming software is used to print program logic,
cross references, variables, and program annotation. A table of contents is printed at the
end of the listing. To use the print program function, press Logic (F4) from the Print
Functions menu or from another Print Functions screen.
Note
This screen can be displayed in the programming software package
only.
Specify the content for the printout on this screen as instructed on the following pages.
If you do not change a selection, its default is used. If the printout should also include
program cross references (which show other program uses of selected references), press
F5 to select the cross references to be included.
To save the entries on this screen in the PSCREENS.SET file, press Save (F10). This file is
written to the home directory. When the programmer is powered up, the new entries
will replace the default values. To save the new entries only until the next power-up and
then return to the default parameters, do not press Save (F10).
After completing the selections, press the Enter key to start printing. Printing will
continue unless paused or aborted. When the printing is complete, the software
displays the message ”Listing complete.”
To temporarily suspend printing after it begins, press Pause (F9). To resume printing,
press F9 again.
An attempt to print to a printer that is out of paper results in the message ”Printing
device is offline; press pause to resume,” being displayed.
To abort printing while in progress, press ALT-A and respond to the prompt. Printing
will also abort if you press CTRL-Break, which will exit the programming software.
When a listing is being printed to a file and the listing is aborted, the file containing the
listing up to that point is closed and is not deleted. It contains valid data up to the point
where it was stopped.
Parameter Description
Title An optional title of up to 62 characters centered at the top of each page. The
title may change if specified in a rung comment. Refer to chapter 3, section 6,
“Rung Comments,” for information on titles.
Subtitle An optional line of up to 62 characters printed below the title on each page.
The subtitle may change if specified in a rung comment. Refer to chapter 3,
section 6, “Rung Comments,“ for information on subtitles.
Header Page The header page for a program shows the program name, CPU reference sizes,
highest references used in the program, and the size of the program, in bytes.
To print header pages, enter Y (Yes).
A header page for a program block shows the program block name, size of the
program block, size in bytes of the program block data (%P for the main program
block, %L for all others), the number of entries for that block, and the highest
references used by the block. The number of entries for that block includes the
number of nicknames plus the number of identifiers, as shown in the variable
declaration section of the block.
Variable Table To print tables of variables and identifiers, enter Y (Yes).
AllBlocks To print all program blocks (except external blocks and those blocks which have
been view locked) in the selected program, enter Y (Yes). During listing or
printing, the name of the program block being printed appears on the status
line at the bottom of the screen.
Logic for external blocks cannot be printed. When you select the All Blocks
option, the software will print logic for each of the blocks written in ladder
diagram language. After printing those blocks, the software will list the external
blocks which cannot be printed.
Logic for blocks which have been view locked cannot be printed, even
if Y (Yes) is selected for AllBlocks. A list of the view locked blocks that could
not be printed will be included at the end of the printout. For more information
on locked blocks, refer to chapter 3, section 8, “Program Blocks, External Blocks,
and Interrupts.”
If All Blocks is set to N (No), only the current program block is printed. This
is the last block accessed in DISPLAY/EDIT mode. The name of the block is
displayed on the status line.
Whether one block or all blocks are printed, the printout will include the items
specified below.
Block To print a program block chart, enter Y (Yes). Additionalinformation on the
Structure structured program block display is provided later in this section.
Parameter Description
SFC To print the SFC topology, enter Y (Yes). When Y (Yes) is selected for both
Topology the SFC Topology option and the Logic option, both the SFC topology and its
underlying action, transition, preprocessing, and postprocessing relay ladder
diagram logic will be printed. If the _MAIN block is being printed, the block
declaration and interrupt declaration tables will be printed.
When Y (Yes) is selected for the SFC Topology option, but N (No) is selected
for the Logic option, only the SFC topology will be printed. If the _MAIN
block is being printed, the block and interrupt declaration tables will not be
printed.
When N (No) is selected for the SFC Topology option, but Y (Yes) is selected
for the Logic option, the underlying relay ladder diagram logic of the SFC
topology will be printed. If the _MAIN block is being printed, the block and
interrupt declaration tables will be printed.
Note: The SFC Topology parameter is only used for the Sequential Function
Chart version of Logicmaster 90-70 software. It is not used for the Relay Ladder
Diagram version of software.
Logic To print ladder diagram logic, enter Y (Yes). Then, specify the content of the
logic printout:
Reference List: Enter Y (Yes) to print a table at the bottom of a page listing
all the program references on that page. For each reference, the table lists the
machine address, nickname, and reference description.
Nickname and Reference: Enter Y (Yes) to print both machine addresses and
their nicknames with the ladder logic. If N (No) is entered, only nicknames are
printed in the logic. Machine addresses are printed for any references that do
not have nicknames assigned.
When the print reference description feature is selected, the first 28 characters of
the reference description for each reference address in the logic are printed
above the reference address. The reference description is divided into four
lines of seven characters each. If the nickname and reference option is also
selected, the reference description is printed above the nickname, for a total of
six lines above the instruction. If the nickname and reference option is not
selected, the reference description is printed directly above the reference
address or nickname, for a total of five lines above the instruction. Refer
to chapter 3, section 7, “Changing the Display Mode,” and chapter 7,
“Programmer Setup,” for information on selecting view modes in the program
editor.
Additional text for rung comments may be created as separate files, as described
in section 4 of chapter 3. If this has been done, be sure the files are present on
the specified drive when printing begins.
Parameter Description
From/T
o Rung To print a range of logic rungs within one program block, enter the first and last
rung number of the group to be printed. If the All Blocks option is set to Y
(Yes), these fields will be ignored.
Starting Page To begin numbering the printout with a page number other than 1, enter the
Number number here.
Port Specify the destination of the listing.
File Name To send the printout to a file instead of to a printer, enter a name for the file here
and select FILE in the Port field. If a file already exists with the selected
name, the new file will overwrite it. Refer to appendix I for a listing of the file
extensions used by the Logicmaster 90-70 software. Do not overwrite one of the
Logicmaster 90 files with print text.
Block Structure
A structured program block listing can be included as part of the logic printout. It is
printed after the program header page and before all the block information. The display
contains each program block name, with an indented list of all the blocks called in that
program block.
To include the structured program block display in the next printout, press Logic (F4)
from the Print Functions menu. On the Print Program Logic screen, select: Y (Yes) for
Block Structure (default = No).
The block structure section of the printout lists all the blocks, with their program block
calls in a tree structure. The structure starts with the _MAIN block as the first block. The
block structure of each interrupt block is also printed.
The total number of times a block is used in a CALL instruction or interrupt declaration
is provided. This total number of calls is printed for each block.
Cross References
Cross references in a printout show the use of references in the program. Cross
references can be included as part of the ladder logic text and/or listed as separate tables.
If the All Blocks parameter on the Print Program Logic screen is set to Y (Yes), the cross
reference tables for each block are printed following the logic for that block.
Note
Cross references for references used within an external block cannot be
printed.
To include cross references, press F5 from the Print Program screen or from another
Print Functions screen.
Specify the content and format of the cross reference printing on this screen. If you do
not change a selection, its default is used.
To save the entries on this screen in the PSCREENS.SET file, press Save (F10). This file is
written to the home directory. When the programmer is powered up, the new entries
will replace the default values. To save the new entries only until the next power-up and
then return to the default parameters, do not press Save (F10).
After completing the selections, press Logic (F4) to return to the Print Program Logic
screen to print the listing.
The following table should be used to interpret cross reference instruction symbols:
Symbol Description
### Explicit reference.
(###) Implicitreference.
FBIO Function block direct reference.
@FBIO Function block indirect reference.
JMP Jump control.
LABEL Label.
MCR Master control relay.
EMCR End master control relay.
CALL Block CALL instruction.
PARAM Block CALL instruction parameter.
Refer to the following definitions when changing the entries on the Cross Reference
screen.
Parameter Description
In Ladder To include cross references as part of the ladder logic, enter Y (Yes). Cross
references for each reference address used on the coils in a rung are printed with
that rung. In addition, each time the reference address is used on a contact, the
most recent rung on which the reference address was used on a coil (referred to
as the controlling rung) is listed under the contact.
Cross Specify whether to print separate tables of cross references for each block
Reference and/or a single set of cross reference tables for the program. The printout
Tables contains a table for each reference type which has at least one address reference
used anywhere in a program. Within each table, cross reference information is
printed in ascending order of reference address offset. For each reference
address offset, the cross reference data is grouped by block and, then within
each block, by the instructions on which the reference is used. For each
instruction, rung numbers are printed in ascending order. For references used
more than once on a given rung in the same instruction, the rung number is
listed only once.
Per Block: If Y (Yes) is selected for PerBlock, sets of unique cross reference
tables for each block are printed. A per block cross reference table contains
only the cross reference information for references used within the scope of a
single block. The default for this option is N (No).
Global: If Y (Yes) is selected for , one set of cross reference tables for the
program is printed. A global cross reference table for a reference type will
contain all the cross reference information for references of that type used
anywhere within the scope of the program. The information for a reference
address will consist of each block, rung number, and instruction on which the
address was used. The information will also include the unique nickname and
reference description assigned to the reference address within each block. The
default for this option is N (No).
The nickname and reference description defined for a reference address within
the scope of a block is printed when the global cross reference data for that
reference address and that block is printed.
Implicit cross reference data may be included or excluded from either type of
cross reference table listing by entering: Y or N in the ImplicitXref field. If
included, the implicit usage of a reference address by an instruction is printed
with parentheses around the rung number of the rung containing that
instruction.
An identifier name global cross reference table will be printed when the
Xref TablesGlobal option is selected. Since the only identifier table names
known and used globally in a program are the block names, the global identifier
name cross reference table will consist only of the usage information for block
names. For each block name, the global cross reference identifier table will list
the blocks in which it is called, and the rung numbers within each block of the
rungs containing the CALL instruction.
Global cross reference tables will be printed after all other logic listing text that
you selected has been printed and before the global use tables.
Parameter Description
Use Tables Specify whether to print separate reference use tables for each block and/or a
single set of reference use tables for the program.
The symbol – means a reference is not used. The symbol * means used
explicitly on an instruction operand. The symbol + means used implicitly by
an instruction. When both * and + apply, the symbol # is used. (Refer to the
entry for implicit cross references in this table for more information.)
Per Block: If Y (Yes) is selected for, sets of unique reference use tables for each
block are printed. A per block reference use table contains only the reference use
information for references used within the scope of a single block. The default
for this option is N (No).
Global: If Y (Yes) is selected for Global, one set of reference use tables for the
program is printed. A global reference use table for a reference type will contain
reference use information for the entire program. The default for this option is
N (No).
Implicit reference usage data may be included or excluded from either type
of reference use table listing by entering: Y or N in the Implicit Xref field.
Implicit Implicit references are references that are used, but which do not appear
Cross directly in the program. For example, if the MOVE_INT instruction has an input
Reference %AI00001, an output %AQ00001, and a length of 5, %AI00001 and %AQ00001 are
explicitly used. Due to the length, there are really 5 words of input/output.
Therefore, %AI00002 through %AI00005 and %AQ00002 through %AQ00005 are
implicitly used.
To include both implicit and explicit references in cross reference tables or use
tables, enter Y (Yes). If N (No) is entered, only explicit references are printed.
Memory Enter Y to select the reference types for which cross reference tables and/or
Types/ reference use tables will be printed. The tables will begin at reference address
Address offset 1 and end with the highest used reference address offset of each reference
Ranges address type in the program or block. Enter N for those references whose cross
reference tables and/or reference use tables will not be printed.
To include cross references of block names, and MCR, ENDMCR, JUMP, and
LABEL names in a cross reference table printout, enter Y (Yes) in the Identifiers
field.
To print a local cross reference table for each type Xn and Yn, enter Y (Yes) in
the Formal Params field.
Parameter Description
Directory Specify a directory to store cross reference data files.
The specified location for the .XRF, PRINT.XOV, and GLOBAL.PTX cross
reference data files must be either a hard disk, an expanded memory device,
or a RAM Disk. The cross reference files cannot be sent to a floppy disk; if they
are, an error message will be displayed. If no entry is made here, the files are
stored in the current folder. Refer to appendix I for a listing of the file extensions
used by Logicmaster 90-70 software. Do not overwrite one of the Logicmaster 90
files.
Note: Cross reference data files are not automatically deleted when exiting the
print function. The .XRF and PRINT.XOV files remain in the designated
directory unless you enter Y (Yes) in the DeleteFiles After Use field. This
prevents having to cross reference the same blocks each time a listing is started.
When subsequent listings from the same folder are generated, only the cross
reference data files for the blocks which have changed since the previous
listing are deleted and recreated. The default selection for the DeleteFiles After
Use field is N (No).
To delete cross reference files from a folder without printing a listing, use the
clear folder function.
Note
If both Global and Per Block options are selected for cross reference or
reference use tables, the listing for %L will consist of a separate table
listing for each block in the program since %L is relevant only to the
block in which it is used.
If both options are selected in addition to the All Blocks option on the
Print Program Logic screen, the listings for %L would be redundant
under these option selections and are printed only once. %L data is
printed as part of the global listing but not part of the block listing.
To print reference table values for one or more program blocks, press Values (F6) from
the Print Functions menu or from another Print Functions screen. A table of contents is
printed with each value listing.
Note
Print may be used to print the values in the program folder only. To
print the values from the PLC, the reference values must first be loaded
to the folder by using the load utility function (see chapter 8).
These tables correspond to the tables that can be displayed and formatted using the
reference tables function. For example:
================================================================================
========== INPUT (%I) VALUES
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%I00064 00000000 00000000 00000000 00000000 00000000 00000000 0008
%I00128 00000000 00000000 00000000 00000000 +00123 00000000 00000000
%I00192 00000000 00000000 00345 00000000 00000000 00000000 00000000
There are no non–zero values in the range from %I00193 to %I00384.
%I00448 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%I00512 00000000 00000000 00001111 01010101 00000000 00000000 00000000 00000000
================================================================================
========== INPUT (%I) OVERRIDES
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
There are no overrides set in the range from %I00001 to %I00064.
%I00128 –––––––– –––––––– –––––––– –––––––– –––––––– –––––––– 0–0–0–0– 0000––––
There are no overrides set in the range from %I00129 to %I00384.
%I00448 ––––0––– –0–––0–– –––––––– 0––––––– ––––––0– –––––0–– ––0––0–– ––––––––
%I00512 –––––––– –––––––– –0––1111 –––––––– –0–––––– ––0––––– –––––0–– 0––0––––
Field Description
Title An optional title of up to 62 characters at the top of each page. The title may
change if specified in a rung comment. Refer to chapter 3, section 6, “Rung
Comments,” for information on titles.
Subtitle An optional line of up to 62 characters printed below the title on each page. The
subtitle may change if specified in a rung comment. Refer to chapter 3, section 6,
“Rung Comments,” for information on subtitles.
Header Page The header page for a program shows the program name, CPU reference sizes,
highest references used in the program (excluding references used within
external blocks), and the size of the program, in bytes. To print header pages,
enter Y (Yes).
Value Tables To print value tables (input, output, etc.), enter Y (Yes).
If AllBlocks is set to N (No), only the current program block local registers
will be printed. The name of that block is displayed on the status line.
Starting To begin numbering the printout with a page number other than 1, enter the
Page number here.
Field Description
Address Specify the range of values to be printed. Enter values only for types of
Range references to be printed. If any references should not be printed, enter zeros in
both the FROM and TO fields. If the configured limits change (i.e., by changing
folders, clearing a folder, or downloading from the PLC), the address ranges
will be re-initialized.
Port Specify the destination of the listing.
File Name To send the printout to a file instead of to a printer, enter a name for the file here
and select FILE in the Port field. If a file already exists with the selected name,
the new file will overwrite it. Refer to appendix I for a listing of the file
extensions used by the Logicmaster 90 software. Do not overwrite one of the
Logicmaster 90 files with print text.
To save the entries on this screen in the PSCREENS.SET file, press Save (F10). This file is
written to the home directory. When the programmer is powered up, the new entries
will replace the default values. To save the new entries only until the next power-up and
then return to the default parameters, do not press Save (F10).
After completing the selections, press the Enter key to start printing. Printing will
continue unless paused or aborted. When the printing is complete, the software
displays the message “Listing complete.”
To temporarily suspend printing after it begins, press Pause (F9). To resume printing,
press F9 again.
During printing, press ALT-A to abort the printout. Printing will also abort if you press
CTRL-Break and confirm your action. This will exit the programming software.
Note
When a listing is being printed to a file and the listing is aborted, the file
containing the listing up to that point is closed and is not deleted. It
contains valid data up to the point where it was stopped.
In the Logicmaster 90-70 configuration software package, the print function enables you
to obtain a listing of all I/O and CPU configuration data. The listing can be directed to a
port for immediate printout, or to a file for later printing. The following functions are
provided:
D View/change printer parameters.
D Select the screen print destination.
D Generate a rack hardware configuration listing.
D Generate a configured reference address listing (Ref View).
D Generate a CPU configuration listing.
To display the Print Functions menu in the configuration software, press Print (F10)
from the main menu, or Shift-10 from any main menu function screen.
Note
The Setup (F1) and Screen (F2) keys perform the same functions as their
corresponding keys in the programming software. Refer to section 1 of
this chapter for information on setting up the printer parameters, and to
section 2 for information on selecting the screen print output
destination.
The Print Configuration menu defines which parts of the rack configuration should be
printed out and the destination of the listing. A header page describing the highest
references configured in the I/O configuration is printed automatically with each
configuration.
To save the entries on this screen in the PSCREENS.SET file, press Save (F10). This file is
written to the home directory. When the programmer is powered up, the new entries
will replace the default values. To save the new entries only until the next power-up and
then return to the default parameters, do not press Save (F10).
Refer to the following definitions when changing the entries on the Print Configuration
screen.
Field Description
Title An optional title of up to 62 characters centered at the top of each page.
Subtitle An optional line of up to 62 characters printed below the title on each page.
Central PLC To print the configuration that contains the PLC, select: Y (Yes).
Detail: To print the detail screens for each module configured in the Central
PLC, enter Y (Yes). This field is only available when the selection for the
Central PLC field is Y (Yes). If the Central PLC field is set to N (No), the Detail
field is set automatically to N.
Reference View: To print the reference view tables for the Central PLC
configuration, enter Y (Yes).
Detail: To print the detail screens for each module configured in a remote drop,
enter Y (Yes). This field is only available when the selection for the Remote
Drop field is Y (Yes). If the RemoteDrop field is set to N (No), the Detail
field is set automatically to N.
Reference View: To print the reference view tables for a remote drop
configuration, enter Y (Yes).
From Enter the number of the first rack of the Central PLC whose configuration data
Central is to be printed. The value of this field may not exceed the value of the ToCentral
Rack Rack field.
To Central Enter the number of the last rack of the Central PLC whose configuration data
Rack is to be printed. The value of this field may not be less than the value of the
From Central Rack field. In order to print a single rack of information, both the
From Central Rack and to Central Rack field must contain the same value.
Starting To begin numbering the printout with a page number other than 1, enter the
Page number here. The value may range from 1 to 32,767.
Number
From Enter the number of the first remote drop whose configuration data is to be
Remote printed. The value may range from 16 to 254. The value of this field may not
Drop exceed the value of the To RemoteDrop field. All configured racks will be
printed of each remote drop selected.
To Remote Enter the number of the last remote drop whose configuration data is to
Drop be printed. The value of this field may be from 16 through 254. The value
may not be less than the value of the From RemoteDrop field. In order to
print a single remote drop configuration, both the From RemoteDrop and
To RemoteDrop fields must contain the same value.
Port Specify the destination printer port or file for the listing.
File Name If ”file” is selected for the destination in the Port field, enter the name of the file
to which the printout is to be directed. Any valid file specification may be
entered in this field. A new file is always created, overwriting any existing file of
the same name. Refer to appendix I for a listing of the file extensions used by the
Logicmaster 90-70 software. Do not overwrite one of the Logicmaster 90 files
with print text.
Pagination Guidelines
Only one type of screen can be printed on a given page, but multiple detail screens may
be printed on a single page, if they fit on that page following these guidelines:
Field Description
Rack The printing of a given rack cannot be broken across pages. Only one rack per page is
permitted.
Bus The printing of a given Genius bus screen will not be broken across pages. The
printing of a bus requires several screens. They will be printed out starting with the
lowest block number and ending with the highest block number.
Detail The printing of a given detail screen will not be broken across pages. Because the
length of a listing page may be changed and there are a variable number of detail
screens for a given module, all the screens of a particular module may not be displayed
on the same page.
The following examples illustrate various hard copy listings which can be produced with
the print function.
Certain information is presented on every page, regardless of what specific item is
currently being printed. The first line of each page of the listing will contain the date,
time, software version number, and page number. The user-supplied title and subtitle
are centered on the second and third lines of the page, respectively. The program name
appears in the bottom left corner of the page. The current program folder specification
appears in the bottom center of the page.
(******************************************************************************)
(* *)
(* Program: FIRST *)
(* *)
(* PLC PROGRAM ENVIRONMENT HIGHEST REFERENCE USED *)
(* –––––––––––––––––––––––––– –––––––––––––––––––––––––– *)
(* INPUT (%I): 512 INPUT: %I00100 *)
(* OUTPUT (%Q): 512 OUTPUT: %Q00075 *)
(* INTERNAL (%M): 2048 INTERNAL: %M00006 *)
(* UNBOUND (%U): 9999 UNBOUND: NONE *)
(* TEMPORARY (%T): 256 TEMPORARY: NONE *)
(* PROGRAM REGISTER (%P): NONE PROGRAM REGISTER: NONE *)
(* REGISTER (%R): 1024 REGISTER: %R00003 *)
(* ANALOG INPUT (%AI): 64 ANALOG INPUT: NONE *)
(* ANALOG OUTPUT (%AQ): 64 ANALOG OUTPUT: NONE *)
(* UNBOUND REGISTER (%UR): 9999 UNBOUND REGISTER: NONE *)
(* *)
(* PROGRAM SIZE (BYTES): 768 *)
(* *)
(* *)
(******************************************************************************)
(******************************************************************************)
(* *)
(* BLOCK: _MAIN *)
(* *)
(* *)
(* PROGRAM REGISTER (%P) MEMORY SIZE (BYTES): 0 *)
(* BLOCK SIZE (BYTES): 440 *)
(* DECLARATIONS (ENTRIES): 11 *)
(* *)
(* *)
(* HIGHEST REFERENCE USED *)
(* ––––––––––––––––––––––––––––– *)
(* *)
(* INPUT (%I): %I00100 *)
(* OUTPUT (%Q): %Q00075 *)
(* INTERNAL (%M): %M00006 *)
(* UNBOUND (%U): NONE *)
(* TEMPORARY (%T): NONE *)
(* LOCAL REGISTER (%L): NONE *)
(* PROGRAM REGISTER (%P): NONE *)
(* REGISTER (%R): %R00003 *)
(* ANALOG INPUT (%AI): NONE *)
(* ANALOG OUTPUT (%AQ): NONE *)
(* UNBOUND REGISTER (%UR): NONE *)
(* *)
(******************************************************************************)
+–––––––+
|PACK_LN| LANG: LD (* PACKAGE/MOTION DETECTION *)
+–––––––+
|[ INTERRUPTS ]
|
|[ START OF PROGRAM LOGIC ]
|
| << RUNG 5 >>
|
|AUTOPB LISUP %Q00038 %Q00012 %I00013 EMERGST %Q00006 %Q00075 %Q00005
+––] [–––––] [–––––] [–––––] [––+––]/[–––––]/[–––––] [–––––] [–––––––––––––( )––
| |
|%Q00005 |
+––]/[––––––––––––––––––––––––––+
|
| << RUNG 6 >>
|
|EMSTOP %I00100 CLAMPED %I00073 EMERGST
+––] [––+––] [––+––] [––+––] [–––––––––––––––––––––––––––––––––––––––––––––( )––
| | | |
| |EMERGST|UNISUP |
| +––]/[––+––]/[––+
|
| << RUNG 7 >>
|
|%Q00005 %Q00012 %I00021 %I00022 %M00001
+––]/[–––––]/[––+––] [–––––] [–––––––––––––––––––––––––––––––––––––––––––––( )––
| |
|%M00005 %M00006|
+––]/[–––––] [––+
|
| << RUNG 8 >>
|
|%Q00044 %M00002 +–––––+ %Q00006
+––]/[–––––] [–––+ ADD_+–––––––––––––––––––––––––––––––––––––––––––––––––––( )––
| | INT |
| | |
| %R00001–+I1 Q+–%R00003
| | |
| %R00002–+I2 |
| +–––––+
|
|(* COMMENT *)
|
+–––––––+
|PACK_LN| LANG: LD (* PACKAGE/MOTION DETECTION *)
+–––––––+
|[ INTERRUPTS ]
|
|[ START OF PROGRAM LOGIC ]
|
| << RUNG 5 >>
|
|AUTO EMERGEN
|PUSH LOADER CY
|BUTTON IS UP RETURN
|AUTOPB LISUP %Q00038 %Q00012 %I00013 EMERGST %Q00006 %Q00075 %Q00005
+––] [–––––] [–––––] [–––––] [––+––]/[–––––]/[–––––] [–––––] [–––––––––––––( )––
| |
|%Q00005 |
+––]/[––––––––––––––––––––––––––+
|
| << RUNG 6 >>
|
|EMERGEN EMERGEN
|CY STOP CY
|PB RETURN
|EMSTOP %I00100 CLAMPED %I00073 EMERGST
+––] [––+––] [––+––] [––+––] [–––––––––––––––––––––––––––––––––––––––––––––( )––
| | | |
| |EMERGEN| |
| |CY |UNLOADE|
| |RETURN |R IS UP|
| |EMERGST|UNISUP |
| +––]/[––+––]/[––+
|
| << RUNG 7 >>
|
|%Q00005 %Q00012 %I00021 %I00022 %M00001
+––]/[–––––]/[––+––] [–––––] [–––––––––––––––––––––––––––––––––––––––––––––( )––
| |
|%M00005 %M00006|
+––]/[–––––] [––+
|
80- Column Short Program Logic with In Ladder Cross Reference Options:
+–––––––+
|PACK_LN| LANG: LD (* PACKAGE/MOTION DETECTION *)
+–––––––+
|[ INTERRUPTS ]
|
|[ START OF PROGRAM LOGIC ]
|
| << RUNG 5 >> Cross reference for %Q00005
| –]/[– 5,7
|
|AUTOPB LISUP %Q00038 %Q00012 %I00013 EMERGST %Q00006 %Q00075 %Q00005
+––] [–––––] [–––––] [–––––] [––+––]/[–––––]/[–––––] [–––––] [–––––––––––––( )––
| | 0011 0008
|%Q00005 |
+––]/[––––––––––––––––––––––––––+
| 0005
|
| << RUNG 6 >> Cross reference for EMERGST
| –]/[– 5,6,10,11
| –( ) 11
|
|EMSTOP %I00100 CLAMPED %I00073 EMERGST
+––] [––+––] [––+––] [––+––] [–––––––––––––––––––––––––––––––––––––––––––––( )––
| | | |
| |EMERGST|UNISUP |
| +––]/[––+––]/[––+
| 0011
|
| << RUNG 7 >> Cross reference for %M00001
| NONE
|
|%Q00005 %Q00012 %I00021 %I00022 %M00001
+––]/[–––––]/[––+––] [–––––] [–––––––––––––––––––––––––––––––––––––––––––––( )––
| 0005 |
|%M00005 %M00006|
+––]/[–––––] [––+
|
V A R I A B L E D E C L A R A T I O N T A B L E
I D E N T I F I E R T A B L E
+–––––––+
|PACK_LN| LANG: LD (* PACKAGE/MOTION DETECTION *)
+–––––––+
|[ INTERRUPTS ]
|
|[ START OF PROGRAM LOGIC ]
|
Cross References:
================================================================================
========== INPUT (%I) CROSS REFERENCES
================================================================================
REF. NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%I00002 EMSTOP EMERGENCY STOP PB
–] [– 6,11
%I00003 RSTAHPB RESET AUTO / HAND PB
–]/[– 10
%I00004 AUTOPB AUTO PUSH BUTTON
–] [– 5,10
%I00013 –]/[– 5
%I00021 –] [– 7
%I00022 –] [– 7
%I00073 –] [– 6,11
%I00100 –] [– 6,11
================================================================================
========== OUTPUT (%Q) CROSS REFERENCES
================================================================================
REF. NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%Q00002 LISUP LOADER IS UP
–] [– 5,10
%Q00004 UNISUP UNLOADER IS UP
–]/[– 6,11
%Q00005 –]/[– 5,7
–( ) 5
%Q00006 –] [– 5
–]/[– 10
–( ) 8
%Q00007 AUTO auto light
–]/[– 10
–( ) 10
%Q00012 –] [– 5,10
–]/[– 7
%Q00020 CLAMPED –] [– 6,11
%Q00025 EMERGST EMERGENCY RETURN
–]/[– 5,6,10,11
–( ) 6,11
%Q00038 –] [– 5
%Q00044 –] [– 10
–]/[– 8
%Q00061 COOLANT COOLANT VALVE
–] [– 10
%Q00075 –] [– 5
================================================================================
========== INTERNAL (%M) CROSS REFERENCES
================================================================================
REF. NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%M00001 –( ) 7
%M00002 –] [– 8
================================================================================
========== REGISTER (%R) CROSS REFERENCES
================================================================================
REF. NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%R00001 FBIO 8
%R00002 FBIO 8
%R00003 FBIO 8
================================================================================
========== INPUT (%I) USAGE
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%I00064 –––––––– –––––––– –––––––– –––––––– –––––––– ––**–––– –––*–––– ––––***–
%I00128 *––– –––––––– –––––––– –––––––* ––––––––
================================================================================
========== OUTPUT (%Q) USAGE
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%Q00064 –––*–––– –––––––– ––––*––– ––*––––– –––––––* ––––*––– ––––*––– –****–*–
%Q00128 *–– ––––––––
================================================================================
========== INTERNAL (%M) USAGE
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%M00064 **––**
================================================================================
========== REGISTER (%R) USAGE
================================================================================
REF. |50 |40 |30 |20 |10 |1
ADDRESS +––––––––– +––––––––– +––––––––– +––––––––– +––––––––+
%R00050 ***
================================================================================
========== INPUT (%I) GLOBAL CROSS REFERENCES
================================================================================
REF. BLOCK NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– ––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%I00002 _MAIN EMSTOP EMERGENCY STOP PB
–] [– 6,11
PACK_LN –]/[– 4
%I00003 _MAIN RSTAHPB RESET AUTO / HAND PB
–]/[– 10
PACK_LN –]/[– 3
%I00004 _MAIN AUTOPB AUTO PUSH BUTTON
–] [– 5,10
PACK_LN –] [– 3
%I00013 _MAIN –]/[– 5
%I00021 _MAIN –] [– 7
PACK_LN –]/[– 5
%I00022 _MAIN –] [– 7
PACK_LN –] [– 5
%I00073 _MAIN –] [– 6,11
PACK_LN –] [– 4
%I00100 _MAIN –] [– 6,11
PACK_LN –]/[– 4
================================================================================
========== OUTPUT (%Q) GLOBAL CROSS REFERENCES
================================================================================
REF. BLOCK NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– ––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%Q00002 _MAIN LISUP LOADER IS UP
–] [– 5,10
PACK_LN –] [– 3
%Q00004 _MAIN UNISUP UNLOADER IS UP
–]/[– 6,11
PACK_LN –] [– 4
%Q00005 _MAIN –]/[– 5,7
–( ) 5
PACK_LN –] [– 5
%Q00006 _MAIN –] [– 5
–]/[– 10
–( ) 8
PACK_LN –]/[– 3
–( ) 6
%Q00007 _MAIN AUTO auto light
–]/[– 10
–( ) 10
PACK_LN –]/[– 3
–( ) 3
%Q00012 _MAIN –] [– 5,10
–]/[– 7
PACK_LN –] [– 3,5
%Q00020 _MAIN CLAMPED –] [– 6,11
PACK_LN CLAMPED –] [– 4
%Q00025 _MAIN EMERGST EMERGENCY RETURN
================================================================================
========== INTERNAL (%M) GLOBAL CROSS REFERENCES
================================================================================
REF. BLOCK NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– ––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%M00001 _MAIN –( ) 7
PACK_LN –( ) 5
%M00002 _MAIN –] [– 8
PACK_LN –]^[– 6
%M00005 _MAIN –]/[– 7
PACK_LN –]/[– 5
%M00006 _MAIN –] [– 7
PACK_LN –] [– 5
================================================================================
========== REGISTER (%R) GLOBAL CROSS REFERENCES
================================================================================
REF. BLOCK NICKNAME REF. DESCRIPTION / CROSS REFERENCES
––––––– ––––––– –––––––– –––––––––––––––––––––––––––––––––––––
%R00001 _MAIN FBIO 8
PACK_LN FBIO 6
%R00002 _MAIN FBIO 8
PACK_LN FBIO 6
%R00003 _MAIN FBIO 8
PACK_LN FBIO 6
================================================================================
========== INPUT (%I) GLOBAL USAGE
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%I00064 –––––––– –––––––– –––––––– –––––––– –––––––– ––**–––– –––*–––– ––––***–
%I00128 *––– –––––––– –––––––– –––––––* ––––––––
================================================================================
========== OUTPUT (%Q) GLOBAL USAGE
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%Q00064 –––*–––– –––––––– ––––*––– ––*––––– –––––––* ––––*––– ––––*––– –****–*–
%Q00128 *–– ––––––––
================================================================================
========== INTERNAL (%M) GLOBAL USAGE
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%M00064 **––**
================================================================================
========== REGISTER (%R) GLOBAL USAGE
================================================================================
REF. |50 |40 |30 |20 |10 |1
ADDRESS +––––––––– +––––––––– +––––––––– +––––––––– +––––––––+
%R00050 ***
Value Tables:
================================================================================
========== INPUT (%I) VALUES
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
%I00064 00000000 00000000 00000000 00000000 00000000 00000000 0008
%I00128 00000000 00000000 00000000 00000000 +00123 00000000 00000000
%I00192 00000000 00000000 00345 00000000 00000000 00000000 00000000
There are no non–zero values in the range from %I00193 to %I00384.
%I00448 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%I00512 00000000 00000000 00001111 01010101 00000000 00000000 00000000 00000000
================================================================================
========== INPUT (%I) OVERRIDES
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
There are no overrides set in the range from %I00001 to %I00064.
%I00128 –––––––– –––––––– –––––––– –––––––– –––––––– –––––––– 0–0–0–0– 0000––––
There are no overrides set in the range from %I00129 to %I00384.
%I00448 ––––0––– –0–––0–– –––––––– 0––––––– ––––––0– –––––0–– ––0––0–– ––––––––
%I00512 –––––––– –––––––– –0––1111 –––––––– –0–––––– ––0––––– –––––0–– 0––0––––
================================================================================
========== OUTPUT (%Q) VALUES
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
There are no non–zero values in the range from %Q00001 to %Q00192.
%Q00256 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%Q00320 00000000 00000000 00000110 00000000 0011 00435
%Q00384 +05432 00000000 00000000 00000000 00000000 00000000 00000000
%Q00448 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
%Q00512 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
================================================================================
========== OUTPUT (%Q) OVERRIDES
================================================================================
REF. |64 |56 |48 |40 |32 |24 |16 |8 |1
ADDRESS +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––– +––––––+
There are no overrides set in the range from %Q00001 to %Q00256.
%Q00320 –––––––– –––––––– ––––0110 –––––––– –––––––– –––––––– –––––––– ––––––––
There are no overrides set in the range from %Q00321 to %Q00512.
***** L O G I C T A B L E O F C O N T E N T S *****
FIRST 1
Block Structure 2
_MAIN 3
variable table 4
logic 4
cross reference tables 8
use tables 10
PACK_LN 11
variable table 12
logic 12
cross reference tables 15
use tables 17
(******************************************************************************)
( )
( CENTRAL PLC CONFIGURATION )
( )
( )
( TOTAL DISCRETE I/O (%I + %Q): 176 )
( )
( HIGHEST CONFIGURED REFERENCES )
( –––––––––––––––––––––––––––––– )
( DISCRETE INPUT (%I) : 128 )
( DISCRETE OUTPUT (%Q) : 64 )
( )
( ANALOG INPUT (%AI) : 32 )
( ANALOG OUTPUT (%AQ) : 8 )
( )
( REGISTER MEMORY (%R) : 0 )
( )
(******************************************************************************)
Folder: C:\R4RC_70\TEST
+––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––+
|––––––+–––––––+–––––––+–––––––+–– RACK 0 ––––+–––––––+–––––––+–––––––+–––––––|
| PS | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|============= P R O G R A M M E D C O N F I G U R A T I O N ===============|
| | | | | | | | | | |
|PWR710|CPU 771|BEM 731|MDL 240|MDL 240|MDL 240|MDL 340|ALG 230|ALG 320| |
| | | | | | | | | | |
|55W | |GBC1 |I AC 16|I AC 16|I AC 16|Q AC 16|I ALG 8|Q ALG 4| |
| | | | | | | | | | |
| |512 KB |Devices|Ref Adr|Ref Adr|Ref Adr|Ref Adr|Ref Adr|Ref Adr| |
| | |BUS1: 3|%I00001|%I00017|%I00033|%Q00001|%AI0001|%AQ0001| |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
+––––––+–––––––+–––––––+–––––––+–––––––+–––––––+–––––––+–––––––+–––––––+–––––––+
11 figure bi level 1
table_big level 1
The I/O configuration function is used to specify the mapping of logical references used
by the user program to the physical I/O modules. It consists of completing setup screens
which represent the modules in a rack.
Note
For boards which generate interrupts (e.g., PCM, Genius Bus Controller,
Analog Input/Output, GEnet LAN, and Ethernet), you must not have an
empty rack slot to the left of the module.
GFK-0263G 11-1
11
When editing an I/O configuration, you will always enter the configuration package by
doing the following: first from the main LM90 menu, press the Config softkey (F2); then
select the folder you wish to edit (or create a new one to edit) and press Enter; then
press the I/O softkey (F1). When I/O (F1) is selected from the Configuration Software
main menu, the I/O Configuration Rack screen, similar to the one shown below, is
displayed. The following example represents a sample Series 90-70 PLC configuration as
you would see it before configuring additional modules.
The rack shown above is divided into 10 slots. The first slot on the left is labeled “PS” at
the top and always contains the power supply. The remaining slots are numbered 1
through 9. The CPU module always occupies slot 1 of rack 0. The remaining slots may
contain various modules, such as 90-70 I/O modules, a Genius Bus Controller, Bus
Expansion Modules, or Programmable Coprocessor Modules.
The cursor position on the I/O Configuration Rack screen is indicated by the slot being
displayed in reverse video. Upon entering the Rack screen, the Power Supply slot is
shown in reverse video. Use the Left or Right cursor keys to move the cursor from one
slot to the next. To display another rack, use the Page Up and Page Down keys or the
Cursor Up and Cursor Down keys.
The Rack screen presents an overview perspective of the Series 90-70 PLC system.
Configuration Validation
CONFIG VALID is displayed in the lower right corner of each display screen after the
configuration is successfully validated. When CONFIG INVALID is indicated, the file
may not be stored to the PLC.
The most common cause of the CONFIG INVALID status is fatal overlaps among %I or
%AI references, or Genius Global modules which receive global data. It may also occur
when a slot in the rack before a board which generates interrupts is left vacant, or when
Bus Transmitter and/or Receiver modules are missing.
A warning occurs when non-fatal overlaps occur; however, the configuration is still
valid. Non-fatal overlaps occur between references other than those described for fatal
overlaps.
1. The CPU module must be located in slot 1 of rack 0. Move the cursor to this slot by
pressing the cursor keys.
2. Press Zoom (F10) to display the CPU detail screen. If you are configuring any CPU
other than the 731, turn to page 11-14 for instructions on selecting a different CPU.
Then return to this page for instructions on completing the configuration.
Parameter Description
IOScan-Stop Indicates whether I/O is to be scanned while the PLC is in STOP mode.
Choices are YES or NO*.
Passwords Indicates whether passwords are ENABLED* or DISABLED.
Timer Faults Timer faults are used for the Sequential Function Chart version of
Logicmaster 90-70 software. If ENABLED and the step timer limits are
exceeded, a fault will be logged in the PLC fault table.
Baud Rate Transmission rate in bits per second of data through the port. Choices are
300, 600, 1200, 2400, 4800, 9600, or 19200*.
Parity Specifies whether parity is indicated by an ODD* or EVEN number of
bits, or whether no parity bit (NONE) is added to the word.
Stop Bits Most serial communication uses at least one stop bit. Slower devices use
two stop bits. Choices are 1* or 2.
Data Bits Specifies whether the CPU recognizes 7-bit or 8-bit* words.
Modem Turnaround Time required for the modem to start data transmission after receiving
Time the transmit request. 1 count = 1/100 second. Choices are 0* to 255.
Idle Time The maximum time the CPU should wait to receive the next message
from the programmer before assuming that the programmer has failed
and proceeding to its base state. The range of communication idle
time is 1 to 60 seconds. Default = 10 seconds.
Mode SNP* indicates that the serial port will be used for SNP communications.
MSG indicates that the serial port will be used to send print commands
from a C program block to the connected device.
Watchdog Timer Enter a value from 10 to 2550 ms, in 10 ms increments. The
watchdog timer value entered here will be used to update the CPU
config file. Default = 200 ms.
* Default selection.
Caution
Caution
If the parameters are changed and the CPU version is less than 4.0, you
cannot store the configuration.
Mode Description
Normal The PLC sweep executes as fast as possible. The overall PLC sweep time
depends on the logic program and the requests being processed in the
windows. In NORMAL mode, the overall PLC sweep time is equal to the
time required to execute the logic in the program plus the respective
window timer values. The window will terminate when it has no more
tasks to complete.
Constant Window Each window will operate in a RUN-TO-COMPLETION mode. The PLC
will alternate among three windows for a time equal to the value set for
the window timer parameter. The overall PLC sweep time is equal to the
time required to execute the logic program plus the value of the window
timer. This time may vary due to sweep-to-sweep differences in the
execution of the program logic.
Constant Sweep The overall PLC sweep time is fixed. Some or all of the windows at the
end of the sweep may not be executed. The windows will terminate
when the overall PLC sweep time has reached the value specified for
the Sweep Timer field.
Microcycle In MICROCYCLE mode, the timebase is usually the same as the interval be-
tween the invocations of the program with the shortest interval. In that
setup, all other programs must execute in whole number multiples of the
shortest program’s execution interval. You can, however, establish a shorter
timebase than the intervals between the beginning of the shortest program,
especially advantageous if your inputs are occurring in extremely short
intervals.
Note
For a much more detailed discussion of each mode, especially of
t
Microcycle mode, refer to chapter 2 of the Series 90 -70 Programmable
Controller Reference Manual (GFK-0265).
Normal Mode
When the sweep mode is NORMAL, the PLC sweep executes as fast as possible. The
overall PLC sweep time depends on the logic program and the requests being processed
in the windows. In NORMAL mode, the overall PLC sweep time is equal to the time
required to execute the logic in the program plus the respective window timer values.
The window will terminate when it has no more tasks to complete. The following
parameters are displayed when NORMAL is selected for sweep mode on the CPU detail
screen.
Parameter Description
Sweep Mode Sweep mode is set to NORMAL.
Programmer Select LIMITED*, or COMPLETE. When LIMITED (time- sliced), a value
Window Mode may be entered into the ProgrammerWindow Timer field.
System Select LIMITED or COMPLETE*. When LIMITED (time-sliced) is
Communications selected, a value may be entered into the SystemCommunicationsWindow
Window Mode Timer field. When COMPLETE is selected, the window is in a
RUN-TO-COMPLETION mode, and the SystemCommunicationsWindow
Timer field cannot be edited.
Checksum Words Number of words of the user program to be used as input to the checksum
algorithm each sweep. Enter a value from 0 to 32,760, in multiples of 8.
If the value entered is not a multiple of 8, the value will be automatically
adjusted. Default = 16.
Background Task Enter a value from 0* to 255 ms.
Window Timer
Programmer If the ProgrammerWindow Mode is set to LIMITED, you may enter a value
Window Timer for the timer from 0 to 255 ms. Default = 10.
System If the SystemCommunicationsWindow Mode is set to LIMITED, you may
Communications enter a value for the timer from 0 to 255 * ms, in 1 ms increments.
Window Timer
* Default selection.
Parameter Description
Sweep Mode Sweep mode is set to CONSTANT WINDOW.
Window Timer Enter a value from 5 to 255 ms, in 1 ms increments. Default = 10 ms.
This value cannot be greater than the value for the watchdog timer.
Checksum Words The number of words of user program to be checksummed per sweep.
Enter a value from 0 to 32760, in multiples of 8. If the value entered is
not a multiple of 8, the value will be automatically adjusted. Default = 16.
Note
If the communications window is disabled, it can be reenabled manually
by putting the PLC into stop mode and resetting the sweep mode, by
connecting to a WSI-parallel, or by powercycling the system.
Parameter Description
Sweep Mode Sweep mode is set to CONSTANT SWEEP.
Sweep Timer Enter a value from 10 to 2550 ms, in 10 ms increments. Default = 100 ms.
If the value entered is not in this range, it will be rounded to the next highest
legal value by the system. This value cannot be greater than the value for
the watchdog timer.
Checksum Words The number of words of user program to be checksummed per sweep.
Enter a value from 0 to 32,760, in multiples of 8. If the value entered is
not a multiple of 8, the value will be automatically adjusted. Default = 16.
Note
As discussed in chapter 5 of this book, you can change the active sweep
through the Status function; however, changing from Microcycle mode
to any other mode will cause the PLC to return an error. For the
Microcycle mode, the Active Sweep adjustment should only be used to
modify the base cycle time.
2. Position the cursor on the correct CPU module, and press the Enter key. Then, enter
Y (Yes) after the prompt: “REPLACE displayed module ? (Y/N).”
3. Press Rack (Shift-F1) or the Escape key to return to the rack display.
Note
CPU Models 914, 915, 924, and 925 have expanded memory but do not
have an expansion board. The expanded memory is built in and not
configurable.
1. With the listing of catalog numbers for the CPU module displayed on the screen,
move the cursor to IC697CPU771 to select the Model 771 CPU.
2. Press the Enter key to enter the catalog number shown in reverse video and display
the CPU detail screen after answering Y to the prompt.
3. To enter a Memory Expansion board, press Expansion Board (F9). The expansion
board detail screen will be displayed.
4. When Memory (F1) is pressed, the following list of available expansion boards and
their catalog numbers is displayed.
Note
The daughter boards displayed in the screen above are for a Model 771
and 772 CPU. A different set of daughter boards is displayed for the
Model 781 and 782 CPU. The sample screen on the next page shows the
daughter boards available for 781 and 782 CPUs.
5. Press the Up or Down cursor moving keys to position the cursor on the required
expansion board, and press the Enter key. Then, press the Escape key to return to
the CPU detail screen.
6. Press Rack (Shift-F1) or the Escape key a second time to return to the rack display.
2. Press the CPU (F1) softkey to display the catalog list of CPU modules.
3. Move the cursor to the entry for the Redundant CPU module (IC697CPU780 used in
this example—see Note below for other Redundant CPUs), and press the Enter key.
If the existing configuration does not require any modification to suit the redundant
CPU configuration, the prompt: “REPLACE displayed module ? (Y/N)” will be
displayed. Enter Y (Yes) after the prompt to display the detail screen for the
Redundant CPU module.
4. Use the Tab key and Back Tab key (Shift-Tab) to cycle through the selections for each
parameter displayed on this screen.
The parameters are the same as those for the CPU module, as listed on page 11-8.
For a description of these parameters, refer to page 11-8. One additional parameter,
Redund Type, is included on the detail screen shown above. The Redund Type
parameter specifies whether the CPU is configured as the primary controller or the
secondary (standby) controller. The possible values for this parameter are PRIMARY
(the default), SECNDARY, or SIMPLEX.
Parameter Description
Redundancy Type Select PRIMARY*, SECNDARY, or SIMPLEX. If PRIMARY is selected,
all configured redundant GBC Serial Bus Addresses (SBAs) must be
31. If SECNDARY is selected, all configured redundant GBC Serial
Bus Addresses must be 30. If SIMPLEX is selected, the CPU acts as a
non-redundant CPU. The Serial Bus Addresses of can be any value
from 0 to 31
* Default selection.
5. Press Rack (Shift-F1) or the Escape key to return to the rack display.
Note
The CGR772 and CGR935 CPUs have enhanced Hot Standby features
and allows for configuration of GENIUS dual bus. For more information
t
about these CPUs, refer to the Series 90 -70 Enhanced Hot Standby CPU
Redundancy User‘s Guide (GFK-1527). For more information on CPU
redundancy for the CPU780, refer to the Series 90-70 Hot Standby CPU
Redundancy User’s Guide, GFK-0827.
2. Position the cursor on the required rack, and press the Enter key.
3. When switching from a 9-slot rack to a 5-slot rack, a validation check will be
performed to see if there are any configured modules in slots 6 through 9. If there
are, the following message will be displayed: “Slots greater than 5 will be lost,
continue REPLACE ? (Y/N)”
If N (No) is pressed, the current rack will remain displayed. If Y (Yes) is pressed, the
system will automatically delete the modules in slots 6 through 10 before changing
the rack size. The 5-slot rack appears as shown below:
2. Select either the rear or front mount Integrator Rack by positioning the cursor on the
catalog number of the desired rack and pressing the Enter key.
For this screen, the 19-inch rear mount Integrator Rack (IC697CHS782) was selected.
This screen appears identical to the Series 90-70 rack, except that the word
(INTEGRATOR) is displayed after RACK 0.
If the rack contains previously configured third-party VME modules, the software will
ask you if you want to convert the existing VME modules to half-slot VME modules. If
you enter N (No), rack selection is aborted. If you enter Y (Yes), the current Series
90-70 rack will be converted to an Integrator Rack. Each third-party VME module will be
converted to a half-slot type with the left half-slot initially configured and the right
half-slot unconfigured.
2. Position the cursor on the catalog number of the desired rack and press the Enter
key.
For this screen, the default rear mount 9-slot rack (IC697CHS790) was selected. Note
that the word (INTEGRATOR) is no longer displayed after RACK 0.
If the rack contains previously configured half-slot VME modules, the software will ask
you if you want to convert the existing VME modules to full-slot third-party VME
modules. If you enter N (No), rack selection is aborted. If you enter Y (Yes), the
current Integrator Rack will be converted to a Series 90-70 rack and each half-slot VME
module will be converted to a full-slot third-party VME module.
If both the left and right half-slots are configured for a given slot in an Integrator Rack
and the Integrator Rack is converted to a Series 90-70 rack, the left half-slot module will
become the full-slot module for the slot in the new rack, and the right half-slot module
will be lost. If only one half-slot in a given slot is configured in the Integrator Rack and
the other half-slot is empty or unconfigured, the configured half-slot module will
become the full-slot module for the slot in the new rack.
These are the half-slots of slot 2 (2A and 2B). Both half-slots were not previously
configured, as indicated by the word (EMPTY) displayed on each half-slot. When
the half-slot screen shown above is initially displayed, the cursor will always be on
the left half-slot. Use the Left and Right cursor keys to cursor to either half-slot.
2. To configure the left half-slot (slot 2A), press VME (F1) to display a list of available
modules.
There is only one third-party VME Module listed as FOREIGN VME MODULE on the
screen shown above. For Release 4, the existing Foreign VME (No Interrupt)
Module and the Foreign INT (Interrupt) Module are combined into one module.
3. Position the cursor on FOREIGN VME MODULE, and press the Enter key.
4. Press the Escape key to exit the detail screen and return to the half-slot screen.
The slot description on slot 2 shows that the left half-slot is configured (A:CFGRD)
and the right half-slot is empty or unconfigured (B:EMPTY).
6. To redisplay the configured left half-slot of slot 2 (2A) from the rack display screen,
press Zoom (F10).
If both half-slots are configured as Foreign VME Modules, the half-slot screen will be
displayed as shown below:
7. Press Rack (Shift-F1) or the Escape key to return to the rack display. The slot
description for each half of the slot will indicate CFGRD.
The term Bus Expansion Module includes both Bus Transmitter Modules and Bus
Receiver Modules. To configure either type, follow the instructions below.
The system must include a Bus Transmitter Module, which is typically located in slot 2 of
rack 0. If the PLC system will have more than one rack, a Bus Receiver Module must be
located in slot 1 of each expansion rack.
Note
Revision A of the Bus Transmitter Module should be the last module
entered in the rack since it must be the right-most module. Revision B
of the BTM module does not have to be the right-most module.
1. Move the cursor to the slot where the module will be located.
2. Press BEM (F3). The software zooms into the detail screen.
3. To configure the Bus Transmitter Module in rack 0, press BTM (F1). To configure a
Bus Receiver Module, press BRM (F2). A list of Bus Transmitter or Bus Receiver
Modules and their catalog numbers is displayed.
4. If your screen shows multiple entries, select one by moving the cursor to that line.
Press the Enter key. The catalog number is displayed in the proper field.
1. Move the cursor to the slot where the module will be located and press Module 70
I/O (F1).
2. Select the module type by pressing the corresponding function key listed below.
3. A list of available modules of the type you selected and their catalog numbers will be
displayed. For example, when Discrete Input (F1) is pressed, the following list of
modules is displayed.
4. Select a module by positioning the cursor on that entry and pressing the Enter key.
5. Move the cursor to the module’s reference address. The next highest available
reference address is automatically configured.
If you want to use a different reference address, enter it here. For a discrete module,
the reference address must begin on a byte boundary. (A byte boundary is a
reference address which is a multiple of 8 + 1; e.g., 1, 9, 17, or 25). The software will
automatically adjust an incorrect entry to begin on a byte boundary. A message is
displayed when the highest available address has been assigned.
6. Depending on the module type, different configurable characteristics may be
shown. A default selection for each is given (refer to the following tables). To
change any of the default selections, move the cursor to that item, and use the Tab
key to display alternatives.
7. After selecting the correct configuration for the module, press Rack (Shift-F1) or the
Escape key to return to the rack display.
Field Description
Interrupt Indicates whether input 1 on the module is used as an interrupt. Choices are
ENABLED or DISABLED*. If ENABLED, this input can be used to trigger
interrupt logic in the CPU. There can be no empty slots to the left of a
module configured to generate an interrupt.
Transition If the interrupt parameter is enabled, this selection determines whether the
interrupt will occur on the rising (POSITIVE*) or falling (NEGATIVE)
edge of the input signal transition.
Input Filter Select either 1 millisecond or 10 milliseconds* as the filter speed
for all inputs on a board.
Output Default Select whether all outputs on a board will be turned OFF* or will HOLD
their last state or value when the CPU goes to RUN/DISABLED or STOP
mode, or if the CPU watchdog timer expires.
* Default selection.
Field Description
Range Allowsthe Analog Input Base Converter module input type (voltage or
current) to be individually programmed for each input channel. The
range selected should match the input signal. The Expander Input
channels are all the same on a module, either voltage or current,
determined by the module type.
Fault Reporting Fault reporting for each Analog Input Base Converter module channel can
be ENABLED* or DISABLED. If ENABLED, overrange and underrange
faults are reported to the PLC when they occur. If the associated
channel is operating in the current loop mode, an open circuit fault is also
reported.
MV/UAHigh/Low Scaling points that allow definition of a linear relationship between the
ENGHigh/Low sensed voltage or current and the value in engineering units that is
returned to the PLC. Scaling can be configured on a per channel basis for
the Base Converter module and on a per module basis for Expander
modules. Enter the desired voltage or current input value and the corre-
sponding engineering units for each of two points.
Alarm Interrupt Alarm reporting for each Analog Input Base Converter channel can be
ENABLED or DISABLED*. If ENABLED, high and low alarms are
reported to the PLC when they occur. (Alarm reporting is not available
for Analog Input Expander modules.)
Alarm High or Low Each Base Converter Input circuit can have two unique alarms, one for a
low value and one for a high value. The high value should be greater
than the low value. If enabled, a low or high alarm message is sent to the
PLC when an input reaches one of these limits. Alarms do not affect the
operation of the module or change the overload value of the input.
* Default selection.
Field Description
Range Allowsthe Analog Output module output type (voltage or current) to be
individually programmed for each output circuit. The range selected
should match the output signal. The 4 to 20 milliamp range can be used
for current output devices.
Fault Reporting Fault reporting for each Output Module channel can be ENABLED or
DISABLED. If ENABLED, overrange and underrange faults are reported
to the PLC when they occur. If the associated channel is operating in the
current loop mode, an open circuit fault is also reported.
Output Default The Analog Output module uses the output default value for each
channel as its output value until the CPU writes user data to the module.
Select either HOLD last state or a predetermined output value when an
Analog Output Module detects a SYSFAIL (System Fail signal) or
when the PLC commands the module to reset the outputs.
Default Value Enter the predetermined default value to be used, as described above for
output default.
MV/UAHigh/Low Scaling points that allow conversion of the values in engineering units
ENG High/Low into millivolts or milliamps, as required by the output device being
controlled. Enter the desired voltage or current value and the
corresponding engineering units for each of two points.
1. Move the cursor to the power slot, and press Zoom (F10) to zoom into the detail
screen for the power supply.
2. Press Power Supply (F1) to display a list of available power supplies and their
catalog numbers.
3. Select a new power supply by moving the cursor down to any entry. Then, press the
Enter key. The detail screen for the new power supply will be displayed after you
press Y (Yes) to respond to the prompt to replace the displayed module.
For the screen shown below, the 120/240 VAC 100W Power Supply (IC697PWR711)
was selected.
4. Press Rack (Shift-F1) or the Escape key to return to the rack display.
2. Then, press Other (F7) to display the list of available other-type modules.
3. Select a generic I/O module by moving the cursor down to that entry. Then, press
the Enter key to display the detail screen.
4. Specify the GE Fanuc catalog number (IC697xxxxxx) for the module being
configured. Initially, this field is blank so that you can enter a catalog number.
5. Once you enter the catalog number, it is converted by the software to a VME ID
which is written to disk when the configuration is saved. When reading from disk,
Logicmaster 90-70 software will convert the VME ID to a catalog number to display
in this field. The catalog number is validated to assure that it spans 11 alphanumeric
characters and has a prefix of IC697. If either of these conditions is not met, the
entry is marked as incorrect.
6. Enter a starting reference address and length for each of the %I, %Q, %AI, and %AQ
references.
Parameter Description
Reference Defaults to the next highest reference address. Validated to assure that only
Address the type specified is permitted (e.g., only %I is permitted in the %I reference
addressparameter).
Length Defaults to zero. Validated to be within the configuration memory limits
and the configured CPU for the respective reference type.
7. After completing the detail screen, press Rack (Shift-F1) or the Escape key to return
to the rack display. If the reference addresses are at their original default values and
the lengths for all of the reference types have been set to at least one, the starting
reference address will be displayed on the rack display. If the length of any address
is zero, that address will not be included on the rack display.
2. Press GBC (F1) to display the entry for the Genius Bus Controller (IC697BEM731).
4. Configure the slot for a genius bus controller (GBC). For more information on
configuring a GBC, refer to section 9, “Configuring a Genius Bus Controller.” Then,
press the Escape key to zoom out of the detail screen.
5. To configure an /I/O module on the bus, press Zoom (F10) to zoom into the genius
bus controller.
7. Press Other (F7) to display a list of the other available Genius devices.
8. Cursor down to the entry for the Generic Genius I/O device, and press the Enter key
to display the detail screen.
9. Enter a starting reference address and length for each of the %I, %Q, %AI, and %AQ
references.
Parameter Description
Reference Defaults to the next highest reference address. Validated to assure that only
Address the type specified is permitted (e.g., only %I is permitted in the %I reference
addressparameter).
Length Defaults to zero. Validated to be within the configuration memory limits
and the configured CPU for the respective reference type.
10. Select whether the block will be used in a redundant configuration. If YES is
selected for the Redundancy? parameter (default = NO), the Genius Bus Controller
will supply dual images of the input data from that device, plus any diagnostic data,
to the CPU. The CPU will compare the two sets of information before using it. A
diagnostic fault will be generated whenever the two sets of data are different.
11. Select whether the Genius input block will hold the last state or turn the inputs off
(the default condition).
12. Select whether all outputs will be enabled or disabled when the bus controller is
started up. Choices are YES (the default) or NO.
13. After completing the detail screen, press Rack (Shift-F1) or the Escape key to save
the configuration and return to the rack display. If the reference addresses are at
their original default values and the lengths for all of the reference types have been
set to at least one, the starting reference address will be displayed on the rack
display. If the length of any address is zero, that address will be not be included on
the rack display.
Eight different modes of configuration are supported in the IC697PCM711 PCM Module:
Mode Description
CCM ONLY * Select both ports 1 and 2 for CCM.
BASIC * Select both ports 1 and 2 for BASIC.
BAS/CCM* Select port 1 for BASIC and port 2 for CCM.
PCM CFG All configuration data for the PCM is located in the User Configuration Data
File (UCDF), created and loaded to the PCM using the PCM development
software (PCOP).
PROG PRT Select Programmer Port mode.
PROG/CCM Select port 1 for programmer connection and port 2 for CCM.
CCM/PROG Select port 1 for CCM and port 2 for the programmer.
NONE No soft switch data enabled.
* These are the most commonly used modes; they enable you to use the PCM without further configuration.
The PCM can accept Logicmaster 90 configuration data for specific configuration
parameters related to the operation of the serial ports. This is called Logicmaster Soft
Switch Data (SSD) configuration. A user configuration on the PCM (UCDF) will always
override SSD in user (soft reset) mode.
For more information on the PCM, please refer to the Series 90 Programmable Coprocessor
Module and Support Software User’s Manual, GFK-0255.
Configuring a PCM
To configure a PCM on the I/O Configuration Rack screen:
1. Move the cursor to the desired rack and slot location. The slot may be either
unconfigured or previously configured.
2. Press Other (F8) and then PCM (F1) from the I/O Configuration Rack screen to
display the entry for the PCM (IC697PCM711).
3. With the cursor positioned on that module, press the Enter key to display the detail
screen.
Parameter Description
Configuration The configuration mode is set to CCM ONLY.
Mode
Battery Specify whether low battery detection is required for applications which
Required require battery support of memory. Choices are YES* or NO.
CCM Enable Specify whether the port is to be configured for use as a CCM port.
Choices are YES* or NO.
CCM Mode This parameter displays the availability of ports for CCM access.
Choices are SLAVE*, PEER, or MASTER.
Interface The interface parameter can be RS-232* or RS-485.
Data Rate Data rate (bits per second or bps) for the port. Choices are 300, 600, 1200,
2400, 4800, 9600, or 19200*.
Flow Control Type of flow control to be used on the port. Choices are NONE* or HARDWARE.
Parity Type of parity to be used on the port. Choices are ODD* or NONE.
Retry Count Retry counts for CCM mode. Choices are NORMAL* or SHORT.
Timeout Length of timeouts used for CCM on the port. Choices are LONG*, MEDIUM,
SHORT, or NONE.
Turnaround Turnaround delay time to be used for CCM on the port. Choices are NONE*,
Delay 10 ms, 100 ms, or 500 ms.
CPU ID Address of the port on a multi-drop network. This value is used to calculate
the backoff delay upon an inquiry collision in peer mode. The range of values
allowed in this field is 1* to 254.
* Default selection.
Note
PROG PRT mode will not configure the PCM for MegaBasic execution.
When PROG PRT (Programmer Port) mode is selected, the following PCM detail screen
is displayed.
Parameter Description
Configuration The configuration mode is set to PROG PRT.
Mode
Interface The interface parameter can be RS-232* or RS-485.
Data Rate Data rate (bits per second or bps) for the port. Choices are 300, 600, 1200,
2400, 4800, 9600, or 19200*.
Flow Control Type of flow control to be used on the port. Choices are HARDWARE*,
SOFTWARE, or NONE.
Parity Type of parity to be used on the port. Choices are NONE*, EVEN, or ODD.
Stop Bits Most serial communication uses at least one stop bit. Slower devices use
two stop bits. Choices are 1* or 2.
Bits per Number of bits per character for data transfer on the port. Choices are 7 or
Character 8*.
* Default selection.
BASIC Mode
BASIC mode provides a typical configuration for MegaBasic programming and
operation. MegaBasic can be programmed with a dumb terminal attached to PCM port
1. The MegaBasic program must be named BASIC.PGM. Most MegaBasic applications
will use this mode.
Caution
The serial port setting for port 1 must remain at 8 bits, no parity,
hardware flow control if the programmer or data file backup (using
the PCM development software, PCOP) will be used.
Soft Switch Data is active on a soft reset or power cycle as well as a hard reset. A soft
reset or power cycle will run the program BASIC.PGM. A hard reset will place you in
MegaBasic at the ready prompt for program development or modification.
BASIC mode selects BASIC configuration for both ports 1 and 2. The parameters for
ports 1 and 2 are the same as for PROG PRT mode.
BAS/CCM Mode
BAS/CCM mode selects BASIC configuration for port 1 and CCM for port 2. The
parameters for port 1 are the same as for PROG PRT mode; and for port 2, the
parameters are the same as for CCM ONLY mode.
PROG/CCM Mode
PROG/CCM mode selects port 1 as the programmer port and port 2 for CCM. The
parameters for port 1 are the same as for PROG PRT mode; and for port 2, the
parameters are the same as for CCM ONLY mode.
CCM/PROG Mode
CCM/PROG mode selects port 1 for CCM and port 2 as the programmer port. The
parameters for port 1 are the same as for CCM ONLY mode; and for port 2, the
parameters are the same as for PROG PRT mode.
In this screen, the configuration mode is set to PCM CFG for the PCM Configuration
Data File mode. This mode uses the User Configuration Data (UCDF) that was loaded
into a user module named UCDF in the PCM’s battery-backed RAM memory. The
UCDF is created using the PCM development software (PCOP.) The configuration data
is used for building the configuration of the PCM during the power-up sequence,
initializing available hardware on the PCM, and specifying the user or system tasks to be
started. For more information, refer to the Series 90 PCM Development Software (PCOP)
User’s Manual, GFK-0487.
NONE Mode
NONE mode is used when there is no soft switch data. It is required for compatibility
with Release 1 PCM software.
When NONE mode is selected, the following PCM detail screen is displayed.
In this screen, the configuration mode is set to NONE for the PCM Configuration Data
File mode. This mode is used to configure the PCM board with no soft switch data.
2. Position the cursor on the required expansion board, and press the Enter key.
3. Then, press the Escape key to return to the PCM detail screen.
4. If you need to delete PCM memory, press Delete (Shift-F4).
5. Press Rack (Shift-F1) or the Escape key to return to the rack display.
Mode
Description
CCM ONLY Select both ports 1 and 2 for CCM.
CCM/RTU Select port 1 for CCM and port 2 for RTU.
RTU/CCM Select port 1 for RTU and port 2 for CCM.
RTU ONLY Select both ports 1 and 2 for RTU.
SNP ONLY Select both ports 1 and 2 for SNP.
SNP/CCM Select port 1 for SNP and port 2 for CCM.
CCM/SNP Select port 1 for CCM and port 2 for SNP.
SNP/RTU Select port 1 for SNP and port 2 for RTU.
RTU/SNP Select port 1 for RTU and port 2 for SNP.
For more information on the CMM, refer to the Series 90 Programmable Coprocessor
Module and Support Software User’s Manual, GFK-0255.
Configuring a CMM
To configure a CMM on the I/O Configuration Rack screen:
1. Move the cursor to the desired rack and slot location. The slot may be either
unconfigured or previously configured.
2. Press Communications (F6) and then Serial (F3) from the I/O Configuration Rack
screen to display the entry for the CMM (IC697CMM711).
3. With the cursor positioned on that module, press the Enter key to display the detail
screen.
Parameter Description
Configuration The configuration mode is set to CCM ONLY.
Mode
CCM Enable Specify whether the port is to be configured for use as a CCM port.
Choices are YES* or NO.
CCM Mode This parameter displays the availability of ports for CCM access.
Choices are SLAVE*, PEER, or MASTER.
Interface The interface parameter can be RS-232* or RS-485.
Data Rate Data rate (bits per second or bps) for the port. Choices are 300, 600, 1200,
2400, 4800, 9600, or 19200*.
Flow Control Type of flow control to be used on the port. Choices are NONE* or HARDWARE.
Parity Type of parity to be used on the port. Choices are ODD* or NONE.
Retry Count Retry counts for CCM mode. Choices are NORMAL* or SHORT.
Timeout Length of timeouts used for CCM on the port. Choices are LONG*, MEDIUM,
SHORT, or NONE.
Turnaround Turnaround delay time to be used for CCM on the port. Choices are NONE*,
Delay 10 ms, 100 ms, o r 500 ms.
CPU ID Address of the port on a multi-drop network. This value is used to calculate
the backoff delay upon an inquiry collision in peer mode. The range of values
allowed in this field is 1* to 254.
* Default selection.
Parameter Description
Configuration The configuration mode is set to RTU ONLY.
Mode
RTU Enable Specify whether the port is to be configured for use as an RTU port.
Choices are YES* or NO.
Interface The interface parameter can be RS-232* or RS-485.
Data Rate Data rate (bits per second or bps) for the port. Choices are 300, 600, 1200,
2400, 4800, 9600, or 19200*.
Flow Control Type of flow control to be used on the port. Choices are NONE* or HARDWARE.
Parity Type of parity to be used on the port. Choices are ODD*, NONE, or EVEN.
Station Address Enter a value from 1* to 247.
* Default selection.
CCM/RTU Mode
CCM/RTU mode selects port 1 for CCM and port 2 for RTU. The parameters for port 1
are the same as for CCM ONLY mode; and for port 2, the parameters are the same as for
RTU ONLY mode.
RTU/CCM Mode
RTU/CCM mode selects port 1 for RTU and port 2 for CCM. The parameters for port 1
are the same as for RTU ONLY mode; and for port 2, the parameters are the same as for
CCM ONLY mode.
Parameter Description
Configuration The configuration mode is set to SNP ONLY.
Mode
SNP Enable Specify whether the port is to be configured for use as an SNP port.
Choices are YES* or NO.
SNP Mode This parameter displays the availability of ports for SNP access. Choices
are SLAVE* or MASTER.
Interface The interface parameter can be RS-232* or RS-485.
Data Rate Data rate (bits per second or bps) for the port. Choices are 300, 600, 1200,
2400, 4800, 9600, or 19200*.
Parity Type of parity to be used on the port. Choices are ODD*, NONE, or EVEN.
Stop Bits Most serial communication uses at least one stop bit. Slower devices use two
stop bits. Choices are 1* or 2.
Flow Control Type of flow control to be used on the port. Choices are NONE* or HARDWARE.
Turnaround Turnaround delay time to be used for CCM on the port. Choices are NONE*,
Delay 10 ms, 100 ms, or 500 ms.
Timeout Length of timeouts used for SNP on the port. Choices are LONG*, MEDIUM,
SHORT, or NONE.
* Default selection.
SNP/CCM Mode
SNP/CCM mode selects port 1 for SNP and port 2 for CCM. The parameters for port 1
are the same as for SNP ONLY mode; and for port 2, the parameters are the same as for
CCM ONLY mode.
CCM/SNP Mode
CCM/SNP mode selects port 1 for CCM and port 2 for SNP. The parameters for port 1
are the same as for CCM ONLY mode; and for port 2, the parameters are the same as for
SNP ONLY mode.
SNP/RTU Mode
SNP/RTU mode selects port 1 for SNP and port 2 for RTU. The parameters for port 1 are
the same as for SNP ONLY mode; and for port 2, the parameters are the same as for
RTU ONLY mode.
RTU/SNP Mode
RTU/SNP mode selects port 1 for RTU and port 2 for SNP. The parameters for port 1 are
the same as for RTU ONLY mode; and for port 2, the parameters are the same as for
SNP ONLY mode.
The Alphanumeric Display Coprocessor (ADC) Module is used with the CIMPLICITY
90-ADS software for developing user screens and graphic displays. The CIMPLICITY
90-ADS system is a character-based operator interface generator system for use with the
Series 90-70 PLC. For more information on this module, please refer to the CIMPLICITY
90-ADS Alphanumeric Display System User’s Manual, GFK-0499.
To configure this module on the I/O Configuration Rack screen:
1. Move the cursor to the desired rack and slot location. The slot may be either
unconfigured or previously configured.
2. Press Other (F8) and then Operator Interface (F4) from the I/O Configuration Rack
screen to display a list of available operator interface modules and their catalog
numbers.
The CPX models of CPUs have embedded serial COM ports. You can configure these
ports with Logicmaster 7.02 and later; however, with Release 7.8 CPUs, the ports can
only be used for monitoring your program. You cannot load, store, or verify though
Ports 1 and 2 using a Release 7.8 CPX model (the current model at the time of the
release of this manual).
2. Press the Page Down key for general configuration. Press Page Down again for
Sweep configuration. Press Page Down a third time to configure Ports 1 and 2. Your
screen should look similar to the one shown on the top of the following page:
3. Press the Down Arrow key to configure the fields for Ports 1 and 2. A sample
configuration is shown below:
The following table shows the parameter definitions for the port configuration screen on
CPX models.
Parameter Description
Port (1 or 2) The valid choices are SNP* or DISABLED.
Mode
SNP Mode This parameter displays the availability of ports for SNP access. Choices
are SLAVE* or MASTER.
Baud Rate Baud (or data) rate (bits per second or bps) for the port. Choices are 1200,
2400, 4800, 9600, 19200*, 38400, 57600, or 115200.
Flow Control You cannot edit this field. It is set to N/A.
Parity Type of parity to be used on the port. Choices are ODD*, NONE, or EVEN.
Stop Bits Most serial communication uses at least one stop bit. Slower devices use two
stop bits. Choices are 1* or 2.
Timeout Length of timeouts used for SNP on the port. Choices are LONG*, MEDIUM,
SHORT, or NONE.
TurnA Delay Turnaround delay time to be used for this port. Choices are 0 milliseconds
through 999 milliseconds.
SNP ID Enter the SNP ID here. You can use up to seven (7) characters.
* Default selection.
The Genius Bus Controller (IC697BEM731) is used to interface a Series 90-70 PLC system
to a Genius I/O bus with up to 31 I/O blocks. The bus controller may be located in any
rack. A maximum of 31 bus controllers can be used in a system. To configure a bus
controller in the rack:
2. Press fldbus (F2) from the rack view to locate a bus controller in the slot.
3. Press gbc (F1) to display the entry for the Genius Bus Controller (IC697BEM731).
4. With the catalog number displayed in reverse video, press the Enter key. Your
screen display will look like the one shown below.
5. Select the correct configuration for the Bus Controller, according to the information
t
provided in the following table. For additional information, refer to the Series 90 -70
t
PLC Genius Bus Controller User’s Manual, GFK-0398.
6. Press Rack (Shift-F1) or the Escape key to return to the rack display.
Note
This section provides you with instructions on the steps involved in
configuring a Genius Bus Controller. The parameter definitions and
other configuration considerations for Genius Bus Controllers are also
discussed briefly in this section. For detailed discussions of the
parameters and various effects of different configuration options, refer
t t
to the Series 90 -70 PLC Genius Bus Controller User’s Manual,
GFK-0398.
Parameter Description
Bus Address Device number (serial bus address) occupied by the Bus Controller on an
individual bus. This address is not related to the assignment of I/O
references for the Bus Controller, which are discussed below. Ordinarily, the
device number assigned to the Bus Controller is 31*.
Baud Rate Baud rate to be used by all devices on the serial bus. All devices on a bus
must use the same baud rate: 153.6 Kbaud standard, 153.6 Kbaud
extended, 76.8 Kbaud, or 38.4 Kbaud. Selection of a baud rate
depends on the application, as explained in GEK-90486.
Error Rate Number of errors which may occur on the Genius Bus in a 10-second sliding
window. For all values above zero, the Bus Controller monitors the bus for
errors. When the number of errors exceeds the error rate, the Bus Controller
turns the Communications LED off and drops off the bus. It remains off the
bus until the number of detected errors is fewer than the error rate value.
If the bus includes a Bus Switching Module, the error rate must be set to 0.
Otherwise, the bus controller may drop off the bus when the BSM is
switching a block to the bus.
When the error rate value is 0, the Bus Controller uses a rate of 10 errors in
10 seconds. When the detected error rate exceeds 10, the Bus Controller
remains on the bus and flashes the Communications LED. It continues to
flash until the number of detected errors is less than 10 per 10 seconds.
Reference Genius devices may be configured with a status table reference. To have the
Address Check system verify that references of the Genius devices installed have been
configured to match the Logicmaster 90 configuration, set this parameter to
ENABLED. If DISABLED* is selected, no cross-checking is performed.
Global Data The entries for global data are optional. They are used to set up automatic
(Global Data) data transfer between the Bus Controller and another bus
interface module on the same bus. In addition to completing the entries
below for the Bus Controller sending the data, the bus interface module that
receives the data must be configured for Global Data. (This is explained on a
later page.)
Configuration The modes include NONE, MANUAL, and AUTO. NONE* mode is used to
Mode disable global data for the device. MANUAL mode allows any of the valid
reference types and lengths to be configured. AUTO mode assigns a global
(%G) reference address and length based on the Serial Bus Address and
Address Scheme.
The total amount of memory specified must not exceed the configured
memory size for that memory type. Refer to chapter 12, “CPU
Configuration,” for information on changing the configured memory size.
To (Optional) This is an optional parameter. If the data is being transmitted to another
Series 90-70 Bus Controller, do not complete this entry. If the data is being
transmitted to a Bus Controller in either a Series Six PLC or a Series Five PLC,
specify the beginning register address where the data will be stored in the
other PLC.
* Default selection.
1. Position the cursor on the slot in the rack display that was previously configured for
the Genius Bus Controller, and press Zoom (F10). A screen representing the
locations of devices on the bus is displayed.
The screen displays blocks to represent device numbers 24 through 31. Each block
represents a potential device on the bus. Use the Left and Right cursor keys to
display additional device number blocks.
2. Move the cursor to the device number that has been selected for the block and press
the desired function key (F1 through F8).
Function
Key Function Description
F1 d in Select a discrete input block.
F2 d out Select a discrete output block.
F3 d mix Select a discrete block with both inputs and outputs.
F4 a in Select an analog input block.
F5 a out Select an analog output block.
F6 a mix Select an analog block with both inputs and outputs.
F7 other Select another bus interface device. The device may be a Bus
Controller in a different PLC rack, or an I/O Interface Block
(IC660ELB904). Also, press Other (F7) to select a High Speed
Counter or PowerTRAC Module.
F8 remote Select a Remote I/O Scanner Module.
Note
This procedure does not configure I/O blocks, which must be done
separately using a Genius Hand Held Monitor. That includes entering
the block’s device number.
1. Select a block type by moving the cursor, if necessary, and pressing the Enter key.
The block’s catalog number will appear in the proper field. For example, position
the cursor on IC660BBD100 and press the Enter key.
Parameter Description
Input Default Selects whether the Genius Input block will hold the last state or turn the
inputs off. Choices are OFF* or HOLD.
Output Enable Selects whether all block outputs will be enabled or disabled when the Series
90-70 Bus Controller is started up. Choices are YES* or NO.
Redundancy? Selects whether the block will be used in a redundant configuration. Choices
are NO* or YES. When YES is selected, the Genius Bus Controller (GBC)
will supply dual images of the input data from that device, plus any
diagnostic data, to the CPU. The CPU will compare the two sets of
information before using it. A diagnostic fault will be generated whenever
the two sets of data are different.
* Default selection.
2. The following entry shows the I/O reference address for the block:
A message appears when the highest available address has been assigned, although
you may have skipped lower addresses.
For an analog block with both inputs and outputs, this address is shown in the
configuration screen as:
Note
Many of the %QI and %AQI blocks may be configured to use %Q or %I,
or %AQ or %AI address types rather than the default %QI or %AQI
type. If a 32-point %QI block is configured as a %I block, then 32 points
of %I space are used and no %Q space is used. Each %QI bit counts only
once against the %I + %Q total.
Even though the CPU Memory Configuration screen may show 512 for both %I and %Q
references, the maximum %I + %Q is 512. If %I uses 512, there is nothing left for %Q.
3. Configurable characteristics for the module are shown on the screen (see previous
page). A default selection for each is shown. To change any of the default selections,
move the cursor to that item and use the Tab key to display alternatives.
4. After selecting the correct configuration for the module, press the Escape key to
return to the bus display.
3. Select a module type by moving the cursor and pressing the Enter key. The
module’s catalog number will appear in the proper field.
4. If global data transmission has been set up for the Series 90-70 Bus Controller (the
one interfacing this bus to the rack you are configuring), complete the following
fields for this bus interface module:
Specify the following information if global data will be received by the module:
Parameter Description
Configuration There are three modes: NONE, MANUAL, and AUTO. NONE mode is used
Mode to disable global data for the device. MANUAL mode allows any of the
valid reference types and lengths to be configured. AUTO mode assigns
a global (%G) reference address and length based on the bus address.
5. After configuring the module, press the Escape key to return to the bus display.
4. After pressing Enter, your Bus Address display will include a GBIU in BUS ADR 30.
Press Escape to save the configuration To complete the configuration, please refer to
t t
the Field Control Distributed I/O and Control System Genius Bus Interface Unit User’s
Manual (GFK-0825) for information about additional configuration options..
Note
The Series 90-70 configurator supports only the configuration of the
control/status reference and the High Speed Counter data reference. All
other configuration must be performed using the Genius Hand Held
Monitor.
The Genius High Speed Counter detail screen shown below is displayed after pressing
Other (F7) from the Genius bus and selecting the Genius High Speed Counter from the
catalog list displayed.
Parameter Description
Control/Status Select the %QI reference location for discrete input data that the Genius High
Speed Counter sends to the Series 90-70 PLC and discrete output data that
the PLC sends to the High Speed Counter. The length of the discrete data is
fixed at 16 bits (2 bytes).
Discrete input data (status) consists of the Strobe status, Preload status,
Disable status, Output status, Module Ready status, Home input status, and
error status (type C only).
Discrete output data (status) consists of the following control data: Reset
Strobe flag, Reset Preload flag, Outputs Enable, Home command, and Clear
Error (type C block only).
HSC Data Select the %AI reference location for data sent to the PLC by the Genius High
Speed Counter. The length of the data is fixed at 15 words. It consists of the
latest Count per Timebase value, the contents of the Accumulator(s), and the
contents of the Strobe registers.
You cannot position the cursor on the HSC Data field. Its reference offset
must be the same as that selected for the Ctrl/Status reference offset.
Therefore, selection of the offset for Ctrl/Status determines the reference
offset for HSC data. For example, if %QI00017 is selected for Ctrl/Status,
then HSC Data automatically becomes %AI00017.
Redundancy? Selects whether the block will be used in a redundant configuration. Choices
are NO* or YES. When YES is selected, the Genius Bus Controller (GBC)
will supply dual images of the input data from that device, plus any
diagnostic data, to the CPU. The CPU will compare the two sets of
information before using it. A diagnostic fault will be generated whenever
the two sets of data are different.
Note
Genius bus redundancy requires backward and forward compatibility
between the PLC and the GBC.
Parameter Description
Paired GBC Indicates where the matching bus controller of the pair is located.
INTERNAL indicates that the matching GBC is located in the same PLC
configuration. EXTERNAL indicates that the matching GBC is located in
another PLC configuration. INT/EXT can only be used when DB/RC
has been selected for the Redund Mode parameter, and there are four
GBCs present. Two of the GBCs must be located in the same PLC
configuration, and they must have the same Serial Bus Address (either
30 or 31). The other two must be located in an external PLC configuration,
and they must have the same Serial Bus Address. If Serial Bus Address
30 is used for the internal GBCs, then Serial Bus Address 31 must be used
for the external GBCs, and vice versa.
Redund Mode Selections for this parameter indicate the type of redundant
configuration in which the particular Genius Bus Controller (GBC) will be
used.
DUAL BUS indicates that the Genius devices connected to the GBC
being configured will be set up to switch between two physical Local
Area Networks (LANs). Each Genius device will be communicating
on only one of these LANs at any given moment.
Redundant Controller (RED CTRL) indicates that the Genius devices will
be set up to expect to communicate with two bus controllers. The Genius
devices must also be configured for one of the CPU Redundancy modes
(Hot Standby or Duplex mode). When configured in one of these modes,
they will send input data and diagnostic messages to both bus controllers
and will correctly handle the two sets of output data they will be receiving
from the two bus controllers.
Deleting a Block
If the redundant pair resides in the same PLC configuration and you try to delete one of
the blocks of the pair, both blocks will be deleted.
If the redundant pair resides in two different PLC configurations, deleting one of the
blocks of the pair will not automatically delete the other block. You must ensure that the
other block is also deleted in the external configuration.
If the redundant pair resides in either the same PLC configuration or in two different
PLC configurations and you try to undelete one of the blocks, only the block that was
deleted can be undeleted. The block will be undeleted as is, except that the value of its
Redundancy? parameter will be set to NO. You can make this undeleted block
redundant by changing the value of the parameter to YES; however, you must ensure
that both the current and external configurations are updated correctly.
Deleting a GBC
If the redundant GBC pair resides in the same PLC configuration and you try to delete
one of the GBCs of the pair, both GBCs will be deleted.
If the redundant pair resides in two different PLC configurations, deleting one of the
GBCs of the pair will not automatically delete the other GBC. You must ensure that the
other GBC is also deleted in the external configuration.
If the redundant GBC pair resides in either the same PLC configuration or in two
different PLC configurations and you try to undelete one of the GBCs, only the GBC
that was deleted can be undeleted. The block will be undeleted as is, except that the
value of its Redund Mode parameter will be set to NONE. You can make this undeleted
GBC redundant by changing the value of the parameter to DUAL BUS, RED CTRL, or
DB/RC; however, you must ensure that both the current and external configurations are
updated correctly.
2. Press Genius (F2), GBC (F1), and then the Enter key to locate a Genius Bus
Controller in the slot.
5. Press Zoom (F10) again to display the detail screen for the Rack GBC. The
parameters displayed are assigned default values.
7. Press the Escape key. The Redundant GBC is automatically configured, and the
following bus screen will be displayed.
8. Press the Escape key to return to the main rack display. The Redundant Rack GBC
has been automatically configured at PLC address 0.3.1.
9. Cursor to slot 3, and press Zoom (F10) to display the bus screen for the Redundant
GBC.
10. Press Zoom (F10) to display the detail screen for the Redundant GBC. The Dual
GBC Address has been automatically set to rack 0, slot 2, bus 1.
11. Press the Escape key twice to return to the main rack display.
2. Press Genius (F2), GBC (F1), and then the Enter key to locate a Genius Bus
Controller in the slot.
4. Position the cursor on the slot in the rack display that was previously configured for
the Genius Bus Controller (for this example, slot 2), and press Zoom (F10). A screen
representing the locations of devices on the bus is displayed.
5. Press Zoom (F10) again to display the detail screen for the Rack GBC. The
parameters displayed are assigned default values.
7. Press the Escape key. The Redundant GBC is automatically configured, and the
following bus screen will be displayed.
Note that the Bus GBC has been automatically configured in block 30. When this
module is used for RED CTRL mode, it cannot be deleted from this level; the
complete GBC can only be deleted at the rack level.
8. Use the Left cursor key to move the cursor to block 30, and press Zoom (F10). The
detail screen for the Bus GBC will be displayed.
Note that the Redundancy? parameter is set to YES; if you cursor to this
parameter, you will not be allowed to select NO.
9. Press the Escape key twice to return to the main rack display. The Redundant Rack
GBC has been automatically configured at PLC address 0.3.1.
10. Cursor to slot 3, and press Zoom (F10) to display the bus screen for the Redundant
GBC. Note that the Bus GBC has also been automatically configured in block 31.
11. Press Zoom (F10) to display the detail screen for the Redundant GBC. The Dual
GBC Address has been automatically set to the address of its Redundant Rack GBC
Pair.
12. Press the Escape key to return to the bus screen, cursor to block 31, and press Zoom
(F10) to display the detail screen for the Bus GBC.
Note that the Redundancy? parameter is set to YES; if you cursor to this
parameter, you will not be allowed to select NO.
13. Press the Escape key twice to return to the main rack display.
2. Press Genius (F2), GBC (F1), and then the Enter key to locate a Genius Bus
Controller in the slot.
5. Press Zoom (F10) to display the detail screen for the Rack GBC. The parameters
displayed are assigned default values.
7. Press the Escape key. The Redundant GBC is automatically configured, and the
following bus screen will be displayed.
Note that the Bus GBC has been automatically configured in block 30. When this
module is used for DB/RC mode, it cannot be deleted from this level; the complete
GBC can only be deleted at the rack level.
8. Use the Left cursor key to move the cursor to block 30, and press Zoom (F10). The
detail screen for the Bus GBC will be displayed.
Note that the Redundancy? parameter is set to YES; if you cursor to this
parameter, you will not be allowed to select NO.
9. Press the Escape key twice to return to the main rack display. The Redundant Rack
GBC has been automatically configured at PLC address 0.3.1. When you configure
the Dual GBC Address, the internal Paired GBC is automatically configured by the
software, as shown in the screen below.
10. Cursor to slot 3, and press Zoom (F10) to display the bus screen for the Redundant
GBC. Note that the Redundant Bus GBC has been automatically configured in block
30.
11. Press Zoom (F10) to display the detail screen for the Redundant GBC. The Dual
GBC Address has been automatically set to the address of its internal Redundant
Rack GBC Pair.
12. Press the Escape key to return to the bus screen, cursor to block 30, and press Zoom
(F10) to display the detail screen for the Bus GBC.
Note that the Redundancy? parameter is set to YES; if you cursor to this
parameter, you will not be allowed to select NO.
Note
You must ensure that the externally Paired GBC at block 30 is
configured correctly in the external system.
13. Press the Escape key twice to return to the main rack display.
The FIP Bus Controller (IC697BEM741) is used to interface a Series 90-70 PLC system to a
FIP I/O bus. The bus controller may be located in any rack. A maximum of 31 bus
controllers can be used in a system; of which there can be a maximum of 4 FIP bus
controllers. There is a maximum of one FIP Bus Controller per bus and a maximum of
255 I/O stations per bus.
Note
This manual presents the initial steps and brief parameter descriptions
for configuration of the FIP Bus Controller. For details concerning the
configuration of remote racks, configuration of FIP Field Control,
t
configuration of generic I/O, etc., refer to the Series 90 -70 FIP Bus
Controller User’s Manual (GFK-1038).
To configure a bus controller in the rack, perform the following steps:
1. Move the cursor to the correct slot.
2. Press fldbus (F2) to locate a bus controller in the slot.
3. Press fbc (F2) to display the entry for the FIP Bus Controller (IC697BEM741).
4. Press Enter to select the FIP Bus Controller. Your screen display will change to one
like the one shown below.
Parameter Description
Station ID The station ID of the FIP Bus Controller. The valid range is 0* to 255.
Aprd Window The length of the aperiodic variable update window of the FIP macro-cycle in
milliseconds. The valid range is 0* to 65,535.
Message The length of the aperiodic message window of the FIP macro-cycle in
Window milliseconds. The valid range is 0 to 65,535 with a default value of 5*.
Redun Media This indicates whether or not a redundant FIP media configuration is in
operation. Press Tab to toggle the two selections (YES and NO*).
World FIP This field specifies whether the frame delimiters used: World FIP (YES*) or FIP
(NO). Press Tab to toggle the two selections (YES* and NO).
Data Rate The data rate for the FIP Bus Controller. Press Tab to toggle the selections
(300, 600, 1200, 2400, 4800, 9600, 19.2k*, 38.4k 76.8k bps).
Master This is a display only field that should display “Yes.” All devices on a FIP net-
Sub(subscriber) work are known as subscribers. One of the subscribers becomes the Master
Subscriber which is responsible for storing configuration files to the subscribers,
controlling the subscribers, and reporting faults discovered on the network.
BusArbiter This is a display only field that should display “Yes.” One or more FIP devices
must perform the role of the Bus Arbiter which controls the access to the FIP
network.
* Default selection.
Note
For complete directions on configuring the FIP Bus Controller and its
devices (including the FIP Remote I/O Scanner), refer to the Series
t
90 -70 FIP Bus Controller User’s Manual (GFK-1038).
The Series 90-70 Remote I/O Scanner (IC697BEM733) is an intelligent module, which
mounts in a remote Series 90-70 rack and interfaces 90-70 I/O modules to a Genius bus.
The Remote I/O Scanner reference addresses must be configured for a remote drop
using Logicmaster 90-70 software. The remote drop can include any mix of discrete and
analog input and output modules, up to a total of 128 bytes input and 128 bytes output.
The Remote I/O Scanner provides an interface between the central CPU I/O subsystem and
I/O modules in a remote rack subsystem. The Remote I/O Scanner module resides in the
remote I/O rack and communicates with the central CPU through the Genius Bus Controller.
Note
Tbis Remote I/O Scanner is different from the FIP Remote I/O Scanner.
For complete directions on configuring the FIP Bus Controller and its
devices (including the FIP Remote I/O Scanner), refer to the Series
t
90 -70 FIP Bus Controller User’s Manual (GFK-1038). Also, refer to the
previous section of this manual for initial configuration steps for the FIP
Bus Controller.
3. Cursor to a device number other than the GBC, and press Remote (F8) to display
the following screen.
4. Move the cursor down to the “REMOTE I/O SCANNER” (Catalog # IC697BEM733)
selection; then press the Enter key.
5. Press Zoom (F10) to configure the Remote I/O Scanner and Remote Drop modules.
For more information on the Remote I/O Scanner, refer to the Series 90-70 Remote I/O
Scanner User’s Manual, GFK-0579.
6. Connect the programmer to the PLC. Store the configuration to the PLC using the
utility functions.
Steps 1 through 5 above should always be done first, even in cases where the remote
drops are set up, installed, and checked out before the PLC is set up. These steps can all
be done offline. Step 6 must be performed after the PLC is online.
Note
The GEnet MAP Module requires the use of an optional power supply
that supplies +12V/–12V. Such power supplies include the
IC697PWR711, IC697PWR721, and IC697PWR731.
3. Position the cursor on the required catalog number, and press the Enter key to
display the detail screen. For the screen shown below, the single-slot GEnet MAP
carrierband module (IC697CMM721) was selected.
The following parameters are important to the proper operation of the LAN controller.
Except for the LAN Interface Status Word Address, these parameters are passed to the
LAN controller upon power-up of the PLC. These parameters can also be viewed at the
LAN controller using the Station Manager Access. The Station Manager refers to this set
of parameters as Soft Switches. For more information about Station Manager Access,
refer to the Series 90 MAP 3.0 Communications User’s Manual, GFK-0869.
Parameter Description
Station Address The Medium Access Control (MAC) address of the station being configured.
The default value of 0 instructs the LAN controller to use the globally
unique Default Station Address set in its EEPROM at the factory. This default
should be used unless you are using locally-administeredMAC addresses. If
you use local address administration, contact your company’sadministrator
to find out what address to assign to this station. The MAC address is a
12-digit hexadecimal number organized as 6 bytes. Each byte is represented
as a pair of hexadecimal digits.
The least significant bit of the first byte must be 0. For example, in a station
address of 090019010001, 09 is the first byte. In binary, 09 is 0000 1001, which
means the least significant (rightmost) bit is a 1, which is an invalid station
address.
LAN Interface The location of the LAN Interface Status Word (LISW) in PLC memory. The
Status Word LISW provides a diagnostic interface to the ladder program. The address
Address defaults to the next available 16 bits of %I memory. Allowable user references
include %I, %Q, %AI, %AQ, and %R; however, if a DOIO instruction is used,
only %I or %AI should be used for the status address in order for the
instruction to function properly.
Parameter Description
LANController The load source for the LAN Interface. Choices are to POLL ALL SOURCES*,
Load Source SERIAL PORT, or NETWORK. POLL ALL SOURCES instructs the GEnet
LAN Interface to first attempt a local serial download and then a network
download. If both fail, the sequence is repeated.
LAN Online Specifies whether the LAN Interface is to logically connect to the LAN after
initializing. Choices for this field are YES* or NO.
Backplane Specifies whether the LAN Interface is to allow application backplane
Online communications. Choices for this field are YES* or NO. YES means all
backplane communications are allowed. NO means only diagnostics mail
traffic is allowed; this precludes application data transfer with the PLC CPU.
Network Load The group address the remote network loader must use to broadcast
Address network configuration information before a network load can be initiated.
The address is a 12-digit hexadecimal number organized as 6 bytes. Each
byte is represented as a pair of hexadecimal digits. The default value zero
instructs the LAN Controller to use the address 090060000000, which is the
default used by the downloader of the GEnet System Manager (GSM)
software.
The least significant bit of the first byte must be 1 to be a group address.
For example, in a station address of 090019010001, 09 is the first byte. In
binary, 09 is 0000 1001, which means the least significant bit is a 1, which is a
valid network load address.
Modem Type The type of modem to be used. The only selection for carrierband interface
is CARRIERBAND. Choices for broadband interface include CH A, CH B,
or CH C*.
Description Frequency(mHz)
The broadband interface requires two slots for configuration. When a broadband
interface is selected, the adjacent slot to the left of the LAN controller is automatically
configured for a broadband modem. If that slot is occupied by another module, selection
of the broadband interface is not allowed.
The carrierband interface requires only one slot for configuration. If carrierband is
selected, no additional slots need to be configured.
For additional information, please refer to the Series 90 MAP 3.0 Communications User’s
Manual, GFK-0869.
Note
The Ethernet Module requires the use of an optional power supply that
supplies +12V. Such power supplies include the IC697PWR711,
IC697PWR721, and IC697PWR731.
Note
At the release date of this manual, the Ethernet Controller
(IC697CMM741) is the only one available. IC697CMM742 is
forthcoming, and for that reason the configuration setup within
Logicmaster has been established.
3. With the cursor positioned on that module, press the Enter key to display the detail
screen.
4. If you are configuring a TCP/IP ethernet module, then the default “Config Mode”
field is correct, and you can proceed to Step 5. If you are configuring an
MMS-Ethernet module, then you will need press the Down Arrow (cursor down)
key once so that your cursor is in the “Config Mode” field; then press Tab to toggle
the field to the “GENET MMS-ETHERNET CONTROLLER” selection. Then use the
guidelines and parameter definitions on page 11-100 to complete your setup.
5. (TCP/IP only) Press the Down Arrow (cursor down) key until your cursor is resting
in the “IP Address” field. For IP Address, Subnet Mask, Gateway IP Address, and
Name Server IP Address, pressing zero (F9) sets the default value to zero. To
continue the configuration of this module, refer to the TCP/IP Ethernet
t
Communications for the Series 90 -70 PLC User’s Manual (GFK-1004) for all
configuration details.
The following parameters are important to the proper operation of the LAN controller.
Except for the LAN Interface Status Word Address, these parameters are passed to the
LAN controller upon power-up of the PLC. These parameters can also be viewed at the
LAN controller using the Station Manager Access. The Station Manager refers to this set
of parameters as Soft Switches. For more information about Station Manager Access,
refer to the Series 90 Ethernet Communications User’s Manual, GFK-0868.
Parameter Description
Station Address The Medium Access Control (MAC) address of the station being configured.
The default value of 0 instructs the LAN controller to use the globally unique
Default Station Address set in its EEPROM at the factory. This default should
be used unless you are using locally-administeredMAC addresses. If you use
local address administration, contact your company’s administrator to find
out what address to assign to this station. The MAC address is a 12-digit
hexadecimal number organized as 6 bytes. Each byte is represented as a
pair of hexadecimal digits.
The least significant bit of the first byte must be 0. For example, in a station
address of 090019010001, 09 is the first byte. In binary, 09 is 0000 1001, which
means the least significant (rightmost) bit is a 1, which is an invalid station
address.
LAN Interface The location of the LAN Interface Status Word (LISW) in PLC memory. The
Status Word LISW provides a diagnostic interface to the ladder program. The address
Address defaults to the next available 16 bits of %I memory. Allowable user references
include %I, %Q, %AI, %AQ, and %R.
LANController The load source for the LAN Interface. Choices are: POLL ALL SOURCES*,
Load Source SERIAL PORT, or NETWORK. POLL ALL SOURCES instructs the Ethernet
LAN module to first attempt a local serial download and then a network
download. If both fail, the sequence is repeated.
LAN Online Specifies whether the Ethernet LAN Interface module is to logically connect
to the LAN after initializing. Choices for this field are YES* or NO.
Backplane Specifies whether the Ethernet LAN Interface module is to allow application
Online backplane communications. Choices for this field are YES* or NO. YES
means all backplane communications are allowed. NO means only diagnostics
mail traffic is allowed; this precludes application data transfer with the PLC
CPU.
Network Load The group address the remote network loader must use to broadcast
Address network configuration information before a network load can be initiated.
The address is a 12-digit hexadecimal number organized as 6 bytes. Each
byte is represented as a pair of hexadecimal digits.
The least significant bit of the first byte must be 1 to be a group address. For
example, in a station address of 090019010001, 09 is the first byte. In binary,
09 is 0000 1001, which means the least significant bit is a 1, which is a valid
network load address.
* Default selection.
For additional information, please refer to the Series 90 Ethernet Communications User’s
Manual, GFK-0868.
Note
This manual presents the configuration screens and briefparameter descriptions
for the High Speed Counter, using a Type A configuration. It’s purpose is to step
you through a standard configuration. For detailedparameter descriptions for all
Types (A–E) , read the 90-70 High Speed Counter User’s Manual (GFK-1062).
3. Press the Enter key to enter the catalog number shown in reverse video. The
following screen will be displayed showing the configuration parameters for Type A
counters—see Note below concerning other types.
Parameter Description
Counter Type Select the desired counter type by entering A*, B, C; D, or E, or press the
Tab key to toggle the selections. See Note below concerning other counter types.
Ctrl Data Select the starting %Q reference address for the 32 bits of control data from the
PLC.
Status Select the starting %I reference address of the 32 bits of counter status from the
PLC. Discrete input data consists of status information, such as output status,
strobe input status, preload input status, home input status (for type C), and
module ready status.
Input Data Select the starting %AI reference address for data sent to the PLC by the HSC
module. The length of the data is fixed at 16 words. HSC Data consists of
accumulated counts, strobe register contents, and the counter per timebase value.
Output Data Select the starting %AI reference address of the two words of input data.
Discrete output data consists of control information, such as output enable/
disable,strobeenable/disable,counterenable/disable,preloadenable/disable,
clear error, and home command (for type C).
Failure Mode Enter a value to select an output failure mode: NORMAL*, OFF, and HOLD.
Osc(oscillator) This is used to determine the frequency output. Select the 16-bit value that is
Divider divided into 660 Khz in order to achieve the final reference frequency displayed
in the Osc Freq field directly below this field.
Osc Freq This is a display only field showing the reference frequency.
Counter Input This field identifies the type of counter input. The choices are NON-TTL*, TTL,
Threshold– or Mag-Pkup (magnetic pickup). For more information, see the 90-70 High
Count Speed Counter User’s Manual (GFK-1062).
Counter Input This field identifies the type of control input. The choices are NON-TTL*, TTL,
Threshold– or Mag-Pkup (magnetic pickup). For more information, see the 90-70 High
Control Speed Counter User’s Manual (GFK-1062).
* Default selection.
Note
To change to from Counter Type A to Type B, C, D, or E, see page 11-106.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Parameter Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Preset 1 This is the preset counter number (CTR1*, CTR2, CTR3, or CTR4).
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
On This is the Output On user counts preset. The valid parameter values are
–32768 to +32767.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Off
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
This is the Output Off user counts preset. The valid parameter values are
ÁÁÁÁÁÁ
–32768 to +32767.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
On This is the on preset 1 interrupt. The choices are ENABLED or DISABLED.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Off This is the off preset 1 interrupt. The choices are ENABLED or DISABLED.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Presets 2, 3, 4 The same descriptions shown above for Preset 1 apply to Preset 2, 3, and 4.
5. Press the Page Down key to display the screen shown below.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Parameter Parameter Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Count Mode Select one of the two choices for this field: single shot (abbreviated on
ÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
screen as SINGSHOT) means count and stop at limit; continuous
(abbreviated on screen as CONTINU) means count and wrap at limit. Press
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Tab to toggle the selections.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Count Dir This field defines the count direction, UP or Down. Press Tab to toggle
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
the selections.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Timebase mS This field determines the number of counts per time base in milliseconds.
Press Tab to increment the default number (1000) or Shift-Tab to
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
decrement the number, or key in the desired number.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Strobe Mode Select which Strobe input pulse the Strobe register will report. The choices
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
are FIRST and LAST. The effects of this selection are discussed in detail in
t the Series 90-70 High Speed Counter User’s Manual (GFK-1062).
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Strobe Edge Select which counter trigger edge you want to have active, the POS
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
(positive) or NEG (negative) edge. Press Tab to toggle the selections.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Strobe Efct Select one of the two Strobe effect options: STRB ONLY where the strobe
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
pulse only causes the Accumulator value to be copied into the Strobe
register and the Strobe flag to be set, or STRB/PRELOAD where a Strobe
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
pulse will copy the Accumulator value into the Strobe register
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
simultaneouslyperform a preload and set the Accumulator to the Preload
value. As with the other fields, you can press Tab to toggle the selections.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
High Limit Select the highest value for count Accumulator.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Low Limit Select the lowest value for count Accumulator.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Preload Val Select the Accumulator preload user counts.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Count Filtr Select the Count Input Filter, HIFREQ or LOWFREQ. Press Tab to toggle the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
selections.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Preld Filtr Select the Preload Filter, HIFREQ or LOWFREQ. Press Tab to toggle the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
selections.
6. To change from Type A to Type B or one of the other Types, move the cursor to the
Counter Type field on the main detail screen for the Type A counter; then press the
Tab key to toggle the selections. When B is displayed in this field, press the Enter
key.
This example screen lists the module configuration parameters for a Type B counter.
7. Press the Page Down key to display the detail screen for Type B Counter 1.
Repeatedly press the Page Down or Page Up key to scroll through the detail screen
for each counter and then return to the main detail screen for the Type B counter.
Note
Follow the same steps for configuring Types B through E counters as
shown in on the preceding pages for Type A counters. To understand the
different effects the parameter settings have for all Types (A–E) , read the 90-70
High Speed Counter User’s Manual (GFK-1062).
Third party VME modules may be configured to be recognized by the PLC. Six modes of
configuration are available:
Mode Description
None The module is used only as a placeholder.
Interrupt Only The module may produce interrupts.
Bus Interface The module may use the read and write config functions.
Full Mail The module may use the complete logical layer or mailbox system of the
Series 90-70 PLC identically to the features currently supported for smart
modules.
Reduced Mail The module may perform a limited set of service requests with the PLC
through the simpler mailbox system used for Series 90-70 analog I/O modules.
I/OScan The module may have defined I/O that will be scanned by the PLC.
Note
For more information about configuring third party VME modules, refer
to the Series 90-70 Programmable Controller’s User’s Guide to
Integration of Third Party VME Modules (GFK-0448).
Note
When configuring the VME module in a VME Integrator Rack, the
half-slot screen for a particular slot is displayed. This allows you to
configure the half slots of that slot. The remainder of the configuration
process is the same for the VME Integrator Rack as it is for a standard
I/Orack.
2. Press VME (F7) and then VME (F1) from the I/O Configuration Rack screen to
display a list of available modules.
3. Position the cursor on the 3RD PTY VME module, and press the Enter key to display
the detail screen for that module.
None Mode
When NONE mode is selected, the following VME detail screen is displayed.
The configuration mode on this screen is set to NONE. There are no other parameters to
be selected.
Note
INTERRUPT ONLY mode is not supported by a Release 6 or earlier CPU. This
functionality is reserved for possible use by future CPUs.
When INTERRUPT ONLY mode is selected, the following VME detail screen is
displayed.
Parameter Description
ConfigurationMode The configuration mode is set to INTERRUPT ONLY.
Interrupt Select whether to ENABLE* or DISABLE interrupts. If ENABLED, the
module will generate interrupts.
Interrupt ID A byte hexadecimal value which identifies the module driving the
interrupt line. The value in this field must either be in the form
“slot:rack”, based on the rack and slot the module is in, or a value in
the range F0 to FE hex. For example, if a VME module is configured in
slot 3 of rack 0, a value of 30 (30H; slot 3 rack 0) is displayed. Each VME
module configured within the system must have a different interrupt
ID.
The default value must be a value based on the rack and slot the
module is in. The first half-slot configured for a slot (either A or B) will
be assigned the slot:rack ID; the second half-slot configured for the slot
(either A or B) will be in the range F0 – FE.
* Default selection.
Note
BUS INTERFACE mode is supported by a Release 4 or later CPU.
When BUS INTERFACE mode is selected, the following VME detail screen is displayed.
Parameter Description
Configuration The configuration mode is set to BUS INTERFACE.
Mode
AddressModifier The memory space (in hexadecimal) on the VME bus that the module re-
Code sponds to. Choices are:
09H = extended non-privilege data access.
0AH = extended non-privilege program access.
ODH = extended supervisory data access.
OEH = extended supervisory program access.
29H* = short non-privilege access.
2DH = short supervisory access.
39H = standard non-privilege data access.
3AH = standard non-privilege program access.
3DH = standardsupervisory data access.
3EH = standardsupervisory program access.
Address A 16-bit, 24-bit, or 32-bit hexadecimal value, depending on the AM mode
selected. If the AM code is 29H or 2DH, the address range must be a
16-bit value, 0000 to 0000FFFF. If the AM code is 39H, 3AH, 3DH, or 3EH,
the address range must be a 24-bit value, 0000 to 00FFFFFF. If the AM
code is 09H, 0AH, 0DH, or 0EH, the address range must be a 32-bit value,
0000 to FFFFFFFF. (Although the Series 90-70 I/O rack does not contain the
P2 backplane, the upper eight address lines of the 32-bit address can be
jumpered to a fixed value on the module.) Default = 0000FFFF.
Dual Port Memory The size of the dual port memory (in 1K increments) for the VME module.
Size in K Bytes Values are 1* to 16,384.
Interface Type Specify how data is to be read/written to the VME module. Choices are:
WORD ACCESS: Data is to be read/written a word at a time to
consecutiveaddresses.
BYTE ADDRESS: Data is to be read/written a byte at a time to
consecutiveaddresses.
ODD BYTE ONLY: Data is to be read/written only to odd bytes because
the hardware cannot support even addresses.
SINGLE WORD ADDRESS: also called same address. Data is to be
read a word at a time from the same address on theME bus into PLC
memory and written a word at a time from consecutive words in PLC
memory to the same address.
SINGLE BYTE ADDRESS: Data is to be read a byte at a time from the
same address on the VME bus into PLC memory and written a byte at a
time from consecutive words in PLC memory to the same address.
Interrupt Select whether to ENABLE or DISABLE* interrupts. If ENABLED, the
module will generate interrupts.
Interrupt ID A byte hexadecimal value which identifies the module driving the
interrupt line. The value in this field must either be in the form
“slot:rack”, based on the rack and slot the module is in, or a value in the
range F0 to FE hex. For example, if a VME module is configured in slot
3 of rack 0, a value of 30 (30H; slot 3 rack 0) is displayed. Each VME
module configured within the system must have a different interrupt ID.
The default value must be a value based on the rack and slot the module
is in. The first half-slot configured for a slot (either A or B) will be assigned
the slot:rack ID; the second half-slot configured for the slot (either A or B)
will be in the range F0 – FE.
* Default selection.
Note
FULL MAIL mode is supported by Release 5.5 or later CPUs.
When FULL MAIL mode is selected, the following VME detail screen is displayed.
Parameter Description
Configuration The configuration mode is set to FULL MAIL.
Mode
High PriorityMail Select whether to ENABLE* or DISABLE high priority mail.
Interrupt ID A byte hexadecimal value which identifies the module driving the interrupt
line. The value in this field must either be in the form “slot:rack”, based on
the rack and slot the module is in, or a value in the range F0 to FE hex. For
example, if a VME module is configured in slot 3 of rack 0, a value of 30
(30H; slot 3 rack 0) is displayed. Each VME module configured within the
system must have a different interrupt ID.
The default value must be a value based on the rack and slot the module is
in. The first half-slot configured for a slot (either A or B) will be assigned the
slot:rack ID; the second half-slot configured for the slot (either A or B) will
be in the range F0 – FE.
AddressModifier The memory space (in hexadecimal) on the VME bus that the module re-
Code sponds to. In rack zero, the choices are:
09H = extended non-privilege data access.
0AH = extended non-privilege program access.
ODH = extended supervisory data access.
OEH = extended supervisory program access.
39H* = standard non-privilege data access.
3AH = standard non-privilege program access.
3DH = standardsupervisory data access.
3EH = standardsupervisory program access.
In racks 1 – 7, the AM code must be 39H.
Address A 24-bit or 32-bit hexadecimal value, depending on the AM code
selected. In rack zero, for 24-bit addressing modes where the AM code is
09H, 0AH, 0DH, or 0EH, the address must be xxxx0000H. For 32-bit
addressing modes where the AM code is 39H, 3AH, 3DH, or 3EH, the
address must be 00xx0000H. (Default = 00100000H)
The hexadecimal digits represented by “x” may have any value from 0
through F, inclusive.
Although the Series 90-70 I/O rack does not contain the P2 backplane, the
upper eight address lines of the 32-bit address can be jumpered to a fixed
value on the module.
Dual Port The size of the dual port memory (in 1K increments) for the VME module.
Memory Size in K Values are 16* to 16,384.
Bytes
* Default selection.
Note
REDUCED MAIL mode is not supported by a Release 6 or earlier CPU.
This functionality is reserved for possible use by future CPUs.
When REDUCED MAIL mode is selected, the following VME detail screen is displayed.
Parameter Description
Configuration The configuration mode is set to REDUCED MAIL.
Mode
Interrupt ID A byte hexadecimal value which identifies the module driving the interrupt
line. The value in this field must either be in the form “slot:rack”, based on
the rack and slot the module is in, or a value in the range F0 to FE hex. For
example, if a VME module is configured in slot 3 of rack 0, a value of 30
(30H; slot 3 rack 0) is displayed. Each VME module configured within the
system must have a different interrupt ID.
The default value must be a value based on the rack and slot the module is
in. The first half-slot configured for a slot (either A or B) will be assigned
the slot:rack ID; the second half-slot configured for the slot (either A or B)
will be in the range F0 – FE.
AddressModifier The memory space (in hexadecimal) on the VME bus that the module
Code responds to. Choices are:
09 = extended non-privilege data access.
0A = extended non-privilege program access.
OD = extended supervisory data access.
OE = extended supervisory program access.
29* = short non-privilege access.
2D = short supervisory access.
39 = standard non-privilege data access.
3A = standard non-privilege program access.
3D = standardsupervisory data access.
3E = standardsupervisory program access.
Address A 16-bit, 24-bit, or 32-bit hexadecimal value, depending on the AM mode
selected. If the AM code is 29 or 2D, the address range must be a 16-bit
value, 0000 to 0000FFFF. If the AM code is 39, 3A, 3D, or 3E, the address
range must be a 24-bit value, 0000 to 00FFFFFF. If the AM code is 09, 0A,
0D, or 0E, the address range must be a 32-bit value, 0000 to FFFFFFFF.
(Although the Series 90-70 I/O rack does not contain the P2 backplane, the
upper eight address lines of the 32-bit address can be jumpered to a fixed
value on the module.) Default = 0000FFFF.
Dual Port The size of the dual port memory (in 1K increments) for the VME module.
Memory Size in Values are 4* to 16,384.
K Bytes
* Default selection.
Note
I/O SCAN mode is supported by Release 5.5 and later CPUs.
When I/O SCAN mode is selected, the following VME detail screen is displayed.
Press the Page Down key to display the reference address parameters.
Parameter Description
Configuration The configuration mode is set to I/O SCAN.
Mode
AddressModifier The memory space (in hexadecimal) on the VME bus that the module re-
Code sponds to. Choices are:
09H = extended non-privilege data access.
0AH = extended non-privilege program access.
ODH = extended supervisory data access.
OEH = extended supervisory program access.
29H* = short non-privilege access.
2DH = short supervisory access.
39H = standard non-privilege data access.
3AH = standard non-privilege program access.
3DH = standardsupervisory data access.
3EH = standardsupervisory program access.
Address A 16-bit, 24-bit, or 32-bit hexadecimal value, depending on the AM mode
selected. If the AM code is 29H or 2DH, the address range must be a
16-bit value, 0000 to 0000FFFF. If the AM code is 39H, 3AH, 3DH, or 3EH,
the address range must be a 24-bit value, 0000 to 00FFFFFF. If the AM
code is 09H, 0AH, 0DH, or 0EH, the address range must be a 32-bit value,
0000 to FFFFFFFF. Default = (slot * 2K).
Reduced Mail Select whether to ENABLE* or DISABLE interrupts. If ENABLED, the
module will generate interrupts.
Interrupt ID A byte hexadecimal value which identifies the module driving the
interrupt line. The value in this field must either be in the form
“slot:rack”, based on the rack and slot the module is in, or a value in the
range F0 to FE hex. For example, if a VME module is configured in slot
3 of rack 0, a value of 30 (30H; slot 3 rack 0) is displayed. Each VME
module configured within the system must have a different interrupt ID.
The default value must be a value based on the rack and slot the module
is in. The first half-slot configured for a slot (either A or B) will be assigned
the slot:rack ID; the second half-slot configured for the slot (either A or B)
will be in the range F0 – FE.
Reference The %I, %Q, %AI, and %AQ offsets and lengths that will be scanned by
Address/Length the PLC. For %I and %Q, the valid range is from 0 to 16 bytes.
For %AI and %AQ, the valid range is from 0 to 64 words.
* Default selection.
The configuration reference view feature enables you to view tabular displays of
configured modules with the same reference (%I, %Q, %AI, %AQ, %G, or %R). This
feature can be helpful when assigning new reference addresses or resolving address
conflicts, such as overlapping.
The reference view table is sorted in ascending order by user reference, with the lowest
address listed first. Mixed discrete inputs and outputs (%QI) are shown in both the %Q
and %I tables. Mixed analog inputs and outputs (%AQI) are shown in both the %AQ
and %AI tables.
Data contained in the reference view table may only be viewed; it cannot be edited.
Modules configured from the rack screens have a reference address assigned to them.
When the reference address of a module is changed, the reference view table is updated
automatically. When a module is configured, it is automatically entered into the
reference view table for its reference type. When a module is deleted, it is automatically
removed from the table.
If the Expand (F1) function key is pressed on a remote drop configuration, the reference
view of the corresponding remote drop configuration is displayed.
To display a different Reference View screen, press the appropriate function key (F3
through F7) for the view screen you wish to display. Additional user references (%G,
%GA, %GB, %GC, %GD, and %GE) can be displayed by first pressing More (F9) and
then the appropriate function key.
The first line of the display area clearly identifies the reference type of this view. On the
second line, TotalUsed on an analog reference view screen displays the total number of
references configured. On a discrete reference view screen, Total I+Q displays the
combined total. The highest reference number configured is also displayed on the
second line.
Each entry in the reference view table contains the following information:
Field Description
Reference Start – End The starting and ending reference addresses for the module.
PhysicalAddress The PLC hardware physical address for the module. Each entry in
this column will contain the following information, each separated
by a period (for example, rack . slot . bus . block address).
IO Type The input/output type which controls this module.
Module Type The type and size of the module.
Description The description field.
If overlaps exist in the table, a Y (Yes) is displayed on the second status line at the
bottom of the screen. If there are no overlaps, an N (No) is displayed.
The position of the selected entry is displayed in the Entry field, and the number of
reference table entries is displayed in the TotalEntries field. For example, in the
previous screen, the first entry is the selected entry, and the total number of entries is
two.
Note
The Rack (Shift-F1) function key will access the Bus screen if a block
entry was highlighted when the function key was pressed.
In the following example, a 16-point isolated 120 VAC input module is shown in reverse
video. This module is physically located in slot 4 of the main rack.
When Rack (Shift-F1) is pressed from the Reference View screen, the screen will display
the main rack and highlight the slot of the module selected on the Reference View
screen (for this example, slot 4).
Overlapping References
Overlapping references will result in an invalid configuration. When the reference
address assigned to a module overlaps with another module’s reference address of the
same reference type, an asterisk (*) is displayed at the beginning of the row for both
modules. If the overlap is fatal, resulting in CONFIG INVALID, double asterisks (**) are
displayed.
Modules with reference addresses that lie outside the I/O Map of a remote drop
configuration will be marked with an exclamation mark (!).
To resolve the conflicting overlap, position the cursor on the reference address which
must be changed and press Detail (F10). The detail module screen will be displayed,
allowing the address to be adjusted.
Caution
12 figure bi level 1
table_big level 1
Use the CPU configuration function to set the operating characteristics of the CPU. To
access the CPU configuration functions, press CPU (F2) from the main menu. Then
continue below.
Function
Key Function Description Page
F1 PLC Time-of-Day Clock View the computer ’s time-of-day clock, or view 12-2
and change the PLC time-of-day clock.
F3 SNP ID Assign a new value to the Series Ninety Protocol 12-4
(SNP) ID.
F4 Memory Configuration View and change the CPU memory allocation 12-5
and the use of point fault references.
F5 Fault Category View and change how the CPU responds to 12-7
faults.
GFK-0263G 12-1
12
Note
When this screen is first displayed, the time-of-day clock is read from
the PLC. Elapsed time is tracked by the Logicmaster 90-70 software.
Other devices, such as CIMPLICITY 90-ADS, may change the
time-of-day clock, but the change will not be reflected on this screen
until you exit and return to this screen.
The current date and time for the programmer are displayed in all operating modes. To
also display the PLC date and time, place the computer in ONLINE or MONITOR mode.
If the programmer is in OFFLINE mode or is not communicating with the CPU,
asterisks are displayed in the Current PLC Values fields.
Abbreviation Description
MM Month from 01 to 12.
DD Day from 01 to 31.
YY Year from 00 to 99.
2. Enter the new time, using colons between fields (HH:MM:SS). If hours are
specified, entering minutes and seconds is optional. Partial times must, however,
end with a colon (e.g., HH: or HH:MM:).
Abbreviation Description
HH Hours from 00 to 23.
MM Minutes from 00 to 59.
SS Seconds from 00 to 59.
Note
If hours are specified, entering minutes and seconds is optional. Partial
times must, however, end with a colon. For example, HH: or HH:MM:.
3. Press the Enter or Escape key. The change in the currently highlighted field is sent
to the PLC and will appear in the Current PLC Values field on the screen.
4. Press the Escape key to exit this screen and return to the CPU configuration menu.
SNP ID
For multidrop configurations, each CPU connected to the system must have a unique
identification name consisting of 1 to 7 characters. The SNP ID is not required for
peer-to-peer communications.
The current SNP ID value is displayed in ONLINE or MONITOR mode. To display the
current SNP ID or assign a new name, press SNP ID (F3). The entry for the New SNP
ID field can only be changed in ONLINE mode with communications. If the
programmer is in OFFLINE mode or is not communicating with the CPU, asterisks are
displayed in the Current SNP ID field.
The current memory allocations stored in the program folder are displayed in all
operating modes. To display the PLC values, place the computer in ONLINE or
MONITOR mode.
The upper portion of this screen shows the maximum values for discrete references (%I,
%Q, %M, %T, %S, and %G). These values are set by the system and will change only
when the CPU model number is changed.
The lower portion of this screen shows values for register references (%AI, %AQ, and
%R). You can change the amount of memory allocated to analog I/O and register use in
one-word increments (2 bytes).
The sum of CPU memory, according to the particular CPU model, and any expansion
memory is displayed in the CPU Memory Total field.
Note
Using all the Logic memory will result in an error condition, which will
prevent you from leaving this function.
3. When you press the Enter or Escape key, any changes you have made are stored to
the current program folder.
%AI00001
[FAULT]
When the Fault and No Fault instructions are used with rack/slot/bus/block or Genius
bus fault references, this feature does not have to be enabled; it may be disabled. An
example of a Fault instruction used with a rack/slot reference is shown below:
RACK_00
[FAULT]
To enable or disable this feature, move the cursor to the Point Fault Reference box, and
use the Tab key to toggle the current selection. The selection cannot be changed to
DISABLED if the logic program uses a fault contact as a Point Fault references. The
Default (F1) key can also be used to disable I/O point fault references if the logic
program does not use Fault and No Fault instructions as fault point references or High
and Low Alarm instructions.
Fault Categories
In order to assure safe operation, the PLC must be able to respond appropriately to
certain types of faults. For some faults, this means that the PLC must stop executing.
The appropriate response to a fault may depend on the nature of the application.
Faults are automatically considered to be either fatal, diagnostic, or informational. All
system faults are initially assigned to one of three actions:
For more information on faults, refer to chapter 3, “Fault Explanation and Correction,” in
the Series 90-70 Programmable Controller Reference Manual, GFK-0265.
The fault categories from the current program folder are displayed in all operating
modes. If your programmer is attached to a PLC and is in ONLINE or MONITOR mode,
the PLC fault categories will also be displayed.
Caution
A figure_ap level 1
table_ap level 1
This appendix contains a tutorial for the programming software package. The lesson
includes:
Help Screens
Logicmaster 90-70 software includes detailed Help screens. These Help screens are
loaded onto the hard disk of your programmer during the software installation
procedure and are readily accessible. To access the Help screens, press ALT-H for help,
ALT-I for instruction mnemonic help, or ALT-K for key help.
GFK-0263G A-1
A
1. If the current default directory is not an existing program folder, type in a name of
seven characters or less for the folder. For this lesson, type LESSON.
2. Press the Enter key. The following prompt will appear at the top of the screen:
3. To create the program folder, enter Y (Yes). The software will accept the name and
display the programming software main menu.
The name of your new program folder ( LESSON ) should be displayed at the bottom of
the screen.
Note
If you have the SFC version of Logicmaster 90-70, the next screen you
will see will be the “SERIES 90-70 PROGRAMMING LANGUAGE
SELECTION” screen which will offer you two choices for the program
you are about to create, “F1 . . . . RELAY LADDER DIAGRAM (LD)” or
“F2 . . . . SEQUENTIAL FUNCTION CHART (SFC).” For this exercise,
press F1 to activate Relay Ladder Diagram programming.
3. Press Insert (F1) to begin entering information in the Reference field. Your screen
will look like the one shown below.
4. Enter the machine reference the nickname will represent. For this lesson, type
%I33 or 33I.
5. Press the Enter key. The cursor block moves to the Nickname field.
6. Type the nickname count, and press the Enter key. The cursor block moves to the
Reference Description field.
7. For this lesson, we will not use the Reference Description field. Press the Escape key
to save your entries and leave INSERT mode. Note that when you press the
Escape key, the software automatically changes your entry in the Nickname field to
uppercase letters.
8. Press the Escape key again to return to the ladder logic display for the MAIN block.
The top line of the display shows these ladder logic functions:
All of these functions are listed in chapter 3. For additional information, refer to the
Series 90-70 Programmable Controller Reference Manual, GFK-0265.
Note
ALT-E can be used to toggle the display of the status area at the bottom
of the screen. Press ALT-E to remove the status information; then, press
ALT-E again to display it again. For more information on the status
area, refer to chapter 2, section 6, “Screen Format.”
3. The reverse-video block on the top line shows that the currently selected type of
function is RELAY. Press F1 to start the rung with a normally open contact.
4. Type in %I as a reference for the contact. Note that typing 1I has the same result.
The reference appears in the command line at the top of the screen.
5. Press the Enter key. The software automatically changes your entry to the correct
format and moves the cursor to the next location in the rung.
6. Add a math function to the rung. Press Math (Shift-F3) to select the math functions.
At the top of the screen, the reverse video block moves to MATH. The second line
shows the types of math functions that are currently available. Press Add (F1) to
place an addition function in the rung.
7. Press the Tab key twice to move the cursor to the first input parameter (where the
question marks are and next to “I1” which is within the box). This field will
represent the first of the two numbers to be added.
8. Specify the first number to be added. For this lesson, enter %R17 or 17R. This
represents register reference %R00017. Then, press the Enter key.
9. Use the Tab key to move the cursor to the second input parameter (I2). This field
will represent the number to be added to the current value of the reference
%R00017.
10. Type the number 4 as the value to be added. Press the Enter key. Because you did
not type a % symbol before the number, the software knows it is a constant.
11. Use the Tab key to move the cursor to the next parameter (Q). Q is an output
reference which represents the location for the sum (output) of the addition. Type
the reference %R18, and press the Enter key.
12. Press the Tab key to move the cursor block up to the top rung line. To complete the
rung by programming a coil, press Shift-F1 to select the relay functions.
13. Enter %Q1 on the command line. Do not press the Enter key. This will be the
reference for the coil.
14. Press F5 to enter a coil at the end of the rung. Notice that the reference can be
entered either before selecting the function as shown here, or after selecting the
function as shown earlier.
15. To accept the rung, press the Enter key (or the Plus (+) key on the numeric keypad).
This accepts the completed rung, and the cursor moves downward so you can insert
another line of logic.
16. Select the control functions by pressing Shift-F9. Press Comment (F8) to add a
comment to the program.
17. Press the Enter key and then the Escape key to return these key functions to the top
of the screen:
19. Press Zoom (F10). The program logic is replaced with a blank screen where you can
enter text.
20. Beginning at the [EOB“] (End of Buffer) symbol, enter the text shown below:
21. Pressing the Escape key returns the ladder logic display to the screen.
22. You could display the comment again by pressing Zoom (F10) with the cursor
located at the comment rung.
23. That completes this lesson. Press the Escape key to return to the main menu. The
following information pertains to program blocks. If you want to practice creating a
program block, continue below. If you want to print this program now, continue on
page A-23.
If you have the SFC option installed, you will an extra, self-explanatory, step here.
3. Enter the name of the program block on the command line. For this lesson, type in
the name SHIP_IT. (make sure you include the underscore because only single
name entries are allowed). Do not press the Enter key.
There are two alternate methods of entering this information. Both methods
combine the previous step and this step into one operation. The first method is to
type the name SHIP_IT and the description “THIS IS A BLOCK” together on
the command line (separated by a space). Press the Insert (F1) key and then press
the Escape key. The second method is to first press the Insert (F1) key, type the
name and description together on the command line. Then, press the Enter key,
followed by the Escape key.
8. Use the cursor keys to position the cursor on the program block declaration named
SHIP_IT. Then, press Zoom (F10). Note that the name of the block (BLK:
_MAIN) in the status area of the previous screen has now been changed to the name
of the program block (BLK: SHIP_IT).
9. You can create logic for the program block on this screen. Position the cursor on the
[END OF PROGRAM LOGIC] marker and press Insert (F1). You can now insert
ladder logic at the cursor location.
10. Press F1 to start the rung with a normally open contact. Type in the reference %I1,
and press the Enter key. The software automatically changes your entry to the
correct format and moves the cursor to the next location in the rung.
11. Add a bit operation function to the rung. To do so, press Bit Operation (Shift-F5)
to select the functions. At the top of the screen, the reverse video block moves to
BITOP. The second line shows the types of bit operation functions that are currently
available. Press More (F9) to display additional bit operation functions you can
select. Then, press Bit Test (F1) to insert a function in the rung that will test a bit
within a bit string.
12. Use the Tab key to move the cursor to the parameter IN. IN contains the first word
of the data to be operated on. For this lesson, type PRD_CDE on the command line.
Because you have not previously entered the nickname PRD_CDE in the variable
declaration table, you will also need to enter a reference address for the nickname
now; therefore, after typing PRD_CDE on the command line, press the Space bar (to
add a space to separate the two entries) and then type %R1 for the reference
address. Then, press the Tab key. The software will enter the reference address in
the logic and automatically move the cursor to the next parameter (BIT).
13. BIT contains the bit number of IN that should be tested. For this lesson, enter
PICKBIT and the reference address %R2 on the command line— don’t forget to
separate the two entries with a space. (If the nickname PICKBIT had previously
been entered in the variable declaration table, you would not need to enter it here
on the command line.) Then, press the Tab key. Again, the software will enter the
reference address in the logic and automatically move the cursor to the next
parameter (Q).
14. Output Q is energized if the bit tested is a 1. Press Relay (Shift-F1) to display the
relay functions. Then, type the reference %T1 on the command line, and press F5
to enter a coil at the end of the rung.
15. The LEN parameter represents the number of words in the string to be tested. This
is set at 1 and does not need to be changed for this lesson. However, if you wanted
to change the number of words to 5, for example, you would position the cursor on
the function, enter 5 on the command line, and press the Enter key.
16. That completes the example program block. In this block, whenever input %I00001
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 coil %T00001 is
turned on.
17. Press the Escape key a total of four times to return to the main menu. If you want to
print this program now, continue the steps shown below.
This menu is used to set printer parameters (F1 and F2), request printing (F4, F5, and
F6), pause printing (F9), and save the printer setup (F10). Default printer setup
values are supplied with the software, but are easily changed if needed. Chapter 10
explains printer setup in detail.
2. Press Logic (F4) to print program logic. Define the printout content on the screen
that appears.
B figure_ap level 1
table_ap level 1
This appendix contains a tutorial for the configuration software package. The lesson
includes:
D Creating a program folder.
D Configuring a CPU module.
D Configuring a Bus Expansion Module.
D Configuring a 90-70 I/O module.
D Configuring a Genius Bus Controller.
D Configuring a Genius I/O Block.
You can exit and save the lesson at any time, as explained below. It is not necessary to
complete all of the steps.
Help Screens
Logicmaster 90-70 software includes detailed Help screens. These Help screens are
loaded onto the hard disk of your programmer during the software installation
procedure and are readily accessible. To access the Help screens, press ALT-H for help,
ALT-I for instruction mnemonic help, or ALT-K for key help.
GFK-0263G B-1
B
1. If the current default directory is not an existing program folder, type in a name of
seven characters or less for the folder. For this lesson, type LESSON.
2. Press the Enter key. The following prompt will appear at the top of the screen:
3. To create the program folder, enter Y (Yes). The software will accept the name and
display the configuration software main menu.
The name of your new program folder ( LESSON ) should be displayed at the bottom of
the screen.
The screen shows the slots available in rack 0, which is the first rack in the system. Use
the Next Page or Prev page key, or the Up or Down cursor key, to display the
configuration of another rack.
3. When each of the parameters on the screen has been entered, press CPU (F1) to
display the list of available CPU modules and their catalog numbers.
4. If you are configuring another type of CPU module, move the cursor to the desired
module and press the Enter key. If your CPU is not listed on the first “page” (as
shown above), then press the Page Down key to view the additional CPUs. The
second page looks like the one shown below.
6. Press Rack (Shift-F1) or the Escape key to exit from the detail screen and return to
the rack display.
7. If the CPU requires expansion memory, a message indicating that will be displayed.
To configure the CPU expansion memory, press Expansion Board (F9) and then
Memory (F1) to display the list of catalog numbers.
Select an expansion memory board by moving the cursor to any entry and pressing
the Enter key.
8. Press the Escape key to exit the CPU detail screen. Press Rack (Shift-F1) or the
Escape key again to return to the rack screen.
9. Press the Right cursor key repeatedly until the last slot on the screen is highlighted.
Then, press BEM (F3) to locate a Bus Expansion Module in slot 9. The software
zooms into this detail screen.
10. Because this is the first rack, the module in this slot must be a Bus Transmitter
Module (to communicate with a Bus Receiver Module in the expansion racks). Press
F1 to display a list of Bus Transmitter Modules.
Note
Revision A of the Bus Transmitter Module should be the last module
entered in the rack since it must be the right-most module. Revision B
of the BTM module does not have to be the right-most module.
11. If more than one Bus Transmitter Module is listed, select one by moving the cursor
to that entry and pressing the Enter key. The catalog number will be displayed in
the Catalog # field.
12. Press the Escape key to save this change and return to the rack display.
2. Press Module 70 I/O (F1) to locate a 90-70 I/O Module in slot 2. The software zooms
into the detail screen.
3. The types of modules that might be placed in this slot are shown by the key
functions at the top of the screen. For this example, select a Discrete Input module
by pressing F1. A list of modules is displayed.
4. Select a module by moving the cursor to any entry and pressing the Enter key. Its
catalog number will appear in reverse video in the proper field. For this example,
move the cursor to IC697MDL241 and press the Enter key. The following screen is
displayed:
5. Assign a beginning I/O reference address to this module. Move the cursor down to:
For this example, you will purposely enter an incorrect I/O reference. First, move
the small cursor to the right in the Reference Address field by pressing the CTRL
and Right cursor keys. Enter 1 and then 6 as the last two digits. Now the
reference address should look like this:
This reference address is incorrect because it does not begin on a byte boundary. (A
byte boundary is a number which is one greater than an integer multiple of 8; for
example, 1, 9, 17, or 25.)
6. Watch the reference address. Notice that when you press the Down cursor key
once, the software automatically changes the reference address to the next lowest
byte boundary:
and the message “The Reference Address has been adjusted to be byte aligned” will
be displayed.
7. For this lesson, the rest of the entries on this screen need not be changed. Press the
Escape key to return to the rack display.
2. Press Genius (F2) to locate a Bus Controller in slot 3. The software zooms into a
detail screen.
3. Press GBC (F1) to display the entry for the Genius Bus Controller ( IC697BEM731 ).
5. To change the bus controller parameters shown in the center area of the screen, you
must be familiar with information in GEK-90486. For this example, we will assume
the default entries are correct. Press Rack (Shift-F1) or the Escape key to return to
the rack display.
2. The cursor highlights the bus controller, which was assigned device number (bus
address) 31 automatically during the previous part of the lesson.
3. For the lesson, assign a Genius I/O block to device number (bus address) 1 by
pressing the Right cursor key twice. The screen displays blocks which represent
device numbers 0 through 7. With the cursor on BUS ADR 1, press F3 to select the
type of block.
4. Select a catalog number by moving the cursor, if necessary, and pressing the Enter
key. The screen will display additional entries if you press the cursor keys. For this
lesson, select the Genius Phase B 115VAC 8 circuit I/O block ( IC660BBD100 ) by
moving the cursor to that entry and pressing the Enter key.
Notice that the software has automatically assigned the next available I/O
references. It is not necessary to change this reference address. However, for the
lesson you can move the cursor using the CTRL and Right cursor keys, then enter:
and press the Enter key. This reference address is correct because it begins on a byte
boundary.
6. For this lesson, the rest of the entries on this screen do not need to be changed. Press
Rack (Shift-F1) or the Escape key to return to the bus display.
7. Press Rack (Shift-F1) or the Escape key again to return to the rack display. The
entries you have made will automatically be saved in program folder named
LESSON.
C figure_ap level 1
table_ap level 1
This appendix contains a tutorial which illustrates how to redefine variables while
importing a program folder to the library:
1. Create a source program folder named SRC. Position the cursor on the
[VARIABLE DECLARATIONS] marker in the programming software, and press
Zoom (F10) to display the global variable declaration table. Enter the variables
shown on this screen in the _MAIN variable declaration table.
2. Press the Escape key to return to the list of markers. Then, move the cursor to the
[PROGRAM BLOCK DECLARATIONS] marker, and press Zoom (F10).
GFK-0263G C-1
C
3. Create a program block named BLOCK01 in program folder SRC. Then, press
Zoom (F10) to zoom into that block.
4. Move the cursor to the [VARIABLE DECLARATIONS] marker for BLOCK01, and
press Zoom (F10). Enter the variables shown on this screen in the local variable
declaration table for BLOCK01.
Note that BLK: BLOCK01 is now displayed on the status line. BLK: _MAIN was
displayed on the status line for the global variable declaration table in program
folder SRC.
5. Press the Escape key to return to the list of markers. Then, move the cursor to the
[END OF BLOCK LOGIC] marker, and press Insert (F1).
6. Enter the logic for BLOCK01 using variables from both the global and local variable
declaration tables. The variables START, XFEREYE, QUIET, JAMMED, and ALARM
are from the global variable declaration table; PURGE and LIGHT are from the local
variable declaration table.
8. Press the Escape key repeatedly to exit BLOCK01 and exit the program editor.
Select Program Block Librarian (F6) from the programming software main menu.
9. Use the Export function (F5) to place BLOCK01 in the library with global variables.
You must enter Y after the prompt:
The export operation only takes those global variables that BLOCK01 uses in its
logic.
10. When the export operation is completed, press the Escape key to return to the
programming software main menu. That completes the source program folder.
11. Select or create a destination program folder. For the sample screen shown below,
an existing program folder named DST was selected.
If you do not already have a folder named DST, you can create one.
13. Press the Escape key twice to return to the programming software main menu.
14. Select the Program Block Librarian (F6).
15. Press Variable Import (F4) to import BLOCK01 to the folder DST as BLOCK01.
16. Press the Enter key. The first screen displayed contains the nicknames used in
BLOCK01 in both the SRC and DST global variable declaration tables. The
reference addresses in the From Library column are from BLOCK01; the reference
addresses in the To Folder column show how the nickname is assigned in folder
DST.
17. Press Next (F9) to display the second table shown during the variable import. This
table lists the global variables used in BLOCK01 in folder SRC, but not in the global
variable declaration table for folder DST.
You can edit the New Scope and To Folder columns, as illustrated in the following
steps:
B. The scope for the nickname START is set to local; that means the reference
address %I00001 will only be inserted in the local variable declaration table.
Because the reference address for START conflicts with the reference address
for the nickname ESTOP, START cannot be inserted in the global variable
declaration table for DST.
C. Cursor to the line displaying the nickname XFEREYE, and change the selection
in the New Scope column to NONE. The nickname XFEREYE will not be
inserted in the global variable declaration table for DST or in the local variable
declaration table for BLOCK01. The logic in BLOCK01 will use the address
reference %I00100 without a nickname.
D. Cursor to the line displaying the nickname QUIET, and enter the reference
address %I00150 in the To Folder column. QUIET will be inserted in the global
variable declaration table for DST with reference address %I00150. In addition,
the reference address assigned to QUIET in the logic for BLOCK01 will be
changed to %I00150.
18. Press Next (F9) to display the third table shown during the variable import. This
table lists the variables defined only in the local variable declaration table.
19. Press the Escape key to start the import and redefine variables operation. Enter Y
(YES) after the prompt:
20. After the import operation has successfully completed, press the Escape key to exit
the program block librarian. Then, press Program (F1) to view the variable
declarations and logic for the folder DST. Position the cursor on the
[VARIABLE DECLARATIONS] marker, and press Zoom (F10) to display the global
variable declaration table for that folder. QUIET has now been added to the
variable declaration table.
21. Press the Escape key to exit the variable declaration table. Then, position the cursor
on the [PROGRAM BLOCK DECLARATIONS] marker, and press Zoom (F10). Zoom
into BLOCK01 to view its logic and global variables.
22. Move the cursor to the [VARIABLE DECLARATIONS] marker, and press Zoom
(F10) to display the local variable declaration table for BLOCK01 in DST. Note that
START has been added to the table.
23. Press the Escape key to exit the variable declaration table. Then, cursor down to the
ladder logic display. Note that the logic displayed with nicknames for BLOCK01 in
folder DST is the same as the logic displayed with nicknames for BLOCK01 in
folder SRC (see step 6), except for the nickname XFEREYE. Because the scope of
the nickname XFEREYE was changed to NONE on the Globals Defined in Library
Block Only screen, the nickname has been dropped.
24. Press Alt-N to view the logic with reference addresses. Note that the reference
addresses for the nicknames START (%I00001), PURGE (%I00121), and LIGHT
(%Q00117) in BLOCK01 in folder DST are the same as those used for BLOCK01 in
folder SRC (see step 7). However, the reference addresses for QUIET, JAMMED,
and ALARM have changed.
25. This is the end of the lesson. Press the Escape key repeatedly to return to the
programming software main menu.
D figure_ap level 1
table_ap level 1
A default setup file is created during installation. Only in special circumstances will this
file need to be changed. Follow the steps below in order to edit the setup file.
2. Press Setup (F9) to select the setup function. The following menu is displayed:
GFK-0263G D-1
D
Use the cursor keys to move from one option field to another. Selected fields are shown
in reverse video on the display screen. Then, use the Tab and Back Tab (Shift-Tab) keys
to toggle each selection.
Field Description
ProgrammerMode Logicmaster 90-70 software may be run on machines with or without a
Keyswitch keyswitch to specify the operational mode (ONLINE, MONITOR, or
OFFLINE). Choices for this field are ENABLED or DISABLED*.
When the selections are complete, press the Escape key to return to the Setup File Editor
menu.
The middle portion of the screen, enclosed in a box, provides a sample display using the
currently selected colors. The numeric values stored in the palette registers control the
foreground, background, special, and screen border colors.
The color values in the palette registers may be changed by pressing the function keys
(F1 through F10), as described in the lower portion of the screen. The function keys are
paired; one key increases the value while the other decreases it. The values may be
adjusted within the range 0 to 63. As the values are changed, the colors in the sample
display box are updated accordingly.
You may wish to experiment with different color combinations. When you are satisfied
with your selections, press the Escape key to return to the Setup menu. The color values
will be saved along with the other setup information; these color values will be used
each time you start up the Logicmaster 90-70 software.
1. If the drives shown on the left of your screen are correct, press Default (F3). If the
current selections are not correct, change them as instructed.
2. Press the Escape key to return to the Setup File Editor menu.
Field Description
Communication When both the WSI and standard serial communications versions of
Device Logicmaster 90-70 software are installed, you must choose whether to
communicate with the PLC through a WSI Board* or serial COM port.
WSIB Interrupt In a PC or PC-AT computer, the WSI Board can be configured to use four
Line different interrupt lines on the PC backplane. Choices are IRQ3, IRQ4,
IRQ5, or IRQ7*. This option is available only if you are using the WSIB2
Board for communications. If you have the older WSIB1 Board, the interrupt
line is displayed as IRQ3 and is not changeable. If you have selected a serial
COM port for communications, this option is not displayed.
Driver Memory Select the area of memory you wish the communication drivers to load
Area into, or allow the software to automatically choose the area of memory.
* Default selection.
Use the cursor keys to move from one option field to another. Selected fields are shown
in reverse video on the display screen. Then, use the Tab and Back Tab (Shift-Tab) keys
to toggle each selection.
In the following example, both the WSI and standard serial communications versions of
Logicmaster 90-70 software are installed, and the serial COM port was chosen as the
communication device.
In the next example, only the standard serial communications version of software is
installed. Options allow the area of memory to be automatically selected, or you may
choose the area of memory you wish the communication drivers to load into.
In the next example, only the WSI version of software is installed, and a WSIB2 Board
was used. Note that the default value IRQ7 appears in the WSIB Interrupt Line field.
This value can be changed by using the Tab and Back Tab (Shift-Tab) keys to toggle each
selection.
Note
When the WSI Version of Release 4 or later of Logicmaster 90-70
software is used on a Workmaster II industrial computer or other
microchannel personal computer with a WS9A2 board, the selection of
an interrupt line on the PLC Communications Options screen must be
set to IRQ3. Failure to select IRQ3 will result in improper setup of the
board, possible lockup of the Logicmaster software during startup, and
failure to communicate with the PLC.
In this example, again only the WSI version of software is installed, but a
non-configurable WSIB1 Board was used. The interrupt line IRQ3 is displayed in the
WSIB Interrupt Line field and cannot be changed. Again, there are no options to select;
the screen is presented only to provide information.
Press any key to return to the Setup File Editor menu. Then, press the Escape key to
return to the menu of Series 90 PLCs and functions.
E figure_ap level 1
table_ap level 1
In program display/edit mode, you can quickly enter or search for a program instruction
by typing the ampersand (&) character followed by the instruction’s mnemonic. For
some instructions, you can also specify a reference address or nickname, a label, or a
location reference address.
This appendix lists the mnemonics of the programming instructions for Logicmaster
90-70 programming software. At any time during programming, you can display a help
screen with these mnemonics by pressing the ALT and I keys.
GFK-0263G E-1
E
Mnemonic
Instruction All INT UINT DINT BIT BYTE WORD DWORD REAL MIXED
Contacts
Any Contact &CON &CON
–| |– &NOCON &NOCON
Coils
Any Coil &COI &COI
–( )– &NOCOI &NOCOI
Links
Horizontal &HO &HO
Timers
ONDTR &ON &ON
Counters
UPCTR &UP &UP
Math
ADD &AD &AD_I &AD_UI &AD_DI &AD_R
LN &LN &LN
Relational
EQ &EQ &EQ_I &EQ_UI &EQ_DI &EQ_R
BitOperation
AND &AN &AN_W &AN_DW
DataMove
MOVE &MOV &MOV_I &MOV_UI &MOV_DI &MOV_B &MOV_W &MOV_DW &MOV_R
I
BLKMOV &BLKM &BLKM_I &BLKM_UI &BLKM_DI &BLKM_W &BLKM_DW &BLKM_R
BLKCLR &BLKC
BITSEQ &BI
COMMREQ &COMMR
VME_CFG_RD &CFGRD
VME_CFG_WRT &CFGWRT
DATA_INIT &DINI
DATA_INIT_COMM &DCO
DATA_INIT_ASCII &DA
Data Table
TBLRD &TBLR &TBLR_I &TBLR_UI &TBLR_DI &TBLR_W &TBLR_DW
Conversion
to BCD–4 &BCD4 &BCD4 &BCD4_UI
to BCD–8 &BCD8
Control
CALL &CA
DOIO &DO
SUSIO &SUS
MCR &MCR
ENDMCR &ENDMCR
JUMP &JUMP
LABEL &LABEL
COMMENT &COMME
SVCREQ &SV
PIDISA &PIDIS
PIDIND &PIDIN
FOR &FOR
END_FOR &ENDFOR
EXIT &EXIT
F figure_ap level 1
table_ap level 1
The following table lists the keyboard functions that are active in the Logicmaster 90-70
software environment. This information may also be displayed on the programmer
screen by pressing ALT-K to access key help.
Key Key
Sequence Description Sequence Description
Keys Available throughout the Software Package
ALT-A Abort. CTRL-Break Exitpackage.
ALT-C Clear field. Esc Zoom out.
ALT-M Change programmer mode. CTRL-Home Previous command line contents.
ALT-R Change PLC RUN/STOP state. CTRL-End Next command line contents.
ALT-E Toggle status area. CTRL-← Cursor left within the field.
ALT-L List directory files. CTRL-→ Cursor right within the field.
ALT-P Print screen. CTRL-D Decrement reference address.
ALT-H Help. CTRL-U Increment reference address.
ALT-K Key help. Tab Change/incrementfieldcontents.
ALT-I Instruction mnemonic help. Shift-Tab Change/decrementfieldcontents.
ALT-T Start TEACH mode. Enter Accept field contents.
ALT-Q Stop TEACH mode. CTRL-E Display last system error.
ALT-Z Pause TEACH playback. F12 Toggle discrete reference.
(or Keypad–)
ALT-n Playback file n (n = 0 thru 9). F11 Override discrete reference.
(or Keypad *)
Keys Available in the Program Editor Only
ALT-B Toggle text editor bell. Keypad + Accept rung.
ALT-D Delete rungelement./Deleterung. Enter Accept rung.
ALT-S Store block to PLC and disk. CTRL-PgUp Previous rung.
ALT-X Display zoom level & block state. CTRL-PgDn Next rung.
ALT-V Variable table window. ~ Horizontallink.
ALT-W Display PSB parameter table. | Vertical link.
ALT-F2 Go to operand reference table. Tab Go to next operand field.
SpecialKeys
ALT-G Single sweep debug. Available only in program editor, reference table editor, and status
fault tables.
ALT-N Toggle display options. Available only in program editor and reference table editor.
ALT-O Password override. Available only on Password screen in configuration software.
ALT-U Update disk.
GFK-0263G F-1
F
The Help card on the next page contains a listing of the key help and also the instruction
mnemonics help text for Logicmaster 90 software. This card is printed in triplicate and is
perforated for easier removal from the manual.
G figure_ap level 1
table_ap level 1
You can maintain a file of MS-DOS executable commands outside of the Logicmaster
software packages. This command definition file named COMENU.PRD contains a list
of task entries, each with a unique display label and associated MS-DOS command. The
file is stored in the Logicmaster home directory (normally LM90) and can be edited
using an MS-DOS compatible text editor such as EDLIN. The MS-DOS commands in
this file can be used to run other software packages and perform routine MS-DOS
functions, such as disk maintenance.
GFK-0263G G-1
G
2. When F8 is pressed, the Logicmaster startup program reads the Comenu definition
file and creates a display similar to the one shown above.
3. Use the cursor keys, the Page Up and Down keys, or the Home and End keys to
select a command. The label for the currently selected entry is shown in reverse
video. If more command definitions are available than can be displayed on the
screen, use the cursor keys to scroll through the entries. The number of the
currently selected command and the total number of commands are displayed
beneath the labels window. The MS-DOS command string for the current entry is
shown beneath the labels window for verification of the command text associated
with the entry.
4. Move the cursor to the desired command label and press the Enter key. The menu
program will clear the screen and submit the selected command to MS-DOS for
execution. Subsequent screens are controlled by MS-DOS and the selected
command.
5. When the command is completed, control will normally return immediately to the
Comenu display. However, you may wish to pause after the execution of the
command in order to study the display generated by the command. If a pause is
desired, enter Y (Yes) in the Pause after command execution field, or use the Tab,
Shift-Tab, Space, or Backspace key to toggle the value of the field from No to Yes.
6. After the pause, MS-DOS will prompt you to press any key in order to continue.
When a key is pressed, the User Command menu is displayed again.
7. Press Exit (F10) or the Escape key to return to the menu of Series 90 PLCs and
functions.
or
<display label> =
<DOS command string>
3. The label may be any text up to 50 characters long. Labels which exceed this length
are truncated.
4. The equal sign (=) must appear on the same line as the label. A carriage return and
linefeed may follow the equal sign if you want the command text to start on a
separate line.
5. Each command string is terminated by a carriage return and linefeed, or by the
end-of-file. The command string itself should not contain any carriage returns, even
if the string is longer than can be displayed on a single line.
6. The command string is limited by MS-DOS to a maximum length of 127 characters.
Commands which exceed this length are ignored, and the associated label is not
displayed.
7. A maximum of 100 definitions can be processed; any additional definitions beyond
the limit are ignored.
8. You may include in the definition file a command for editing the definition file itself.
This will allow you to modify the file even while remaining within the Logicmaster
environment.
; The following entry may be used to start the editor on this file,
; so that additional revisions may be made without leaving the LM90 shell.
; Disk utilities:
; Third–party packages:
; User applications:
Application 1 = \appl\appl.bat
Application 2 = \appl\app2.bat
H figure_ap level 1
table_ap level 1
The data import feature allows you to use ASCII text-based files to quickly update data
zoom blocks in the program editor and data tables in the reference editor. In addition to
text representation of values to be entered, the file may contain command
representations, which are interpreted by data import as individual keystrokes. Thus,
many of the same actions done directly from the keyboard (e.g., cursor movement, data
entry, format changes, etc.) can be done through data import.
In order to use the data import feature, you must be familiar with the reference table
editor (see chapter 4, “Reference Table,” and chapter 3, “Program Editing.”
Data import can be initiated from a data zoom block in the program editor or from any
of the reference editor screens by pressing CTRL-I. A file specification window similar
to the one shown below will be displayed:
GFK-0263G H-1
H
Enter the name of the external file in the Data File field. Your response may be a full
path name, not to exceed the size of the prompt field.
A. If the file is not in the current disk directory, you must enter the complete file
path.
B. If the file specified does not have an extension, the external file name will
default to a .DI extension.
C. If an invalid file specification is entered or the file cannot be opened for input, an
error message will be displayed, the file specification window will remain on the
screen, and the invalid file specification will remain in the Data File field.
Note
When the programmer is in ONLINE mode, real-time updates are
suspended while the file specification window remains on the screen.
Press the Enter key. Once started, the data import cannot be aborted. The process will
continue until either a valid file name is entered, or until you press CTRL-A,
CTRL-Break, or the Escape key to abort the data import operation. In addition, pressing
CTRL-Break will exit the Logicmaster 90 software package.
Data being imported will be input into Logicmaster 90-70 software starting at the current
cursor position. The current cursor will advance after each data value. The direction the
current cursor advances will depend on the currently active Logicmaster environment.
For example, in the reference table editor with default display mode, the cursor
advances to the left; in a data initialize instruction, the cursor advances to the right.
Data from an external file will be input into the Logicmaster 90-70 software data item by
data item. When a data item in the external file is found to be invalid, the import will
stop and control will return to the keyboard. All data input before the invalid item will
be retained by the Logicmaster 90-70 software. Data will continue to be imported until
the end of the external file, the end of the data initialization data buffer or reference
table is reached, or an error occurs.
Format commands define the following data value and change the Logicmaster 90
format at the input position.
9. Reference addresses must precede the data value they are positioning. For example:
10. The # character as the first character in an import file line will cause all remaining
characters on that line to be ignored. These lines can be used for comments, as
desired.
The following examples incorporate these guidelines for format and content.
Example Explanation
1i:, 1,1,1; 8i; 1,1,1; Sets I1, 2, 3, 8, 9, and 10 to 1.
1r; [CHGALL] [HEX] 55, 0AA55,55AA Changes the entire real table format to hex and enters
0055, AA55, and 55AA into R1, 2, 3, leaving the cursor
on R4.
[CHGALL][ ASCII] 8r; “abcdefgh” Changes the entire input table to ASCII format,
positions the cursor to R8, and enters the characters
into R8 ... R11, leaving the cursor on R8.
[CHGALL] 0; Clear a reference table and initialize to the default
format.
The following two examples illustrate valid external data files for import into
Logicmaster 90 software. Although the two files differ in format and content, they
would make the same changes to the %R reference table. The examples assume that the
reference table is in right to left display mode.
[CHGALL] 0;
%R31, 1223, 101, 5, [HEX] 0ab, +100, 34, 345, 73, 700, 9, [INT] –56,
[DOWN] [LEFT] 5555, 1, +33, [INT] –4667, [LEFT] [REAL] –2.8301E+06,
6789, 99, [HEX] 0c00, [INT] 777, [INT] 3221, [INT] –54, 0, 88,
[ASCII] “li”,, [ASCII] “ne”,, [ASCII] “ f”,, [ASCII] “au”,, [ASCII] “lt”;
[CHGALL] 0;
%R31; 1223, %R32; 101,
%R33; [INT] 5, %R34; [HEX] 0AB,
%R35; [INT] 100, %R36; 34,
%R37; 345, %R38; 73,
%R39; 700, %R40; 9,
%R41; [INT] –56, %R53; [INT] 5555,
%R54; 1, %R55; [INT] +33,
%R56; [INT] –4667,
%R57; [REAL] –2.38301E+06,
%R60; 6789, %R61; 99,
%R62; [HEX] 0C00, %R63; [INT] 777,
%R64; [INT] 3221, %R65; [INT] –54,
%R66; 0, %R67; 88,
%R68; [ASCII] “li”, %R69; [ASCII] “ne”,
%R70; [ASCII] “ f”, %R71; [ASCII] “au”,
%R72; [ASCII] “lt”;
You could set all the bits in 30 words of data to 1 by importing the following data file:
–1, –1, –1, –1, –1, –1, –1, –1, –1, –1,
–1, –1, –1, –1, –1, –1, –1, –1, –1, –1,
–1, –1, –1, –1, –1, –1, –1, –1, –1, –1;
After the data import is complete, a screen similar to this one for the DATA_INIT
function is displayed.
This is a sample external text file which could be imported into the %R reference table:
Note that the reference address %R31 at the beginning of the external file starts the data
import at a different position than that of the current cursor position before the data
import.
After the data import is complete, the example %R reference table would appear as:
I figure_ap level 1
table_ap level 1
This appendix lists the files created with Logicmaster 90-70 software. The files are
identified here by their extensions. The content of each file is briefly discussed, along
with an explanation of when the file is created. None of these files is created during the
INSTALL process.
Caution
Do not use MS-DOS to copy individual files from one folder to
another or to delete files. Doing so may produce unexpected results.
MS-DOS may only be safely used to copy an entire program folder to
another program folder of the same name.
GFK-0263G I-1
I
Note
.EXT and .STA are new file extensions available with Release 6 of
Logicmaster. .PDT and .SYE are new file extensions available with
Release 4 of Logicmaster 90-70 software. .PDT combines .PRG and .DAT
files from earlier releases into one file. .STE combines .SYM and .NXP
files from earlier releases into one file.
When specifying values using the reference table function, Logicmaster 90-70 software
creates files to contain this information. The folder may contain these two files for each
reference type. Only reference types which permit overrides may have override files.
(The %I reference is used here only as an example.)
When specifying formats using the reference table function, Logicmaster 90-70 software
creates files to contain this information.
Teach files are used to store a sequence of keystrokes that may be repeated.
J figure_ap level 1
table_ap level 1
device=xxxxxx.sys bus 16
device=c:xxx/sys bus 16
device=c:xxx.sys <other parameters> bus 16
GFK-0263G J-1
J
FILES=20
You must then reboot your computer in order to activate the new value for FILES in the
modified CONFIG.SYS file. To reboot your computer, press CTRL-ALT-Delete.
If this line already exists, try changing the number to 30 (i.e., FILES=30) and rebooting
your computer.
K Format
figure_ap level 1
table_ap level 1
Note
The ability to import and export CSV files is a Release 6 or later feature.
GFK-0263G K-1
K
D All sections are made up of comma separated variable (CSV) records. Each CSV
record is composed of a list of fields separated by commas. Individual fields may be
enclosed within double quotation marks, and fields that contain commas must be
enclosed within quotes.
D All records in a section must include the same fields, and the fields must be in the
same order in each record. Fields in records may be left empty, but empty fields
must be delimited with commas like all other fields.
D Spaces surrounding the comma delimiters in a record are ignored. To include
leading or trailing spaces in a field, surround the field with quotation marks.
D Records may span one or more lines of text in an SNF file. A line of text in an SNF
file ends with the new line character ( or character sequence) appropriate for the
operating system. The last line of text in the file must include a new line character.
D Any line beginning with a double colon sequence (::) is considered a continuation of
the record started on the previous line. Fields must be contained within a single line,
and their trailing comma delimiter must follow the field on the same line as the field
(i.e., lines of text followed by continuation lines must end in a non-quoted comma).
D Blank lines are not allowed.
D The maximum line size is 2000 characters.
D The maximum record size is 2000 characters not counting continuation characters
and new line characters.
D The maximum number of fields in a record is 100.
D Empty fields are permitted in the Data section, but they must be delimited by
commas.
D If the PT_ID field is empty, the ADDR field must be present and not empty.
D The format of numbers shall be whatever Excel 5.0 uses as a default when creating a
CSV files.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
##&&Cr eator This identifies the program which specified the content of this SNF file.
Three possible values generated by GE Fanuc programs are as follows:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
“CIMPLICITY” or “LOGICMASTER”. Other values for this field will not
cause an error.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
##&&Cr eateDate This specifies the date when this SNF file was created. The date format
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
shall be in the format “(d)d-mmm-yyyy”, for example, 31-MAY-1994,
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
4-NOV-1986, or 11-Sep-1994
##&&ProgDate The date of the creation of the program with which this SNF file is
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
associated. If Logicmaster is creating the SNF file, this field contains the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
date the program was last updated.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
##&&F ileType This identifies what type of data is contained within this SNF. The pos-
sible values for this field are as follows: “I/O” and “I/O_WITH_FAULTS.”
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
(“I/O” is the only value currently implemented; “I/O WITH FAULTS” is
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
reserved for future reference.)
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
##&&DelV arDecl This identifies the blocks for which the Variable Declaration Table should
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
be deleted before the import occurs. The possible values are
“ALLBLOCKS” to delete the Variable Declaration of all blocks, “_MAIN”
ÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
to delete the program’s global Variable Declaration, or the name of the
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
desired blocks can be listed (as in the second example shown below).
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
EXAMPLES
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
#&&DelV arDecl, _MAIN
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
or
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
#&&DelV arDecl, _MAIN, Block1, SLIDE
or
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
#&&DelV arDecl, ALLBLOCKS
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
GFK-0263G Appendix K Variable Declaration Table Import/Export Using Comma Separated Variable (CSV) Format K-3
K
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ Logicmaster
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
Field Name Meaning of This Field Equivalent
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
PT_ID Tag Name of this point * Nickname
ADDR A mnemonic reference to a PLC memory location. Reference
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
DESC
ÁÁÁÁÁÁÁÁÁ
An ASCII string describing what data this point Reference
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
represents. Description
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ
PT_TYPE What type of data is being described by this point No Logicmaster equiva-
lent (I/O is the only valid
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁ entry at this time.)
*There are additional field names used by Cimplicity. For those field names refer to the
Cimplicity documentation. Additional fields which are not supported by the importing
program will be ignored without error.
The field name order as shown in the above table is the preferred order.
Example of an SNF File with All of Variable Declaration Table Selected for Export
##&&Creator, LOGICMASTER
##&&CeateDate,2-June-95
##&&FileType,I/O
PT_ID,ADDR,DESC,PT_TYPE
SNERT,%I00001,Starting point,
I2,%I00002,Begin,
BLIVET,%Q00001,Allowable over,
TIC101,%R00001,Temperature Setpoint 101,
REBLIV,%AI0001,analog input,
DIVOT,%AQ0001,Output,
Example of an Excel Spreadsheet Which Can Be Saved as a CSV for Import into
Logicmaster
After saving this spreadsheet as a CSV file and then importing it into the Variable
Declaration Table, the fields will be the same as the first example shown above.
GFK-0263G Appendix K Variable Declaration Table Import/Export Using Comma Separated Variable (CSV) Format K-5
K
ALT-Z, 2-23
Symbols
Analog input configurable parameters,
%L Memory, special concerns when stor- 11-31
ing or loading, 9-7 Analog output configurable parameters,
%P Memory, special concerns when stor- 11-32
ing or loading, 9-7 Annotation, 1-7, 3-34, 9-3, 9-6
@ symbol for indirect references, 3-131 asterisk, 3-36
comment, 3-34
entering nicknames and reference de-
scriptions, 3-35
A nickname, 3-34
Accepting a rung, 3-110 reference description, 3-34
temporary entries marked with an as-
ADC module, 11-54 terisk invariable declaration table,
configuring an ADC module, 11-54 3-36
Adding an element to the library, 6-34 ASCII characters
Adding an interrupt declaration, 3-74 bit pattern, 4-16
decimal and hexadecimal equivalents,
Address overlap, 11-5 4-15
Alphanumeric display coprocessor mod- ASCII string entry, 4-7
ule, 11-54
Asterisk, 3-36
configuring an ADC module, 11-54
Auto softkey, 8-5
ALT keys, 1-3, 2-22, F-1
Auto-select function, 8-5
ALT-A, 3-33, 3-67, 3-130, 3-142, 3-154, 4-18,
5-13, 6-7, 7-22, 9-4, 9-7, 9-10, 9-12, 10-8, Auto-verify, 7-5
10-17 AUTOEXEC.BAT file, 2-4
ALT-C, 8-12 Automatic folder selection at power-up,
ALT-D, 3-62 8-6
Automatically inserting references, 3-44,
ALT-E, 2-26
3-138
ALT-F2, 3-33, 4-3
ALT-F4, 3-142
ALT-G, 3-148
B
Backing up program folders, 8-8
ALT-H, 1-3
BAS/CCM mode, 11-44
ALT-I, 1-3, 3-27
BASIC mode, 11-44
ALT-K, 1-3
BCD-4, 3-16
ALT-M, 1-8, 2-28, 7-5
BCD-8, 3-16
ALT-N, 3-55, 4-4
Bit, 3-15
ALT-P, 3-130, 10-5
Bit operation functions, 3-9
ALT-Q, 2-23
Block declarations, 3-61, 3-85
ALT-R, 3-148, 5-2 Block edit, 3-148
ALT-S, 2-27, 3-148 Block locking, 3-63
ALT-U, 3-33, 3-62, 3-74, 4-5, 4-13, 4-18, 6-7, displaying the lock status of the pro-
7-22 gram block, 3-69
locking a program block, 3-65
ALT-V, 3-36
permanently locking a program block,
ALT-X, 3-69 3-68
Moving the cursor within a rung, 3-106 forcing and overriding discrete refer-
ences, 3-156
MS-DOS, 1-2
inserting or editing rungs, 3-148
CHKDSK command, 2-6
modifying a reference address or
memory areas defined, 7-9 constant, 3-155
restrictions, 10-5 modifying instructions, 3-153
system memory, 7-9 single sweep debug, 3-148
MS-DOS memory areas substitutions, 3-149
expanded memory, 7-9 Online mode, 1-8, 2-28
extended memory, 7-9
MS-DOS system memory, 7-9 Open space functions, 3-109, 3-117
deleting a column, 3-120
Multidrop configurations, 12-4 deleting a row, 3-121
Multiple standalone programs deleting an instruction, 3-122
inserting, 3-75 moving logic down, 3-119
the Program Declaration screen, 3-75 moving logic right, 3-118
Operation, 2-1
exiting the programming or configura-
N tion software, 2-16
exiting the software, 2-14
Name conflicts, 6-13 keyboard functions, 2-22
keyboards supported, 2-22
Names of program folders, 8-2 keystroke macros, 2-22
Nickname, 3-34 programmer environment setup, 2-15
screen format, 2-25
Nicknames, entering, 3-107 setup package, 2-15
NONE mode, 11-46 software installation, 2-4
standard serial communications version
None mode, 11-110 hardware setup, 2-3
Normal mode, 5-25, 11-10 starting the programming or configura-
tion software, 2-15
NULL (blank) string, 5-7 starting up the software, 2-14
NWORDs teach mode, 2-22
advantage over WORD type, 3-95, 3-98 user command menu, G-1
definition and usage, 3-98 WSI version hardware setup, 2-2
referencing formal parameters within a Ordered programs, program schedule
parameterized subroutine, 3-95 modes, 3-78
Overlapping references, 11-5, 11-124
O Overrides, 4-10
removing overrides, 4-11
OEM protection, 5-7 using overrides, 4-11
U
V
UINT, 3-15
Valid configuration, 11-4
Unbound references, 3-131
entering unbound references, 3-132 Variable declaration table, 3-37
importing with unbound references, automatically inserting references, 3-44
3-135 CSV format files, 3-46
when using the library functions, 6-11 cut/pasting variable declarations, 3-44
deleting variable declarations, 3-43
Unlocking program folders, 8-14 displaying the table, 3-38
Unsigned integer, 3-15 editing variable declarations, 3-41
entering variable declarations, 3-40
Upper memory block, 7-16
exporting CSV files, 3-49
User command menu, G-1 exporting SNF files, 3-49
accessing the user command menu, G-1 identifier table, 3-39
comenu, G-1 importing CSV format files, 3-46
creating a COMENU.PRD file, G-2 importing SNF files, 3-46