Peer Control Data Interface Implementation Guide EXDOC-XX84-en-110
Peer Control Data Interface Implementation Guide EXDOC-XX84-en-110
Release 110
Honeywell
Notices and Trademarks
While this information is presented in good faith and believed to be accurate, Honeywell disclaims
the implied warranties of merchantability and fitness for a particular purpose and makes no
express warranties except as may be stated in its written agreement with and for its customers.
In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The
information and specifications in this document are subject to change without notice.
®
Honeywell Experion PKS, Experion LX are registered trademarks of Honeywell International Inc.
Scope
This Guide provides information about using the licensed Peer Control Data Interface
(PCDI) function to interface Safety Manager or third-party peer devices supporting
MODBUS TCP communications with the Experion LX C300 Controller. It includes
planning, installing, configuring, operating, and troubleshooting type data as well as
some general conceptual type data to help understand the purpose of the PCDI function.
Intended audience
Personnel who are responsible for interfacing Safety Manager or third-party peer devices
for peer-to-peer communications through the peer control data interface with Experion
LX control strategies.
Prerequisite skills
• Familiar with working in a Windows operating environment.
• Familiar with using these Experion LX applications:
− Configuration Studio
− Control Builder
− Station
− Safety Manager
− Safety Builder
• Familiar with MODBUS TCP communications protocol.
Release Information
Document Name Document Release Publication
ID Number Date
Document Category
Configuration
References
The following list identifies all documents that may be sources of reference for material discussed
in this publication.
Document Title
In Operator's Guide
Symbol Definitions
The following table lists those symbols used in this document to denote certain conditions.
Symbol Definition
Symbol Definition
Tables
Table 1 Device Supported Commands......................................................................... 46
Table 2 Start index ranges define MODBUS function .................................................. 67
Table 3 Description of Figure 5 Callouts. ................................................................... 100
Table 4 Peer Device Text Description ........................................................................ 101
Table 5 Status Icon Description .................................................................................. 106
Table 6 Peer Control Data Interface Event Subtypes ................................................ 108
Figures
Figure 1 Typical C300 Controller Peer Control Data Interface Topology with Redundant
Safety Manager .......................................................................................................16
Figure 2 Typical C300 Controller Peer Control Data Interface Topology with Third-Party
MODBUS TCP Devices and Bridge ........................................................................17
Figure 3 Simplified PCDI block architecture and signal path ........................................19
Figure 4 Sample Block Pin Configuration for Whole Array Access. ..............................52
Figure 5 Sample PCDI Master Device Detail Display .................................................100
Figure 6 Example View of Last Error on Channel Status Tab in Station ....................104
Figure 7 Typical System Component Tree View.........................................................105
Figure 8 System Status Display Alarm Pane ..............................................................107
REFERENCE - EXTERNAL
For more information about MODBUS TCP and MODBUS protocols, visit the
MODBUS organization web site.
Figure 1 Typical C300 Controller Peer Control Data Interface Topology with
Redundant Safety Manager
A peer device connects to either the Yellow or Green side of the FTE network, as shown
in the following figure. For redundant devices, the common connection configuration is
the Yellow side to the primary device and Green side to the secondary device. For
MODBUS remote terminal unit (RTU) peer devices on a serial line connected to a
MODBUS TCP peer Bridge, either FTE side connects to the bridge.
Figure 2 Typical C300 Controller Peer Control Data Interface Topology with
Third-Party MODBUS TCP Devices and Bridge
Description
Block Name and Icon
Blocks. Each peer bridge handles up to 16 serial MODBUS RTU connections. The actual
total number of devices supported may be restricted by the system license details. See the
following Checking License Details section for more information.
REFERENCE - INTERNAL
Refer to the Safety Manager integration Guide for more information about
integrating Safety Manager with C300 Controller.
Scheduling The PCDI_MASTER block is executed for every basic cycle (50
milliseconds) prior to the execution of any Control Modules. Each
PCDI_MASTER block has its own EXECSTATE. The EXECSTATE is
Inactive when the block is loaded. You set the EXECSTATE to Active
the same as you would a Control Module after loading.
The PCDI Array Request Channel block runs in either the triggered or
auto-triggered mode. In triggered mode, the block submits a request on
the positive transition of the input trigger flag. In auto-triggered mode, the
DONE flag is internally looped back to the trigger to provide the fastest
update rate possible. In this mode, the block is capable of refreshing
data at the same rate as the execution cycle of the containing CM -
limited by the response time of the addressed device
Alarming The PCDI_MASTER block serves as the notification detector for all
PCDI related alarms. The alarms are classified as System Diagnostic
Notification ones that map to the System Alarm category with condition
name of DIAG on Experion LX Alarm Summary, System Status Display
and Event Summary on Station.
The PCDI Array Request Channel blocks will report channel alarms
through the PCDI_MASTER block it is attached to. If an alarm condition
no longer exists or the block becomes inactive or it is deleted, channel
alarms will return to normal.
Checkpointing The PCDI_MASTER block and PCDI Array Request Channel blocks
supports the standard checkpoint saves and restores functionality. See
the PCDI Support for Checkpoint Save/Restore functions section for
more details.
Whole Array The PCDI Array Request Channel blocks are designed to read or write
Access array data. Array data are accessible on a single exposed pin as whole-
array data, or on an individual pins specified by array index.
Read/Write The PCDI Array Request Channel block data parameters can be
exposed as either Input or Output pins on the channel blocks. The
parameters can also be referenced by name without the pin being
exposed. When used as input pins or referenced by parameter name,
the block "Pull" the data from the connected block, and write the data to
the associated end device. When the pin is used as an output pin or
referenced by parameter name, the data is read from the end device and
is made available to the connected block. An operator can also modify
the data by overwriting values in the Monitoring view.
All PCDI Array Request Channel blocks read data from the assigned
address range. Blocks that perform writes will first write and then read
the data. The DONE parameter will not be true until both the read and
write part of the cycle are performed. Any errors during the read part of
the cycle results in a BADPV. Any error during either the write or the
read sets the ERRORCODE with the error reason. The ERRFL flag
indicates whether the error condition is still active. The ERRFL turn off
when a successful write/read cycle has completed. Since the last error
message is never cleared, even after a successful read or write, users
must always check the error flag first to confirm that there really is an
error.
Array Read The read of Modbus arrays configured in PCDI Array Request Channel
blocks occur on the rising edge of the trigger input. If the
AUTOTRIGGER configuration parameter is set, then the next read will
occur in the next CM period if the done flag was returned before the
beginning of the next cycle. The done flag is tested at the beginning of
the cycle and the read is performed, if the flag is set. The maximum
array sizes are all designed to be delivered in one MODBUS TCP
packet. The data returned is formatted according to the data type
defined by the address range of the PCDI Array Channel block.
• List of MODBUS RTU devices and key properties that will be mapped to the PCDI
Array Request Channel blocks.
• MODBUS RTU devices are addressed from 1 to 247 and 255. A value of 0 (zero)
indicates no device is configured (removes the device). Addresses 248 to 254 are
reserved.
• You can configure the PCDI_MASTER block to represent a MODBUS TCP Bridge
that can support a maximum of 16 MODBUS RTU devices.
The device data being read may change The WriteOnDiff selection is the best
independent of values written, and it is function.
desired to force the device value to the
C300 Controller1
Number of Serial MODBUS RTUs per 128 maximum (16 devices maximum per
C300 Controller MODBUS TCP Bridge times 8 MODBUS
TCP Bridges maximum per C300
Controller.)
MODBUS3
Maximum Packet Size for Reads 256 bytes for all function codes (The
request packet is 6 bytes long.)
Maximum Packet Size for Writes 256 bytes (The acknowledgement packet
is 6 bytes long.)
Notes:
1
The use of write on change or write on difference for arrays of flags or numerics will
have an effect on C300 performance due to the number of requests that will be
queued. The individual elements of the array that change will each generate a request.
The calculation of the impact on the C300 execution units must include the maximum
number of writes that will occur for array writes. To minimize the C300 impact, write
always for arrays should be used. However, this will have a negative impact on serial
MODBUS connections due to the write of data that is identical to what is already in the
MODBUS device.
2
Assumes that performance will be similar to Exchange block requirement of 8 XUs
(exchange units) per message per second.
3
The use of write on change or write on difference for arrays of flags or numerics will
have an effect on performance due to the number of requests that will be queued. The
individual elements of the array that change will each generate a request. The
performance of the low speed MODBUS serial bus will be impacted by the write of a
whole array where only some elements change.
Maximum Number of parameters that can be Written to 592 bytes per cycle 2
Safety Manager from C300 (block writes exclusively)
Bandwidth usage formulas for a mixture of single writes See equations below
and block writes (time and size are the key constraints) table
Notes:
1
Safety Manager mutli-processor architecture enables support of an unlimited number
of reads.
2
"Cycle" refers to the Safety Manager application cycle.
To avoid overruns, writes to Safety Manager must be kept within the following limits:
Where:
Function Consideration/Restriction
Network You may connect peer devices to Level 2 configured FTE network ports,
Connection just as you would do for Experion LX server or console. You must
configure the devices for 100 megabit full duplex operation. Avoid using
bridges or end devices that can only run at 10 megabits. For redundant
bridges or end devices, we recommend connecting one device to the
Yellow switch side and one to the Green switch side of FTE. If devices
have built in network redundancy, connect one cable to Yellow and one
to Green.
Be aware that the current Safety Manager (SM) is a Non-FTE node. This
means that SM may demonstrate single node connection behavior in a
redundant topology in response to a FTE network problem, such as a
break in the crossover cable.
Serial MODBUS You must connect serial MODBUS RTU devices on a serial bus, such as
RTU Connections RS232, RS422/RS485 full duplex, or RS485 half duplex, to the C300
MODBUS TCP subsystem through a bridge device. You must connect
these devices in a daisy chain manner. A terminator may be required
possibly at each end depending on the number of devices and the total
length of the connecting cables.
Considerations
• You can only view PCDI_MASTER blocks in the Project tab set for Assignment
view. The Assignment view shows the relationship among all blocks while the
Containment view only shows templates that contain other templates or Control
Modules (CM), Sequential Control Modules (SCM), and basic blocks. To toggle the
view, right-click in an open area of the tab window and select Assignment View or
Containment View from the list, as applicable.
• Each PCDI_MASTER block is automatically assigned a unique default tag name
when it is created. If your system will include multiple PCDI_MASTER blocks, you
may want to adopt a more structured syntax for naming them.
• The block tag or module name must be unique to identify the block in the system. It
must contain at least one letter (A-Z) and can be up to 16 characters long. Note that
most special characters (such as +, \, =, /, #, etc.) and spaces are not allowed
• The item name can be up to 40 characters long and must contain at least one letter
(A-Z). It is a name by which an entity is known within the context of the enterprise
model. The Item name must be unique among children of the same containment
parent in the Simplified Enterprise Model Builder hierarchy and must conform to the
standard convention names within the system.
• The module description text can be up to 132 characters long and appears both on
detail and group displays.
• The PCDI_MASTER block icon changes appearance in Project, based on the device
type it is configured to represent.
• The current Peer Control Data Interface function does not support MODBUS end
device configuration.
• The Keep Alive functionality is a TCP setting that attempts to use the same socket
connection for multiple requests. Keeping socket connections in use instead of
releasing them after use can result in reduced network traffic.
• For redundant peer devices, the same Unit ID is applied to both the primary and
secondary devices.
• The Unit ID field carries the MODBUS slave address of the remote device, when
addressing a device on a MODBUS+ or MODBUS serial line sub-network through a
Bridge. It identifies the slave device connected on the sub-network behind the
bridge. The destination IP address identifies the bridge itself and the bridge uses the
MODBUS Unit ID to forward the request to the right slave device.
• The PCDI_MASTER block initiates connection attempts and monitors device
connection state. It establishes connections to the configured primary and secondary
devices by setting the desired connection state and signaling the Requestor task
when a connection activity is required. It monitors the status of pending requests for
the Unit IDs configured for its MODBUS TCP device. The PCDI_MASTER
controls retries of pending requests as well as times out the request once all retries
have failed.
• The PCDI_MASTER block monitors a timestamp value for each configured
MODBUS Unit ID. The timestamp is updated whenever there is a request sent for
the specific unit. If the elapsed period from the last activity to the current time
exceeds the LOOPRATE parameter time, the PCDI_MASTER block submits a
diagnostic request. This requires one request per serial device be allocated by the
PCDI_MASTER block during initialization.
• The following table summarizes how Test Mode (LOOPMODE) and Data Change
(LOOPDATACHG) parameter configuration combine to determine how data is
evaluated.
Step Action
1 On the Library tab, click the plus sign for the PCDI library to expand the tree.
Drag and drop the PCDI_MASTER block icon from the library to the Project
tab.
2 In the open Name New Function Block(s) dialog, you can either:
• Type a new Tag Name in its Destination box and/or a new Item Name in
its Destination box and click the Finish button to close the dialog and
save the name changes. Or,
• Click the Finish button to close the dialog and accept the default Tag
Name and blank Item Name entries.
Step Action
3 Check if the PCDI_MASTER block icon is present in the Unassigned
directory in the Project tab.
Step Action
1 Right-click the named PCDI_MASTER block icon and select Module
Properties from the list to call up the block's Properties form for
configuration.
• You can skip Steps 2 and 3, if you have already entered the desired
Module Name and Item Name for the device.
2 If you want to change the default module name, double-click the Module
Name box to highlight it and type the module name. Click the cursor in the
Item Name box. Otherwise, go to Step 3.
3 Place the cursor in the Item Name box, type the name of the item to which
this object will be associated in the Simplified Enterprise Model Builder
hierarchy.
Step Action
7 Click the <Tab> key to move the cursor to the Primary TCP Port (PRIMTCP)
box. All MODBUS/TCP application data unit (ADU) are sent through TCP to
registered port 502. The default value is 502.
8 • If you have selected a single (non-redundant) device type, you can skip
this step.
• Place the cursor in Secondary IP Address (SECIP) box, type the IP
address of the redundant device this block represents. This address must
be different than one used for the primary IP address (PRIMIP). (Only
available when redundant device type is selected.)
9 • If you have selected a single (non-redundant) device type, you can skip
this step.
• Click the <Tab> key to move the cursor to the Secondary TCP Port
(SECTCP) box. The default value is 502. (Only available when redundant
device type is selected.) An error message appears, if an invalid number,
such as zero (0), is entered. A zero value cannot be stored to the
database.
10 • If you have selected a single (non-redundant) device type, you can skip
this step.
• Click the down-arrow button in the Connection to use (CONTOUSE) box
and select the desired connection to use. The default selection is AUTO,
so either the primary or secondary connection is automatically selected
based upon a device failover.
TIP
In the Monitoring mode, you can use the CONTOUSE selection to force a
specific connection. For example, you can select Secondary and it will be the
only connection used while the primary is disconnected and disabled in this
mode. This can be useful when performing maintenance on network or end-
device equipment. An event is issued to indicate that an alternate connection
is disabled. No other channel or device failures are reported, and active
events at the time of the change become inactive.
Step Action
11 The Connection in use (CONINUSE) box is read only and only applies for
redundant devices.
12 • If you have selected a single (non-redundant) device type, you can skip
this step.
• Click the down-arrow button in the Preferred connection to use
(PREFERREDCONN) box and select the preferred connection to use
when the CONTOUSE parameter is set to Auto. The default selection is
Primary.
13 • If you have selected a single (non-redundant) device type, you can skip
this step.
• With cursor in the Connection Switch Period (sec)
(REDSWITCHPERIOD) box, key in the desired switch time in seconds.
14 Select the Use Keep Alive check box to enable the option or clear the check
box to disable the option. The default selection is checked or enabled.
TIP
• If Device Type setting is Single or Redundant Safety Manager, all Slave
Configuration parameters are set automatically to the optimal settings.
• Users with Engineer access level or above can change the Slave
Configuration parameter values, except for UNITID and supported
commands, in the Monitoring mode.
15 Click the Slave Configuration tab to display it.
Step Action
16 With cursor in Max Request Retries (REQRTRY) box, type the number of
retries from 0 to 10. The default is 1.
The numbers of retry counts the MODBUS device driver attempts after a
failed read or write. Each failure is recorded. A value of zero automatically
reports a timeout with no retries. This value is used for all serial devices,
unless overridden by a serial device.
17 With cursor in Per Slave Requests (MAXUIDREQ), type the maximum
number of active requests to a serial device from 1 to 64. The default is 1.
The maximum number of active requests to a serial device. An alarm is
generated if a device exceeds the active request per serial device.
18 With cursor in Max Transactions (MAXPENDREQ) box, type the maximum
number of transactions for a PCDI_MASTER block between 1 to 64. The
default is 1 or 2 for redundant device/Safety Manager.
Once the maximum amount of transactions has been exceeded, an alarm is
generated upon the next transaction. Transactions that exceed the maximum
number of transactions will be ignored.
19 With cursor in Message Delay (ms) (MSGDELAY) box, type the delay period
in milliseconds. The default is 0.
(The Message Delay is the period between the last responses received from
the target device and the next request sent to the device.)
20 With cursor in Rate (ms) (LOOPRATE) box; type the period between testing
each end device in milliseconds. The default is 1000 milliseconds for native
MODBUS TCP devices or 500 milliseconds for Safety Manager.
Step Action
21 • Click the down arrow in the Type (LOOPTYPE) box and select the function
from the list. The default is Diag Loopback or Diag Register for Safety
Manager.
Step Action
24 Click the down arrow in the Data Change (LOOPDATACHG) box and select
function from the list. The default option selected is No Change.
Step Action
• Click the cursor in the appropriate grid field to make entries and activate
down arrow buttons to make selections, as applicable. A RED cell
indicates that the Unit ID has no configured commands and is in error.
Step Action
TIP
Do not select commands that the device does not support. This prevents
unsupported commands from being issued and avoids lengthy timeouts that
result in decreased performance and connection reconnects. Safety
Manager Commands are automatically configured.
27A • Select a given device in the grid and click the Edit Commands button to
call the Configure Device dialog. Select the required commands for the
selected device.
• Ensure to enter the configuration data for each device connected to the
bridge.
• Go to Step 29.
Step Action
27B Optional
You can enter values in the grid fields to override the default behavior of the
values configured in Steps 15 to 26.
28 The Slave Configuration tab for Safety Manager or a MODBUS TCP device
type includes the Unit ID box and Command list box for configuring details
about the device.
• With the cursor in Unit ID (UNITID) box, type the device index number
between 1 to 247 or,1to 255 for the device the block represents. The
default is 255 for native device or 1 for Safety Manager.
• Select the desired commands for the device in the Command list box. Use
the Select ALL or De-Select All buttons, as applicable. See the next
section Device Supported Commands for more information.
Step Action
29 • Click the Module Statistics tab.
• The parameters on this form are read only, except for the RSTERRCNT
button, in the Monitoring mode that is not configurable in the Project.
31 • Click the Channel Status tab.
• The parameters on this form are read only, except for the
CHANRSTSTATS button, in the Monitoring mode that is not configurable
in the Project.
32 • Click the Server History tab.
• Use this tab to configure desired history parameters and create or edit
server scripts. See the Control Building Guide and/or the online help for
more information.
33 • Click the Server Displays tab.
• Use this tab to configure parameters associated with Station displays. See
the Control Building Guide and/or the online help for more information.
34 • Click the Control Confirmation tab.
• Use this tab to configure parameters associated with the licensed template
option. See the Control Building Guide and/or the online help for more
information.
36 When you finish entering the configuration data, click the OK button to close
the configuration form and save the data.
Step Action
37 This completes the procedure To configure the PCDI_MASTER block in
Project.
Considerations
• All illustrations used in the following procedure are for example purposes only.
• You can drag and drop the PCDI_MASTER block into the required CEEC300 folder
in the Project tree instead of using the Execution Environment Assignment dialog
box, as outlined in the following procedure.
Step Action
Step Action
1 On the Edit menu, click Execution Environment Assignment; or click the
Step Action
5 Check that the PCDI_MASTER block appears in the Assigned Modules list
box for the given CEE block, as shown in the following sample illustration.
Note that the equal symbol prefix means that the block has been assigned
and the down arrow symbol prefix means that the block has been loaded
to the Controller.
6 Click the Close button to exit the dialog and save the assignments.
7 This completes the procedure of assigning PCDI_MASTER block to CEE .
Considerations
• The following procedure adds a PCDI Numeric Array Request Channel
(PCDINUMARRCH) block to a CM and assigns a channel to a PCDI_MASTER
block for example purposes only. You can easily adapt this procedure to apply to a
PCDI Flag Array Request Channel (PCDIFLAGARRCH) block or a PCDI Text
Array Request Channel (PCDITEXTARRCH) block.
• Each PCDI Array Request Channel block is automatically assigned a default tag
name when it is created, which must only be unique within the containing Control
Module. If your system includes multiple Array Channel blocks, you may want to
adopt a more structured syntax for naming them.
• The request block channel name can be up to 15 characters long and must contain at
least on letter (A-Z). It must not contain an embedded space or leading space, and
dots are allowed in parameter naming only.
• You must either use the WriteAlwaysWriteOnly or WriteOnChgWriteOnly Write
Option (WRITEOPT) selection when configuring communications for a Safety
Manager device. This avoids the possibility of wrong values being sent back as a
result of a read carried out directly after a write.
• The Array Request Channel blocks are designed to read or write array data. Array
data are accessible on a single exposed pin as whole array data, or on individual
pins specified by array index, which is configurable through the Block Pins tab on
the Array Request Channel block configuration form. A sample block pin
configuration is shown in the following illustration.
• You are responsible for verifying that the correct MODBUS addresses are
maintained between request and device blocks. There is no design time validation to
verify the following:
− The PCDI_MASTER Block device identifiers are synchronized with the Array
Request Channel block device identifiers.
− The valid addresses are provided for devices.
• For PCDI_MASTER block to appear in the drop-down list on the Array Channel
block's configuration form, the Control Module containing the Array Channel block
must be assigned to the same CEE as the PCDI_MASTER block or both be
unassigned in the Project.
• All illustrations used in the following procedure are for example purposes only.
Step Action
1 In the Project tab, double-click Control Module icon to include an array
request channel block, to open it in the Control Drawing pane, as shown in
the following sample illustration.
Step Action
2 In the Library tab, select and expand the PCDI icon tree.
You can also select the tag name in the following ways.
• Select Library mode and type the initial characters of the tag name.
a) Type the initial few characters of the tag name in the Search Option
toolbar. A list of all matching tag names appears.
If the tag exists, the tree expands and the specified tag name is highlighted.
For more information on searching the tags, see Control Building User's
Guide.
Step Action
3 Click and drag the PCDINUMARRCH icon block to the open CM in the
Control Drawing to add the block to the CM, as shown in the following sample
illustration.
Step Action
Step Action
5 Accept the highlighted default Channel Name or key in a type a new one.
6 Double-click the Execution Order in CM box and type the number in
multiples of 10 to define the execution order of the block in the CM.
Step Action
7 Click the down arrow in the Master Block Name box and select the
PCDI_MASTER block to be associated with this channel.
8 In the Channel Number list box, click the channel number for which the array
request channel block needs to be assigned. Channel 0 is the lowest
available channel number is the default selection.
9 Click the Assign Request Block button to assign the channel to the selected
channel number. The Requestor Name field, the Assigned to Master and
Assigned to Channel fields are automatically updated, as shown in the
following figure.
Step Action
Step Action
Step Action
11 Click the down arrow in the Access Lock (ACCLOCK) box and select who
can change the block's value or state based on signon privileges. The default
is Operator. Press the Tab key to move the cursor to the Module Device
Address box.
12 Select the Auto Trigger Mode (AUTOTRIGGER) check box to enable it.
Clear the check box to disable it.
The default option is selected, so that the block operates in the auto-triggered
mode rather than the triggered mode.
Press the Tab key to move the cursor to the Auto Trigger Period (ms)
(AUTOTRIGGERPERIOD) box.
13 Type the time in milliseconds to delay the beginning of the following auto-
triggered block execution. The default value is 0 milliseconds, which results in
the block being triggered as quickly as possible.
Press the Tab key to move the cursor to the Device Address (DEVADDR)
box.
(Auto triggered execution will resume in the Control Module cycle following
expiration of the auto trigger period. If the auto trigger period has expired
before the DONEFL parameter transitions to true, the block will be auto
triggered immediately.)
14 Type the address that identifies the MODBUS device connected to this
request channel. The default is 1.
Press the Tab key to move the cursor to the Starting Element Index
(STARTINDEX) box.
Step Action
15 Type the value to identify the start of the contiguous array in the MODBUS
device. See the Starting Element Index Values section for more information
about configuring the start index value. Following are the default value that
can vary for the given request channel type:
• PCDIFLAGARRCH = 1
• PCDINUMARRCH = 20001
• PCDITEXTARRCH = 500001
(Checking the Long check box, provides support for 32-bit signed or unsigned
integers depending on the start index specified. The Long check box has no
impact on floating point numerics, which are always 32-bit. See the Startindex
range 900001 - 965535 in Table 2 for more information. )
16B For PCDIFLAGARRCH block only:
Place the cursor in Number of Flag Values (NFLAG) box, type the number
of Boolean values in the array of data from the device. The default is 1.
16C For PCDITEXTARRCH block only:
With cursor in the Number of Numeric Values (NNUMERIC) box, type the
number that represents the number of numeric values in the array of data
from the device. The default is 1.
17B For PCDITEXTARRCH block only:
Place the cursor in the Number of String Values (NSTRING) box, type the
number that represents the number of string values in the array of data from
the device. The default is 1.
Step Action
18 For PCDITEXTARRCH block only:
Place the cursor in Char Length of String Values (STRLEN) box, key in the
number of characters per string value. The default is 8.
19 Click the down arrow in the Write Option (WRITEOPT) box and select how
the Array Request Channel block handles the writes to its "data" parameter.
The default is WriteOnDiff.
20 a) Click the Scaling/Substitution tab to display the dialog. (This tab is titled
just Substitution for PCDIFLAGARRCH and PCDITEXTARRCH blocks.)
b) Click the down arrow in the Default Substitution Type (SUBVALTYPE)
box and select the value to substitute when an error occurs. The default
is Last known good.
Place the cursor in Default Substitution Value (SUBVAL) box, type the
value to substitute when an error occurs and the SUBVALTYPE setting is
SUBVAL Param.
21B For PCDIFLAGARRCH block only:
Select the Set to ON on error (SUBVAL) check box to turn the flag ON when
an error occurs. Leave the check box blank to disable the function. The
default is cleared or disabled.
Step Action
22A For PCDINUMARRCH block only:
• Key in applicable range information in the appropriate fields in the
Scaling/Substitution grid.
(Leaving all values at zero will perform raw writes/reads of PV data. Input
values will be limited by the range of the data type selected by the start index
entered. Entering PVEUHI and PVEULO values only will limit the input values
by data type and PVEUHI/PVEULO values. Entering both PVEUHI/LO and
PVRAWHI/LO values will both limit the input and translate the input into the
specified PVRAW range. If PVRAWHI/LO values are specified, the PVRAW
value written will be limited to the specified range. PV output values are
always reported as read with unlimited scaling applied. Note that no alarms
are generated when values go over/under limits, since there is no alarming
associated with the concept of MODBUS scaling.)
• Click and move the scroll bar at the bottom of the grid to the right side to
expose the Substitution Type (ELEMSUBVALTYPE) and Substitution
Value (ELEMSUBVAL) fields.
Step Action
22B For PCDIFLAGARRCH block only:
• Type the applicable information in the appropriate fields in the
Substitution Overrides grid.
Step Action
23 • Click the Status/Data tab.
• There are no parameters on this tab to configure in Project. Use this tab to
monitor selected data in the Monitoring mode. The PCDI_MASTER block
and Control Module must be loaded and active to make data available on
this tab.
24 • Click the Identification tab.
• Use this tab to configure parameters associated with the licensed template
option. See the Control Building Guide and/or the online help for more
information.
25 • Click the Block Pins tab.
• Use this tab to configure the pins you want to expose for this block. See
the Control Building Guide and/or the online help for more information.
26 • Click the Configuration Parameters tab.
• Use this tab to configure the parameters to be displayed on the block in the
Project mode. See the Control Building Guide and/or the online help for
more information.
27 • Click the Monitoring Parameters tab.
• Use this tab to configure the parameters to be displayed on the block in the
Monitoring mode. See the Control Building Guide and/or the online help
for more information.
28 • Click the Block Preferences tab.
• Use this tab to configure the viewing preferences for the block. See the
Control Building Guide and/or the online help for more information.
29 • Click the Template Defining tab, if you have a template license..
• Use this tab to select the parameters that needs to be defined in the
template. See the Control Building Guide and/or the online help for more
information.
30 After you complete entering the configuration data, click the OK button to
close the configuration form and save the data.
31 This completes the procedure to add MODBUS TCP array request channel
block to CM.
Write Multiple 16
Registers
Write Multiple 16
Registers
Write Multiple 16
Registers
Write Multiple 16
Register
1
NSTRING = 120 / STRLEN, if CONVTOASCII is not checked; or NSTRING = 240 / STRLEN, if
CONVTOASCII is checked.
2
60, if CONVTOLONG is selected; 120 if not.
Since the MODBUS function can only handle a single word (2 bytes) at a time, the
number of writes required to complete the cycle will be depend on whether
CONVERTTOASCII is enabled or not, the NSTRING value, and the STRLEN value.
For Addresses in the 600001 - 665535 range, values will be transferred to both the STR
process value and will be written to the associated PCDI_MASTER block VENDOR
string. The VENDOR string is 80 characters and will truncate excessively long strings.
If multiple strings are configured (NSTRING > 1), the strings read will be concatenated
with a SPACE character separating them. Only printable characters will be transferred to
the VENDOR string.
Address 699999 provides a means of transferring input data on the STR[1..NSTRING]
input pins into the PCDI_MASTER block VENDOR string. The same rules apply for the
transfer of data as for the previous address range.
Considerations
• The following procedure is based on doing an initial load of a block from the
Project tab. You can also initiate a re-load of a block from the Monitoring tab.
• You can load the CEE and its assigned contents such as I/O modules and Control
Modules at the same time. See the Control Building User's Guide for more
information about the load operation.
• The PCDI Array Request Channel blocks are loaded with their containing Control
Module.
• All the illustrations used in the procedure are for example purposes only.
The load operation is still an offline function. The Load Dialog box
provides the ability to automatically inactivate a component during a
load and then return the component to its active state. Do not use
this automatic inactivate/activate function, if your process cannot
tolerate the load disruption and consequent delay in activation. In
this case, you must manually toggle the component state through
the Monitoring tab in Control Builder.
Step Action
1 In the Project tab, select and expand the tree hierarchy for the C300
Controller, CEEC300, and I/O icons.
You can also select the tag name in the following ways.
• Select Library mode and type the initial characters of a tag name.
− Type the initial few characters of a tag name in the Search Option toolbar. A
list of all matching tag names appears.
If the tag exists, the tree expands and the specified tag name is highlighted.
For more information on searching the tags, see Control Building User's Guide.
2 Right-click the PCDI_MASTER block icon and select Load from the menu to
call up the Load dialog.
Step Action
3 • Ensure to select the Load List check box in the Load column.
• Click the down arrow in the Post Load State column to select another
state.
• Select Automatically change ALL control elements to the state
selected in Post Load State after the load is completed check box.
4 Click the OK, to initiate the load and track progress through the Load
Monitor dialog box.
5 After load completes, check if the PCDI_MASTER icon appears in the
Monitoring tab tree hierarchy.
6 This completes the procedure to load the PCDI_MASTER block.
Currently Assigned N/A Yes ( through Read only list box shows all
Channels array request Array Request Channel
blocks) assignments to the block
Max Request Retries REQRTRY Project and Sets the number of retry
Monitoring (for counts of the Modbus
Engineer or device driver attempts after
above) a failed read or write.
Per Slave Requests MAXUIDREQ Project and Sets the maximum number
Monitoring (for of active requests to a
Engineer or serial device.
above)
Message Delay (ms) MSGDELAY Project and Sets the message delay
Monitoring (for time in milliseconds.
Engineer or
above)
Test Mode LOOPMODE Project and Lets you set the desired
Monitoring (for test mode to use when a
Engineer or diagnostic request is
above) issued. See parameter
definition for details.
select the Show Parameter Names check box, if you want to display the parameter
names instead of the plain text on the form.
Primary
Disconnects PRIMNUMDISCO
NN[0..15]
Secondary
Cycle Time (ms) CYCLETIME[0..6 Read Only Time in milliseconds for the
3] request block to complete
an entire cycle. Includes all
write requests and the read
request.
ATTENTION
The configuration settings you make for Server Load Options on the System
Preferences dialog determines whether or not the data entered on the
Server History tab is loaded to the Experion LX Server. See the Control
Building Guide for information about setting system preferences.
Access Levels
History Configuration
ATTENTION
The configuration settings you make for Server Load Options on the System
Preferences dialog determines whether or not the data entered on the
Server Displays tab is loaded to the Experion LX Server. See the Control
Building Guide for information about setting system preferences.
Trends
Groups
Auto Trigger Mode AUTOTRIGGER Project Only Enable or disable the auto
trigger mode of request
block execution.
Define number of
characters per string
Provide description of
applicable Engineering
Unit.
REFERENCE - INTERNAL
Refer to the In Operator's Guide for detailed information about calling up,
navigating, and viewing displays in Station.
Callout Description
Callout Description
Cnx Marg DV Init One connection failed and the alternate connection is in
use, all peer devices/Modbus RTU devices in transition
Cnx Marg DV POK One connection failed and the alternate connection is in
use and at least one peer device/Modbus RTU device
OK and no peer devices/Modbus RTU devices failed
(That is: peer devices/Modbus RTU devices partially
OK).
Cnx Marg DV Fail One connection failed and the alternate connection is in
use and all peer devices/Modbus RTU devices failed.
Cnx Marg SM Init One connection failed and the alternate connection is in
use, all Safety Manager devices in transition
Cnx Marg SM POK One connection failed and the alternate connection is in
use and at least one Safety Manager device OK and no
Safety Manager devices idle or failed (That is: Safety
Manager devices partially OK).
Cnx Marg SM Fail One connection failed and the alternate connection is in
use and all Safety Manager devices failed.
Cnx Marg SM Idle One connection failed and the alternate connection is in
use, at least one Safety Manager device idle and no
Safety Manager device failed.
Step Action
1 Click the Config Details tab on the Detail Display.
2 Use the scroll bar to move to right side.
3 Click the Channel Status tab.
Step Action
4 Click the scroll bar on the tab and move to the right side to view the Last
Error column.
Legend:
• single Modbus device = single MODBUS TCP Bridge, single MODBUS TCP
Device or Safety Manager
• redundant pair of Modbus devices = redundant MODBUS TCP Bridge, redundant
MODBUS TCP Device, or redundant Safety Manager
Single Device FAIL DIAG H Single Device FAIL For a single MODBUS
TCP Device, an alarm is
generated when the single
connection is OK, but the
single MODBUS TCP
Device has failed.
Primary Device FAIL DIAG H Primary Device FAIL For a redundant MODBUS
TCP Device, an alarm is
generated when the
primary connection is OK,
but the primary MODBUS
Primary All UID FAIL DIAG H Primary All UID FAIL For a single MODBUS
TCP Bridge, an alarm is
generated when all
Modbus RTU devices on
the primary connection
have failed.
Secondary All UID DIAG H Secondary All UID For a redundant MODBUS
FAIL FAIL TCP Bridge, an alarm is
generated when all
Modbus RTU devices on
secondary connection
have failed, CONINUSE is
switched to Primary, the
alarm will not return to
normal until CONINUSE is
switched back to
Secondary again and
alarm condition has been
cleared.
Serial Device [0..15] DIAG H UID xxx FAIL For a single MODBUS
Fail TCP Bridge or a redundant
MODBUS TCP Bridge with
up to 16 Modbus RTU
devices, an alarm is
generated when a Modbus
RTU device has failed.
Serial Device [0..15] DIAG H UID xxx Disabled For a single MODBUS
Disabled TCP Bridge or a redundant
MODBUS TCP Bridge with
up to 16 Modbus RTU
devices, an alarm is
generated when a Modbus
RTU device has been
disabled.
REFERENCE - INTERNAL
Refer to the Operator's Guide for more information about using the Station
interface.
Prerequisites
• You have logged on with sufficient privileges to make changes in a control strategy.
• You have loaded a control strategy to the Controller and can view the
PCDI_MASTER device through the Monitoring tab of Control Builder.
Considerations
• Activating a PCDI_MASTER device generates a state event change and resumes the
module's normal periodic processing.
• Inactivating a PCDI_MASTER device generates a state event change; blocks
channel access to flag, numeric, and string data from the device; and sets channel
depending on SUBVALTYPE, as well as setting associated BADPVFL.
Step Action
1 • Right-click the PCDI_MASTER device icon (green) and click
Inactivate>Selected Item(s) on the menu.
Or,
• Right click the PCDI_MASTER device icon (blue) and click the
Activate>Selected Item(s) on the menu.
2 Click the Yes button to confirm the action in the Change State dialog.
3 • Wait for PCDI_MASTER device icon to turn blue/inactive.
Or,
• Wait for PCDI_MASTER device icon to turn green/active.
Project Tab
Monitoring Tab
* This parameter appears on the Module Statistics tab of the Module Properties form for the
selected PCDI_MASTER block in Monitoring mode.
Project Tab
Monitoring Tab
(gray)
CM inactive INACTIVE
(blue)
CM Active ACTIVE
(green)
(red/black
exclamation)
* This appears in title bar on Module Properties form for selected Control Module in Monitoring
mode.
REFERENCE - INTERNAL
Refer to the Control Building Guide sections in On-Line Monitoring Using
Control Builder for detailed information:
Step Action
1 Double click the C300 block icon on the Monitoring tab to call up its
configuration form.
2 Click the Statistics tab to display the tab.
3 Monitor the data in the MBTCP Network Message Statistics section for PCDI
related functions performance.
4 Click the OK button to close the form.
Step Action
1 Expand the C300 block tree hierarchy.
Double-click the CEEC300 block icon on the Monitoring tab to open the
configuration form.
2 Click the Statistics tab. Use the scroll bar to scroll to the bottom of the tab.
3 Monitor the data in the MBTCP Transmit Statistics and MBTCP Receive
Statistics sections for PCDI related functions performance.
4 Click the OK button to close the form.
Prerequisites
• You have logged on with sufficient privileges to make changes in a control strategy.
• You have loaded a control strategy to the Controller and can view the
PCDI_MASTER device through the Monitoring tab of Control Builder.
Considerations
• A peer device fail over occurs when the maximum number of requests for the device
have been attempted. This can be caused when the device time out occurs on each of
the retries or if the device returns a failure after each retry.
• If you have Engineer security level or above, you can change the Connection to Use
(CONTOUSE) parameter configuration in Monitoring mode to force the connection
in use and disable the connection not selected. All connection attempts and alarms
will be disabled on the non-selected connection. This function may be useful for
maintenance purposes.
Step Action
1 Double-click the PCDI_MASTER device icon (green) to open the
configuration properties form.
2 Click the Module Configuration tab.
3 Click the down-arrow in the Preferred Connection to use box and select
Secondary from the list.
Click OK.
LOOPRATE TIMOUT
LOOPMODE UIDLOOPRATE
• A checkpoint save operation does not save a parameter that is not exposed during
configuration even if a run-time configuration change exposes the parameter. For
example, when LOOPTYPE is configured as Diag Register, both LOOPADDR and
LOOPDATA are not available/exposed. If the LOOPTYPE configuration is changed
to Coil during run-time, both LOOPADDR and LOOPDATA are available/exposed;
but they will not be saved in the checkpoint file.
Hard Failure Failure detected by hardware; operation cannot continue. If the fault
does not prevent software processing the problem, the affected node
will be rebooted under software control into the FAIL State.
• If failure occurs on Primary node, it triggers a switchover to
synchronized Secondary node.
• If failure occurs on Secondary node, it results in loss of
synchronization and reduced availability until the problem is
resolved.
• If failure occurs on non-redundant node, it results in loss of control
and loss of view.
Severe Failure Failure detected by software; operation cannot continue. The affected
node will be rebooted under software control into the FAIL State.
The failure scenarios are as listed in the row above for the Hard
Failure.
Soft Failure Failure detected by software; operation continues with full control and
full view. Soft failures are alarmed to the operator. FTE will be
monitored by the FTE System Management Tool.
• If failure occurs on Primary node, it does not trigger a switchover to
synchronized Secondary node.
• If failure occurs on Secondary node, it does not result in loss of
synchronization.
• If failure occurs on non-redundant node, it does not result in loss of
control and loss of view.
In this syntax, the error code is the last five digits in the message or 10689.
REFERENCE - INTERNAL
Refer to the Control Builder Error Codes Reference book for applicable error
code information.
Loss of power
The power supply has failed or the main power source has been shut down or is
experiencing a brownout or blackout condition.
Diagnostic Check In the Monitoring tab, the PCDI_MASTER device icon turns red.
Cause Main power source has been disconnected or shut down either manually
or temporarily by brownout or blackout condition.
Solution Re-connect the main power source or turn it On or wait for temporary
brownout or blackout condition to pass.
Loss of communications
No device data is being processed.
Diagnostic Check In the Monitoring tab, the PCDI_MASTER device icon turns red.
In Station Event Summary, event error is logged.
Try cycling power to the device. Replace the device, if fault persists.