Yokogawa - Profibus DP Card
Yokogawa - Profibus DP Card
Yokogawa - Profibus DP Card
Manual
PROFIBUS-DP Interface
Module
IM 34M6H34-01E
IM 34M6H34-01E
1st Edition
Yokogawa Electric Corporation
i
Applicable Product:
l Range-free Multi-controller FA-M3
The document number and document model code for this manual are given below.
Refer to the document number in all communications; also refer to the document
number or the document model code when purchasing additional copies of this manual.
Media No. IM 34M6H34-01E (CD) 1st Edition : June 1, 2004 (AR) IM 34M6H34-01E 1st Edition : July 1.2004-00
All Rights Reserved Copyright 2003, Yokogawa Electric Corporation
ii
Important
About This Manual
- This Manual should be passed on to the end user.
- Before using the controller, read this manual thoroughly to have a clear
understanding of the controller.
- This manual explains the functions of this product, but there is no guarantee that
they will suit the particular purpose of the user.
- Under absolutely no circumstances may the contents of this manual be transcribed
or copied, in part or in whole, without permission.
- The contents of this manual are subject to change without prior notice.
- Every effort has been made to ensure accuracy in the preparation of this manual.
However, should any errors or omissions come to the attention of the user, please
contact the nearest Yokogawa Electric representative or sales office.
Danger. This symbol on the product indicates that the operator must follow the
instructions laid out in this instruction manual to avoid the risk of personnel injuries,
fatalities, or damage to the instrument. Where indicated by this symbol, the manual
describes what special care the operator must exercise to prevent electrical shock
or other dangers that may result in injury or the loss of life.
Protective Ground Terminal. Before using the instrument, be sure to ground this
terminal.
Function Ground Terminal. Before using the instrument, be sure to ground this
terminal.
WARNING
Indicates a “Warning”.
Draws attention to information essential to prevent hardware damage, software
damage or system failure.
CAUTION
Indicates a “Caution”
Draws attention to information essential to the understanding of operation and
functions.
TIP
Indicates a “TIP”
Gives information that complements the present topic.
SEE ALSO
Indicates a “SEE ALSO” reference.
Identifies a source to which to refer.
- For the protection and safe use of the product and the system controlled by it, be
sure to follow the instructions and precautions on safety stated in this manual
whenever handling the product. Take special note that if you handle the product in
a manner other than prescribed in these instructions, the protection feature of the
product may be damaged or impaired. In such cases, Yokogawa cannot guarantee
the quality, performance, function and safety of the product.
- When installing protection and/or safety circuits such as lightning protection devices
and equipment for the product and control system as well as designing or installing
separate protection and/or safety circuits for fool-proof design and fail-safe design of
processes and lines using the product and the system controlled by it, the user
should implement it using devices and equipment, additional to this product.
- If component parts or consumable are to be replaced, be sure to use parts specified
by the company.
- This product is not designed or manufactured to be used in critical applications
which directly affect or threaten human lives and safety — such as nuclear power
equipment, devices using radioactivity, railway facilities, aviation equipment, air
navigation facilities, aviation facilities or medical equipment. If so used, it is the
user’s responsibility to include in the system additional equipment and devices that
ensure personnel safety.
- Do not attempt to modify the product.
This product complies with the WEEE Directive (2002/96/EC) marking requirement.
The following marking indicates that you must not discard this electrical/electronic
product in domestic household waste.
Product Category
With reference to the equipment types in the WEEE directive Annex 1, this product is
classified as a “Monitoring and Control instrumentation” product.
Do not dispose in domestic household waste.
When disposing products in the EU, contact your local Yokogawa Europe B. V. office.
Introduction
Overview of the Manual
This manual describes the specifications, handling and communications control
procedure of the PROFIBUS-DP Interface Module.
F3BP20, F3BP30
BASIC CPU Modules and YM-BASIC/FA Programming Language (IM34M6Q22-01E)
Trademarks
- The trade and company names that are referred to in this document are either
trademarks or registered trademarks of their respective companies.
FA-M3
PROFIBUS-DP Interface
Module
IM 34M6H34-01E First Edition
CONTENTS
Applicable Product:...................................................................................i
Important ...................................................................................................ii
Introduction............................................................................................viii
Copyrights and Trademarks ...................................................................ix
1. Overview................................................................................................ 1-1
Features.......................................................................................................... 1- 1
8. Troubleshooting.................................................................................... 8-1
1. Overview
The PROFIBUS-DP Interface Module (F3LB01-0N, sometimes abbreviated as "this
module" in this book) is a PROFIBUS-DP master module to be installed in an I/O
slot of the range-free controller FA-M3. It provides one port, uses a D-sub 9-pin
female connector, and allows up to 125 nodes (including the module itself, slaves
and repeaters) to be connected.
Features
The F3LB01-0N module provides PROFIBUS-DP master functions (DPM1: Class
1), which enable control of connected slaves and data exchange with connected
slaves.
PROFIBUS
PROFIBUS is a vendor-independent, open fieldbus standard (EN50170), which finds
wide applications in factory automation and process automation.
- PROFIBUS-DP
PROFIBUS-DP (Decentralized Periphery) is used for communications between PLC
and remote I/O devices, and allows high-speed data transmission between field
devices.
- PROFIBUS-FMS
PROFIBUS-FMS (Fieldbus Message Specification) is used for communications
between PC, PLCs and other devices in factory automation, and supports powerful
application-layer functions for communications between intelligent stations.
- PROFIBUS-PA
The PROFIBUS-PA (Process Automation) solution extends on the functions of the
PROFIBUS-DP and is designed for process automation that demands explosion-
proof or other special requirements. It allows power to be supplied to individual nodes
using communication bus cables.
SEE ALSO
For details on PROFIBUS specifications and other related information, refer to literature published by
PROFIBUS International.
Master station 0
F3LB01-0N
(Terminating resistor on)
Configurator
FA-M3
RS-232-C
Terminating Terminating
resistor on resistor on Terminating
resistor
PROFIBUS-DP
... Repeater station
31
Slave station 1 Slave station 2 Slave station 3 ... Slave station 30 Slave station 32
Station
A station is a general term that refers to a device (master, slave, repeater) in a network.
With no repeater, up to 32 stations can be connected.
With repeaters, up to 126 stations can be connected.
Up to 121 slaves can be connected.
Example: 1 master
3 repeaters
121 slaves
1 special-purpose station (one station is usually reserved for special
purposes)
Class 1 DP Master (DPM1)
A class 1 DP master is a central controller that performs cyclical information exchange of
defined messages with distributed stations (slaves). Typical devices are programmable
logic controllers and personal computers.
The F3LB01-0N module is a class 1 DP master.
Slave
A slave is a peripheral device (I/O device, drive, HMI, valve, transducer) that collects
input information, and transmits output information to peripheral equipment. Some
slaves provide only input information, while others provide only output information.
The input or output data size is device-dependent. Up to 246 bytes of input data and 246
bytes of output type are allowed.
Repeater
To connect more than 32 stations in a network, or to extend the area of a network,
repeaters can be used to connect individual bus segments and provide line signal
amplification. Note that repeaters are also counted as stations, when considering the
upper limit on the number of connectable stations.
Terminating Resistor
Active terminating resistors must be connected at both ends of each bus segment. To
ensure error-free operation, bus terminating resistors must always be supplied with
power. In most cases, you can either use the terminating resistor inside a device, or the
terminating resistor inside a bus terminating resistor connector as the bus terminating
resistor.
By setting a switch on the module front, you can specify whether to use its built-in
terminating resistor as the bus terminating resistor.
VP (6)
390Ω
Data line
RXD/TXD-P (3)
220Ω
390Ω
DGND (5)
Cable Connector
Devices should be connected to a PROFIBUS-DP bus using cables and connectors
compliant to the PROFIBUS specification (EN 50170).
PROFIBUS-compliant cables and connectors are available from many vendors.
Configurator
PROFIBUS-DP requires pre-registration of configuration of devices on a bus.
The F3LB01-0N module uses a SyCon configurator software to register configuration
information on a PC.
Use the following product as the SyCon configurator.
1.3 Communications
Concepts of Communication
PROFIBUS allows configuration of a mono-master system, which has one master in a
network or a multi-master system, which has more than one masters in a network.
By using a token-passing protocol between masters, bus access rights (token) are
allocated to individual masters within strict defined time frames.
A master owning a token is permitted to access its assigned slaves to send and receive
I/O data.
A master cyclically reads input data from its slaves, and writes output data to its slaves.
A master may broadcast control commands to a predefined group of slaves (multicast
communication).
Token passing
PROFIBUS
Input/output data
Data Exchange
Data exchange refers to the module (master) cyclically reading input data from its
slaves, and cyclically writing output data to its slaves.
Global Control
The F3LB01-0N module (master) can send control commands (global control) to
specified groups. (multicast communications).
Control commands include "SYNC/UNSYNC" and "FREEZE/UNFREEZE" commands,
which controls synchronization of output data or input data with slaves.
Group Selection
This module supports group registration for registering selected slaves to a group. It also
allows transmission of control commands (global control) to selected groups.
To register slaves to a group, use the "Settings - Group Membership - Group
Assignment" function of the SyCon configurator. By default, all slaves are registered to
all groups.
SYNC/FREEZE group 1
PROFIBUS-DP
Slave station 1 Slave station 2 Slave station 3 Slave station 4 Slave station 5 Slave station 6 Slave station 7
Figure 1.4 Conceptual Diagram of Slave I/O Data Synchronization and Group Selection
This module supports Relay Activated mode, which ensures concurrency of input/output
data longer than 16 bits through proper send/receive protocol.
F3LB01-0N
CPU module master
Transmission Rate
In PROFIBUS-DP, it takes about 1 ms to perform distributed transmission 512 bits of
input data and 512 bits of output data to 32 stations at transmission rate of 12Mbit/s.
Figure 1.6 shows typical transmission time versus number of stations and transmission
rate in PROFIBUS-DP.
14
500Kbps
10
6 1.5Mbps
2 12Mbps
2 10 20 30 Number
Figure 1.6 Bus Cycle Time for a PROFIBUS-DP Mono-Master System
Table 1.1 Distance Versus Transmission Rate for PROFIBUS Cable Type A
Baud Rate (kbps) 9.6 19.2 93.75 187.5 500 1500 12000
Distance per Segment 1200 m 1200 m 1200 m 1000 m 400 m 200 m 100 m
1.4 Configuration
Before performing operations over a PROFIBUS network, you need to first configure the
network.
To achieve simple plug-and-play configuration in PROFIBUS, communication functions
of devices are pre-defined in individual electronic data sheets (GSD files), which enable
easy configuration of a PROFIBUS network containing devices from different
manufacturers using the GSD files.
GSDs file of PROFIBUS-compliant devices can be downloaded freely from the GSD
library at the official web site of PROFIBUS (http://www.profibus.com), or be obtained
from device manufacturers.
Master
F3LB01-0N Configuration
Configurator
FA-M3
RS-232-C
CAUTION
Network configuration of the F3LB01-0N module requires the use of SyCon PROFIBUS
Configurator from HMS Industrial Networks AB, which must be purchased separately.
TIP
Use the following products for the SyCon configurator.
TIP
The GSD file of the F3LB01-0N module is provided in a folder on the SyCon CD.
2. F3LB01-0N
2.1 General Specifications
Model and Suffix Codes
Suffix Style Option
Model Remarks
Code Code Code
F3LB01 -0N — — 12M bps max., PROFIBUS-DP, 1 port
Operating Environment
The F3LB01-0N module is compatible with sequence CPU modules and AT-compatible
CPU modules.
General Specifications
Item Specification
Interface PROFIBUS-DP DPM1 (Class 1) compliant
Transmission medium Special cable (containing two signal lines)
Transmission Rate Transmission Distance
9.6 kbps 1200 m
19.2 kbps 1200 m
93.75 kbps 1200 m
Transmission rate 187.5 kbps 1000 m
/Transmission distance 500 kbps 400 m
1500 kbps 200 m
3M bps 100 m
6M bps 100 m
12M bps 100 m
EIA RS-485
Electrical standard
(Configuration connector EIA RS-232-C)
Connection mode Bus connection
Maximum number of
125 (including module itself)
nodes
8192 points (4096 input points and 4096 output
Number of I/O points
points)
220Ω (built-in resistor should be enabled by
Terminating resistor switch when module is connected at the end of a
bus)
Uses proprietary PROFIBUS Configurator
Network configuration
software from HMS Industrial Networks AB
Operating temperature
0°C to 45°C
range
Current consumption 610 mA
*
External dimensions 28.9 (W)×100 (H)×83.2(D) mm
Weight 170 g
* Excluding protrusions (for details, see "External Dimensions")
Display
RDY
RDY: Lit when the internal circuitry is functioning
MST
NST normally.
ERR MST: Shows module status.
LB01-0N PROFI
Lit when module is functioning normally.
NST: Shows network status.
Lit when communicating with slaves.
ERR: Lit when an error is detected.
CONFIG
Configuration connector
Terminating resistor
TERMI- switch
NATOR
OFF ON
PROFI- PROFIBUS-DP
BUS
connector
External Dimensions
100
(Unit: mm)
RDY
MST
NST
ERR Operating status
LED
These LED lamps indicate the status of the module and the network.
RDY LED
The RDY LED is lit when the module is operating normally. It is off when there is no
proper power supply to the module, or when an error has occurred in the module.
When the module is switched on, the RDY LED turns on after self-diagnosis is
completed.
MST LED
The MST LED shows the status of the F3LB01-0N module as a master. For details on
interpretation of the LED states, see Table 2.1 below.
NST LED
The NST LED shows the status of the network. For details on interpretation of the LED
states, see Table 2.1 below.
ERR LED
The ERR LED lights up when an internal error, a master error, a communications error
or a slave diagnosis error is detected.
TERMI-
NATOR ON: Enable terminating reistor
OFF ON
OFF: Disable terminating reistor
F3LB01-0N F3LB01-0N
Shield 1 6 +5V
B-Line 3 8 A-Line
RTS (TTL) 4
GND 5
F3LB01-0N
8 A A A
Remove covering
3 B B B 220 Ω and secure with FG
clamp
PROFIBUS cable
1 SHIELD SHIELD SHIELD
Secure to panel
PROFIBUS connector enclosure with screw
for grounding
CAUTION
To ground the cable, strip off part of the cable insulation to expose the internal shield,
and secure and ground with an FG clamp.
For details on internal wiring of the PROFIBUS connector, see the user’s manual for the
PROFIBUS connector.
F3LB01-0N F3LB01-0N
CAUTION
If an angled-type PROFIBUS connector is attached to the PROFIBUS-DP port, it will
obstruct connection of an RS-232-C cross cable to the configuration port. Therefore,
you should use a straight-type PROFIBUS connector instead when performing
configuration.
Configuration Port
The configuration port connector on the module is used for connecting to the serial port
of a PC via an RS-232-C cross cable.
Configuration connector
5
9
6
1
Wiring Diagram
F3LB01-0N PC
2 2
3 3
4 4
5 5
6 6
7 7
8 8
Chassis of Chassis of
connector connector
Connection Diagram
PC
F3LB01-0N
CAUTION
Always switch off the power before attaching or detaching a module.
Base module
Anchor point
PROFIBUS- DP
Interface module F01.VSD
CAUTION
DO NOT bend the connector on the rear of the module by force during the above
operation. If the module is pushed with excessive force, the connector pins may bend,
causing in an error.
Detaching a Module
To remove the module from the base module, reverse the above operation.
Press the anchor/release button on the top of the module to unlock it, and tilt the module
away from the base module.
Screw Required
M4-size Binder screw 12 to 15 mm long (or 14 to 15 mm if
fitted with a washer)
F02R1.VSD
3. Input/Output Relays
The PROFIBUS-DP Interface module provides 32 output relays and 32 input relays for
interfacing with the CPU module of a FA-M3 system.
All input relays can be interrupted.
4. List of Registers
The PROFIBUS-DP Interface Module provides the following input/output registers for
interfacing with the CPU module of a FA-M3 system.
Register Number
1
Output data registers
256
257
Input data registers
512
513 Global control data
514 Error Non-Reporting Time register
515 Input/output Data Transfer Mode register
516 Transfer Data Selection register
520
Error information registers
523
524
Extended error information registers
577
578
Reserved
586
587
Slave configuration information registers
594
595
Slave state information registers
602
603 Network Status register
Example: Content of output data registers with 19 bytes, 6 bytes and 1 byte of output data to be
sent to stations 1, 2 and 3 respectively.
Example: Content of input data registers with 23 bytes, 8 bytes and 1 byte of input data from
stations 1, 2 and 3.
CAUTION
Output data and input data are not stored in the station address order; they are stored in
the insertion (Insert-Slave) order of the slaves into the configuration using the SyCon
configurator.
Always check the actual storage location for output data and input data for slave
modules by referring to the View-Address Table of the SyCon configurator.
Always check the layout and contents of output data and input data inside an individual
slave module by referring to its instruction manuals.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Register no.
513
UNFREEZE
FREEZE
UNSYNC
SYNC
Group 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Value
Bit Command Description
(On/off)
8 to 15 1/0 Group 1 to 8 Bits 8-15 define to which of groups 1-8 should "SYNC/UNSYNC"
selection and "FREEZE/UNFREEZE" commands be transmitted (see
above diagram for details on bit mapping). More than one
group can be selected each time.
* When bits 8-15 contain all zeroes, the global control command
is transmitted to all slaves.
* To transmit control commands to slaves that are not registered
to groups using the SyCon configurator, set bits 8-15 to all
zeroes.
5 1/0 SYNC Output data is written to slaves. Their output data is held at that
value.
4 1/0 UNSYNC Holding of output data of slaves is cancelled.
3 1/0 FREEZE Input data of slaves is held at current value to prepare for
reading.
2 1/0 UNFREEZE Holding of input data of slaves is cancelled.
The content of these registers remain unchanged even after execution of a Master
Reset (Y□□□36) request.
Slaves on the network are assigned to individual groups on this module using group
registration. To perform group registration, assign each slave to all desired groups using
the "Settings-Group Membership-Group Assignment" function of the SyCon configurator,
and then save and download the configuration file. For details on the procedure, see the
description on "Setup Using Configurator" in Chapter 5. By default, no slave is assigned
to any group.
CAUTION
Before performing setup of this module or turning on the Request to Issue Global
Control relay (Y□□□35), always ensure that the Start Data Exchange Completed relay
(X□□□01) is turned on.
CAUTION
- Before performing setup of this module or turning on the Transfer Mode Setup Request
relay (Y□□□37), always ensure that the Start Data Exchange Completed relay
(X□□□01) is turned on.
- You must first perform module setup and turn on the Transfer Mode Setup Request
relay (Y□□□37) before turning on the Request to Start Transfer relay (Y□□□38).
The value of this register is significant only if the Input/Output Data Transfer Mode is set
to Relay Activated mode.
CAUTION
- Before performing setup of this module, always ensure that the Start Data Exchange
Completed relay (X□□□01) is turned on.
- You must perform module setup before turning on the Request to Start Transfer relay
(Y□□□38).
Register No.
520 Error Code Valid only for
521 Diagnostic Error Information diagnostic error.
522 Master Station Address Slave Station Address
523 Slave ID
577
Byte 1 of header
Byte 2
Byte 3
Byte 4
………
… … … … … … … …
*3: Channel-related diagnostic error
(end of ID-related data area)
(Byte 1)
ID number 1
(Byte 2)
Channel number 1
(Byte 3)
Error type 1
(Byte 4)
ID number 2
(Byte 5)
Channel number 2
(Byte 6)
Error type 2
………
Byte 1:
ID number MSB LSB
Bit position 7 6 5 4 3 2 1 0
ID number (0 to 63)
Byte 2:
Channel no. MSB LSB
Bit position 7 6 5 4 3 2 1 0
Byte 3:
Error type MSB LSB
Bit position 7 6 5 4 3 2 1 0
15: Reserved
16: Vendor-defined
31: Vendor-defined
Always 0
Example: Contents of registers when configuration is defined for stations 2 (remote node
address=2) to 6 (remote node address=6)
Register no. bit15 bit0
587 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 ― Station address 0 -15
588 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 16 - 31
589 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 32 - 47
590 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 48 - 63
591 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 64 - 79
592 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 80 - 95
593 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 96 - 111
594 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ― Station address 112 - 125
Always 0
Example: Content of registers when stations 2 (remote node address=2) to 7 (remote node
address=7) and station 15 (remote node address=15) is running.
5. Startup Preparation
This chapter gives an overview of the procedure for startup preparation of the
PROFIBUS-DP Interface module.
Module Setup
Start
Wire cables
Switch on master
Test run
NO
Is operation normal?
YES
End
TIP
You may use the following "SyCon" configurator.
Setup Example
Start
"Oline - Download"
Download configuration
"Oline - Download"
Download configuration
End
CAUTION
Before performing setup, you should first set up station address for each slave device to
be used on the network using device switches or other means.
You should also complete cabling and startup of slave devices.
6. Data Communications
This chapter describes data communications involving the PROFIBUS-DP Interface
module using input/output relay control from a CPU module.
NO
Is Network Ready relay
(X□□□05) on?
YES
NO
Is Start Data Exchange Completed
relay (X□□□01) on?
YES
End
The above procedure starts data exchange between this module and its slaves in
UNSYNC/UNFREEZE mode. Note that values of input/output data registers are not valid
until the Start Data Exchange Completed relay (X□□□01) turns on.
After powering up, this module does not perform data exchange with its slaves. A
request to start data exchange should always be executed before requests to issue
global control and other requests. We recommend executing a request to start data
exchange right at the beginning.
Start
NO
Is Error Detected Relay
(X□□□02) on?
YES
NO
Is Error Detected relay
(X□□□02) off?
YES
End
This module notifies the CPU module of an error occurrence by turning on the Error
Detected relay. After storing the error information, you should issue a request to turn off
the Error Detected relay so as to enable the module to send notification of new errors.
Start
YES
NO
YES
End
The input/output data transfer mode between this module and the CPU module can be
set to Normal (asynchronous) mode or Relay Activated (synchronous) mode. The
default mode is Normal (asynchronous) mode.
In Normal (asynchronous) mode, input/output data is automatically transferred by this
module. In Relay Activated (synchronous) mode, input/output data transfer is triggered
by the CPU module turning on the Request to Start Transfer (Y□□□38) relay. The data
to be transferred can be specified by setting the Transfer Data Selection register. By
default, both input and output data is transferred.
Start
YES
End
Start
NO
Is Start Data Exchange Completed
(X□□□01) relay on?
YES
YES
Is Global Control Completed relay
(X□□□03) on?
NO
NO
Is Global Control Error Exit
(X□□□04) relay on?
YES
End
Start
YES
YES
End
Start
NO
Is Start Data Exchange Completed
(X□□□01) relay on?
YES
NO
Is the End of Transfer
(X□□□10) relay on?
YES
NO
NO
Is Global Control Error Exit
(X□□□04) relay on?
YES
End
The above procedure sends output data to selected slaves by issuing global control
commands to all groups specified in the Global Control Data register.
The Global Control Completed relay (X□□□03) turns on if the request to issue global
control exits normally, while the Global Control Error Exit relay (X□□□04) turns on if
the request exits with an error.
In Relay Activated (synchronous) transfer mode, data concurrency is ensured for data
exceeding 16 bits as this module and the CPU module are operating synchronously.
Note that output data is not transferred if the Transfer Data Selection register is set to
Input Data.
Start
NO
Is Start Data Exchange Completed
(X□□□01) relay on?
YES
End
Start
NO
Is Start Data Exchange Completed
relay (X□□□01) on?
YES
NO
YES
End
The above procedure receives input data from selected slaves by issuing global control
commands to all groups specified in the Global Control Data register.
The Global Control Completed relay (X□□□03) turns on if the request to issue global
control exits normally, while the Global Control Error Exit relay (X□□□04) turns on if
the request exits with an error.
Note that in Normal (asynchronous) transfer mode, data concurrency is not ensured for
data exceeding 16 bits as this module and the CPU module are operating
asynchronously. For applications that require concurrency of data input exceeding 16
bits, you should set the transfer mode to Relay Activated (synchronous) mode.
Start
NO
Is Start Data Exchange Completed
(X□□□01) relay on?
YES
NO
Is the End of Transfer
(X□□□10) relay on?
YES
End
Start
YES
NO
YES
1 2
YES
End
The above procedure receives input data from selected slaves by issuing global control
commands to all groups specified in the Global Control Data register.
The Global Control Completed relay (X□□□03) turns on if the request to issue global
control exits normally, while the Global Control Error Exit relay (X□□□04) turns on if
the request exits with an error.
In Relay Activated (synchronous) transfer mode, data concurrency is ensured for data
exceeding 16 bits as this module and the CPU module are operating synchronously
Note that input data is not transferred if the Transfer Data Selection register is set to
Output Data.
Start
YES
End
This above procedure issues a reset request to the PROFIBUS-DP master controller of
this module.
7. Sample Programs
Sample Program for Starting Data Exchange
When relay X305 (Network Ready) turns on, this sample program sets the Error Non-
Reporting Time register to 5 seconds for the PROFIBUS-DP Interface module
(F3LB01-0N) installed in slot 3, and starts data exchange.
Setup error
End of transfer
Read input data from input data registers and save it to D257.
End of transfer
At end of transfer, read input data from input data registers and store it in D257.
8. Troubleshooting
This chapter shows troubleshooting flowcharts for the PROFIBUS-DP Interface module.
Error
NO
Is RDY LED lit?
Go to
YES
Section 8.1, "RDY LED Is Not Lit"
NO
Download
configuration
Change in YES
blinking
interval?
NO
NO
Go to
Section 8.2, "Checking
Replace module NST LED"
YES
YES
NO
Is module properly Push module inwards
mounted in slot? until you hear a clicking sound
YES
YES
Replace module
Download configuration
YES
Lit?
NO YES
Is ERR LED lit?
SEE ALSO
For details on error codes, see Section 8.3, "Checking Error Code".
SEE ALSO
For details on where and how error code is stored, see description on error information registers in Chapter 3,
"Input/Output Relays" and Chapter 4, "Registers".
① ② ③
F3LB01
Slave 1 Slave 2
① Bus coupler ① Bus coupler
②1-byte input module ②1-byte input module
③1-byte output module ③1-byte output module
Output of slave 1
Appendix Figure 1.1 Operating Environment System Configuration for Calculation Example
F3LB01 receives
Slave sends
Slave receives
Input of slave
Output of slave
① ④ ② ② ④
③
Scan time
F3LB01 receives
Slave 2 sends
Slave 2 receives
Slave 1 sends
Slave 1 receives
Input of slave 1
Output of slave 1
① ④ ④ ② ② ④
Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder
processing processing processing processing processing processing processing processing processing processing processing processing processing processing processing processing
Slave output
* Description of timing
*1. CPU module : Turns on Start Transfer relay (Outputs the reverse of input data = "1")
*2. F3LB01 : Detects Start Transfer relay on
*3. F3LB01 : Turns on End of Transfer relay (Transfers input data = "1")
*4. CPU module : Detects End of Transfer relay on
*5. CPU module : Turns off Start Transfer relay
*6. F3LB01 : Detects Start Transfer relay off
*7. F3LB01 : Turns off End of Transfer relay
*8. CPU module : Detects End of Transfer relay off
*9. CPU module : Turns on Start Transfer relay (Outputs the reverse of input data = "1")
*10. F3LB01 : Detects Start Transfer relay on
*11. F3LB01 : Turns on End of Transfer relay (Transfers input data = "0")
*12. CPU module : Detects End of Transfer relay on
*13. CPU module : Turns off Start Transfer relay
*14. F3LB01 : Detects Start Transfer relay off
*15. F3LB01 : Turns off End of Transfer relay
*16. CPU module : Detects End of Transfer relay off
*17. CPU module : Turns on Start Transfer relay (Outputs the reverse of input data = "0")
*18. F3LB01 : Detects Start Transfer relay on
*19. F3LB01 : Turns on End of Transfer relay (Transfers input data = "0")
Appendix Figure 1.4 Timing Chart When CPU Module Scan Time < F3LB01 Module Processing
Time
Ladder processing Ladder processing Ladder processing Ladder processing Ladder processing Ladder processing
Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware
processing processing processing processing processing processing processing processing processing processing processing
Slave output
Appendix Figure 1.5 Timing Chart When CPU Module Scan Time > F3LB01 Module Processing
Time
Slave output
Before the output of slaves can be switched (either 1→0 or 0→1), four requests to issue global control must be
issued, and three requests to start transfer must be issued.
Appendix Figure 1.6 Overview of Actions in Relay Activated Mode and SYNC/FREEZE Mode
Control Timing When CPU Module Scan Time < F3LB01 Module
Processing Time
*1 *4 *5 *8 *9
CPU module scan
cycles
*2 *3 *6 *7 *10
F3LB01
execution cycles
Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder
processing processing processing processing processing processing processing processing processing processing processing
Firmware processing Firmware processing Firmware processing Firmware processing Firmware processing
*1 *4 *5 *8 *9
CPU module scan
cycles
*2 *3 *6 *7 *10
Module execution
cycles
Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder Ladder
processing processing processing processing processing processing processing processing processing processing processing
Firmware processing Firmware processing Firmware processing Firmware processing Firmware processing
Description of timing:
*1. CPU module : Turns on Y relay
*2. F3LB01 : Detects Y relay on
*3. F3LB01 : Turns on X relay
*4. CPU module : Detects X relay on
*5. CPU module : Turns off Y relay
*6. F3LB01 : Detects Y relay off
*7. F3LB01 : Turns off X relay
*8. CPU module : Detects X relay off
*9. CPU module : Turns on next Y relay
*10.F3LB01 : Detects next Y relay on
Time from issue to completion of global control : F3LB01 execution time ×4+CPU module scan time ×2
Time from start to end of transfer : F3LB01 execution time ×3+CPU module scan time×2
Control Timing When CPU Module Scan Time > F3LB01 Module
Processing Time
*1 *4 *5 *8 *9
CPU module scan
cycles
*2 *3 *6 *7 *10
F3LB01
execution cycles
Ladder processing Ladder processing Ladder processing Ladder processing Ladder processing
Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware
processing processing processing processing processing processing processing processing processing processing processing
*1 *4 *5 *8 *9
CPU module scan
cycles
*2 *3 *6 *7 *10
F3LB01
execution cycles
Ladder processing Ladder processing Ladder processing Ladder processing Ladder processing
Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware Firmware
processing processing processing processing processing processing processing processing processing processing processing
Description of timing for items *1 to *10 is the same as the previous case.
Time from issue to completion of global control : CPU module scan time×3+F3LB01 execution time ×2
Time from start to end of transfer : CPU module scan time×3+F3LB01 execution time ×2
TIP
The URL addresses of the above websites may not be the most up-to-date.
Configurator
Network configuration of the F3LB01-0N module requires the use of the SyCon
PROFIBUS configurator supplied by HMS Industrial Networks, which must be separately
purchased.
For sales enquiries on the Configurator, please contact:
FA-M3
PROFIBUS-DP Interface
Module
IM 34M6H34-01E First Edition
U
UNFREEZE ................ 1-5, 4-4, 4-5, 6-1, 6-10, 6-13
UNSYNC ......................... 1-5, 4-4, 4-5, 6-1, 6-4, 6-7
W
Weight...................................................................2-1
Revision Information
Document Name : PROFIBUS-DP Interface Module
Document No. : IM 34M6H34-01E