1B30 11
1B30 11
1B30 11
CS 1000/CS 3000
Reference
PROFIBUS
IM 33S01B30-01E 16th Edition
CONTENTS
PART-N
N1.
PROFIBUS
N2.
N2.2
N2.3
N2.4
N2.5
N2.6
N2.5.1
N2.5.2
N2.6.2
N2.6.3
N2.6.4
N2.6.5
N2.7
N2.8
N2.9
N2.8.1
N2.8.2
N2.8.3
N2.8.4
N2.9.2
Toc N-2
N3.
N3.2
N3.3
N3.4
N3.5
N3.6
N3.5.1
N3.5.2
N3.5.3
N3.5.4
N3.5.5
N3.5.6
N3.6.2
N3.6.3
N3.6.4
N3.6.5
N3.7
N3.8
N3.9
N3.8.1
N3.8.2
N3.8.3
N3.9.2
IM 33S01B30-01E
N1-1
N1-2
PROFIBUS products are divided into three different variations, each consisting of
compatible products, and can be used in a wide range of applications such as
controllers, devices and fieldbus networks.
The following describes the three types of variations:
PROFIBUS-DP
PROFIBUS-PA
PROFIBUS-FMS
PROFIBUS-DP
PROFIBUS-DP (Decentralized Periphery) allows high-speed data transmission between
controllers and slave devices such as remote I/Os and drives. PROFIBUS-DP can transmit
1 Kbyte of I/O data in less than 1 millisecond.
PROFIBUS-DPV1 with newly extended specifications is available as a type of PROFIBUSDP. The extended specifications of PROFIBUS-DPV1 encompass the dual-redundancy of
master devices and an alarm feature, among others.
PROFIBUS-PA
PROFIBUS-PA (Process Automation) employs function-block technology, offering the
physical-layer specifications designated by IEC1158-2 as an optional hazard-prevention
measure. PROFIBUS-PA uses a communication bus cable to power each node.
PROFIBUS-FMS
PROFIBUS-FMS (Fieldbus Message Specification) is an object-oriented model variation
that provides exceptional application performance for communications between intelligent
stations such as PLCs, DCSs and PCs.
TIP
The information contained in this section is excerpted from the Japan PROFIBUS Organizations website.
N2-1
N2-2
PROFIBUS-DP
configurator
(manufactured by Hilscher)
Copy
Operation and Monitoring
System builders
Communication
I/O Builder
System
View
FCS Status
Display window
Function Block
Detail Builder
System
Alarm
window
Historical
Message
Report window
Control bus
FCS
ACP71
operating
status
Download
ACP71
Fail/Recover
message
Slave device
diagnostic
information
PROFIBUS-DP
communication
I/O data
PROFIBUS-DP
communication module (ACP71)
PROFIBUS-DP
I/O data
Slave device
Slave device
N020101E.EPS
N2-3
PROFIBUS-DP Communication
Exchanges I/O data with an ACP71 and stores the results in the communication I/O datastorage area. Accordingly, as with the communication I/O module, this function connects to
the function block using Communicaion I/O.
When a request is received from an HIS to acquire the operating status of an ACP71, the
status of the ACP71 is monitored and a message is transmitted upon detection of a fail/
recover.
System Builders
The following engineering functions are provided.
Copies the PROFIBUS definition data file of the PROFIBUS-DP configurator to an
internal folder.
Defines settings relating to an ACP71 from the Communication I/O Builder and downloads communication I/O definitions to an FCS and ACP71.
Download data to the ACP71 from System View using IOM download.
Defines function-block output conversions from Function Block Detail Builder.
N2-4
Hardware Environment
The following hardware environment is required for communication with PROFIBUS-DP.
Table Hardware Operating Environment
Type
Hardware
Communication module
ACP71
Nest
AMN52
Remarks
Nest for communication module (for PROFIBUS)
N020201E.EPS
The following hardware is also required for communication. Use hardware that conforms to
the PROFIBUS-DP specifications.
Table Devices Required for Communication with PROFIBUS-DP
Type
Description
Slave device
Repeater
Terminator
T-shape connector
*1:
A single PROFIBUS-DP segment can be connected to a maximum of 32 master (ACP71) and slave devices. Accordingly, a maximum of 31 slave devices can be connected when no repeaters are used. The use of repeaters allows the
connection of up to four segments.
IM 33S01B30-01E
N2-5
Software Environment
The following optional packages are required for communication with PROFIBUS-DP.
PFS2540 PROFIBUS Communication Package (*1)
LFS2540 PROFIBUS Communication Package (*2)
*1:
*2:
The operating system includes Windows 95, Windows 98, Windows NT, Windows 2000, or Windows XP is required.
SEE ALSO
For more information about the operation environment, see the users manual of Hilscher Co. for system
configurator.
TIP
To define slave devices with the PROFIBUS-DP configurator, a file (GSD file) that defines the slave
device specifications and setting data is required.
A GSD file is either supplied by the device manufacturer or can be downloaded from the PROFIBUS
Organizations website.
IMPORTANT
In Windows 2000 or Windows XP environment, to permit the users that do not have Administrator privilege to use PROFIBUS-DP Configurator, the following operations may be
required.
Add the user for running the PROFIBUS-DP Configurator to the permission user list for the
folder and all subfolders and add the Full Control permission to the user for the folder that
the PROFIBUS-DP configurator is installed. By default, the PROFIBUS-DP configurator
files are installed under the following folder.
C:\Program Files\Yokogawa\SyCon
N2-6
Mounting Format
A maximum of four ACP71s can be mounted per one FCS by using a PROFIBUS communication module nest (AMN52). (*1) (*2)
*1:
*2:
Nest Configuration
The following explains the nest configuration when an ACP71 is mounted.
The ACP71 is mounted in nest 1.
Nest 2 will not be used.
Neither ACM21, ACM22 nor ACM71 can be mounted.
IMPORTANT
No other IOMs can be mounted in nest 1.
Nest 1
(AMN52)
Nest 3
CPU
Nest 4
Nest 5
N020301E.EPS
IM 33S01B30-01E
N2-7
ACP ACP
71 71
PROFIBUS-DP
Slave device
Slave device
Slave device
Slave device
N020302E.EPS
The system does not support the connection of a master device (PLC or PC) made by
another manufacturer to the same bus. Do not use the ALP111 together with the ACP71 on
the same bus.
N2-8
08, 09
16
%WW0101
%WW0102
%WW0103
Free area
N020401E.EPS
N2-9
08, 09
16
%WW0101
Data (first byte)
%WW0102
%WW0103
N020402E.EPS
The following lists the data types that can be designated with the Communication I/O
Builder at this time.
Input (16-Bit Signed)
Input (16-Bit Unsigned)
Output (16-Bit Signed)
Output (16-Bit Unsigned)
When outputting a value outside the data type range, it will be rounded off to the nearest
value within the data type range.
Table Rounding off Output Data
Data type
Output (16-Bit Signed)
Output (16-Bit Unsigned)
Before round-off
After round-off
-127
128
255
N020403E.EPS
N2-10
Reverse Bits
When I/O data is assigned as discrete I/O data and Reverse bits is designated, the bit
arrangement is reversed in increments of 16 bits, as is the case with subsystem communication.
Termination of data indicated as an odd byte size by the PROFIBUS-DP configurator is
reversed in increments of 8 bits, as shown below.
Slave device bit arrange
7
Communication
I/O data area
Free area
08, 09
% WB bit number
16
%WW0101
N020404E.EPS
Reverse Bytes
Depending on the slave device, the byte positions of the upper byte and lower byte of
digital data may be reversed. In this case, assign I/O data as discrete I/O data and specify
reverse bytes. Specify this according to the specifications of the slave device used. The
specific byte mapping is shown below.
Reverse bits
Reverse bytes
Remarks
Yes
No
Yes
Yes
No
No
No
Yes
N2-11
Pattern 1
Upper-byte (first byte)
Channel number 7
(bit number)
15 14 13 12 11 10 9
x
x
x
x
x
x
x
Input/Output 1
Input/Output 2
Input/Output 3
Input/Output 4
Input/Output 5
Input/Output 6
Input/Output 7
Input/Output 8
Input/Output 9
Input/Output 10
Input/Output 11
Input/Output 12
Input/Output 13
Input/Output 14
Input/Output 15
Input/Output 16
N020408E.EPS
Pattern 2
Upper-byte (first byte)
Channel number 15 14 13 12 11 10 9
(bit number)
x
x
x
Input/Output 1
Input/Output 2
Input/Output 3
Input/Output 4
Input/Output 5
Input/Output 6
Input/Output 7
Input/Output 8
Input/Output 9
Input/Output 10
Input/Output 11
Input/Output 12
Input/Output 13
Input/Output 14
Input/Output 15
Input/Output 16
N020409E.EPS
N2-12
Pattern 3
Upper-byte (first byte)
Channel number
(bit number)
x
x
10 11 12 13 14 15
Input/Output 1
Input/Output 2
Input/Output 3
Input/Output 4
Input/Output 5
Input/Output 6
Input/Output 7
Input/Output 8
Input/Output 9
Input/Output 10
Input/Output 11
Input/Output 12
Input/Output 13
Input/Output 14
Input/Output 15
Input/Output 16
N020410E.EPS
Pattern 4
Channel number 8
(bit number)
x
x
Input/Output 1
Input/Output 2
Input/Output 3
Input/Output 4
Input/Output 5
Input/Output 6
Input/Output 7
Input/Output 8
Input/Output 9
Input/Output 10
Input/Output 11
Input/Output 12
Input/Output 13
Input/Output 14
Input/Output 15
Input/Output 16
N020411E.EPS
N2-13
Data Status
The data status for PROFIBUS-DP communication is the same as subsystem communication. The table below shows the data status:
Table Data Status
Data Status
Meaning
BAD
NRDY
LPFL
NR (*1)
*1:
There is no actual NR data status, but this status is used only to indicate the absence of any of the other conditions
(BAD, NRDY or LPFL).
SEE ALSO
The data status is determined by the communication status and slave diagnostic information of a slave
device. For slave diagnostic information, see the following:
N2.5.2, Slave Diagnostic Information
N2-14
Analog input
As with the analog input module, data from PROFIBUS can be treated as an analog input
signal by designating I/O data in the %WWnnnn (*1) format and assigning it to the input
terminal of the regulatory control block or calculation block.
*1:
SEE ALSO
Analog inputs are treated the same way as in subsystem communication. For detailed information, see
the following:
J1.3, Accessing Subsystem Data from a Function Block
Analog Output
I/O data can be assigned to a function block as analog output (output terminal) by designating the data in the %WWnnnn (*1) format. Set the function blocks output-signal conversion
designation to Communication output (fully-open/tightly-shut).
*1:
The actual full-open and tight-shut output values are designated by the full open/tight shut
designation.
IMPORTANT
The following functions for process output cannot be used when the output signal conversion designation is set to Communication output (fully-open/tightly-shut).
Reverse output
Velocity output
Output velocity limiter
N2-15
Discrete I/O
By designating I/O data in the %WBnnnnbb (*1) format, every word (16 bits) of I/O data can
be assigned to a discrete input or a discrete output.
*1:
SEE ALSO
Discrete I/O is treated in the same way as in subsystem communication. For detailed information, see the
following:
J1.3, Accessing Subsystem Data from a Function Block
IMPORTANT
The following functions for process output cannot be used when data is output to %WB.
Pulsive output for MC instruments and switch instruments.
Flashing output
N2-16
N2-17
Contents
%WBnnnn01
%WBnnnn02
.....
.....
%WBnnnn16
%WB(nnnn+1)01
.....
.....
%WBxxxxbb
.....
.....
%WB(nnnn+7)13
%WB(nnnn+7)14
Not used
%WB(nnnn+7)15
Not used
%WB(nnnn+7)16
Note: nnnn is a number within the area for the communication I/O definition, while bb is a bit number in the word.
The status of a slave device is indicated by the data item (PV) value, as shown in the table
below:
Table Data Item Value and Slave Device Status
%WBnnnnbb.PV value
Contents
N2-18
Setting
Size
1 to 8
Station
STATUS
Data type
Input (Discrete)
Reverse
Bits
Remarks
Can be set according to the number of slave devices
N020503E.EPS
N2-19
Title
Error
detected by:
Description
Device
common slave
diagnostic
information
Station_Status1-3.
Common slave diagnostic information defined by the
Master_Add.
PROFIBUS specifications
Ident_Number
ACP71 or
slave device
Device
specific slave
diagnostic
information
Device related
diagnostic
Slave device
Module slave
diagnostic
information
Identifier related
(module)
diagnostic
Channel slave
diagnostic
information
Channel related
diagnostic
N2-20
IMPORTANT
When an error is detected in one of the modules channels, an error is set in all the
data status of the module containing that channel. If you do not wish to set an error in
all data status simultaneously, go to System view and select Do not reflect module
errors in the data status.
The bit assignment for module slave diagnostic information differs, depending on the
device specifications. Data status settings are possible only when the following bit
assignment is done.
Data status cannot be set with any other bit assignment. If the following bit assignment is not done, go to System view and select Do not reflect module errors in data
status.
Set for each ACP71 as to whether or not to reflect a module error in the data status.
If any of multiple slave devices connected to an ACP71 has a bit assignment other than the
one shown on the next page, it will be necessary to select Do not reflect module errors in
data status.
N2-21
Relative address
7
0
0
Bit number
Header information
Bit number
1
Slot 1 module
Slot 2 module
Slot 3 module
Slot 4 module
Slot 5 module
Slot 6 module
Slot 7 module
Slot 8 module
7
Bit number
2
Slot 9 module
Slot 10 module
Slot 11 module
Slot 12 module
Slot 13 module
Slot 14 module
Slot 15 module
Slot 16 module
N020505E.EPS
Note: The slot number starts with 0 in some devices, but these devices are treated the same way.
N2-22
% W area
01
08, 09
16
7,0
%WW0101
%WW0102
%WW0103
N020506E.EPS
Setting
Size
1 to 128
Station
DIAG
Data type
Input (Discrete)
Reverse
No
Remarks
Size can be set according to the size of data for the
part to be referenced
N020507E.EPS
<N2.6 Engineering>
N2-23
N2.6 Engineering
Engineering tasks are broadly classified into two: those performed on System
builders and those performed using PROFIBUS-DP configurator.
This chapter provides an overview of the PROFIBUS-DP engineering, including
ACP71, and explains the operations performed with the PROFIBUS-DP configurator
and System builders.
<N2.6 Engineering>
N2-24
Engineering Scope
The following shows the scope and targets for PROFIBUS engineering.
HIS
Control bus
FCS
FCS
ACP71
Area engineered with the
PROFIBUS-DP configurator
Slave
device
Slave
device
N020601E.EPS
PROFIBUS-DP
configurator
HIS
Yes
No
FCS
Yes
No
ACP71
Yes
Yes
Slave device
No
Yes
Engineering target
N020602E.EPS
Yes:
No:
Applicable
Not applicable
Engineering for an ACP71 is performed with the PROFIBUS-DP configurator and System
builders. To perform this engineering, a separate operation is required to allow System
builders to use data created with the PROFIBUS-DP configurator.
<N2.6 Engineering>
N2-25
<N2.6 Engineering>
N2-26
HIS
Export
Copy
Control bus
Download
FCS
ACP71
PROFIBUS-DP
Slave device
Slave device
N020603E.EPS
<N2.6 Engineering>
N2-27
IMPORTANT
The PROFIBUS definition data file stores the data downloaded to an ACP71, but is
not a database where PROFIBUS-DP project data is stored. Thus, the PROFIBUSDP project cannot be edited from the PROFIBUS definition data file.
PROFIBUS-DP does not download data to a slave device.
The PROFIBUS definition data contains setting information for the slave device. This
setting information is set in the slave device from an ACP71 when the ACP71 or a
slave device starts up.
Do not download PROFIBUS definition data from the PROFIBUS configurator directly to an
ACP71.
The PROFIBUS configurator has a function to directly download PROFIBUS definition data
via the ACP71s RS port. However, do not use this function, since the following problems
will occur when it is used:
During PROFIBUS definition data download, all PROFIBUS-DP communications stop
and all I/O data becomes IOP/OOP.
Correct copying of PROFIBUS definition data to System builders cannot be guaranteed. While data is being downloaded from System builders, PROFIBUS definition
data in an ACP71 may be rewritten as different data or may be deleted.
<N2.6 Engineering>
N2-28
Engineering Procedures
The following shows the basic engineering procedures using System builders and the
PROFIBUS-DP configurator.
Settings on System builders can be performed along with settings on the PROFIBUS-DP
configurator.
(1)
System design
Engineering operations with
System builders
(2)
Input and export with the
PROFIBUS-DP configurator
(3)
Copy the ACP71 definitions and
the PROFIBUS definition data file
(4)
Assign the communication I/O
definition to the element number
(5)
Link to a function block using
the Control Drawing Builder
Operation when
there is no FCS
Operation when
there is an FCS
(6)
Debug using the Test Function
(7)
Download
(8)
Debug PROFIBUS-DP
communication
(9)
Check for errors
END
N020604E.EPS
<N2.6 Engineering>
N2-29
System Design
Design the function-block configuration, including the slave device, communication specifications and control specifications.
Copy the ACP71 Definitions and the PROFIBUS Definition Data File
Define the ACP71 using System View. Copy the PROFIBUS definition data file using the
ACP71 property sheet.
However, no error will occur even if the PROFIBUS definition data file is not copied. Copy
the PROFIBUS definition data file prior to downloading.
Download
Download engineered information to an FCS and ACP71.
PROFIBUS definition data is not downloaded during an off-line download. To download
PROFIBUS definition data, execute an IOM load for the ACP71 following the off-line download.
<N2.6 Engineering>
N2-30
Create a project.
The project herein refers to the database that comprises 1 segment of PROFIBUSDP.
2.
3.
Define an ACP71.
To define the ACP71, select [ACP71] or [COM-DPM/PKV20-DPM]. (*1)
*1:
For the PROFIBUS-DP configurator (System Configurator) with a version earlier than 2.818, only COM-DPM/PKV20DPM can be selected as PROFIBUS-DP Master.
MAINT
CN1
REVISION
REVISION
U
1
H1 H2 F
1
H1
H2
N020617E.EPS
<N2.6 Engineering>
N2-31
IMPORTANT
When configuring the master device, the address of the master device should be set to a
number equal to 1 or greater than 1. By the default of system configurator version 2.818, 0
is set as the address.
The device address can be modified by changing the setting on the item [Station address]
of Master Configuration dialog box.
Master Configuration
General
OK
Description
Master0
Station address
Device
Cancel
0
ACP71
DP Support
DP Master Settings ...
Auto addressing
FMS Support
FMS Settings ...
CRL ...
CD ...
Actual Master
Module Information
Storage format
Compact
N020618E.EPS
4.
Define the slave device. If multiple modules can be set from the slave device, assign
the modules.
Set definitions specific to each slave device, if necessary.
5.
*1:
Since the version 2.818 of System Configurator, in order to match the corresponding project database <project>.pb,
the file name is changed from Export. dbm to <project>.dbm by simply adding the DBM extension to the project name.
<N2.6 Engineering>
N2-32
Open a project.
2.
Add, delete or change the slave device or the slave device module.
3.
*1:
Since the version 2.818 of System Configurator, in order to match the corresponding project database <project>.pb,
the file name is changed from Export. dbm to <project>.dbm by simply adding the DBM extension to the project name.
TIP
A PROFIBUS-DP configuration data file must be created to modify even a single setting item of the
PROFIBUS configurator. The following are some typical changes.
IMPORTANT
When setting bus parameters, make sure the [Auto Clear] item is set as OFF (default). If
[Auto Clear] is set ON, the ACP71 module stops communication with all the slave devices
on the PROFIBUS-DP bus when any of devices fails or any malfunction event occurs. In
this case, all inputs and outputs of ACP71 become IOP or OOP. To recover from IOP and
OOP, it is necessary to run IOM download.
<N2.6 Engineering>
N2-33
Select [File], [Create New], then [IOM] from System view. The Create New IOM dialog
box will appear.
2.
3.
4.
5.
Click the [Copy] button in [PROFIBUS configuration data file] of the [Set Details] page.
The Open dialog box appears.
6.
Select PROFIBUS configuration data file from the Open dialog box, and click the [OK]
button. The PROFIBUS configuration data file will be copied.
7.
Click the [OK] button in the Create New IOM dialog box. The Create New IOM dialog
box will be closed.
In System view, select an ACP71 for which you wish to change the setting contents.
Then, select [File] and [Properties] to display the property sheet.
2.
Display the [Set Details] page in the property sheet, then change the setting contents
as required.
3.
If any change has been made to the setting contents of the PROFIBUS-DP
configurator, click the [Copy] button in [PROFIBUS configuration data file]. The Open
dialog box will appear.
If there are no changes, skip step 4 and go to step 5.
4.
Select the PROFIBUS configuration data file from the Open dialog box, then click the
[OK] button. The PROFIBUS configuration data file will be copied.
5.
Click the [OK] button in the property sheet. The property sheet will be closed.
<N2.6 Engineering>
N2-34
Item
Details
IOM Type
Type
and
Position
Installation Position
Remarks
Category
Type
Unit
Slot
N020605E.EPS
Set Details
IOM Type
Category
AMN52(PROFIBUS Communication)
Type
Installation Position
Unit
Slot
OK
Cancel
N020606E.EPS
IM 33S01B30-01E
<N2.6 Engineering>
N2-35
ACP71 Property
Perform Fallback, Action when Module/Channel Fail Detected, PROFIBUS Configuration Data File
Tab
Item
Change
IOM Type
No
Type
and
Installation Position
Position
High Speed Read
No
Details
Category
AMN52(PROFIBUS Communication)
Type
Unit
Slot
Cannot be selected.
No
IOM Comment
Yes
IOM Category
No
IOM Type
No
Unit
No
Slot
No
Yes
Perform Fallback
Set
Details
Action when
module/channel fail
detected
PROFIBUS
configuration data
file
Tab
Yes
Yes
Yes
Yes
Yes
No
File Name
No
Creation date
No
Date copied
Yes
[Copy]
Item
Change
The value set for each item is restored to the initial value
(except for detail items relating to the PROFIBUS
configuration data file).
Yes
[default]
Remarks
Details
Remarks
N020607E.EPS
Yes:
No:
*1:
IM 33S01B30-01E
<N2.6 Engineering>
N2-36
Properties
Type and Position
Set Details
IOM Category
AMN52(PROFIBUS Communication)
IOM Type
Unit
Slot
Perform Fallback
All points maintain Current value
Reset all outputs
Default
OK
Cancel
N020608E.EPS
IOM Download
During IOM download, the following data will be downloaded to the ACP71.
PROFIBUS configuration data
ACP71 program
IOM download can be executed by selecting [Load], then [Download to IOM] from System
view.
IMPORTANT
The IOM Download Start/Complete system alarm is generated for both the PROFIBUS
configuration data and ACP71 program. In this case, correspondence with data to be
downloaded can be checked by the messages in the IOM download dialog box.
The ACP71 program will be downloaded only when Create New IOM or IOM download is
executed.
N2-37
<N2.6 Engineering>
Operation Procedures
The following describes the operation procedures using the Communication I/O Builder.
1.
Set the common setting items, then assign the communication I/O data area for an ACP71.
2.
Description
Buffer
Designates the size of the area for storing communication I/O definition data
that is used in an ACP71.
Program Name
Designates the installation position of an ACP71 (u-s, u: unit number (fixed to 1),
s: slot number) and the program name (PROFIBUS)
Example: When slot 2 is designated
1-2PROFIBUS
N020609E.EPS
Content
Remarks
Slot number defining the module Serial number starting with 1, no blanks in between
Idx
N2-38
<N2.6 Engineering>
COM-DPS
Slave#2
Station address
Cancel
OK
368
244
244
24
Byte
Byte
Byte
GSD file
Module
1 byte input con [0x90]
4 byte input con [0x93]
2 word output con [0xE1]
32 word input [0x40, 0x5F]
1 word output [0x60]
16 word output [0x6F]
2 word output con [0xE1]
Symbol
Module#1
Module#2
Module#3
Module#4
Module#5
Module#6
Module#7
HIL_7501.GSD
Parameter Data...
111
69
42
7
Byte
Byte
Byte
Master#1
Identifier
0x80, 0xBF
0xE0
0xE1
0xE2
0xE3
0xE7
Assigned master
Station address 1
1/ACP71
Actual slave
Station address 2
Slave#2
2/COM-DPS
0 Addr. 0 Len.
Append Module
0
Remove Module
0
0
0
1
16
2
Symbolic Names
Insert Module
N020611E.EPS
The figure below shows an example of a dialog box for a module containing multiple
indexes.
Slave Configuration
General
Device
Description
BusCon
Slave#3
Station address
OK
Cancel
GSD file
Parameter Data...
EBH82079.GSD
244
244
244
1
226
210
16
1
Module
H&B Var.80
Byte
Byte
Byte
Assigned master
Station address 1
Master#1
1/ACP71
Actual slave
Station address 3
Slave#3
3/BusCon
Slot Idx
1
1
1
2
1
3
1
4
1
5
1
6
1
7
Module
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
Symbol
Module#1
Module#1
Module#1
Module#1
Module#1
Module#1
Module#1
Type
IW
IW
IW
IW
IW
IW
IW
Append Module
Remove Module
Insert Module
Symbolic Names
N020612E.EPS
<N2.6 Engineering>
N2-39
Station:
Data Type:
Reverse:
*1:
If an odd byte data is assigned, there is no data corresponding to the terminal byte of the area because the area is
designated on a word-by-word basis. In this case, the value of the terminal byte data for the area is undefined.
TIP
When a module is deleted using the PROFIBUS-DP configurator, the slot numbers following that module
will shift. Thus, modify the setting contents in [Device & Address].
However, this does not apply to slave devices to which no changes are made.
<N2.6 Engineering>
N2-40
Definitions relating to the communication I/O data area are set in the Communication I/O
Builder.
The definition content is as shown below.
Table Definition Items in the Communication I/O Builder (1/2)
Definition
item
Input
Details
Remarks
Buffer
Yes Sets the size of the entire area for storing the ACP71 data.
Program
Name
Size
Port
No
IP Address
No
Station
Designating a non-existent
slave device node address
will set data to IOP/OOP
upon execution.
Device &
Address
Sets the slot number and index for the slave device module.
Sets in the "Slot number-index" format.
When index = 1, "-index" can be omitted.
Example: "1-3" when slot number=1 and index=3
Designate ";E" to expand byte data to 16 bits.
Yes Example: 1-3;E
The valid range of slot numbers is from 1 to 60. The index
range is 1 to 60. However, entering a value outside this range
will not generate an error in the builder.
Designating an unused or
out of range slot
number/index will set data
to IOP/OOP upon
execution.
N020613E.EPS
Yes:
No:
-:
Input is required.
Input is not required.
Can be omitted.
<N2.6 Engineering>
N2-41
Input
Details
Remarks
Data
Type
Yes
Reverse
Scan
Service
Comment
Label
N020614E.EPS
Yes:
No:
-:
Input is required.
Input is not required.
Can be omitted.
N2-42
<N2.6 Engineering>
Item
Output signal
conversion
Details
Output signal
conversion type
Setting Contents
Communication output
(Fully-open/Tightly-shut)
N020615E.EPS
Detailed item
Default
1.000
0.000
106.25
-17.19
Remarks
Same as in the case of Communication
Output
Same as in the case of No
N020616E.EPS
SEE ALSO
For more information on output signal conversion, see the following:
C4.8, Output Signal Conversion
N2-43
Red:
The table below shows changes in the status display due to user operation.
Table Changes in Status Display Due to User Operation
Status display
User operation
With PROFIBUS
Without PROFIBUS
configuration data (*1) configuration data (*2)
Create new
Green
Red
IOM download
Green
Red
ACP71
replacement
Red
Red
Green
Red
Green
Red
Remarks
*1:
*2:
N2-44
When AMN52 is used, the unit 1 and unit 2 positions are physically occupied.
However, only the unit 1 section is displayed in the FCS Status Display window. The unit 2
section is displayed as no IOM definitions. There are no changes to units 3 to 5. The status
is displayed according to the IOM definitions.
The following figure shows the FCS Status Display window.
.SF FCS0101 FCS Status Display
FCS
FCS
IOM
Domain : 01
MYPJT
FCS0101
V net1
1
V net2
2
AUT
Not Ready
Stand-By
Control
Hard Ready
Maintenance
Distillation column A
Station No
:1
Type
: PFCD-H
Revision
Generation
: R3.05. 00
:
10/28/2004 13 : 29
CPU Idle Time
: 57Sec
A
C
P
7
1
A
C
P
7
1
A
C
P
7
1
A
C
P
7
1
C
P
U
C
P
U
P
S
U
P
S
U
A
D
M
1
2
C
A
D
M
5
1
C
A
D
M
5
1
C
Cur : 0%
: OFF
ControlStatus : RUN
I/O (OFF)
Comm I/O
: ON
Task Status
Task 1
Task 2
: RUN
: RUN
Task 3
Task 4
: RUN
: RUN
A
C
M
1
1
A
C
M
1
1
A
M
M
2
2
T
A
M
M
2
2
T
A
D
M
1
2
C
Ready
N020702E.EPS
In the FCS Status Display window, the following data can be downloaded to the ACP71 by
clicking the [Load IOM] button.
PROFIBUS configuration data
ACP71 program
IM 33S01B30-01E
N2-45
N2-46
ACP71's action
Reads new input values.
Resets output values (*1).
MAN fallback
Restart
*1:
Resetting outputs means outputting 0 to the analog output and discrete output.
IMPORTANT
Do not access or write to the communication I/O (%WW, %WB) that have been assigned to
an ACP71 from the initialization sequence table.
N2-47
Input Actions
Read data remains 0 from the initial cold start until the ACP71 becomes capable of acquiring data from slave devices normally.
The status of this data is NRDY.
Output Actions
After maintenance or following a power recovery, the ACP71 begins outputting analog and
discrete outputs from 0. When the fail-safe function is enabled, the slave device retains the
output during the fail-safe monitoring time.
However, once the monitoring time has elapsed, the status becomes fail-safe. The slave
devices specifications determine whether the fail-safe function is enabled and how the
slave device outputs data in the fail-safe status.
Occurrence of
power failure
CPU action
status
Function block
mode
AUT
Power recovery
MAN
ACP71 output
Slave device
output
Enters the fail-safe status when the
fail-safe monitoring time is up
Fail-safe monitoring time
N020802E.EPS
N2-48
Restart Actions
This section explains the actions of devices at restart.
Input Actions
After power is recovered, the input data prior to the momentary power failure is retained
until the ACP71 becomes capable of acquiring data from slave devices normally. The
status of this data is NRDY.
Output Actions
The ACP71 outputs are reset at the initial cold start of the ACP71. However, after the initial
cold start the ACP71 begins outputting with the value prior to the power failure.
The function block continues control in AUT mode.
When fail-safe is enabled, the slave device retains the output during the fail-safe monitoring
time.
However, once the monitoring time has elapsed, the status becomes fail-safe. The slave
devices specifications determine whether fail-safe function is enabled and how the slave
device outputs data in the fail-safe status.
Occurrence of
power failure
Power recovery
CPU action
status
Function block
mode
AUT
AUT
Output resets at initial cold start of ACP71
Output begins from reset status (0)
ACP71 output
Slave device
output
Enters the fail-safe status when the
fail-safe monitoring time is up
Fail-safe monitoring time
N020803E.EPS
N2-49
When a failure When power is When a failure When power is When a failure When power is
occurs
recovered
occurs
recovered
occurs
recovered
FCS power
failure
Output reset
or
output restart
Fail-safe
operation (*1)
Output reset
or
output restart
Output fallback
Output restart
ACP71 failure
MAN fallback
Output restart
Output reset
Fail-safe
operation (*1)
Output reset
ACP71
maintenance
MAN fallback
Output restart
Output reset
Fail-safe
operation (*1)
Output reset
PROFIBUS
transmission stop MAN fallback
Output restart
Output restart
Fail-safe
operation (*1)
Output restart
Slave device
failure
MAN fallback
Output restart
Output restart
Output restart
Slave device
maintenance
MAN fallback
Output restart
Output restart
Output restart
Output restart
Output restart
Output restart
Restart
No change
No change
No change
No change
N020804E.EPS
*1:
When access from the master device (ACP71) does not take place over a certain period of time, the output of slave
devices will be forcibly changed to the designated value. The slave-device specifications determine whether fail-safe is
enabled and the tolerant tim span can be set. The duration for monitoring access from the master device is set in the
slave devices watchdog timer. The watchdog timer settings are defined using the PROFIBUS-DP configurator.
N2-50
N2-51
Recovery
CPU operation
status
Function block
mode
AUT
MAN
Slave device
output
N020805E.EPS
Figure Action when [Perform Fallback] is Enabled and [All Points Maintain Current Value] is Set
or when [Perform Fallback] is Disabled.
N2-52
Recovery
CPU operation
status
Function block
mode
AUT
MAN
Reset outputs
ACP71 output
Slave device
output
4 seconds
N020806E.EPS
Figure Action when [Perform Fallback] is Enabled and [Reset all outputs] is checked.
N2-53
N2-54
N2-55
IOM
download
Required
Not required
N020807E.EPS
*1:
*2:
*3:
The ACP71 reads new inputs and resets outputs for those slave devices connected to the ACP71 prior to replacement,
as well as the slave devices connected to a new ACP71 after replacement that meet all of the following conditions:
Node-address agreement
Ident Number (model code) agreement
I/O module configuration agreement
Resets outputs means that 0 is output for the analog output and discrete output.
This occurs in the situation that copying PROFIBUS configuration to a default project or a project offline, the copied
contents have discrepancies with PROFIBUS configuration contents downloaded to the ACP71.
N2-56
FCS
Communication
I/O definitions
Reflected?
Is the data downloaded?
ACP71
PROFIBUS
definition data
Is there agreement?
Slave device
Slave device
N020808E.EPS
N2-57
N2-58
Even if you change setting items other than copying the PROFIBUS definition data in the
ACP71 property sheet, communication with slave devices will not stop. This means that no
outputs will be reset.
However, data update for the interface with the FCU temporarily stops. During this time, the
connection destination function block changes to OOP and performs a MAN fallback.
The table below indicates the actions of devices when ACP71 properties are changed,
according to the status during online maintenance.
Table Actions when ACP71 Properties are Changed (1/2)
Action
Agreement
between
PROFIBUS
definition data
and slave
device
configuration
Agree
Do not agree
Downloaded
Function
block
After download
ACP71
Function
block
Reads new
Input is IOP
Communication inputs
Output
with all slave
Output
performs MAN
devices stops performs
fallback
MAN fallback
Data in
agreement
Copied or
recopied
PROFIBUS
definition
data file
During download
Input retains
previous
value or IOP
Output
performs
MAN fallback
-(*3)
Do not agree
Reads new
inputs
Resets
outputs (*1)
No
Input is IOP
corresponding
Output
I/O
performs MAN
communication
fallback
(*2)
Communication
with all slave
devices stops
Agree
Data existing only
in PROFIBUS
definition data
ACP71
Reads new
inputs
Resets
outputs (*1)
-(*3)
No
corresponding
I/O
communication
(*2)
N020809E.EPS
*1:
*2:
*3:
Resets outputs means that 0 is output for the analog output and discrete output.
When configured device is different from the slave device, all I/O communication to that slave device may not be
performed. For more information, see the devices manual.
There is no link to the function block, since there are no communication I/O definitions. Accordingly, the operation
remains unaffected.
N2-59
Data in
agreement
Action
Agreement
between
PROFIBUS
definition data
and slave
device
configuration
Agree
Do not agree
Changed
ACP71's
Set Details
only
Not
downloaded
During download
Function
block
ACP71
Function
block
Input retains
previous value
or become
IOP (*5) Output
performs MAN
fallback
Reads new
inputs
Outputs
previous
output value
Reads new
inputs
Output
performs
MAN fallback
Input is IOP
Output
performs
MAN fallback
(*4)
Input is IOP
No corresOutput
ponding I/O
performs
communication
MAN fallback
(*2)
(*4)
No corresponding I/O
communication
(*2)
Reads new
inputs
Outputs
previous
output value
Reads new
inputs
Outputs are
re-output
Agree
Data existing only
in PROFIBUS
definition data
(*3)
Do not agree
After download
No corresponding I/O
communication
(*2)
ACP71
Reads new
inputs
Outputs are
re-output
(*3)
No corresponding I/O
communication
(*2)
N020810E.EPS
*1:
*2:
*3:
*4:
*5:
Resets outputs means that 0 is output for the analog output and discrete output.
When configured device is different from the slave device, all I/O communication to that slave device may not be
performed. For more information, refer to the devices manual.
There is no link to the function block since there are no communication I/O definitions. Accordingly, the operation
remains unaffected.
Since there is no PROFIBUS definition data in the first place or since the data does not agree with the other conditions,
the status is already IOP/OOP even before downloading. Accordingly, there are no operation changes due to online
downloading.
This can be selected using [IOM Online Updating] in the FCS property sheet.
IMPORTANT
When properties are changed, the PROFIBUS definition data and ACP71 set details are
downloaded.
When download of PROFIBUS definition data has completed normally, but there is an error
in downloading of ACP71s set details, the database managed by System view returns to
the status prior to downloading.
Accordingly, the PROFIBUS definition data managed by system view does not match the
PROFIBUS definition data in the ACP71.
Execute an IOM download to the ACP71 to cancel changes made to the ACP71 property
sheet and return to the previous status.
To change the properties, recopy and download the PROFIBUS definition data.
N2-60
Agreement
between
PROFIBUS
definition
data and
communication
I/O definitions
Data in
agreement
Action
Agreement
between
PROFIBUS
definition data
and slave
device
configuration
Agree
Do not agree
Copying
completed
Not
downloaded
During download
Function
block
ACP71
Function
block
Input retains
previous value
or become
IOP (*1) Output
performs MAN
fallback
Reads new
inputs
Outputs
previous
output value
Reads new
inputs
Output performs MAN
fallback
Input is IOP
Output performs MAN
fallback
No
Input is IOP
corresponding
Output perI/O
forms MAN
communication
fallback
(*2)
Reads new
inputs
Outputs
previous
output value
Reads new
inputs
Outputs previous output
value
(*3)
Do not agree
Data existing only
in communication
I/O definitions
Not copied
After download
Input is IOP
Output performs MAN
fallback
No
corresponding
I/O
communication
(*2)
(*3)
ACP71
Reads new
inputs
Outputs are
re-output
*1:
*2:
*3:
This can be selected using [IOM Online Updating] in the FCS property sheet.
When configured device is different from the slave device, all I/O communication to that slave device may not be
performed. For more information, refer to the devices manual.
There is no link to the function block since there are no communication I/O definitions. Accordingly, the operation
remains unaffected.
<N2.9 Messages>
N2-61
N2.9 Messages
In PROFIBUS-DP communication, the following messages are displayed for the
ACP71 or slave device.
System alarm messages
Fieldbus messages
<N2.9 Messages>
N2-62
Number
Event
Message
Remarks
0081
IOM error
0082
IOM recovery
0089
Communication
STNss SS-COM Error UNIT mm SLOT nn STN zzz CODE=####
error
0090
Communication
STNss SS-COM Recover UNIT mm SLOT nn STN zzz
recovery
N020901E.EPS
STNss:
mm:
nn:
zzz:
####:
Station name
Unit number
Slot number
Node address
Error code
When a communication error occurs at a slave device, a system-alarm message is generated at the first occurrence only.
No further system-alarm messages will be generated, even if another error arises due to a
different cause.
<N2.9 Messages>
N2-63
Definition Error
The following errors occur when the contents set by the communication I/O definitions are
invalid.
If any of the following errors occurs, check the settings for the Communication I/O Builder.
Table Definition Errors
Error
code
Description
CAB1
CAB2
CAB3
CAB4
CAB5
CAB6
CAB7
CAB8
CAB9
CABA
CABB
CABC
CABD
Other device address invalid, entry data for slot number is not
a numerical value
CABE
CABF
Action to take
following the error
N020902E.EPS
Communication Error
The following errors occur when there is a communication error with the slave device or
there is a failure in the slave device.
Table Communication Error
Error
code
Description
CA91
CA92
Configuration error
CA93
Action to take
following the error
Retry communication
N020903E.EPS
<N2.9 Messages>
N2-64
Messages relating to errors defined by the PROFIBUS-DP specifications are displayed as text. However, the contents of device specific errors are displayed in the
form of an error code. Refer to the devices manual for the meaning of the error
codes.
List of Messages
Fieldbus messages are divided into the following categories:
Slave device common messages
Slave device specific messages
Messages for each module in the slave device
Messages for each channel in the slave device
ACP71 self-diagnostic messages
IMPORTANT
The ACP71 manages Error Occurrence/Recovery status relating to the fieldbus
messages.
Thus, if the ACP71 restarts after an error occurrence message has been relayed, a
normal recovery message will not be forwarded.
When an error larger than the communication frame size of the slave diagnostic
information occurs, the part that could not fit in the communication frame might not be
relayed as a message. The communication frame size of the slave diagnostic information depends on the slave device.
The part that does not fit into the communication frame is part of the error of a specific
channel.
In this case, only the message for each module and the error for each channel that fits
in the communication frame will be relayed.
<N2.9 Messages>
N2-65
Event
Error
detected by:
Message
3201
Locked by another
master device
3202
3203
3204
3205
Received an illegal frame STNss PB UNIT mm SLOT nn Station Alarm STN zzz ID 0xXXXX
Invalid_Slave_Response
from the slave device
3206
3207
3208
3209
Configuration error
3210
3211
3212
ACP71
Slave device
ACP71
Slave device
Slave device
Slave device
N020904E.EPS
STNss:
XXXX:
yyy:
Station name, mm: unit number, nn: Slot number, zzz: node address
Ident Number (Hexadecimal: Displayed with 0x added at the top).
Node address of the master device locking the slave device
<N2.9 Messages>
N2-66
Number
Event
Message
3213
3214
3215
3216
3217
Setting parameters or
checking configuration
3218
3219
3220
ACP71
ACP71
Slave device
ACP71 or
slave device
N020905E.EPS
STNss:
XXXX:
yyy:
Station name, mm: unit number, nn: Slot number, zzz: node address
Ident Number (Hexadecimal: Displayed with 0x added at the top).
Node address of the master device locking the slave device
Messages relating to the slave device are displayed according to the interpretation results
of the top 3 bytes of the Slave Diagnostic Information defined by the PROFIBUS specifications.
The following bit indicates the presence/absence of device-specific diagnostic information,
module diagnostic information, and channel diagnostic information. When this bit is
marked, the slave-device specific messages and subsequent error messages will be
displayed.
The messages relating to this bit will not be displayed.
Ext_Diag: Slave Diagnostic Information has expansion data
<N2.9 Messages>
N2-67
Error
detected by:
Number
Event
Message
3231
3232
Slave device
N020906E.EPS
STNss:
XXXX :
ZZZZZZZZZZ:
Station name, mm: unit number, nn: Slot number, zzz: node address
Ident Number (Hexadecimal: Displayed with 0x added at the top).
Error code (Hexadecimal: Maximum 126 characters, with top 2 characters indicating the error code
length (byte length)).
Event
Error
detected by:
Message
3241
3242
Slave device
N020907E.EPS
STNss:
XXXX:
yy:
Station name, mm: unit number, nn: Slot number, zzz: node address
Ident Number (Hexadecimal: Displayed with 0x added at the top).
Module slot number (decimal)
Module slots are numbered starting with either 1 or 0, depending on the slave device.
The slot number is set to begin with 1 when designating the Communication I/O Builder.
However, in System View you can set the slot number to display in the message, starting
with 0.
<N2.9 Messages>
N2-68
Event
Error
detected by:
Message
3251
short circuit
3253
undervoltage
3255
overvoltage
3257
overload
3259
overtemperature
3261
link break
3263
3265
3267
error
3269
Other errors
3270
The above error returned STNss PB UNIT mm SLOT nn Channel Recover STN zzz ID 0xXXXX
MODULE yy CHANNEL ww
to normal
N020908E.EPS
STNss:
XXXX:
yy:
Station name, mm: unit number, nn: Slot number, zzz: node address
Ident Number (Hexadecimal: Displayed with 0x added at the top).
Module slot number (decimal), ww: Channel number (decimal), vvvv: Error type (decimal)
Event
Error
detected by:
Message
3281
PROFIBUS
communication stop
3282
PROFIBUS
communication recover
ACP71
N020909E.EPS
STNss:
*1:
N3-1
IM 33S01B30-01E
N3-2
PROFIBUS-DP
configurator
(manufactured by
Hilscher)
Copy
System Builder
System
View
Communication
I/O Builder
Function Block
Detail Builder
System Alarm
window
Historical
Message Report
window
Control bus
FCS
ALP111
operating status
Download
ALP111
Fail/Recover
message
Slave device
diagnostic
information
PROFIBUS-DPV1
communication function
I/O data
PROFIBUS-DPV1
communication module (ALP111)
PROFIBUS-DP
I/O data
Slave device
N030101E.EPS
IM 33S01B30-01E
N3-3
System Builder
The following functions are provided by System Builder.
Copying the PROFIBUS definition data file from the PROFIBUS-DP configurator to an
internal folder.
Defining the settings related to data in ALP111 modules and slave devices from
Communication I/O Builder and downloading communication I/O definitions to the
FCS and ALP111 modules.
Specifying registration, modification, deletion and module dual-redundancy of ALP111
modules from System View. In addition, it is possible to download data to the ALP111
modules using IOM download.
Defining function-block output conversions from Function Block Detail Builder.
IM 33S01B30-01E
N3-4
IM 33S01B30-01E
N3-5
Hardware Environment
The following hardware environment is required for communication with PROFIBUS-DPV1.
Table Hardware Operating Environment
Type
Communication module
Hardware
Remarks
ALP111
N030201E.EPS
The following hardware is also required for communication. Use hardware that conforms to
the PROFIBUS-DPV1 and PROFIBUS-DP specifications.
Table Devices Required for Communication with PROFIBUS-DPV1
Type
Description
Slave device
Repeater
*1:
A maximum of 32 units can be connected to a single PROFIBUS-DP segment, including master devices (ALP111) and
slave devices. This means that up to 31 slave devices (up to 30 devices when two ALP111 modules are installed in
dual-redundant configuration) can be connected when no repeaters are used. The use of repeaters allows the
connection of up to four segments.
Software Environment
The following optional packages are required for communication with PROFIBUS-DPV1.
LFS2542 PROFIBUS Communication Package (for ALP111)
IM 33S01B30-01E
N3-6
PROFIBUS-DP Configurator
A third-party configurator is required for PROFIBUS-DPV1 engineering.
System Configurator Version 2.881 or later versions (Product of Hilscher Co.) (*1)
*1:
SEE ALSO
For more information about the operating environment, see the System Configurators Manual provided
by Hilscher Co.
TIP
To define slave devices with the PROFIBUS-DP configurator, a file (GSD file) that defined the device
specifications and setting data is required.
GSD files are either supplied by the device manufacturer or can be downloaded from the PROFIBUS
Organizations website.
IMPORTANT
To permit users that do not have Administrator privileges in Windows 2000 or Windows XP
environment to use the PROFIBUS-DP configurator, the following operations may be
required.
Add the user who will be running the PROFIBUS-DP configurator to the permission user list
for the folder in which the PROFIBUS configurator is installed and all subfolders/subfiles,
and set the Full Control permission for the user. By default, the PROFIBUS-DP
configurator files are installed under the following folder.
C:\Program Files\Yokogawa\SyCon
IM 33S01B30-01E
N3-7
Mounting Format
ALP111 can be installed in a local node of ESB bus node unit (such as ANB10S or
ANB10D)or in a remote node of ER bus node unit (such as ANR10S or ANR10D).
The maximum number of modules for installation is as follows:
When installing ALR111 to an ER bus node unit against one (or, in redundant configuration, one pair of) EB401 modules, up to 8 modules of ALF111, ALR111, ALR121,
ALE111 and ALP111 can be installed.
For one FCU, up to 16 modules of ALF111, ALR111, ALR121, ALE111 and ALP111
can be installed for non-redundant configuration; or 8 pairs of above modules for
redundant configuration.
Mounting Position
ALP111 modules can be mounted in slot No.1 to slot No.8 of an ESB bus node unit or an
ER bus node unit. ALP111 modules can be made dual-redundant by mounting them in two
adjacent slots (an odd numbered slot and the subsequent slot).
There is no restriction regarding combination with other FIO I/O modules and communication modules such as ALF111 and ALE111 in a node.
IM 33S01B30-01E
N3-8
Dual-Redundant Modules
The PROFIBUS-DPV1 specification permits dual-redundant master devices, slave devices
and buses. This system, which uses ALP111 modules, only supports dual-redundant
master devices (ALP111). Slave devices and buses are configured as single devices.
Host controller
ALP111 on the
controlling side
ALP111 on the
standby side
I/O communication
Diagnostic communication
Slave
device 1
Slave
device 2
Slave
device 3
N030301E.EPS
IMPORTANT
Definitions in the PROFIBUS-DP configurator for dual-redundant ALP111 modules
are the same as when they are defined as single modules. The same definitions are
used on both the controlling side and the standby side.
The address of standby ALP111 module should use the address that equals to X-1 (X:
master device address specified by the PROFIBUS-DP configurator). So that when
using PROFIBUS-DP configurator to configure ALP111 into a dual-redundant
scheme, the address of the master device must be specified in the range of 2 to 125.
And all the slave devices must not have an address that identical with the address of
the standby ALP111.
IM 33S01B30-01E
N3-9
Output
Name
Data type
I16
U16
I32
U32
F32
DI
I16
U16
I32
U32
F32
DO
N030401E.EPS
ALP111 modules may not guarantee simultaneous transmission of data of 32 bits or more;
do not use 64-bit floating point data types.
IM 33S01B30-01E
N3-10
IM 33S01B30-01E
N3-11
IM 33S01B30-01E
N3-12
How I/O Data is Stored in the Communication I/O Data Area (in the Case
of Module Specification)
The basic method of storing 8-bit data (1-byte data) in the communication I/O area for
definition by module specification is the same as for ACP71.
SEE ALSO
For how I/O data is stored in the communication I/O data area, see the following:
How I/O Data is Stored to the Communication I/O data Area in N2.4, I/O Data
How to Treat I/O Data as Analog I/O Data (in the Case of Module Specification)
In the case of definition by module specification, I/O data can be treated as analog data in
the same way as for ACP71.
SEE ALSO
For how to treat I/O data as analog I/O data, see the following:
Treating I/O Data as Analog I/O Data in N2.4, I/O Data
How to Treat I/O Data as Discrete I/O Data (in the Case of Module Specification)
In the case of definition by module specification, I/O data can be treated as discrete I/O
data in the same way as for ACP71.
SEE ALSO
For how to treat I/O data as discrete I/O data, see the following:
Treating I/O Data as Discrete I/O Data in N2.4, I/O Data
IM 33S01B30-01E
N3-13
How to Treat I/O Data as Analog I/O Data (in the Case of Specification for
Each Channel and Channel Batch Specification)
In the case of analog data, the data corresponding to one module among the I/O data
communicated with slave devices is regarded to be arranged from channel 0, and the data
position is calculated.
I/O data for one
slave device
Communication I/O data area
I/O data (module 1)
16 bits
%WW0049
%WW0051
%WW0053
N030402E.EPS
The data position corresponding to each channel number in a slave device is calculated by
the following calculation formula:
Data position = data size (*1) x channel number
*1:
Data size signifies the size of the relevant data type specified in Communication I/O Builder. It is given in units of bytes.
The following table lists the correspondence between data types and data sizes.
Table Correspondence between Data Types and Data Sizes
Data type
Remarks
(*1)
(*2)
(*1)
(*1)
(*1)
(*2)
N030403E.EPS
*1:
*2:
If 8-bit data is expanded to 16-bit data by adding the extension ;E in Device & Address of Communication I/O
Builder, the data position is calculated by setting the data size as 1 byte.
ALP111 modules may not guarantee simultaneous transmission of data of more than 32 bits; do not use 64-bit floating
point data types.
IMPORTANT
Data can only be defined by channel specification (specification for each channel and
channel batch specification) when it has the structures shown above. Special data structures where multiple data types coexist cannot be defined by channel specification. Slave
devices with special data structures must be defined by module specification.
IM 33S01B30-01E
N3-14
How to Treat I/O Data as Discrete I/O Data (in the Cases of Specification
for Each Channel and Channel Batch Specification)
How to treat Input Data as Discrete I/O Data
The data range that can be referenced from the communication I/O data area is the same
as the range that can be referenced in the definitions set by module specification.
While an area is reserved for each word in the case of communication I/O data, data for
several channels is packed in units of one to several bytes in the case of data received from
slave devices. Such packed data is allocated by an ALP111 according to definitions made
in Communication I/O Builder. In order to connect %WB data to a function block, use only
the bits corresponding to the specific channel number, among those assigned to the communication I/O data area.
Data on a slave device
Data for the size of the
%WB area is copied.
DI input position
00110110
11110000
11110000
%WB003301
For channel 0
11110000
%WB003502
For channel 1
00110110
11110000
%WB003703
For channel 2
00110110
11110000
%WB003904
For channel 3
00110110
11110000
%WB004816
For channel 15
N030404E.EPS
IM 33S01B30-01E
N3-15
Slave device
ALP111
FCS
Output data
Communication
I/O data area
Function block
1. . . . 1. . . 1
Output Data
%W Data
1. . . . . . . . . .
1. . . . . . . . . .
MV
Output Data
%W Data
. . . . . 1. . . .
. . . . . 1. . . .
MV
Output Data
%W Data
. . . . . . . . . .1
MV
. . . . . . . . . .1
N030405E.EPS
10
11
12
13
14
15
16
%WW000n
10
11
12
13
14
15
%WW000n+1
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Channel number
N030406E.EPS
IM 33S01B30-01E
N3-16
Data Status
The data status related to PROFIBUS-DP communication is the same as subsystem
communication.
SEE ALSO
The data status is determined by the communication status and slave diagnostic information of a slave
device.
For details on data status, see the following:
Data Statuses Handled for Subsystem in J1.2, Subsystem Data Identification
For details on slave diagnostic information, see the following:
N3.5, Monitoring and Diagnosing Devices
IM 33S01B30-01E
N3-17
IM 33S01B30-01E
N3-18
IM 33S01B30-01E
N3-19
Title
Error
detected by:
Description
Device common
slave diagnostic
information
Station_Status1-3.
Master_Add.
Ident_Number
ALP111 or
slave device
Device specific
slave diagnostic
information
Device related
diagnostic
Slave device
Module slave
diagnostic
information
Channel slave
diagnostic
information
Channel related
diagnostic
Slave device
N030501E.EPS
IM 33S01B30-01E
N3-20
IM 33S01B30-01E
N3-21
IMPORTANT
When an error is detected in one channel of the modules, an error is set in all the data
status of the module containing that channel. Select Do not reflect module errors in
the data status at the System View, if you do not wish to set an error in all data states
simultaneously.
The bit assignment for module slave diagnostic information differs depending on the
specification of a slave device. For this reason, data status can be set only when the
following bits are assigned.
Data status cannot be set with any other bit assignment. In that case, select Do not
reflect module errors in data status at the System View.
Set whether or not to reflect a module error in the data status for each ALP111.
If any one of the slave devices connected to an ALP111 has a bit assignment other than the
one shown below, it will be necessary to select Do not reflect module errors in data status.
Relative address
7
0
0
Bit number
Header information
Bit number
1
Slot 1 module
Slot 2 module
Slot 3 module
Slot 4 module
Slot 5 module
Slot 6 module
Slot 7 module
Slot 8 module
7
Bit number
2
Slot 9 module
Slot 10 module
Slot 11 module
Slot 12 module
Slot 13 module
Slot 14 module
Slot 15 module
Slot 16 module
N030502E.EPS
Note: The slot number may start with 0 in some devices, but these devices are treated the same way.
IM 33S01B30-01E
N3-22
Setting the Data Status (in the Case of Specification for Each Channel
and Channel Batch Specification)
Errors detected in each channel of a slave device are reflected in the data status. Errors
detected by a slave device are notified to an ALP111 as diagnostic information using
communication frames different from the frames used for I/O data. Errors related to channels (channel slave diagnostic information) are included in this diagnostic information. This
channel slave diagnostic information is reflected in the data status of the corresponding I/O
data as channel error information. For this reason, if an error occurs only in a certain channel, the error may be handled as either IOP or OOP in individual function blocks that are
connected with the channel.
SEE ALSO
For other information related to error diagnosis in the case of specification for each channel and channel
batch specification, see the following:
Handling of Overflow Error (Common to All the Data Specification Methods) in N3.5.1, Overview of Slave Diagnostic Information
Slave device
ALP111
Input data
FCS
Communication
I/O data area
Function blocks
%W Data
PV
Input Data
(Ch. x)
Input Data
Diagnostic
information
Data Status
IOP
Data Status
Channel
diagnostic
information (Ch. x)
N030503E.EPS
ALP111
Output data
FCS
Communication
I/O data area
Function blocks
%W Data
MV
Output Data
(Ch. y)
Output Data
Diagnostic
information
Data Status
OOP
Data Status
Channel
diagnostic
information (Ch. y)
N030504E.EPS
IM 33S01B30-01E
N3-23
Setting the Data Status of Discrete Input Data (in the Case of Specification
for Each Channel and Channel Batch Specification)
In the case of discrete input data, it is possible to select which channel slave diagnostic
information should be reflected in the data status by specifying a channel number in Communication I/O Builder.
Set the bit corresponding
to the channel number
in %WB.
Slave device
ALP111
FCS
Input data
Communication
I/O data area
Input Data
Output data for
several channels
are packed.
Input Data
Diagnostic
information
Data Status
Channel
diagnostic
information (Ch. x)
Input Data
Channel
diagnostic
information (Ch. y)
Channel
diagnostic
information (Ch. z)
Data Status
Input Data
Data Status
%W Data
Data Status
%W Data
Data Status
%W Data
Data Status
Function blocks
PV
IOP
PV
IOP
PV
IOP
N030505E.EPS
IM 33S01B30-01E
N3-24
Setting the Data Status of Discrete Output Data (in the Case of Specification for Each Channel and Channel Batch Specification)
In the case of discrete output data, it is possible to select which channel slave diagnostic
information should be reflected in the data status by specifying a channel number in Communication I/O Builder.
Only bits corresponding
to the specific channel
numbers are extracted.
Slave device
FCS
Output data
Communication
I/O data area
1. . . . 1. . . 1
Output data for
several channels
are packed.
Diagnostic
information
Channel
diagnostic
information (Ch. x)
Channel
diagnostic
information (Ch. y)
Channel
diagnostic
information (Ch. z)
Output Data
%W Data
1. . . . . . . . . .
1. . . . . . . . . .
Data Status
Data Status
Output Data
%W Data
. . . . . 1. . . .
. . . . . 1. . . .
Data Status
Data Status
Output Data
%W Data
..........1
..........1
Data Status
Data Status
Function blocks
MV
OOP
MV
OOP
MV
OOP
N030506E.EPS
IM 33S01B30-01E
N3-25
IM 33S01B30-01E
N3-26
IMPORTANT
The size of the channel slave diagnostic information area differs depending on the device. If
the number of erroneous channels exceeds the storage area allotted to channel slave
diagnostic information, subsequent channel slave diagnostic information is discarded.
Check the specifications of the slave device in use regarding whether or not channel errors
can be reliably detected.
IM 33S01B30-01E
N3-27
How to Reference the Entire Slave Diagnostic Information as Communication I/O Data
The following shows how to reference all slave diagnostic information of a slave device as
communication I/O data.
%W area
01
08, 09
16
0,7
%WW0101
%WW0102
%WW0103
N030508E.EPS
IM 33S01B30-01E
N3-28
Setting
Remarks
Size
1 to 128 (words)
Station
Node address of
slave device
"DIAG"
Data Type
Input (Discrete)
Reverse
No
N030509E.EPS
IM 33S01B30-01E
N3-29
%W area
01
08, 09
16
0,7
%WW0101
%WW0102
%WW0103
N030510E.EPS
IM 33S01B30-01E
N3-30
Setting
Size
1 to 32 (words)
Station
Node address of
slave device
"DIAG_DEV"
Data Type
Input (Discrete)
Reverse
No
Remarks
Specify the size according to the data amount of the
area to be referenced.
N030511E.EPS
IM 33S01B30-01E
N3-31
Example of Assigning Module Slave Diagnostic Information in the Communication I/O Data Area
Module slave diagnostic information is stored in the communication I/O data area sequentially, starting from the head byte and occupying an area corresponding to the data size
specified in Communication I/O Builder, in the same way as for device specific slave diagnostic information.
Refer to the manual of the device used for a detailed description of the contents of the
module diagnostic information.
Setting
Size
1 to 32 (words)
Station
Node address of
slave device
"DIAG_MOD"
Data Type
Input (Discrete)
Reverse
No
Remarks
Specify the size according to the data amount of the
area to be referenced.
N030512E.EPS
IM 33S01B30-01E
N3-32
Example of Assigning Channel Slave Diagnostic Information in the Communication I/O Data Area
Channel slave diagnostic information can reference multiple consecutive channels within
the same module with one definition.
The actual size of slave diagnostic information of one channel is three bytes, but an area of
two words (four bytes) is used for slave diagnostic information of one channel when the
information is mapped to the communication I/O data area. The value of the fourth byte is
always 0.
See the manual of the device in question for a detailed description of the contents of the
channel slave diagnostic information.
Bit numbers of %WB
%W area
01
08, 09
16
0,7
%WW0101
%WW0102
%WW0103
N030513E.EPS
Values of channel slave diagnostic information are stored as follows in the communication I/
O data area.
Table Values of Channel Slave Diagnostic Information
Status
Data item
Normal
0
0xFF
0
N030514E.EPS
*1:
IM 33S01B30-01E
N3-33
IM 33S01B30-01E
N3-34
Setting
Size
1 to 128 (words)
Station
Node address of a
slave device
Data Type
Input (Discrete)
Reverse
No
Remarks
Specify the size as (number of consecutive channels
to be referenced) x 2 (words).
N030515E.EPS
The table below lists how to define Device & Address (8 single-byte alphanumeric characters) shown in Table Settings for Assigning Channel Slave Diagnostic Information.
Table How to Define Device & Address
Definition
Description
Example
Slot number
D3
Index
Semicolon (;)
D3-1;1
Channel number
D3-1;1
D3-1
N030516E.EPS
Syntax
Dmm-nn;xx (mm: slot number of a module, nn: index, xx: channel number)
Example of definition (in the case of the module slot number is 3 and channel number is 1)
D3;1
IM 33S01B30-01E
N3-35
Setting
Size
1 to 8
Station No.
Remarks
Specify according to the number of slave devices.
Input (Discrete)
Reverse
Bits
N030517E.EPS
IM 33S01B30-01E
<N3.6 Engineering>
N3-36
N3.6 Engineering
Engineering tasks are broadly classified into two categories: tasks performed in
System Builder and tasks performed using the PROFIBUS-DP configurator.
This chapter provides an overview of the PROFIBUS-DP engineering, including
engineering of ALP111 modules, and explains the operations performed with the
PROFIBUS-DP configurator and System Builder.
IM 33S01B30-01E
<N3.6 Engineering>
N3-37
Engineering Scope
The following figure and table show the scope and targets for PROFIBUS engineering.
HIS
Control bus
FCS
Area engineered
with System Builder
FCS
ALP111
Slave
device
Area engineered
with the PROFIBUS-DP
configurator
Slave
device
N030601E.EPS
Engineering target
System Builder
HIS
FCS
ALP111
Slave device
PROFIBUS-DP
configurator
N030602E.EPS
:
Applicable
Blank: Not applicable
IM 33S01B30-01E
<N3.6 Engineering>
N3-38
System Builder
Export
Copy
Control bus
Download
FCU
ALP111
ALP111
PROFIBUS-DP
Slave device
Slave device
N030603E.EPS
IM 33S01B30-01E
<N3.6 Engineering>
N3-39
IMPORTANT
The PROFIBUS definition data file stores the data downloaded to an ALP111, but is
not a database where PROFIBUS-DP project data is stored. Thus, the PROFIBUS-DP
project cannot be edited from the PROFIBUS definition data file.
Download of data to a slave device does not involve PROFIBUS-DP.
The PROFIBUS definition data contains setting information for slave devices as well.
This setting information is set in a slave device from an ALP111 when the ALP111 or
the slave device starts up.
Do not download PROFIBUS definition data from the PROFIBUS-DP configurator directly
to an ALP111.
The PROFIBUS-DP configurator has a function to download PROFIBUS definition data
directly via the ALP111s RS port. However, do not use this function, since the following
problems will occur if it is used:
During the PROFIBUS definition data download operation, all PROFIBUS-DP communications stop and all I/O data becomes IOP/OOP.
It is not guaranteed that PROFIBUS definition data has been copied correctly to
System Builder. While data is being downloaded from the System Builder, PROFIBUS
definition data in an ALP111 may be rewritten as different data or may be deleted.
IM 33S01B30-01E
N3-40
<N3.6 Engineering>
Engineering Procedures
The following chart shows the basic engineering procedures using System Builder and the
PROFIBUS-DP configurator.
Settings in System Builder can be performed along with settings in the PROFIBUS-DP
configurator.
(1)
System design
Engineering operations
with System Builder
(2)
Input and export with the
PROFIBUS-DP configurator
(3)
Copy the ALP111 definitions and
the PROFIBUS definition data file
(4)
Assign the communication I/O
definition to the element number
(5)
Link to a function block
using Control Drawing Builder
Operations not
involving an FCS
Operations
involving an FCS
(6)
Debug using the test function
(7)
Download
(8)
Debug PROFIBUS-DP
communication
(9)
Check for errors
END
N030604E.EPS
IM 33S01B30-01E
<N3.6 Engineering>
N3-41
System Design
Design the function-block configuration including slave devices, communication specifications and control specifications.
Copy the ALP111 Definitions and the PROFIBUS Definition Data File
Define the ALP111 in System View. Copy the PROFIBUS definition data file using the
ALP111 property sheet.
Note, however, that no error will occur even if the PROFIBUS definition data file is not
copied at this stage. Therefore, make sure to copy the PROFIBUS definition data file prior
to downloading.
Download
Download the engineered information to the FCS and ALP111.
PROFIBUS definition data is not downloaded during an offline download operation. To
download PROFIBUS definition data, execute an IOM download operation for the ALP111
following the offline download.
IM 33S01B30-01E
<N3.6 Engineering>
N3-42
Create a project.
The project herein refers to a database that comprises 1 segment of PROFIBUSDPV1.
2.
3.
Define an ALP111.
To define an ALP111, select ALP111 from the master device selection menu.
4.
Define a slave device. If multiple modules can be set for the slave device, assign the
modules.
Set definitions specific to each slave device, if necessary.
5.
IM 33S01B30-01E
<N3.6 Engineering>
N3-43
2.
3.
IMPORTANT
Do not change any settings related to an ALP111 from the default values in the
PROFIBUS-DP configurator. The ALP111 may not function properly if any of the
settings is changed.
When setting bus parameters, make sure the Auto Clear item is set to OFF (default).
If Auto Clear is set to ON, the ALP111 module stops communication with all the slave
devices on the PROFIBUS-DP bus when any of the devices fails or any malfunction
event occurs. In this case, all inputs and outputs of the ALP111 become IOP or OOP.
To recover from the IOP or OOP status, it is necessary to execute an IOM download
operation.
TIP
A PROFIBUS configuration data file must be created to modify even a single setting item of the
PROFIBUS-DP configurator. If you have performed any of the following operations, change the settings
using the procedure explained in this section.
The following are some typical changes.
IM 33S01B30-01E
<N3.6 Engineering>
N3-44
Select the IOM folder in System View, and select [New] and then [Node] from the File
menu. The Create New Node dialog box appears. Create a node in order to create an
ALP111.
SEE ALSO
For details on the settings on the Create New Node dialog box, see the following:
Creating a New Node: KFCS2/KFCS/FFCS in F1.5.1, Creating a Node
2.
Select the newly created NODExx folder, and select [New] and then [IOM] from the
File menu. The Create New IOM dialog box appears.
3.
4.
5.
Click the Copy button in [PROFIBUS configuration data file] on the Set Details tab. The
Open dialog box appears.
6.
Select the PROFIBUS configuration data file from the Open dialog box, and click the
OK button. The PROFIBUS configuration data is copied.
7.
Click the OK button in the Create New IOM dialog box. The Create New IOM dialog
box closes.
In System view, select an ALP111 for which you wish to change the settings. Then,
select [File] and [Properties] to display the property sheet.
2.
Display the Set Details tab in the property sheet, then change the settings as required.
3.
If any change has been made to the settings of the PROFIBUS-DP configurator, click
the Copy button in [PROFIBUS configuration data file]. The Open dialog box appears.
If there are no changes, skip step 4 and go to step 5.
4.
Select the PROFIBUS configuration data file from the Open dialog box, and click the
OK button. The PROFIBUS configuration data file is copied.
5.
Click the OK button in the property sheet. The property sheet closes.
IM 33S01B30-01E
<N3.6 Engineering>
N3-45
Tab
Item
IOM Type
Installation position
Detail
Remarks
Category
Type
Slot
Type
Duplicate Next Card
and
Position
Cannot be selected
Output Type
High Speed Read
IOM Comment
N030605E.EPS
Set Details
IOM Type
Category
Profibus-DPV1 Communication
Type
ALP111(Profibus-DPV1 Communication)
Installation Position
Slot
Output immediately
OK
Cancel
N030606E.EPS
IM 33S01B30-01E
<N3.6 Engineering>
N3-46
ALP111 Properties
Perform Fallback, Action when Module/Channel Fail Detected, PROFIBUS Configuration Data File,
Command
The table below lists the contents of the ALP111 property sheet.
Table ALP111 Property Sheet
Tab
Item
Change
IOM Type
Type
Installation Position
and
position Duplicate Next Card
High Speed Read
IOM Comment
Detail
Remarks
Category
PROFIBUS-DPV1 Communication
Type
IOM Category
Display settings defined in the Type and Position tab.
IOM Type
Slot
Perform Fallback
Action when
module/channel
fail detected
Set
Details
Creation date
Date copied
Displays the time and date the Copy button was clicked.
Cannot be selected. The default is blank. Updated after
the Copy button is clicked.
[Copy]
Command Line
A character string of
up to 32 characters
[default]
PROFIBUS
configuration
data file
Tab
Item
Change
Remarks
N030607E.EPS
:
Can be changed even after a new IOM has been created.
Blank: Cannot be changed once a new IOM has been created.
*1:
Valid when defining I/O data of slave devices using the module specification method.
*2:
The PROFIBUS configuration data is downloaded when the OK button in the property sheet is clicked after the data
has been copied. Clicking the Cancel button in the property sheet after copying invalidates the file that was copied and
restores the previously copied file.
IM 33S01B30-01E
N3-47
<N3.6 Engineering>
Properties
Type and Position
Set Details
IOM Category
Profibus-DPV1 Communication
IOM Type
ALP111(Profibus-DPV1)
Slot
1
Perform Fallback
All points maintain Current value
Reset all outputs
Cancel
N030608E.EPS
IOM Download
During IOM download, the following data is downloaded to the ALP111.
PROFIBUS definition data
ALP111 program
IOM download can be executed by selecting [Load] and then [Download to IOM] from
System View.
IMPORTANT
The IOM Download Start/Complete system alarm is generated for both the PROFIBUS
definition data and ALP111 program. In this case, the correspondence with data to be
downloaded can be checked by the messages in the IOM download dialog box.
The ALP111 program is downloaded only when creating a new IOM or executing IOM
download.
TIP
When downloading PROFIBUS configuration, the following system alarms may occur. Since these alarm
messages are triggered by the loading procedures, they do not indicate the occurrence of abnormality.
STNss SS-COM Error FIO k NODE mm SLOT nn PORT00 STN 255 code = C58A (*1)
*1:
STNss: Station name, k: Bus system number, mm: Node number, nn: slot number
IM 33S01B30-01E
<N3.6 Engineering>
N3-48
Operation Procedure
Perform the operations in Communication I/O Builder according to the following procedure.
1. Set the common setting items, then assign the communication I/O data area for the
ALP111 in use.
2. Set communication I/O definitions for each module of slave devices.
Item
Description
Buffer
Designate the size of the area for storing communication I/O definition data
to be used in an ALP111. The maximum value of the size is 1000.
Program Name
IM 33S01B30-01E
N3-49
<N3.6 Engineering>
Communication I/O Definition Items Set for each Module of Slave Devices
Data to be Reflected from the PROFIBUS-DP Configurator to Communication I/O Builder
In order to establish links between the definitions for PROFIBUS-DP created via the
PROFIBUS-DP configurator and the communication I/O definitions, a part of the settings
made with the PROFIBUS-DP configurator must be reflected in the settings of Communication I/O Builder.
The data that must be reflected in the settings of Communication I/O Builder is contained in
the Slave Configuration dialogue of the PROFIBUS-DP configurator. The table below lists
that data.
Table Data that Must be Reflected in the Settings
Item
Description
Remarks
Station
Address
Slot
Idx
IM 33S01B30-01E
N3-50
<N3.6 Engineering>
COM-DPS
Slave#2
Station address
Cancel
368
244
244
24
Byte
Byte
Byte
GSD file
Module
1 byte input con [0x90]
4 byte input con [0x93]
2 word output con [0xE1]
32 word input [0x40, 0x5F]
1 word output [0x60]
16 word output [0x6F]
2 word output con [0xE1]
Symbol
Module#1
Module#2
Module#3
Module#4
Module#5
Module#6
Module#7
Parameter Data...
HIL_7501.GSD
Module
64 byte output con [0x80, 0xBF]
1 word output con [0xE0]
2 word output con [0xE1]
3 word output con [0xE2]
4 word output con [0xE3]
8 word output con [0xE7]
Slot Idx
1
1
1
2
1
3
1
4
1
5
1
6
1
7
OK
111
69
42
7
Byte
Byte
Byte
Master#1
Identifier
0x80, 0xBF
0xE0
0xE1
0xE2
0xE3
0xE7
Assigned master
Station address 1
1/ALP111
Actual slave
Station address 2
Slave#2
2/COM-DPS
0 Addr. 0 Len.
Append Module
0
Remove Module
0
0
0
1
16
2
Symbolic Names
Insert Module
N030611E.EPS
The figure below shows an example of a dialogue for a module containing multiple indexes.
Slave Configuration
General
Device
Description
BusCon
Slave#3
Station address
OK
Cancel
GSD file
Parameter Data...
EBH82079.GSD
244
244
244
1
226
210
16
1
Module
H&B Var.80
Byte
Byte
Byte
Assigned master
Station address 1
Master#1
1/ALP111
Actual slave
Station address 3
Slave#3
3/BusCon
Slot Idx
1
1
1
2
1
3
1
4
1
5
1
6
1
7
Module
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
H&B Var.80
Symbol
Module#1
Module#1
Module#1
Module#1
Module#1
Module#1
Module#1
Type
IW
IW
IW
IW
IW
IW
IW
Append Module
Remove Module
Insert Module
Symbolic Names
N030612E.EPS
IM 33S01B30-01E
<N3.6 Engineering>
N3-51
If an odd-byte data size is assigned, there is no data corresponding to the terminal byte of the area because the area
size is designated in units of words. In this case, the value of the terminal byte data for the area is undefined.
TIP
When a module is deleted using the PROFIBUS-DP configurator, the slot numbers following that module
will shift. Therefore, the setting should be modified in [Device & Address].
However, this does not apply to slave devices to which no changes are made.
IM 33S01B30-01E
<N3.6 Engineering>
N3-52
Definitions relating to the communication I/O data area are set in Communication I/O
Builder.
The table below lists the definitions to be made.
Table Definition Items in Communication I/O Builder
Definition
Entry
item
Buffer area
Program
Name
Size
Details
Remarks
Enter the size of the entire area for storing the ALP111 data.
Port
IP Address
Entering an IP address
will not generate an error.
Station
Designating an unused
or out of range slot
number/index will cause
the status of the data in
question to be set to
IOP/OOP upon execution.
Device &
Address
Data Type
Scan
Service
Comment
Label
Reverse
N030613E.EPS
:
Entry is required.
Blank: Entry is not required.
-:
Can be omitted.
IM 33S01B30-01E
N3-53
<N3.6 Engineering>
Definition
Description
Channel
Module
specification
specification
(single/batch)
AI/O
DI/O
AI/O
DI/O
(*1)
(*1)
(*1)
(*1)
Slot number
Index
Semicolon (;)
Channel
number
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
(*1)
N030615E.EPS
:
*1:
*2:
Entry is required.
Enter as necessary.
A definition error occurs if H and Z are specified at the same time.
IMPORTANT
Specifying to maintain the output value
Communication from an ALP111 to slave devices is stopped while downloading
PROFIBUS definitions to the ALP111. To maintain the final output value on the device side
(to mask the failsafe operation), it is necessary to extend the watch dog timer detection time
of a device or invalidate the watch dog timer operation itself. Make sure to take the safety
measure of the control loop into consideration before specifying this option.
IM 33S01B30-01E
<N3.6 Engineering>
N3-54
Syntax
mm[-nn][;[xxESHZR]]
(mm: slot number of a module, nn: index, xx: channel number, items in [] can be omitted), E,
S, H, Z and R are extensions
Example of entry 1: In the case of analog or digital data (no byte reversing) of channel
number 1 when the module slot number is 3
3;1
Example of entry 2: In the case of analog or digital data (no byte reversing) of channel
number 2 when the module slot number is 3 and index is 4
3-4;2
Remarks
mm
mm;[ESHZR]
mm;xx
mm;xx[ESHZR]
mm-nn
mm-nn;[ESHZR]
mm-nn;xx
Low
mm-nn;xx[ESHZR]
N030616E.EPS
mm: slot number of a module, nn: index, xx: channel number, E, S, H, Z and R: extensions
IM 33S01B30-01E
N3-55
<N3.6 Engineering>
%WW0101
3;0
%WW0102
%WW0103
3;1
Element number
%WW0104
%WW0105
3;2
%WW0106
%WW0107
3;3
%WW0108
%WW0109
3;4
%WW0110
%WW0111
3;5
%WW0112
%WW0113
3;6
%WW0114
%WW0115
3;7
%WW0116
Size
16
3;R
1
2
3
4
5
6
7
%WW0117
N030617E.EPS
Figure
Reserve the same area size as for individual definitions for size. The format used when
calling from %W is the same for both individual and batch definition.
IMPORTANT
If individual channels are specified and defined separately, the total number of communication I/O definitions increases. Keep the number of communication I/O definitions less than
200, the upper limit of definitions for a single ALP111.
IM 33S01B30-01E
N3-56
<N3.6 Engineering>
Individual
definition
Batch
definition (R)
16 bits
Number of points x 2
32 bits
Number of points x 2
1 to 2 bytes
Number of points x 2
3 to 4 bytes
Number of points x 2
N030620E.EPS
The figure below shows examples of specifying consecutive channels by I/O type and size.
Eight 32-bit analog I/O points (I32, U32, F32)
Individual Definition Compatible with ACP71
Element number
%WW0101
%WW0103
%WW0105
%WW0107
%WW0109
%WW0111
%WW0113
%WW0115
Size
2
Channel
Device & Address number
3;0
0
3;1
3;2
3;3
3;4
3;5
3;6
3;7
1
2
3
4
5
6
7
Size
16
3;R
N030621E.EPS
IM 33S01B30-01E
N3-57
<N3.6 Engineering>
Size
%WW0101
3;0
%WW0103
3;1
%WW0105
3;2
%WW0107
3;3
%WW0109
3;4
%WW0111
3;5
%WW0113
3;6
%WW0115
3;7
Size
16
3;R
N030622E.EPS
IM 33S01B30-01E
N3-58
<N3.6 Engineering>
Size
%WW0101
3;0
%WW0103
3;1
%WW0105
3;2
%WW0107
3;3
%WW0109
3;4
%WW0111
3;5
%WW0113
3;6
%WW0115
3;7
%WW0117
3;8
%WW0119
3;9
%WW0121
3;10
%WW0123
3;11
%WW0125
3;12
%WW0127
3;13
%WW0129
3;14
%WW0131
3;15
Size
32
3;R
N030623E.EPS
IM 33S01B30-01E
<N3.6 Engineering>
N3-59
Size
3;0
3;1
Size
64
3;R
%WW0127
%WW0129
%WW0131
%WW0134
%WW0136
%WW0138
%WW0140
%WW0142
%WW0144
%WW0146
%WW0148
%WW0150
%WW0152
%WW0154
%WW0156
%WW0158
%WW0160
%WW0162
%WW0164
3;13
3;14
3;15
:
13
14
15
3;16 (*1)
3;17
3;18
3;19
3;20
3;21
3;22
3;23
3;24
3;25
3;26
3;27
3;28
3;29
3;30
3;31
(*1)
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* (*1)
N030624E.EPS
*1:
Specify %W(odd) for channel numbers from 0 to 15, specify %W+1(even) for channel numbers from 16 to 31.
SEE ALSO
For how channel numbers and %WB numbers correspond in discrete I/O data, see the following:
How to Treat I/O Data as Discrete I/O Data (in the Cases of Specification for Each Channel and Channel Batch Specification) in N3.4, I/O Data
IM 33S01B30-01E
<N3.6 Engineering>
N3-60
Tab
Item
Basic or Output
(optional setup item)
Detail
Setting
Detailed item
Default
1.000
0.000
106.25
-17.19
Remarks
Same as in the case of
Communication Output
Same as in the case of No
N030619E.EPS
SEE ALSO
For details on output signal conversion, see the following:
C4.8, Output Signal Conversion
IM 33S01B30-01E
N3-61
IM 33S01B30-01E
N3-62
Comment
I/O (OFF)
A
L
P
1
1
1
A
L
P
1
1
1
A
L
P
1
1
1
S
B
4
0
1
S
B
4
0
1
P
S
U
P
S
U
1C
IOM Load
Report
Close
N030701E.EPS
In the FCS Status Display window, the following data can be downloaded to the ALP111 by
clicking the [IOM Load] button.
PROFIBUS definition data
ALP111 program
IM 33S01B30-01E
N3-63
Path error
ESB Bus
AA I I I I
P P
SS
EE
L L OOOO
S S
BB
BB
P P MM MM
U U
Local Node
PROFIBUS-DP
PROFIBUS-DP/DPV1
Slave device
N030801E.EPS
IM 33S01B30-01E
N3-64
At Recovery
The control is resumed at recovery by maintaining the output value at error occurrence.
TIP
Since no read back operation is prescribed in the PROFIBUS communication specifications, it is not
possible to perform tracking operation with a slave device if an error occurs.
SEE ALSO
For more information about output processing, see the following:
N3.8.1, "Actions in the Event of Faults"
IM 33S01B30-01E
N3-65
ALP111
Specify the following two items in the IOM property sheet of an ALP111.
Specification of fallback operation (specification of output operation when an ALP111
detects a fallback of the host controller)
Whether or not to perform fallback operation
Output specification when a fallback occurs (specified output value for all ALP111
modules)
All points maintain Current value/Reset all outputs
Slave Devices
Set the following items using the PROFIBUS-DP configurator by referring to the manual of
each slave device.
Output actions
Specify the output action when a slave device is placed in the fail-safe status. (*1)
Specify the action for each slave device.
Enable fail- safe: Output the value specified for the slave device
Disable fail-safe: Maintain the previous output value
*1:
Fail-safe
If no access from the master device (ALP111) has taken place for a certain period of time, the output of the slave
devices in use will be forcibly changed to the designated value. The slave-device specifications determine whether failsafe operation is enabled and the setting range of the designated values. Operation of each device at fallback is set in
the detail settings of each device in the PROFIBUS-DP configurator, and the time to monitor access from the master
device (fail-safe monitoring time) is set as a bus common parameter of the PROFIBUS-DP configurator.
IM 33S01B30-01E
N3-66
System status
Prolonged power
failure/FCS
FCS offline download
power
failure
Momentary power
failure/restart
Prolonged ALP111
power
fallback
failure/
CPU
No ALP111
STOP/RUN
fallback
FCU
power
failure
ALP111
Momentary fallback
power
failure/
No
reset
ALP111
fallback
Path
error
Function block
output action
When a
failure occurs
At
recovery
Tracking
(0)
Restart
output
Output previous
value again
(continuous
operation)
Restart
output
Tracking
(previous
value or 0)
Previous value
Previous
value
Retain output
Continue
output
Continue
output
Continue
output
Retain output
Continue
output
Tracking
Output previous
value again
(continuous
operation)
Output previous
value again
(continuous
operation)
ALP111 fallback
MAN
fallback
Tracking
(previous
value or 0)
No ALP111
fallback
MAN
fallback
When a
failure occurs
Retain output
Output
specified value
Retain output
Previous value
0
Previous
value
Output
specified value
Retain output
0
Previous
value
Previous
value
Continue
output
Continue
output
Retain output
Previous
value
Previous value
Previous
value
Retain output
Continue
output
Tracking
Continue
output
Continue
output
Continue
Retain output
output
No change
No change
Continue
output
Continue
output
Retain output
Prolonged
power failure
MAN
fallback
Tracking (0)
Restart
output
Momentary
power failure
(restart)
No change
Output
previous
value again
Restart
output
ALP111 failure
/maintenance
MAN
fallback
Tracking
(0)
Restart
output
Dual-redundant
ALP111 switch
No change
No change
Continue
output
Continue
output
FCU (CPU)
control-right transfer
Node
power
failure
Continue
output
Retain output
Output
specified value
Retain output
Output
specified value
Previous
value
Retain output
Output
specified value
Retain output
0
Previous
value
N030806E.EPS
IM 33S01B30-01E
N3-67
System status
Function block
output action
When a
failure occurs
At
recovery
When a
failure occurs
At
When a
At
recovery failure occurs recovery
PROFIBUS communication
stop (between ALP111
and slave devices)
MAN
fallback
Tracking
(previous value)
Continue
output
Restart
output
MAN
fallback
Tracking
(previous value)
Continue
output
Restart
output
Retain output
Output
specified value
-
Previous
value
Previous
value
N030821E.EPS
TIP
In the case of an ALP111 mounted to the FCU of an FFCS, the "FCU power failure" of the power failure/
failure mode does not exist. In this case, the FCU power failure corresponds to the "FCS power failure" of
the power failure/failure mode.
Input Actions
Input data becomes invalid until the ALP111 becomes capable of acquiring input data from
slave devices after the power supply to the FCS recovers.
Output Actions
Outputs from slave devices during an FCS power failure depend on the specification of failsafe operation of each slave device.
(If fail-safe operation is not specified for a slave device, the slave device maintains the
output value prior to the power failure until the CPU recovers.)
After the power supply to the FCS recovers, 0 is output to all the output points.
Stop
Recovery
CPU operation
status
Function block
mode
ALP111 output
Slave device
output
AUT
MAN
Outputs 0
Figure Output Actions in the Event of FCS Power Failure (Prolonged Power Failure, Slave Device
Fail-Safe Operation)
IM 33S01B30-01E
N3-68
Actions in the Event of FCS Power Failure (Momentary Power Failure and
Restart)
The FCU and ALP111 stop operating in the event of a momentary FCS power failure. The
output actions of slave devices that are forced to stop operating vary depending on whether
or not fail-safe operation is enabled.
The FCS restarts when it recovers from a momentary FCS power failure.
If the power failure period is longer than the fail-safe detection time of a slave device, the
slave device first outputs the fail-safe setting value and then outputs the previous value
once the CPU recovers.
Input Actions
The previous input data is retained until the ALP111 becomes capable of obtaining input
data of slave devices after the power supply to the FCS recovers.
Output Actions
After the FCS restarts, the FCU outputs the previous value to the ALP111, and the ALP111
resumes outputting data to the slave devices.
Stop
Recovery
CPU operation
status
Function block
mode
AUT
AUT
Slave device
output
N030808E.EPS
Figure Output Actions in the Event of FCS Power Failure (Momentary Power Failure and Restart)
IM 33S01B30-01E
N3-69
Actions in the Event of FCU Power Failure (Prolonged Power Failure and
CPU STOP/RUN)
When a prolonged power failure occurs in the FCU or FCS CPU STOP/RUN is being
executed from the HIS, only the actions of the FCU is stopped. During this period,
PROFIBUS communication between an ALP111 and slave devices is continued. The
output actions of the ALP111 at an FCU power failure depend on the specification of
fallback operation of the ALP111.
Input Actions
Since PROFIBUS communication between the ALP111 and slave devices continues
regardless of the actions of the FCU, the FCU becomes capable of obtaining the correct
input data immediately after its recovery.
Recovery
CPU operation
status
Function block
mode
AUT
MAN
Figure Output Actions in the Event of FCU Power Failure (Prolonged Power Failure: [Perform
Fallback] is Enabled and [All Points Maintain Current Value] is selected for an ALP111)
Recovery
CPU operation
status
Function block
mode
AUT
MAN
Enters the fallback status and
resets the output value
ALP111 output
Slave device
output
Outputs 0
N030810E.EPS
Figure Output Actions in the Event of FCU Power Failure (Prolonged Power Failure: [Perform
Fallback] is Enabled and [Reset All Points] is selected for an ALP111)
IM 33S01B30-01E
N3-70
Input Actions
The FCU becomes capable of obtaining correct input data immediately after its recovery.
IM 33S01B30-01E
N3-71
Input Actions
The status of input data becomes BAD throughout a prolonged power failure of a node.
Output Actions
The FCU outputs 0 to an ALP111 after the recovery from a prolonged power failure of a
node.
Stop
Recovery
Node operation
status
Momentary power failure detection time
Function block
mode
AUT
MAN
Outputs 0
ALP111 output
Slave device
output
Figure Output Actions in the Event of Node Power Failure (Prolonged Power Failure, Slave
Device Fail-Safe Operation)
IM 33S01B30-01E
N3-72
PROFIBUS I/O communication from an ALP111 to slave devices is stopped in the event of
a momentary power failure in a node.
The FCU outputs the previous value again at the recovery from the momentary power
failure of a node.
Input Actions
The previous input data value is retained during a node power failure if the node recovers
from the failure within the momentary power failure detection time.
The previous input data value is retained until the ALP111 also becomes capable of acquiring input data from slave devices after the node recovers from the power failure.
Output Actions
The FCU outputs the previous value again after the node recovers from the power failure.
Stop
Recovery
Node operation
status
Momentary power failure detection time
Function block
mode
AUT
Outputs the previous value
ALP111 output
Slave device
output
N030812E.EPS
Figure Output Actions in the Event of Node Power Failure (Momentary Power Failure)
IM 33S01B30-01E
N3-73
Path Errors
Path errors refer to errors in the communication path between an FCU and an ALP111. The
output actions taken in the event of a path error depend on the specification of fallback
operation of the ALP111.
The FCU performs tracking at the recovery from a path error.
Input Actions
The status of input data becomes BAD while the path error persists.
The FCU becomes capable of obtaining correct input data after the recovery from the path
error.
IM 33S01B30-01E
N3-74
Input Actions
The status of input data becomes BAD during the ALP111 failure/maintenance period.
Output Actions
The FCU outputs 0 to the ALP111 after the ALP111 recovers.
Stop
Recovery
ALP111 status
Function block
mode
AUT
MAN
Outputs 0
ALP111 output
Slave device
output
N030813E.EPS
Figure Output Actions in the Event of ALP111 Operation Stop (at Slave Device Fail-Safe
Operation)
Input Actions
After the switching of the functions of dual-redundant ALP111 modules is completed, the
FCU reads the input value from the ALP111 that takes control of the PROFIBUS communication after the switching; thus, the FCU becomes capable of obtaining correct input data.
Output Actions
When the functions of dual-redundant ALP111 modules are switched, the FCU outputs the
output value again to the ALP111 that that takes control of the PROFIBUS communication
after the switching.
IM 33S01B30-01E
N3-75
Input Actions
The data status becomes BAD while the PROFIBUS communication is disconnected.
The FCU obtains input data from the ALP111 after the PROFIBUS communication recovers.
Output Actions
The FCU tracks the output value of the ALP111 after the recovery from disconnection of the
PROFIBUS communication.
Stop
Recovery
PROFIBUS
communication
status
Function block
mode
AUT
Notifies about a
communication error
MAN
ALP111 output
Slave device
output
N030814E.EPS
Figure Output Actions in the Event of PROFIBUS Communication Stop (at Slave Device Fail-Safe
Operation)
SEE ALSO
For details on system alarm messages, see the following:
N3.9.1, System Alarm Messages
IM 33S01B30-01E
N3-76
Input Actions
The data status becomes BAD during a slave device failure.
The input data from the ALP111 is reflected in the FCU after recovery from the slave device
failure.
Output Actions
If a slave device stops operating, the output from the ALP111 to the slave device is handled
as a communication error or channel error. The ALP111 outputs the previous value to the
slave device when the slave device recovers from the operation stop.
Stop
Recovery
Slave device
operation status
Function block
mode
AUT
Notifies about a
communication error MAN
ALP111 output
Outputs the previous value
Slave device
output
N030815E.EPS
IM 33S01B30-01E
N3-77
Download Data
The following three types of data can be downloaded to an ALP111.
ALP111 detail settings
ALP111 programs
PROFIBUS definition data (*1)
*1:
The PROFIBUS definition data is the configuration data created by the PROFIBUS-DP configurator.
The following table lists the relationship between user operations during engineering and
the corresponding data to be downloaded.
Table User Operations and Download Data
Download data
User operation
ALP111 detail
settings
ALP111
programs
PROFIBUS
definition data
PROFIBUS
communication from an
ALP111 during download
Temporarily suspended
(*1)
Temporarily suspended
(*2)
(*3)
Continued/temporarily
suspended (*4)
Continued
N030822E.EPS
:
:
-:
*1:
*2:
*3:
*4:
IM 33S01B30-01E
N3-78
System status
Function block
output action
During
download
At
recovery
During
download
At
recovery
At
recovery
Retain output
Tracking (0)
Restart
output
MAN
fallback
Tracking (0)
Restart
output
Download ALP111
programs
MAN
fallback
Tracking
(previous
value or 0)
Stop
output
Restart
output
Download PROFIBUS
definition data
MAN
fallback
Tracking
(previous
value or 0)
Stop
output
Restart
output
MAN
fallback
Tracking
(previous
value or 0)
Stop
output
Restart
output
MAN
fallback
Tracking
Continue
output
Continue
output
Retain
output
Continue output
Change communication
I/O definitions
MAN
fallback
Tracking
Continue
output
Continue
output
Retain
output
Continue output
(*1)
Online
mainte- Change IOM properties
(specification of
nance
dual-redundant)
Output
specified value
Retain output
Retain output
Output
specified value
Retain output
Output
specified value
Retain output
Output
specified value
Previous value
or 0 (*2)
Previous value
or 0 (*2)
Previous value
or 0 (*2)
N030823E.EPS
*1:
*2:
IMPORTANT
When properties are changed, download the PROFIBUS definition data and ALP111 detail
settings. In case the downloading of the PROFIBUS definition data has normally been
completed, but the downloading of the detailed settings of the ALP111 has generated an
error, the database managed by System View reverts to the status prior to downloading. In
this case, the PROFIBUS definition data managed by System View does not match the
PROFIBUS definition data in the ALP111.
To cancel changes made to the ALP111 properties and return to the previous status,
execute an IOM download to the ALP111.
To change the properties, copy the PROFIBUS definition data again and then download it.
IM 33S01B30-01E
N3-79
Action after
offline download
IOM download
Action after
IOM download
Required
Not required
N030816E.EPS
*1:
*2:
*3:
The ALP111 reads new inputs and resets outputs for those slave devices connected to the ALP111 prior to replacement, as well as the slave devices connected to a new ALP111 after replacement that meet all of the following
conditions:
Node-address agreement
Identification Number (model code) agreement
I/O module configuration agreement
Resetting outputs means outputting 0 to the analog output and discrete output.
This may occur under conditions where PROFIBUS definition data is copied offline to a default project, etc., causing
discrepancies between the copied data and the PROFIBUS definition data downloaded to the ALP111.
IM 33S01B30-01E
N3-80
Input Actions
During ALP111 online maintenance, the previous values are retained for both input and
status values.
IM 33S01B30-01E
N3-81
Downloading completed
ALP111 operation
status
Function block
mode
AUT
MAN
ALP111 output
Slave device
output
N030818E.EPS
Figure Output Actions during ALP111 Online Maintenance (when Specified to Retain ALP111
Output)
Specification to output 0
If 0 output is specified for output retention, 0 is output when the online maintenance
is completed.
IM 33S01B30-01E
N3-82
ALP111 Online Maintenance (Changing Properties other than Dual-Redundant Specification/Changing Communication I/O Definitions)
After online maintenance of an ALP111, in which properties of the ALP111 or communication I/O Definitions have been changed, the ALP111 restarts but the output actions of the
ALP111 continue.
Input Actions
Since the PROFIBUS communication between the ALP111 and slave devices continues
regardless of the online maintenance operations of the ALP111, the FCU becomes capable
of obtaining correct input data immediately after the online maintenance.
Output Actions
During the ALP111 online maintenance, the output of the ALP111 is retained.
The output continues after the online maintenance is completed. Note that the default value
of 0 is output as output values for newly added or changed output definitions.
Downloading start
Downloading completed
ALP111 operation
status
Function block
mode
AUT
MAN
ALP111 output
Slave device
output
N030819E.EPS
IM 33S01B30-01E
<N3.9 Messages>
N3-83
N3.9 Messages
In PROFIBUS-DPV1 communication, the following messages are displayed for
ALP111 modules and slave devices.
System alarm messages
Fieldbus messages
IM 33S01B30-01E
<N3.9 Messages>
N3-84
Event
Message
Remarks
0081
IOM error
0082
IOM recovery
0083
IOM database
error
0089
Communication
error
0090
Communication
recovery
STNss:
k:
mm:
nn:
zzz:
####:
XXXX:
yy:
VV:
Station name
Bus system number
Node number
Slot Number
Node address
Error code
Identification Number (Hexadecimal: Displayed with 0x added at the top)
Module number
Specifier number (Hexadecimal: Displayed with 0x added at the top)
When communication errors occur on a slave device, a system alarm message is generated at the first error occurrence only.
No further system alarm messages will be generated, even if another error arises due to a
different cause.
SEE ALSO
For details on settings of ALP111 properties, see the following:
Details of System View in N3.6.3, Operations in System View
IM 33S01B30-01E
<N3.9 Messages>
N3-85
Definition Error
The following errors occur when the settings for the communication I/O definitions are
invalid.
Check the settings of Communication I/O Builder if any of the following errors occurs.
Table Definition Errors
Error
code
Description
CAB1
CAB2
CAB3
CAB4
CAB5
CAB6
Invalid Device & Address, entry data other than a numerical value
detected in the index
CAB7
CAB8
CAB9
CABA
CABB
CABC
CABD
Invalid Device & Address, entry data for slot number is not
a numerical value
CABE
CABF
Communication Error
The following errors occur when there is an error in the communication with slave devices
or a slave device fails.
Table Communication Errors
Error
code
Description
Inconsistent versions of FCU and EB401
(EB401 does not support ALP111 in remote node)
C58A(*1)
C58B(*1)
C588
CA91
CA92
Configuration error
CA93
CA94
CA95
Retry communication
N030903E.EPS
*1: In case these errors occur, the node address of STN zzz is always set to 255.
IM 33S01B30-01E
<N3.9 Messages>
N3-86
List of Messages
Fieldbus messages are divided into the following categories:
Slave device common messages
Slave device specific messages
Messages for each module in a slave device
Messages for each channel in a slave device
ALP111 self-diagnostic messages
IMPORTANT
The ALP111 manages Error Occurrence/Recovery status relating to the fieldbus
messages.
Therefore, if the ALP111 restarts after an error occurrence message have been
notified, a normal recovery message will not be forwarded.
When an error that generates more data than the communication frame size of the
slave diagnostic information occurs, the part of the error data exceeding the communication frame may not be forwarded as part of the message. The communication frame
size of the slave diagnostic information depends on the slave device.
The part that does not fit into the communication frame is part of the error data of a
specific channel.
In this case, only the message for each module and the error for each channel that fits
in the communication frame will be notified.
IM 33S01B30-01E
<N3.9 Messages>
N3-87
Event
Error
detected by:
Message
3283
Locked by another
master device
3284
3285
3286
3287
Received an illegal frame STNss PB FIO k NODE mm SLOT nn Station Alarm STN zzz ID
0xXXXX Invalid_Slave_Response
from a slave device
3288
3289
3290
3291
Configuration error
3292
3293
3294
ALP111
Slave
device
ALP111
Slave
device
Slave
device
Slave
device
N030904E.EPS
STNss: Station name, k: Bus system number, mm: Node number, nn: Slot number, zzz: Node address
XXXX: Identification Number (Hexadecimal: Displayed with 0x added at the top).
yyy: Node address of the master device locking the slave devices
IM 33S01B30-01E
<N3.9 Messages>
N3-88
Event
Error
detected by:
Message
3295
3296
3297
3298
3299
Setting parameters or
checking configuration
3300
3301
3302
ALP111
ALP111
Slave
device
ALP111
or
Slave
STNss PB FIO k NODE mm SLOT nn Station Recover STN zzz ID device
0xXXXX Ext_Diag_Overflow
N030905E.EPS
STNss: Station name, k: Bus system number, mm: Node number, nn: Slot number, zzz: Node address
XXXX: Identification Number (Hexadecimal: Displayed with 0x added at the top)
yyy: Node address of the master device locking slave devices
Messages relating to slave devices are displayed according to the interpretation results of
the top 3 bytes of the slave diagnostic information defined by the PROFIBUS specifications.
However, the following slave diagnostic information is not error data but is to indicate
configuration status; no message is displayed in these cases.
Sync_Mode:
Freeze_Mode:
The following bit indicates whether device specific slave diagnostic information, module
slave diagnostic information or channel slave diagnostic information is available or not.
When this bit is set, the slave device specific messages and subsequent error messages
will be displayed.
For this reason, no special messages related to this bit will be displayed.
Ext_Diag: Slave diagnostic information contains expansion data
The following bit indicates whether or not slave diagnostic information must be read from
slave devices. No message is displayed because it is not directly related to an error description.
Stat_Diag
IM 33S01B30-01E
N3-89
<N3.9 Messages>
Event
Error
detected by:
Message
3303
3304
Slave
devices
supporting
PROFIBUS-DP
N030906E.EPS
STNss: Station name, k: Bus system number, mm: Node number, nn: Slot number, zzz: Node address
XXXX: Identification Number (Hexadecimal: Displayed with 0x added at the top)
##########: Error code (Hexadecimal: Maximum 126 characters, with the first 2 characters indicating the error code length
(byte length)).
Number
Event
Error
detected by:
Message
3323
3325
3327
Module irregularity
occurred (*1)
3329
3330
Slave
device
N030908E.EPS
STNss: Station name, k: Bus system number, mm: Node number, nn: Slot number, zzz: Node address
XXXX: Identification Number (Hexadecimal: Displayed with 0x added at the head)
yy: Module slot number (decimal)
*1:
These messages are displayed only for slave devices that transmit MODULE_STATUS (slave diagnostic information
that indicates the status of newly added modules in PROFIBUS-DPV1). These messages are not always displayed for
all slave devices.
Module slots are numbered starting from either 1 or 0, depending on the device.
The slot number is set to begin from 1 when performing settings in Communication I/O
Builder. However, you can set the slot number to be displayed in messages, starting from 0,
in System View.
IM 33S01B30-01E
<N3.9 Messages>
N3-90
Number
Event
Error
detected by:
Message
3331
Short circuit
3333
Undervoltage
3335
Overvoltage
3337
Overload
3339
Overtemperature
3341
Link break
3343
3345
3347
Error
3349
Other errors
3350
Slave
devices
N030909E.EPS
STNss: Station name, k: Bus system number, mm: Node number, nn: Slot number, zzz: Node address
XXXX: Identification Number (Hexadecimal: Displayed with 0x added at the head)
yy: Module slot number (decimal), ww: Channel number (decimal), vvvv: Error type (decimal)
Event
Error
detected by:
Message
3351
PROFIBUS
communication stop
3352
PROFIBUS
communication recover
ALP111
N030910E.EPS
STNss: Station name, k: Bus system number, mm: Node number, nn: Slot number
*1:
This message is relayed when the PROFIBUS communication section in an ALP111 stops independently. The
PROFIBUS communication section stops when Auto Clear is enabled and a slave device fails, or when a hardware
error is detected.
SEE ALSO
For precautions related to Auto Clear, see the following:
Procedure for Modifying a Project in N3.6.2, Operations with the PROFIBUS-DP Configurator
IM 33S01B30-01E