YOKOGAWA F3LC11-1F User manual

User’s
Manual
IM 34M6H41-02E
Personal Computer Link Modules
IM 34M6H41-02E
2nd Edition
Yokogawa Electric Corporation
Applicable Modules:
Model Code Model Name
F3LC11-1F Personal Computer Link Module
F3LC11-1N Personal Computer Link Module
F3LC11-2F Personal Computer Link Module
F3LC11-2N Personal Computer Link Module
F3LC12-1F Personal Computer Link Module


i
Media No. IM 34M6H41-02E (CD) 2nd Edition : Aug. 2005 (AR) IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
All Rights Reserved Copyright © 2002, Yokogawa Electric Corporation
Applicable Product:
Range-free Multi-controller FA-M3
- Model Code : F3LC11-1F, F3LC11-1N, F3LC11-2F, F3LC12-1F, F3LC11-2N
- Model Name : Personal Computer Link Module
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.
- Document No. : IM 34M6H41-02E
- Document Model Code : DOCIM

ii
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
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.
Safety Precautions when Using/Maintaining the Product
- The following safety symbols are used on the product as well as in this manual.
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.
Alternating current. Indicates alternating current.
Direct current. Indicates direct current.

iii
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
The following symbols are used only in the instruction manual.
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.
Exemption from Responsibility
- Yokogawa Electric Corporation (hereinafter simply referred to as Yokogawa Electric)
makes no warranties regarding the product except those stated in the WARRANTY
that is provided separately.
- Yokogawa Electric assumes no liability to any party for any loss or damage, direct or
indirect, caused by the use or any unpredictable defect of the product.

iv
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
Software Supplied by the Company
- Yokogawa Electric makes no other warranties expressed or implied except as
provided in its warranty clause for software supplied by the company.
- Use the software with one computer only. You must purchase another copy of the
software for use with each additional computer.
- Copying the software for any purposes other than backup is strictly prohibited.
- Store the original media, such as floppy disks, that contain the software in a safe
place.
- Reverse engineering, such as decompiling of the software, is strictly prohibited.
- No portion of the software supplied by Yokogawa Electric may be transferred,
exchanged, or sublet or leased for use by any third party without prior permission by
Yokogawa Electric.

v
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
General Requirements for Using the FA-M3 Controller
Avoid installing the FA-M3 controller in the following locations:
- Where the instrument will be exposed to direct sunlight, or where the operating
temperature exceeds the range 0°C to 55°C.
- Where the relative humidity is outside the range 10 to 90%, or where sudden
temperature changes may occur and cause condensation.
- Where corrosive or flammable gases are present.
- Where the instrument will be exposed to direct mechanical vibration or shock.
- Where the instrument may be exposed to extreme levels of radioactivity.
Use the correct types of wire for external wiring:
- Use copper wire with temperature ratings greater than 75°C.
Securely tighten screws:
- Securely tighten module mounting screws and terminal screws to avoid problems
such as faulty operation.
- Tighten terminal block screws with the correct tightening torque as given in this
manual.
Securely lock connecting cables:
- Securely lock the connectors of cables, and check them thoroughly before turning on
the power.
Interlock with emergency-stop circuitry using external relays:
- Equipment incorporating the FA-M3 controller must be furnished with emergency-
stop circuitry that uses external relays. This circuitry should be set up to interlock
correctly with controller status (stop/run).
Low impedance grounding:
- For safety reasons, connect the [FG] grounding terminal to a Japanese Industrial
Standards (JIS) Class D Ground*1 (Japanese Industrial Standards (JIS) Class 3
Ground). For compliance to CE Marking, use braided or other wires that can ensure
low impedance even at high frequencies for grounding.
*1 Japanese Industrial Standard (JIS) Class D Ground means grounding resistance of 100Ωmax.
Configure and route cables with noise control considerations:
- Perform installation and wiring that segregates system parts that may likely become
noise sources and system parts that are susceptible to noise. Segregation can be
achieved by measures such as segregating by distance, installing a filter or
segregating the grounding system.
Configure for CE Marking Conformance:
- For compliance to CE Marking, perform installation and cable routing according to the
description on compliance to CE Marking in the “Hardware Manual” (IM34M6C11-
01E).
Keep spare parts on hand:
- Stock up on maintenance parts including spare modules, in advance.

vi
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
Discharge static electricity before operating the system:
- Because static charge can accumulate in dry conditions, first touch grounded metal to
discharge any static electricity before touching the system.
Never use solvents such as paint thinner for cleaning:
- Gently clean the surfaces of the FA-M3 controller with a cloth that has been soaked
in water or a neutral detergent and wringed.
- Do not use volatile solvents such as benzine or paint thinner or chemicals for
cleaning, as they may cause deformity, discoloration, or malfunctioning.
Avoid storing the FA-M3 controller in places with high temperature or
humidity:
- Since the CPU module has a built-in battery, avoid storage in places with high
temperature or humidity.
- Since the service life of the battery is drastically reduced by exposure to high
temperatures, take special care (storage temperature should be from –20°C to
75°C).
- There is a built-in lithium battery in a CPU module and temperature control module
which serves as backup power supply for programs, device information and
configuration information. The service life of this battery is more than 10 years in
standby mode at room temperature. Take note that the service life of the battery may
be shortened when installed or stored at locations of extreme low or high
temperatures. Therefore, we recommend that modules with built-in batteries be
stored at room temperature.
Always turn off the power before installing or removing modules:
- Failing to turn off the power supply when installing or removing modules, may result
in damage.
Do not touch components in the module:
- In some modules you can remove the right-side cover and install ROM packs or
change switch settings. While doing this, do not touch any components on the
printed-circuit board, otherwise components may be damaged and modules may fail
to work.
Do not wire unused terminals:
- Do not wire unused terminals of external connection terminal blocks or unused pins
of connectors of the module. Doing so may affect the function of the module.

vii
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
Introduction
Overview of the Manual
This manual describes the specifications, handling and communications protocol of the
Personal Computer Link Module.
The manual comprises of three parts: Part A for F3LC11-1F and F3LC12-1F
(IM34M6H41-02E), Part B for F3LC11-2F (IM34M6H41-02E) and Part C for F3LC11-1N
and F3LC11-2N (IM34M6H41-01E). Read the IM34M6H41-02 section if you are using
new models of the personal computer link module (F3LC11-1F, F3LC12-1F or
F3LC12-2F) and read the IM34M6H41-01 section if you are using old models of the
personal computer link module (F3LC11-1N and F3LC11-2N).
By connecting an external module to a Personal Computer Link Module (F3LC11-1F,
F3LC12-1F), you can implement the same functions provided by the conventional
Modem Module (F3LM01-1N). For details, read Part A.
Target Module See
New models of the personal computer link module
(supports high-speed communications (115.2kbps) and modem)
F3LC11-1F (1 RS-232-C port)
F3LC12-1F (2 RS-232-C ports)
Part A
IM34M6H41-02E
New models of the personal computer link module
(supports high-speed communications (115.2kbps))
F3LC11-2F (1 RS-422/485 port)
Part B
IM34M6H41-02E
Old models of the personal computer link module
F3LC11-1N (1 RS-232-C port)
F3LC12-1N (2 RS-232-C ports)
Part C
IM34M6H41-01E
Other Instruction Manuals
For commands and responses used in communication, see:
- Personal Computer Link Commands Manual (IM 34M6P41-01E)
The manuals to be referred are dependant on the CPU module used.
Read the following manuals as required.
F3SP28, F3SP38, F3SP53, F3SP58, F3SP59
For information on functions of sequence CPU, see:
- Sequence CPU Modules – Functions (for F3SP28-3N/3S, F3SP38-6N/6S,
F3SP53-4H/4S, F3SP58-6H/6S, F3SP59-7S) (IM34M6P13-01E)
For information on creating ladder programs, see:
- FA-M3 Programming Tool WideField2 (IM34M6Q15-01E)
or
- FA-M3 Programming Tool WideField (IM34M6Q14-01E)
- FA-M3 Programming Tool WideField – Application (IM34M6Q14-02E)

viii
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
F3SP21, F3SP25, F3SP35, F3SP05, F3SP08
For information on functions of sequence CPU, see:
- Sequence CPU Modules – Functions (for F3SP21, F3SP25 and F3SP35)
(IM34M6P12-02E)
For information on creating ladder programs, see:
- FA-M3 Programming Tool WideField2 (IM34M6Q15-01E)
or
- FA-M3 Programming Tool WideField (IM34M6Q14-01E); and
- FA-M3 Programming Tool WideField – Application (IM34M6Q14-02E)
or
- Ladder Diagram Support Program M3 (IM 34M6Q13-01E)
F3BP20, F3BP30
- BASIC CPU Module and YM-BASIC/FA Programming Language
(IM34M6Q22-01E)
Common to All Sequence CPU Modules
For information on the specifications and configuration*1, installation and wiring, test
runs, maintenance and inspection of the FA-M3, and system-wide restrictions on module
installation, see:
*1: For product specifications of products other than power supply modules, base modules, I/O modules, cables and
terminal block units, see their respective manuals.
- Hardware Manual (IM34M6C11-01E)

ix
IM34M6H41-02E 2nd Edition : Aug. 1, 2005-00
Copyrights and Trademarks
Copyrights
Copyrights of the programs and online manual included in this CD-ROM belong to
Yokogawa Electric Corporation.
This online manual may be printed but PDF security settings have been made to prevent
alteration of its contents.
This online manual may only be printed and used for the sole purpose of operating this
product. When using a printed copy of the online manual, pay attention to possible
inconsistencies with the latest version of the online manual. Ensure that the edition
agrees with the latest CD-ROM version.
Copying, passing, selling or distribution (including transferring over computer networks)
of the contents of the online manual, in part or in whole, to any third party, is strictly
prohibited. Registering or recording onto videotapes and other media is also prohibited
without expressed permission of Yokogawa Electric Corporation.
Trademarks
- DUONUS is a registered trademark of Yokogawa Electric Corporation.
- Visual Basic is a registered trademark of Microsoft Corporation.
- The PC-9801 series is a product of Nippon Electric Company, Limited.
- The trade and company names that are referred to in this document are either
trademarks or registered trademarks of their respective companies.

Blank Page

TOC A-1
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
CONTENTS
Applicable Product ....................................................................................i
Important ...................................................................................................ii
Introduction.............................................................................................vii
Copyrights and Trademarks ...................................................................ix
A1. Overview .....................................................................................A1-1
A1.1 What is Personal Computer Link Module? .........................................A1-2
A1.2 What can the Module Do? ....................................................................A1-3
Personal Computer Link Function .............................................A1-3
Event Transmission Function.....................................................A1-4
Modem Connection Function .....................................................A1-4
A1.3 Specifications of the PC Link Module .................................................A1-5
Model Names and Specification Codes .....................................A1-5
Operating Environment ..............................................................A1-5
Function Specifications ..............................................................A1-5
Components and their Functions ...............................................A1-6
External Dimensions ..................................................................A1-8
A1.4 Cables and Switch Setting ...................................................................A1-9
Connecting Cables.....................................................................A1-9
Setting Module Switches.......................................................... A1-11
A1.5 Attaching and Detaching Modules.....................................................A1-14
A1.6 Connecting to a Display .....................................................................A1-16
Items Required for Connecting to a Display ............................A1-16
Create Screen Data .................................................................A1-16
Transfer Screen Data...............................................................A1-18
Set Communication Parameters ..............................................A1-18
Set Communication Parameters on the Display side ..............A1-18
A1.7 Connecting to a PC .............................................................................A1-21
A1.8 Connecting to a Modem......................................................................A1-26
A1.9 Software Specifications of the PC Link Module ...............................A1-29
Input/Output Relays .................................................................A1-29
Module Internal Register..........................................................A1-30
Accessing from BASIC.............................................................A1-31
FA-M3
Personal Computer Link Modules
Part A F3LC11-1F, F3LC12-1F IM 34M6H41-02E 2nd Edition

TOC A-2
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
A2. PC Link Function ........................................................................A2-1
List of Commands ......................................................................A2-2
Devices (Sequence CPU and BASIC CPU)...............................A2-3
Character Length, Parity Bit, Stop Bits, Ending Character ........A2-4
Formats of Access Commands/Responses ...............................A2-5
Checksum Calculation ...............................................................A2-8
Command Reference.................................................................A2-8
List of Error Codes in Response ................................................A2-9
A3. Modem Connection Function ....................................................A3-1
A3.1 Auto-dial Function, Re-dial Function ..................................................A3-2
Relays and Registers used in Auto-Dialing and Re-dialing .......A3-2
Auto-Dial Operation (when using port 1)....................................A3-3
Auto-Dial Function Ladder Sample Program .............................A3-5
Auto-Dial Function BASIC Sample Program..............................A3-6
A3.2 Message Transmission Function* .......................................................A3-8
Example of Transmission Data Setting ......................................A3-8
Beeper Connection Time............................................................A3-9
Operation of Message Transmission (for F3LC11-1F)...............A3-9
Message Transmission Function Ladder Sample Program.....A3-10
Message Transmission Function BASIC Sample Program .....A3-10
A3.3 Security Function ................................................................................A3-13
A3.4 Setting the Modem Receiving Interval ..............................................A3-14
A3.5 Precautions for Connecting External Modem ..................................A3-15
A4. Event Transmission Function ...................................................A4-1
Setting Relays and Register.......................................................A4-1
Operation of Event Transmission Function ................................A4-3
Event Transmission Function Ladder Sample Program ............A4-4
Relay Sequence.........................................................................A4-5
Event Transmission Function BASIC Sample Program.............A4-6
A5. Software Setting Function .......................................................A5-1
Relay and Register Settings ......................................................A5-2
Operation of the Software Setting Function ...............................A5-3
Software Setting Function Ladder Sample Program .................A5-3
Software Setting Function BASIC Sample Program..................A5-4
A6. Errors and Troubleshooting ......................................................A6-1
Appendix A1. ASCII Code Table.................................................Appx.1-1
Appendix A2. Intervention to Scan Time ..................................Appx.2-1
Appendix A3. Module Processing Time ....................................Appx.3-1
Index ............................................................................................Index A-1
Revision Information .................................................................................i

A1-1
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
A1. Overview
The Personal Computer Link Module uses serial communication (RS-232-C,
RS-422/485) to exchange data with higher-level equipment (displays, personal
computers, DCS, etc.).
Installing this module in the FA-M3 and connecting it to a higher-level equipment such
as a display or a personal computer enables you to monitor the operating statuses of the
FA-M3 and FA-M3 devices, as well as perform setup from the higher-level equipment.
Moreover, by attaching a commercially-available external modem (analog modem and
terminal adapter, mobile phone adapter, etc.), you can monitor the devices of the FA-M3
from a remote personal computer.

A1-2
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
A1.1 What is Personal Computer Link Module?
The Personal Computer Link module:
- Connects to higher-level equipment such as displays and personal computers and
performs serial communication.
- Enables reading of values from and writing of values to the FA-M3 devices (relays
and registers), as well as uploading and downloading of programs.
- Eliminates the need to create programs on the FA-M3 for communication.
- Enables remote access of the FA-M3 when connected to an external modem, TA
(terminal adapter), mobile phone, etc.
- Enables transmission of messages to a beeper, etc.*
* Message transmission to beepers is not available in some countries and regions.
nConnection Diagram
PC
F3LC12-1F
Personal computer
link module
RS-232-C
cross cable
FA-M3
RS-232-C
cross cable
Modem
TA, etc. RS-232-C
straight
cable
Public line
Dedicated line
F3LC11-1F
Personal computer
link module
RS-232-C
straight
cable
F3LC12-F
personal computer
link module
RS-232-C
cross cable
Display
with PC I/F
Mobile phone
adapter, etc.
Mobile
phone, etc.
FA10101.VSD
FA-M3 FA-M3
PC
Display
with PC I/F
Figure A1.1 Connection Diagram

A1-3
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
A1.2 What can the Module Do?
nPersonal Computer Link Function
The Personal Computer Link module is used to connect to high-level equipment such as
displays, personal computers, DUONUS*1, DCS*2, etc. When a FA-M3 PC link
command is transmitted from the high-level equipment, the Personal Computer Link
module returns a reply (response).
*1: Compact Field Server from Yokogawa Electric Corporation. It enables real-time monitoring of field data of the FA-M3
from a WWW browser or in an Internet environment, using the Webmetry field monitoring package.
*2 : Distributed Control System from Yokogawa Electric Corporation.
Command
"What's the
value of
D00001?"
Response
"It's $12EF."
FA10201.VSD
Higher-level
equipment
FA-M3
By exchanging commands and responses, all devices (D registers, I relays, current
values of timers/counters, etc.) of the FA-M3 CPU module can be read and written.
Moreover, personal computer link also enables uploading and downloading of ladder
programs, reading and setting of date and time, reading of error logs and alarms,
reading of user logs, etc. (For details, refer to the list of commands).
This communications is transparent to user programs on the FA-M3. (That is, no
communications program is required on the FA-M3).
CAUTION
PC link commands are issued according to the timing of the high-level equipment. To
transmit data to the high-level equipment according to the timing of the FA-M3, you can
either poll for data continuously from the high-level equipment, or alternatively, you can
write a program that uses the “Event Transmission Function” described later in this
subsection to transmit an event to the high-level equipment from the FA-M3, and have
the high-level equipment read the data once it receives this event.

A1-4
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
nEvent Transmission Function
You can send any data that is 30 words*1 or shorter from the FA-M3 to a higher-level
equipment. Event transmission requires some programming on the FA-M3 side. (You
can send an event by simply storing the data to be transmitted into the register of the
Personal Computer Link module and then turning on the Request to Send relay).
To send numeric data as ASCII character strings, simply turn on a 1-bit relay and the
module will automatically performs ASCII conversion and transmission.
Although PC link commands are processed according to the timing of the higher-level
equipment, the event transmission function allows data to be transmitted according to
the timing of the FA-M3.
CAUTION
Up to 30 words*1 (60 bytes) of data can be transmitted at each event transmission. To
transmit more than 30 words of data, write programs that use the event transmission
function to notify the higher-level equipment of a request to get data and when the high-
level equipment receives the event, it uses PC link commands to read data longer than
30 words.
*1 : On the F3LC12-1F, the limit is extended to 127 words.
nModem Connection Function
By attaching a commercially-available external modem, you can do auto-dialing, re-
dialing, send messages to beepers, etc. and use a password function to ensure security
on receiving, etc.
Besides modems using normal analog lines, you can also connect to the FA-M3 using
digital lines by connecting to a TA (terminal adapter) or even access the FA-M3 from a
place without telephone lines by connecting to a mobile phone adapter.

A1-5
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
A1.3 Specifications of the PC Link Module
nModel Names and Specification Codes
Model
Name
Basic
Specification
Code
Style
Code
Specification
Code Suffix Remarks
F3LC11 -1F …… …… 1 RS-232-C port
F3LC12 -1F …… …… 2 RS-232-C ports
nOperating Environment
F3LC11-1F, F3LC12-1F can be used with all CPU modules.
nFunction Specifications
Item F3LC11-1F F3LC12-1F
Interface EIA RS-232-C compliant
Transmission
mode Half-duplex transmission
Synchronization Start-stop synchronization
Transmission
speed
300/600/1200/2400/4800/9600/14400/19200/2
8800/38400/57.6k/76.8k/115.2Kbps
Transmission
distance 15m max.
Number of ports 1 port (non-insulated) 2 ports (non-insulated)
Start bit: 1
Data length: 7 / 8
Parity bit: None / even / odd
Data format
Stop bit: 1 / 2
Error detection Parity check, checksum
Control line RS: Always on
ER: Always on
Xon/Xoff control None
Setup items Transmission speed, data format, checksum,
ending character and protection
Protocol Proprietary protocol
Ending character Yes/No
Protection feature Yes/No
Access range
All sequence devices, BASIC common area,
upload/download ladder program, RUN/STOP,
read error history, read user log
Number of
modules
F3SP05, F3SP08, F3SP20, F3SP21: Max. 2
F3SP25, F3SP28, F3SP35, F3SP38, F3SP53,
F3SP58, F3SP59, F3BP20, F3BP30: Max. 6
* Total number including other similar function
modules (Ethernet interface module, GP-IB
communication module (slave))
Current
consumption 320mA 350mA
External connection D-sub 9-pin connector (female) mm-type M2.6
External
dimensions 28.9(W)×100(H)×83.2(D)mm*1
Mass 110g
*1: Dimensions exclude protrusions (Refer to External Dimensions figure for details)

A1-6
IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00
nComponents and their Functions
F3LC11-1F
Front View
RDY display:
Lit when the
internal circuit is
functioning
normally
RS-232-C connector:
D-sub 9-pin connector.
(mm-type M2.6 screws)
Connect to higher-level
computer, display, etc.
RDY
C LINK
LC11-1F
FA10301.VSD
Right Side View
Transmission speed switch:
Sets the transmission speed
of the module
Data format switch:
Defines the format of the
communication data
Rear
Front
This figure is drawn with the
panel cover removed.
Module function switch:
SW1
SW2SW3
Set this when connected to a
modem
1
2
3
4
5
6
7
8
O
F
F
1
2
3
4
5
6
7
8
O
F
F
FA10302.VSD
This manual suits for next models
4
Table of contents