Professional Documents
Culture Documents
10 - 2
Configuring the Controller and I/O
Overview
The various hardware components that make up a Series 90-30 PLC
system must be configured by the user prior to being put into use. This
can sometimes mean simply selecting which module will be placed into
which slot of the rack or it can involve detailed configuration data that
must be supplied by the user to ensure that the module functions
properly. Many specialty modules require more indepth configuration
than a standard module. Follow the steps below to configure the
hardware.
HARDWARE CONFIGURATION
1. Select A Power Supply
It is important to select the correct power supply to ensure that the available
input voltage matches and that an overload condition doesn’t exist.
2. Select A CPU Module
The next piece of hardware that is typically selected is the processor
module or CPU. It is important that a processor with enough memory
and I/O capacity is selected for the job being done. Although configuring
a new processor is not difficult from a software perspective, it can get
very costly if the wrong processor was purchased and a new one needs to
be purchased to replace it.
3. Select I/O Modules
For the purpose of this discussion, I/O modules can be separated into
two broad categories, Discrete I/O and Analog I/O.
In either case, it is important to note the starting address and the address
range that is assigned to a particular module. This is important when
trying to determine exactly which terminals on an I/O module a specific
field device is wired to and which memory address corresponds to it.
3a. Discrete I/O
Discrete I/O modules can accommodate many types of discrete devices.
It is important to select modules that support the right voltage range and,
in the case of DC modules, the right logic type to support the field
devices being used.
3b.Analog I/O
Analog I/O modules provide an interface for field devices that either
require or provide analog signals. Analog modules provide inputs and
outputs with continuous values, as compared with digital input and
output modules that have discrete values of ON or OFF. Analog modules
convert digital words to analog signals, or analog signals to digital words,
depending on whether the module is an output module or an input
module.
10 - 3
Configuring the Controller and I/O
Typical analog signal types can be separated into two categories, voltage
and current. The most common voltage signals are –10 to +10 volts, 1 to 5
volts and 0 to 10 volts. The most common currents signals are 4 to 20 mA
(milliamps) and 0 to 20 mA. GE Fanuc analog modules support all of
these. However, as in the case of a 0 to 20 mA signal, there may be a
jumper setting required on the hardware module itself to set the proper
operating range.
10 - 4
Configuring the Controller and I/O
10 - 5
Configuring the Controller and I/O
4. Select the proper power supply from the Module Catalog window.
10 - 6
Configuring the Controller and I/O
Once the power supply is selected, the Parameter Editor window opens.
This tab shows the power supplied to the rack, and the power consumed
by devices on the rack for each of the voltages supplied by the Power
Supply. The values on this tab are not editable and are provided for
information purposes only. The units on this tab are displayed in Watts.
More detailed information is provided in the Power Supply properties,
which are displayed in the Inspector window. The information in this
window can be viewed by scrolling up/down using the scroll arrows.
10 - 7
Configuring the Controller and I/O
CPU CONFIGURATION
6. Next, configure the CPU. Click on the next node, labeled Slot 1, to
select it. When the target was added to the project, a 364 CPU was
selected as the default.
7. If the CPU being used is a 364, then right click on the node and select
Configure. Otherwise, jump to the section for the CPU 351 & 352.
10 - 8
Configuring the Controller and I/O
8. The first tab is labeled Settings. Accept the default settings for this
tab. Descriptions of these parameters are detailed below.
10 - 9
Configuring the Controller and I/O
10 - 10
Configuring the Controller and I/O
9. Click on the next tab labeled Scan. Accept the defaults in this tab.
Descriptions of these parameters are detailed below.
Scan Tab
Parameters listed in this tab are supported by 90-30 CPUs Revision 4.0 or
higher. Do not modify these fields for older CPUs or you will not be able
to store to the PLC CPU.
Parameters in the Scan tab can be modified to customize CPU sweep
execution. The sweep mode determines the priority of tasks the CPU will
perform during the sweep and defines how much time is allotted to each
task.
Sweep Mode: Allows you to define how the sweep timer will operate.
Valid choices: Normal and Constant. The default mode is Constant. If
Sweep Mode is set to Normal, the CPU sweep executes as fast as possible.
The overall PLC sweep time depends on the logic program and the
requests being processed in the windows and 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. If Sweep Mode is set to Constant, the CPU sweep is fixed at the
value set for Sweep Timer. 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 in the sweep
timer field.
Sweep Timer: For Constant Sweep, type a value from 5 to 500
milliseconds. The default is 100 milliseconds. If the value typed is not in
this range, it will be displayed in the Error Color. If you use Auto Correct
to correct the value, it will be rounded to the next highest values allowed
by the system. This value cannot be greater than the value for the
watchdog timer. This parameter does not apply (N/A) if Sweep Mode is
configured for Normal.
10. Click on the next tab labeled Memory. Accept the default settings in
this tab. Descriptions of these parameters are detailed below.
10 - 11
Configuring the Controller and I/O
Note
This tab will only be present for a 364 CPU.
Some of the parameters in this tab require new values. An explanation of
these parameters is given below along with which values need to be
changed.
10 - 12
Configuring the Controller and I/O
Note
Do not use the IP Address shown in the window. The
instructor will assign IP Addresses to be used.
Subnet Mask: Defaults to 0.0.0.0. To change this setting, right click in the
Values field next to the Subnet Mask Parameter and select Data Entry Tool.
10 - 13
Configuring the Controller and I/O
Note
Do not use the Subnet Mask shown in the window. The
instructor will assign the Subnet Mask to be used.
Gateway IP Address: Defaults to 0.0.0.0. Leave this field blank.
Name Server IP Address: Defaults to 0.0.0.0. Leave this field blank.
Status Address: The location of the LAN Interface Status (LIS) bits and
the Channel Status bits. The LIS bits comprise the first 16 bits of the Status
Address. The Channel Status bits are the last 64 bits of the Status
Address. The Status address can be assigned to %I, %Q, %R, %AI or %AQ
memory. The default is the next available %I address.
Note
Do not use the 80-bits assigned to the LIS bits and Channel
Status bits for other purposes or your data will be overwritten.
The Ethernet Interface in the 364 CPU uses some of the discrete input bits
by default. Because no discrete input modules have been configured yet,
the next available %I address is %I00001. That means that discrete inputs
1 through 80 (16 LIS bits plus 64 Channel status Bits) have been reserved
for use by the Ethernet Interface. If this is left unchanged then the first
discrete input module that is configured will have a beginning address of
%I00081. This is not practical because, typically, users expect the first
discrete input module to begin with address %I00001.
12. The range of discrete addresses that the Ethernet Interface will use
can be changed by right clicking in the Values field next to the Status
Address parameter and selecting the Data Entry Tool.
10 - 14
Configuring the Controller and I/O
Slider
The beginning address for the range of addresses that will be used can be
selected by using the slider beneath the Status Address field or by using
the up and down arrows next to the field.
The field displaying %I shows
the current memory type that is
selected. Clicking on the arrow
next to this field allows a
different memory type to be
chosen.
13. Click on this arrow to view
the available memory
types. Do not change the
selection.
10 - 15
Configuring the Controller and I/O
Status Length: This is the sum of the LIS bits and the Channel Status bits.
This value is automatically set to either 80 bits (for %I and %Q Status
address locations) or 5 words (for %R, %AI, and %AQ Status address
locations).
Network Time Sync: NONE - this is the default setting. It indicates that
the timestamp value for consumed EGD exchanges will be obtained from
the producing PLC's local clock. Timestamps of exchanges produced by a
PLC with this setting (NONE) will not be in synchronization with the
timestamps of exchanges produced by other PLCs. Accept the default
value.
AAUI Transceiver Power (Watts): Allows you to account for the power
consumption added by the AAUI transceiver attached to the Ethernet
module. The valid range is 0.0 to 2.0. Default is 2.0. Accept the default
value.
The next two tabs are labeled RS-232 Port (Station Manager) and RS-232
Port (ENET S/W Load). The settings here affect only the RS-232 Port,
labeled Port 1 on the front of the CPU module, the port labeled Port 2 is
set for RS-485 SNP communications and cannot be changed. These
settings can be left at their default values. However, an explanation of the
various parameters is given below.
10 - 16
Configuring the Controller and I/O
10 - 17
Configuring the Controller and I/O
16. The following warning appears. Click the Yes button to continue.
17. The next window asks if you wish to keep the settings that are
common to both the existing CPU module and the new CPU module.
Click the Yes button to continue.
The Parameter Editor window opens for the new CPU module.
10 - 18
Configuring the Controller and I/O
Port 2 Window.
Port Mode: The mode of communication being used for each port. The
choices are DISABLED, SNP, RTU ONLY, and Serial I/O. The default is
SNP. The rest of the parameters vary based on which Port Mode is
selected.
10 - 19
Configuring the Controller and I/O
10 - 20
Configuring the Controller and I/O
10 - 21
Configuring the Controller and I/O
10 - 22
Configuring the Controller and I/O
19. In the Module Catalog window, select the tab labeled Discrete Input
and scroll down and select the IC693MDL654 module.
Parameters
The following parameter descriptions are grouped by Parameter Editor
tab.
Settings Tab
Defines reference address and length for the discrete input module being
configured.
Reference Address: Defaults to the next highest unused %I reference. Use
the default or type a starting reference address for the input module. For
some modules, a typed-in address that is not on a byte boundary (such
as, %I00001, %I00009, %I00017, %I00025, etc.) will be changed by the
software to the nearest byte boundary. Accept the default setting.
Length: Shows the number of bits allocated for the input module (8, 16, or
32, depending on the module type). This is a status-only field and cannot
be modified.
10 - 23
Configuring the Controller and I/O
Wiring Tab
Provides a facility for adding descriptive wiring information relative to
each point on the Module. These can be left blank for lab.
Note
This information is not stored in the PLC, but is retained in the
Hardware Configuration folder for future reference.
Power Consumption Tab
Shows the power consumed by this I/O Module. The values on this tab
are not editable and are provided for information purposes only. The
units on this tab are displayed in Watts.
A summary of power consumed by rack modules is provided in the
Power Supply properties, which are displayed in the Inspector window.
10 - 24
Configuring the Controller and I/O
24. In the Module Catalog window, select the tab labeled Analog Input
and select the IC693ALG220 module.
The Parameter Editor window opens.
The IC693ALG220 is a 4 - Channel Analog Voltage Input module
providing four input channels, each capable of converting an analog
input signal to a digital signal for use as required by the application. The
Analog Voltage
Input module is
capable of
converting inputs
in the range of –10
to +10 volts.
Conversion speed
for each of the four
channels is one
millisecond. This
provides an update rate of four milliseconds for any channel. Resolution
10 - 25
Configuring the Controller and I/O
of the converted signal is 12 bits binary (1 part in 4096). The tabs in this
window serve the same purpose as the tabs for the discrete modules.
View the default values and continue. No changes need to be made.
26. In the Module Catalog window, select the tab labeled Analog Output
and select the IC693ALG390 module.
10 - 26
Configuring the Controller and I/O
The Parameter editor window opens. The default values will be used here
as well. However, the Settings tab has one extra parameter that is not
used for the other I/O modules. This parameter is explained below.
External Power Supply >26.5 Volts:
This parameter is
used to set the
Power Consumption
value. If the
parameter value is
NO, the 24VDC
Isolated Power Consumption value is fixed at 2.88 (.120 * 24) for all
Analog Modules except the ALG391 whose value is fixed at 5.16. If the
parameter is YES, then the 24VDC Isolated Power Consumption value is
fixed at 0.
Note
The module still uses 5VDC power from the rack mounted
power supply to communicate to the CPU module over the
backplane.
View the default settings and continue.
10 - 27
Configuring the Controller and I/O
The parameters in the Settings tab and their settings are listed below.
Ethernet Interface Module (IC693CMM321) Settings Tab
Configuration Mode: Configuration mode is fixed at TCP/IP. This is the
only mode supported by this module.
Status Reference Type: The location of the LAN Interface Status (LIS) bits
and the Channel Status bits. The LIS bits comprise the first 16 bits of the
Status Address. The Channel Status bits are the last 64 bits of the Status
Address. The Status address can be assigned to %I, %Q, %R, %AI or %AQ
memory. The default is the next available %I address.
Note
Do not use the 80-bits assigned to the LIS bits and Channel
Status bits for other purposes or your data will be overwritten.
10 - 28
Configuring the Controller and I/O
The Ethernet Interface Module uses some of the discrete input bits by
default. Because a 32 point discrete input module has been configured ,
the next available %I address is %I00033. That means that discrete inputs
33 through 112 (16 LIS bits plus 64 Channel status Bits) have been
reserved for use by the Ethernet Interface. If this is left unchanged then
no discrete input modules will be able to use this range of addresses. This
is not practical because, typically in a rack system there are more than 32
discrete inputs. Skipping this range of addresses when setting up another
discrete input module would only make matters confusing for personnel
that need to maintain and troubleshoot the system in the future. The
range of discrete
addresses that the
Ethernet Interface
Module will use
can be changed by
right clicking in
the Values field
next to the Status
Address
parameter and
selecting the Data Entry Tool.
29. In the Status Address window, set the
beginning address to %I01009 and click on
the OK button to continue.
Status Length: This is the sum of the LIS bits and
the Channel Status bits. This value is
automatically set to either 80 bits (for %I and %Q
Status address locations) or 5 words (for %R,
%AI, and %AQ Status address locations).
10 - 29
Configuring the Controller and I/O
IP Address:
Defaults to 0.0.0.0.
30. To change this
setting, right
click in the
Values field
next to the IP
Address
Parameter and
select Data
Entry Tool.
31. The IP Address window opens allowing a new address to be entered.
After entering the IP Address, click the OK button to continue.
Note
Do not use the IP Address shown in the window. The
instructor will assign IP Addresses to be used.
Subnet Mask: Defaults to 0.0.0.0.
32. To change this setting, right click in the Values field next to the
Subnet Mask Parameter and select Data Entry Tool.
Note
Do not use the Subnet Mask shown in the window. The
instructor will assign the Subnet Mask to be used.
10 - 30
Configuring the Controller and I/O
10 - 31
Configuring the Controller and I/O
Turnaround Delay (mSec): Turnaround delay time to be used for the CCM
on the port. Choices are None, 10, 100, or 500 milliseconds. Default: None.
Timeout (Sec):
Length of timeouts
used for SNP on
the port. Choices
are Long, Medium,
Short, or None.
Default: Long.
All of these
settings can be left at their default values.
10 - 32
Configuring the Controller and I/O
35. Next, stop the PLC. Right click on the target and select Offline
Commands, Stop PLC.
10 - 33
Configuring the Controller and I/O
AVOIDING ERRORS
Note
This section is placed here as
information only. Do not actually enter
any of the values in these steps.
If the starting address that is entered This value will be red
includes a range of addresses that are
already in use by another module, the
values will turn red. In the window below,
selecting %I00001 as the starting address
causes the address to turn red. This will
result in a configuration error if this
address is actually selected.
If the OK button is clicked with this selection, the value in the Parameter
Editor window also appears in red.
10 - 34
Configuring the Controller and I/O
This denotes a
configuration
If a module is configured for the wrong slot, the download will still be
allowed. However, a non-fatal fault will be recorded in the I/O Fault
Table.
EXAMPLE
If the Ethernet Interface Module configuration were accidentally
configured for Slot 10 instead of Slot 9 where the module is actually
installed, this would cause such a fault.
If this configuration is then downloaded to the PLC, the I/O fault table
Module configuration
placed in wrong slot
10 - 35
Configuring the Controller and I/O
The I/O Fault Table actually shows 2 faults. It shows an Addition of I/O
Module fault for Rack 0, Slot 9. This means that there is a module in Slot 9
for which no configuration exists. It also shows a Loss of I/O Module
fault for Rack 0, Slot 10. This means
that a configuration exists, but the
module is missing from the rack.
These are non-fatal faults and
would not stop the PLC from
running. However, the Ethernet
Interface Module, which is actually
in Slot 9, wouldn’t be available for
use until the error is corrected.
10 - 36
Configuring the Controller and I/O
43. Select the file to be imported and click on the Open button to proceed.
10 - 37
Configuring the Controller and I/O
The report opens in the Info Viewer window. The report can be viewed
here by scrolling down through it using the arrow scroll buttons.
Scroll through
the report
45. To print the report that is in the Info Viewer window, select File,
Print.
Note
If the Print option is grayed out, click the mouse in the Info
Viewer window and repeat the above steps.
Also, please note that you must have a printer configured in
Windows to be able to print out this report.
10 - 38
Configuring the Controller and I/O
Review
In this module you have learned how to:
Configure a Series 90-30 CPU Module;
Configure I/O Modules for a 90-30 system;
Correlate physical I/O with data points in the controller;
Identify and correct configuration errors;
Export the hardware configuration file;
Print a configuration report.
10 - 39