YOKOGAWA F3LC11-1F User Manual
YOKOGAWA F3LC11-1F User Manual

YOKOGAWA F3LC11-1F User Manual

Personal computer link modules
Table of Contents

Advertisement

User's
Manual
Personal Computer Link Modules
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
Yokogawa Electric Corporation
IM 34M6H41-02E
IM 34M6H41-02E
2nd Edition

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the F3LC11-1F and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for YOKOGAWA F3LC11-1F

  • Page 1 IM 34M6H41-02E 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 IM 34M6H41-02E 2nd Edition Yokogawa Electric Corporation...
  • Page 3: Applicable Product

    - Document No. : IM 34M6H41-02E - Document Model Code DOCIM 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...
  • Page 4: Important

    - 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.
  • Page 5 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.
  • Page 6 - 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.
  • Page 7 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.
  • Page 8 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.
  • Page 9: Introduction

    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...
  • Page 10 viii 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) - FA-M3 Programming Tool WideField (IM34M6Q14-01E); and - FA-M3 Programming Tool WideField –...
  • Page 11: Copyrights And Trademarks

    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.
  • Page 12 Blank Page...
  • Page 13: Table Of Contents

    TOC A-1 FA-M3 Personal Computer Link Modules Part A F3LC11-1F, F3LC12-1F IM 34M6H41-02E 2nd Edition 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...
  • Page 14 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...
  • Page 15: A1. Overview

    A1-1 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.
  • Page 16: A1.1 What Is Personal Computer Link Module

    Modem RS-232-C RS-232-C TA, etc. FA-M3 FA-M3 FA-M3 straight straight cable cable F3LC11-1F F3LC12-F F3LC12-1F Personal computer personal computer Personal computer link module link module link module FA10101.VSD Figure A1.1 Connection Diagram IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 17: A1.2 What Can The Module Do

    Personal Computer Link module returns a reply (response). 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.
  • Page 18: Event Transmission Function

    A1-4 n Event Transmission Function You can send any data that is 30 words 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).
  • Page 19: A1.3 Specifications Of The Pc Link Module

    Code F3LC11 1 RS-232-C port …… …… F3LC12 …… …… 2 RS-232-C ports n Operating Environment F3LC11-1F, F3LC12-1F can be used with all CPU modules. n Function Specifications Item F3LC11-1F F3LC12-1F Interface EIA RS-232-C compliant Transmission Half-duplex transmission mode Synchronization...
  • Page 20: Components And Their Functions

    A1-6 n Components and their Functions F3LC11-1F Front View RDY display: Lit when the internal circuit is LC11-1F functioning C LINK normally RS-232-C connector: D-sub 9-pin connector. (mm-type M2.6 screws) Connect to higher-level computer, display, etc. FA10301.VSD Right Side View...
  • Page 21: Front View

    A1-7 F3LC12-1F Front View RDY display: Lit when the internal circuit is LC12-1F functioning C LINK normally RS-232-C connector: D-sub 9-pin connector. (mm-type M2.6 screws) Connect to higher-level computer, display, etc. FA10303.VSD Right Side View Rear Transmission speed switch: Front Sets the transmission speed of the module Data format switch:...
  • Page 22: External Dimensions

    A1-8 n External Dimensions F3LC11-1F 83.2 28.9 FA10305.VSD F3LC12-1F 83.2 28.9 FA10306.VSD IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 23: A1.4 Cables And Switch Setting

    - Transmission is not allowed if pin 8 does not turn on at the FA-M3 (F3LC11-1F/F3LC12-1F). When using a cross cable, use a cable with pin 7 and pin 8 looped back. IM 34M6H41-02E...
  • Page 24 A1-10 Cabling Example for Connection to a Display The connector on a display is D-sub 25-pin female. Therefore, use a D-sub 25-pin male ↔ D-sub 9-pin male cross cable. Null modem cables are available at the company. The modules and their specifications, and internal connections are as follows: Basic Model...
  • Page 25: Setting Module Switches

    * When connecting to an external modem, always connect the CD signal. n Setting Module Switches Figure A1.2 shows the name and location of module switches that must be set before attaching the Personal Computer Link Module (F3LC11-1F/F3LC12-1F) to the FA-M3 Base Module. Right Side View...
  • Page 26 When connecting to a modem, use the following setting: “8 bits SW2-1=ON, No parity SW2-2=OFF” or “7 bits SW2-1=OFF, with parity SW2-2=ON” FA10407.VSD Figure A1.4 Data Format Switch of Personal Computer Link Module (F3LC11-1F/F3LC12-1F) IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 27 FA10408.VSD Figure A1.5 Module Feature Switch of Personal Computer Link Module (F3LC11-1F/F3LC12-1F) CAUTION Turn on SW3-8 when an external modem is connected. If a modem is not connected, you must leave the bit off. If SW3-8 is on but no modem is connected or no power is supplied to the modem, software setting of the communication parameters will be delayed due to time out (about 65 seconds).
  • Page 28: A1.5 Attaching And Detaching Modules

    A1-14 A1.5 Attaching and Detaching Modules Attaching/Detaching Modules Figure A1.6 shows how to attach this module to the base module. First, hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module.
  • Page 29 A1-15 n Attaching Modules in Intense Vibration Environments If the module is used in intense vibration environments, fasten the module with a screw. Use a screw described in the table below and tighten it into the guide channel at the top of this module with a phillips screwdriver.
  • Page 30: A1.6 Connecting To A Display

    (3) Display↔module connection cable (4) GP screen transmission cable n Create Screen Data Create a new project. TOPsample GP577R Yokogawa Electric Corporation FACT FA10601.VSD Select GP type=GP577R, PLC type=Yokogawa Electric Corporation FACTORY ACE 1:1 Communication. IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 31 A1-17 Create the following screen on the following screen. There are 3 components. (1) Numeric display Word address = 1D0001 (2) Bit switch 1 Operating bit address = 1I0001 Check-mark the State Change item Monitor bit address = 1I0001 Bit operation = Set Change Fg color when state is ON to white Change Fg color when state is OFF to green (3) Bit switch 2...
  • Page 32: Transfer Screen Data

    A1-18 n Transfer Screen Data After saving the screen data and the project, transfer the screen data to the display. Before transferring the screen data, check that the display is connected to the PC with a dedicated transfer cable. n Set Communication Parameters Set the module switches as follows: SW1: C (115.2Kbps)
  • Page 33 A1-19 This returns you to the Initialization menu. Select Setup Operating Environment. The following screen opens. (This screen is not described in the GP-PRO user manual.) Touch 1:1 here, followed by Setup Operating Environment. Operating Environment Menu Previous Setup operating environment FA10604.VSD Enter ‘1’...
  • Page 34 A1-20 6. Touching Exit returns you to the main menu. Touch Operate and communication starts. If the following ladder program is downloaded in advance, then you can start count-up to the numerical value using and stop the count-up using Program on the FA-M3 side. 0001 I00001 M00039...
  • Page 35: A1.7 Connecting To A Pc

    Leave the default values (115.2Kbps, 8 bit, no parity) of the switches on the side of the F3LC11-1F/F3LC12-1F unchanged. You can insert the module into any slot. Use VB Professional Edition or higher. (Comm control is not available in the Learning Edition).
  • Page 36 A1-22 Select [Microsoft Comm Control] and click [OK]. Verify that the telephone control is added. Check that the telephone icon has been added IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 37 A1-23 2. Create a form Paste the Comm control added in step 1 (at any position), a label, a text box, an option button and 2 command buttons on the form and define the caption for each control. Text box Label Option button Comm control...
  • Page 38 A1-24 '========================= M0040 bit read command send MSComm1.InBufferCount = 0 MSComm1.Output = sendtext2 'BRD command send recvtext2 = "" DoEvents dmy = DoEvents( ) If MSComm1.InBufferCount Then recvtext2 = recvtext2 + MSComm1.Input If InStr(recvtext2, Chr(3)) Then temp = Mid(recvtext2, 8, 1) ' str+0101OK1 If temp = "1"...
  • Page 39 A1-25 Form Load Private Sub Form_Load( ) start_flg = 0 End Sub Form Unload Private Sub Form_Unload(Cancel As Integer) End Sub Execution Result When you click the Start button, the value of D0001 is displayed in hexadecimal format (0000-FFFF) and the option field beside M0040 blinks at 1-second interval. To stop the communication, click the Exit button.
  • Page 40: A1.8 Connecting To A Modem

    A1-26 A1.8 Connecting to a Modem n Setting and Sample Program when Connecting to a Modem We describe here how to connect to an external modem and send a message to a beeper. Sending a message to a beeper requires programming in ladder or BASIC. The program writes the telephone number of the beeper and the message to be transmitted to the internal registers of this module, turns on the Dial Request relay to start auto-dialing.
  • Page 41 A1-27 0017 M00035 69"-" WRITE $3639 0018 96"1" WRITE $3936 0019 26"F" WRITE $3236 0020 Beeper Transmit Flag (YImm39) 0021 I01 001 Y00239 0022 Dial Request (YImm40) 0023 I01 001 X00209 Y00240 0024 X00205 Y00240 0025 X00206 0026 X00208 0027 Request to Transmit Message (YImm34) 0028 X00205...
  • Page 42 A1-28 n Relay Sequence during Message Transmission Dial Request source occurs I01001 Timeout Start Timer T0001 Request Y00234 to Transmit Y00239 Transmit to beeper (always on) Y00240 Dial Request Tone line (always off) Y00241 Disconnect Y00243 Line Transmission X00202 Completed X00205 Connected X00206...
  • Page 43: A1.9 Software Specifications Of The Pc Link Module

    E: Event Transmission Function F3LC12-1F: #1: for port 1/ #2: for port 2 M: Modem Connection Function F3LC11-1F: use only #1. #2 is reserved. (dialing, message transmission) Redialing is not allowed for message transmission to beeper. S: Software setting function Relays not listed in the above table are reserved by the system.
  • Page 44 E: Event Transmission Function F3LC12-1F: #1: for port 1/ #2: for port 2 M: Modem Connection Function F3LC11-1F: uses only #1. #2 is reserved. (dialing, message transmission) Relays not listed in the above table are reserved for future use. S: Software setting function Do not use reserved relays.
  • Page 45 Data position numbers in brackets are for BASIC CPU access. For F3LC11-1F, the data size for event or message transmission is 30 words max. For F3LC12-1F, the data size is 127 words max. for each port. Accessing from BASIC Using the PC Link Module with the personal computer link function to access the common area of a BASIC CPU module does not require creation of a program on the BASIC CPU.
  • Page 46 A1-32 (2) Accessing X and Y relays Access the input (X) and output (Y) relays of the module in units of 16 points (1 word). - Reading from input relays To read from input relays, use the STATUS statement. STATUS SL, n; P SL : Slot number n : Data position number (101: Xlmm01 to Xlmm16;...
  • Page 47 A1-33 To change specific bits of output data, use a mask pattern. Data bits corresponding to 1s in the mask pattern will change, but those corresponding to 0s will not. Example: Output data P = $0640 0 0 0 0 0 1 1 0 0 1 0 0 0 0 0 0 Mask pattern M = $0750 0 0 0 0 0 1 1 1 0 1 0 1 0 0 0 0...
  • Page 48 Blank Page...
  • Page 49: A2. Pc Link Function

    You can read from or write to all devices of the FA-M3 and upload/download programs from a display, a personal computer or other equipment that supports Yokogawa’s PC link commands. Moreover, you can also read different types of information (CPU operating status, I/O configuration, cause of errors and alarms, etc.), read and write date...
  • Page 50: List Of Commands

    A2-2 n List of Commands A list of commands that can be used on the PC link module is given below. For details, refer to “Personal Computer Link Command” Manual (IM34M6P41-01E). Table A2.1 Device Bit Access Commands Command Number of Points Handled per Function Communication ASCII...
  • Page 51: Devices (Sequence Cpu And Basic Cpu)

    A2-3 n Devices (Sequence CPU and BASIC CPU) The device names that can be used in PC link commands are given below. In ladder programs, present values of timers and time-up relays are represented the same way as in T0001. However, in PC link commands, they are represented differently, as in TP00001 and TU00001.
  • Page 52: Character Length, Parity Bit, Stop Bits, Ending Character

    BASIC language, etc. uses CR (or CR+LF) for end identification. When connecting to these types of higher-level equipment, you should set the ending character to “Yes”. Append an ending character when connecting to TOP series from Yokogawa. IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 53: Formats Of Access Commands/Responses

    A2-5 n Formats of Access Commands/Responses Only uppercase alphabetic characters A-Z (ASCII codes $41-$5A) can be used in commands and responses. Format of Commands (Higher-level equipment→FA-M3 (PC Link Module)) Command response, parameters FA20001.VSD (1) STX The STX character (control code) identifies the beginning of text. Its ASCII code is “$02”...
  • Page 54 A2-6 Command (3 characters) This specifies the type of access (read, write etc.) to be performed on the PC Link module from higher-level equipment (PC or display). Specify the command code using three characters. For details, refer to the “Personal Computer Link Command”...
  • Page 55 A2-7 Format of Responses The format of a response that is sent back from the FA-M3 to a higher-level computer (or display) is shown here. For more details, see the “Personal Computer Link Command” manual (IM34M6P41-01E). If communications is normal Command response FA20003.VSD If communications is successful, the character string “OK”...
  • Page 56: Checksum Calculation

    A2-8 n Checksum Calculation The checksum is obtained by simply summing the ASCII codes of the character portion of a command or response. We show below how the checksum is calculated on the sending end (command). Add the ASCII codes of characters, starting with the character following the STX character (that is, the first character of the station number) until the character preceding the checksum (that is, the last character of the command parameters).
  • Page 57: List Of Error Codes In Response

    A2-9 n List of Error Codes in Response When a communications error or a command error occurs, or when the CPU module of the FA-M3 returns an error, the character string “ER” and two error codes (2 hexadecimal characters, EC1 and EC2) are returned. EC1: Error code (See Table A2.8) EC2: Detailed error code...
  • Page 58 A2-10 The Detailed Error Code (EC2) is valid when the Error Code (EC1) is equal to $03, $04, $05, $08, $41, $51 or $52. It is invalid otherwise. In the case of a parameter error, the number of the parameter where the error has occurred is stored in the Detailed Error Code.
  • Page 59: A3. Modem Connection Function

    A3-1 A3. Modem Connection Function You can connect an external modem to this module and then use PC link commands to monitor devices on the remote FA-M3 via the modem. Moreover, an on-site alarm can be generated and transmitted from the FA-M3 to the higher-level equipment or transmitted to a beeper.
  • Page 60: A3.1 Auto-Dial Function, Re-Dial Function

    Disconnect Line Ylmm59 #2 Turn it off if Connected is off or Disconnection Failed is on. F3LC12-1F: #1: for port 1/ #2: for port 2 F3LC11-1F: uses only #1. #2 is reserved. IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 61: Auto-Dial Operation (When Using Port 1)

    (BCD 4 digits) F3LC12-1F: #1: for port 1/ #2: for port 2 F3LC11-1F: uses only #1. #2 is reserved. Use the data position numbers given in the table when accessing the module from a ladder program. When accessing from a BASIC program, use the data position numbers given in Tables A1.4 and A1.5 instead l Telephone Number Setting Example (using port 1) Set the external connection number to none and the telephone number to “0123-45-...
  • Page 62 A3-4 If line connection to the dialing destination is successful, input relay Xlmm05 (Connected) turns on. Input relay Xlmm05 (Connected) turns off when the line is disconnected. If line connection to the dialing destination is not successful, input relay Xlmm06 (Connection Failed) turns on.
  • Page 63: Auto-Dial Function Ladder Sample Program

    A3-5 Auto-Dial Function Ladder Sample Program This example assumes that the PC link module is installed in slot 2. Turning on I01001 performs dialing. Turning on I01002 performs disconnection. 0001 === Initial Setting === 0002 I01 001 Redial interval WRITE 0003 Redial limit WRITE...
  • Page 64: Auto-Dial Function Basic Sample Program

    A3-6 Auto-Dial Function BASIC Sample Program This example assumes that the PC link module is installed in slot 2 and port 2 of F3LC12-1F is used. !***************************************** !*** F3LC12-1F Sample Program !*** Auto-Dial Function !***************************************** DEFINT A-Z LCSLOT=2 ASSIGN LC12=LCSLOT :! Declare use of module :! Setup telephone number CONTROL LCSLOT,79;10...
  • Page 65 A3-7 PR "CLOSE" FIN@ IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 66: A3.2 Message Transmission Function

    F3LC12-1F:127 words (port 1: 102-228 / port 2: 402-528) For F3LC11-1F, the number of data that can be transmitted using event transmission is 30 words (60 bytes). For F3LC12-1F, 127 words (254 bytes) can be transmitted each time per port.
  • Page 67: Beeper Connection Time

    - Output relays Ylmm37 (Specify Header/Footer) and Ylmm38 (ASCII Conversion) are not relevant to message transmission and should be always off. Operation of Message Transmission (for F3LC11-1F) This function is used with public line connection. To transmit a message to a beeper, follow these steps.
  • Page 68: Message Transmission Function Ladder Sample Program

    Refer to section A1.8 “Connecting to a Modem” Message Transmission Function BASIC Sample Program This example assumes that the PC link module is installed in slot 2. !***************************************** !*** F3LC11-1F Sample Program !*** Message Transmission to Beeper !***************************************** DEFINT A-Z...
  • Page 69 A3-11 :! Setup telephone number CONTROL LCSLOT,29;10 :! Telephone number size CONTROL LCSLOT,30;1 :! No. of dial digits for ext. connection CONTROL LCSLOT,31;$9012 :! Telephone number CONTROL LCSLOT,32;$3456 CONTROL LCSLOT,33;$7890 MAIN@ GOSUB SDMSGPB@ IF RSLT=0 THEN PR "SEND OK" ELSE PR "SEND NG" ENDIF STOP SDMSGPB@ RSLT=0...
  • Page 70 A3-12 PR "CLOSE":GOTO FIN@ FINER@ RSLT=-1 FIN@ RETURN IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 71: A3.3 Security Function

    (BCD 4 digits) F3LC12-1F: #1: for port 1/#2: for port 2 F3LC11-1F: use only #1. #2 is reserved. Use the data position numbers given in the table when accessing the module from a ladder program. When accessing from a BASIC program, use the data position numbers given in Tables A1.4 and A1.5 instead.
  • Page 72: A3.4 Setting The Modem Receiving Interval

    99 #2 F3LC12-1F: #1: for port 1/#2: for port 2 F3LC11-1F: use only #1. #2 is reserved. Use the data position numbers given in the table when accessing the module from a ladder program. When accessing from a BASIC program, use the data position numbers given in Tables A1.4 and A1.5 instead.
  • Page 73: A3.5 Precautions For Connecting External Modem

    A3-15 A3.5 Precautions for Connecting External Modem Follow the flowchart below to connect an external modem. Standby equipment to System configuration be connected (1) Transmission speed (rotary switch) See Section A1.4 Set module switches (2) Data format (DIP switch) - Character length - Parity check (yes/no) - Parity bit (odd/even) - Stop bits...
  • Page 74 Blank Page...
  • Page 75: A4. Event Transmission Function

    F3LC12-1F:127 words (port 1: 102-228 / port 2: 402-528) For F3LC11-1F, the number of data that can be transmitted using event transmission is 30 words (60 bytes). For F3LC12-1F, 127 words (254 bytes) can be transmitted each time per port.
  • Page 76 A4-2 l Sample Transmission Data with Header/Footer and ASCII Conversion Specified The Personal Computer Link module is normally used with the PC link function. When transmitting event data in the midst of exchange of PC Link commands and responses, it may be easier for the higher-level computer to get such data if the data format matches the format of PC Link responses.
  • Page 77: Operation Of Event Transmission Function

    A4-3 Operation of Event Transmission Function To transmit an event to a higher-level computer, etc. via a public line, follow these steps. 1. Perform a line connection using the auto-dial function. 2. If the line connection is successful, transmit the event. 3.
  • Page 78: Event Transmission Function Ladder Sample Program

    A4-4 Event Transmission Function Ladder Sample Program This example assumes that the PC link module is installed in slot 2. 0001 Transmit event after I00001 turns on 0002 I00001 Data size WRITE 0003 Transmission data WRITE "12" 0004 WRITE "34" 0005 WRITE "56"...
  • Page 79: Relay Sequence

    A4-5 Relay Sequence Request to Transmit Y00234 Y00237 Header/Footer "Yes" (always on) Y00238 ASCII Conversion "No" (always off) Transmit message to beeper "No" (always off) Y00239 Transmit X00202 Completed RS232C line data Transmit data FA40002.VSD Figure A4.1 Relay Sequence of the Event Transmission Function IM 34M6H41-02E 2nd Edition : Aug.
  • Page 80: Event Transmission Function Basic Sample Program

    This example assumes that the PC link module is installed in slot 2. This sample program transmits an event via the modem after successful connection using auto-dial. !***************************************** !*** F3LC11-1F Sample Program !*** Transmitting an event to a high-level computer !***************************************** DEFINT A-Z...
  • Page 81 A4-7 CONTROL LCSLOT,101;$0010,$0010 :! Turn on Y37 (Specify Header/Footer) relay CONTROL LCSLOT,101;$0080,$0080 :! Turn on Y40 (Dial Request) relay STATUS LCSLOT,101;XREL :! Read input relay WHILE BINAND(XREL,$00B0)=0 :! Wait till X5 (Connected) relay turns on :! or X6 (Connection Failed) turns on :! or X8 (Disconnection Failed) turns on STATUS LCSLOT,101;XREL :! Read input relay...
  • Page 82 Blank Page...
  • Page 83: A5. Software Setting Function

    A5-1 A5. Software Setting Function (of Communication Parameters, etc.) You can set the data format and transmission speed using the rotary switch (SW1) or the DIP switch (SW2) on the right side of the module. Alternatively, you can also perform software setting from a program in the FA-M3 CPU module.
  • Page 84: Relay And Register Settings

    Turn it off when Setup Completed turns on. Ylmmnn: “l” denotes the unit; “mm” denotes the slot. F3LC12-1F: #1: for port 1/#2: for port 2 F3LC11-1F: use only #1. #2 is reserved. Table A5.2 List of Registers Related to Software Setting Function Register Default...
  • Page 85: Operation Of The Software Setting Function

    A5-3 Operation of the Software Setting Function Set the data format and transmission speed using the following procedure. Write the setting values to data position numbers 38 and 39 using the WRITE instruction. Turn on output relay Ylmm35 (Setup Request) using the SET P instruction. When setup of data format and transmission speed completes, input relay Xlmm03 (Setup Completed) turns on.
  • Page 86: Software Setting Function Basic Sample Program

    A5-4 Software Setting Function BASIC Sample Program This sample program assumes that the Personal Computer Link module is installed in slot 2. !***************************************** !*** F3LC12-1F Sample Program !*** Software Setting Function !***************************************** DEFINT A-Z LCSLOT=2 ASSIGN LC12=LCSLOT :! Declare use of module ! ========port #1 8bit/NonParity/stop1/CR, 115.2kbps CONTROL LCSLOT,38;$0021 :! Data format...
  • Page 87: A6. Errors And Troubleshooting

    A6-1 A6. Errors and Troubleshooting We describe here the problems that may occur under each usage environment (when connected to a display, when connected to a PC, when connected to a modem) and the corresponding corrective actions. When Connected to a Display Table A6.1 Problem Causes and Troubleshooting when Connected to a Display Symptom Cause...
  • Page 88 A6-2 When Connected to a Modem Table A6.3 Problem Causes and Troubleshooting when Connected to a Modem Symptom Cause Corrective Action Set the line type correctly to tone or Line type mismatch. pulse. Remote destination is busy. Wait for some time and redial. Set the number and number of Fail to connect Incorrect number or incorrect number of digits for...
  • Page 89: Appendix A1. Ascii Code Table

    Appx.A1-1 Appendix A1. ASCII Code Table High 0 NUL 1 SOH 2 STX " 3 ETX 4 EOT 5 ENQ 6 ACK & 7 BEL 8 BS 9 HT A LF B VT C FF < ¥ D CR E SO >...
  • Page 90: Appendix A2. Intervention To Scan Time

    Appx.A2-1 Appendix A2. Intervention to Scan Time The table below shows the intervention (scan time delay) to the scan time caused by processing of a request from the Personal Computer Link module for typical commands. For number of access points not listed in the table, extrapolate the intervention time using the given values.
  • Page 91: Appendix A3. Module Processing Time

    Appx.A3-1 Appendix A3. Module Processing Time The table below shows the internal processing time (processing time A and processing time B in the table below) of the module, starting from the time a command is completely received from a higher-level equipment, until a response is returned. As seen from the higher-level equipment, the time starting from completion of command transmission to beginning of response receiving is made up of processing time A + processing time B + FA-M3 CPU module processing time + scan time.
  • Page 92 Blank Page...
  • Page 93 Index A FA-M3 Personal Computer Link Modules Part A F3LC11-1F, F3LC12-1F IM 34M6H41-02E 2nd Edition Index parameters............A2-6 parity bit .......... A1-5, A2-4, A5-2 List of BASIC Statements personal computer link commands, list of ..A2-2 ASSIGN ............A1-31 personal computer link commands, usable CONTROL ..........A1-32, A1-33...
  • Page 94 Blank Page...
  • Page 95 TOC B-1 FA-M3 Personal Computer Link Modules Part B F3LC11-2F IM 34M6H41-02E 2nd Edition CONTENTS Applicable Product ..................i Important ....................ii Introduction.....................vii Copyrights and Trademarks ..............ix B1. Overview ..................B1-1 B1.1 What is Personal Computer Link Module? ........B1-1 B1.2 What can the Module Do? ..............B1-2 Personal Computer Link Function..........B1-2 Event Transmission Function .............B1-3 B1.3...
  • Page 96 TOC B-2 B4. Software Setting Function (of Communication Parameters, etc.) ........B4-1 Relay and Register Settings ............B4-1 Operation of the Software Setting Function .......B4-2 Software Setting Function Ladder Sample Program ....B4-2 Software Setting Function BASIC Sample Program ....B4-3 B5. Errors And Troubleshooting............B5-1 Appendix B1.
  • Page 97: B1.1 What Is Personal Computer Link Module

    B1-1 Overview The Personal Computer Link Module (F3LC11-2F) uses serial communication (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.
  • Page 98: What Can The Module Do

    Personal Computer Link module returns a reply (response). 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.
  • Page 99: Event Transmission Function

    B1-3 Event Transmission Function You can send any data that is 30 words 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).
  • Page 100: Specifications Of The Pc Link Module

    B1-4 B1.3 Specifications of the PC Link Module Model Names and Specification Codes Basic Model Style Specification Specification Remarks Name Code Code Suffix Code F3LC11 …… …… One RS-422/485 port Operating Environment The F3LC11-2F module can be used with all CPU modules. Function Specifications Item F3LC11-2F...
  • Page 101: Components And Their Functions

    B1-5 Components and their Functions F3LC11-2F Front View RDY LED indicator: Lit when the internal circuit is functioning normally LC11-2F C LINK STATION Station Number switch: Set to station number (1 to 32). TERMINATOR Terminator switch: 4-WIRE Set to 2-wire or 4-wire for SD A terminal stations.
  • Page 102: External Dimensions

    B1-6 External Dimensions F3LC11-2F 12.1 83.2 28.9 FB10305.vsd IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 103: B1.4 Cables And Switch Setting

    B1-7 B1.4 Cables and Switch Setting External Wiring To ensure compliance to CE Marking for a system incorporating this module, use a shielded cable for connecting to the module. Peel off part of the insulation of the shielded cable to expose the shield, and apply an FG clamp to the shield to secure and ground it F3LC11-2F Peel off insulation and...
  • Page 104 B1-8 This module is connected to external equipment using a 4- or 2-wire system. Figures B1.3 and B1.4 show the connection diagram for 4-wire system and 2-wire system respectively. In the 4-wire system, SDA/SDB and RDA/RDB lines cross only between a higher-level equipment and the Personal Computer Link module (see Figure B1.5).
  • Page 105 B1-9 Use the following wiring (recommended) and M3.5 terminal screws. Use crimp-on terminals (recommended) for wiring. Table B1.1 Recommended Connection Method and Terminal Block Type Connection Method Terminal Block Type Compatible conductor Size: 0.3 to 1.25 mm (AWG 22 to18) Example: CO-SPEV-SB(A)3P×0.5 SQ from Hitachi Cabling Wire Connection...
  • Page 106: Setting Module Switches

    B1-10 Setting Module Switches Figure B1.7 shows the name and location of module switches that must be set before attaching the Personal Computer Link Module (F3LC11-2F) to the FA-M3 Base Module. Right Side View Front View RDY LED indicator: Lit when the internal circuit is functioning normally LC11-2F C LINK...
  • Page 107 B1-11 Data Format Switch (SW2) Set the data transmission format using the 8-bit DIP switch. Set the DIP switch by sliding each switch to the ON or OFF position. Up to six functions can be set with this switch. The factory setting is ON for bit 1 and OFF for bit 2 to bit 8. Number Function Factory setting...
  • Page 108: B1.5 Attaching And Detaching Modules

    B1-12 B1.5 Attaching and Detaching Modules Attaching/Detaching Modules Figure B1.11 shows how to attach this module to the base module. First, hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module.
  • Page 109 B1-13 Attaching Modules in Intense Vibration Environments If the module is used in intense vibration environments, fasten the module with a screw. Use a screw described in the table below and tighten it into the guide channel at the top of this module with a phillips screwdriver.
  • Page 110: B1.6 Connecting To A Pc

    B1-14 B1.6 Connecting to a PC Sample Program on the PC Side Here, we use Visual Basic (hereinafter known as VB) to create a sample program on the PC side that monitors the status of devices on the FA-M3 side. Leave the default values (115.2Kbps, 8 bit, no parity) of the switches on the side of the F3LC11-2F unchanged.
  • Page 111 B1-15 Select [Microsoft Comm Control] and click [OK]. Verify that the telephone control is added. Check that the telephone icon has been added IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 112 B1-16 2. Create a form Paste the Comm control added in step 1 (at any position), a label, a text box, an option button and 2 command buttons on the form and define the caption for each control. Text box Label Option button Comm control...
  • Page 113 B1-17 '========================= M0040 bit read command send MSComm1.InBufferCount = 0 MSComm1.Output = sendtext2 'BRD command send recvtext2 = "" DoEvents dmy = DoEvents( ) If MSComm1.InBufferCount Then recvtext2 = recvtext2 + MSComm1.Input If InStr(recvtext2, Chr(3)) Then temp = Mid(recvtext2, 8, 1) ' str+0101OK1 If temp = "1"...
  • Page 114 B1-18 Form Load Private Sub Form_Load( ) start_flg = 0 End Sub Form Unload Private Sub Form_Unload(Cancel As Integer) End Sub Execution Result When you click the Start button, the value of D0001 is displayed in hexadecimal format (0000-FFFF) and the option field beside M0040 blinks at 1-second interval. To stop the communication, click the Exit button.
  • Page 115: Software Specifications Of The Pc Link Module

    B1-19 B1.7 Software Specifications of the PC Link Module This module has internal input/output relays and registers. These are used to store setting values when setting communications parameters using software and transmission data during event transmission, as well as to issue send requests. (They are not used in the PC link functions) For more details on each function, see Chapter B3, “Event Transmission Function”...
  • Page 116: Module Internal Register

    B1-20 Module Internal Register The Personal Computer Link Module has two types of internal registers. (1) Mode registers: for writing communications parameters. (2) Output data registers: for writing events, messages and other transmission data. Table B1.4 List of Mode Registers CPU Access CPU Access RegistersUsed by...
  • Page 117: Accessing From Basic

    B1-21 Accessing from BASIC Using the PC Link Module with the personal computer link function to access the common area of a BASIC CPU module does not require creation of a program on the BASIC CPU. The BASIC common area can be directly accessed as D registers and I relays.
  • Page 118 B1-22 - Writing to output relays To write to output relays, use the CONTROL statement. CONTROL SL, n; P, M SL : Slot number n : Data position number (101: Xlmm33 to Xlmm48; 102: Xlmm49 to Xlmm64) P : Output data M : Mask pattern Data position 15 14 13 12 11 10...
  • Page 119 B1-23 (4) Accessing output data registers - Writing to output data registers To write to output data registers, use the OUTPUT statement. OUTPUT SL, n, NOFORMAT; I SL: Slot number n : Data position number : Constant, or integer-type variable or integer-type array variable storing data to be written.
  • Page 120 Blank Page...
  • Page 121: B2. Pc Link Function

    PC Link Function You can read from or write to all devices of the FA-M3 and upload/download programs from a display (e.g. TOP series from Yokogawa), a personal computer or other equipment that supports Yokogawa’s PC link commands. Moreover, you can also read different types of information (CPU operating status, I/O configuration, cause of errors and alarms, etc.), read and write date and time data,...
  • Page 122: List Of Commands

    B2-2 List of Commands A list of commands that can be used on the PC link module is given below. For details, refer to “Personal Computer Link Command” Manual (IM34M6P41-01E). Table B2.1 Device Bit Access Commands Command Number of Points Handled per Function Communication ASCII...
  • Page 123: Devices (Sequence Cpu And Basic Cpu)

    B2-3 Devices (Sequence CPU and BASIC CPU) The device names that can be used in PC link commands are given below. In ladder programs, present values of timers and time-up relays are represented the same way as in T0001. However, in PC link commands, they are represented differently, as in TP00001 and TU00001.
  • Page 124: Character Length, Parity Bit, Stop Bits, Ending Character

    BASIC language, etc. uses CR (or CR+LF) for end identification. When connecting to these types of higher-level equipment, you should set the ending character to “Yes”. Append an ending character when connecting to TOP series from Yokogawa. IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 125: Formats Of Access Commands/Responses

    B2-5 Formats of Access Commands/Responses Only uppercase alphabetic characters A-Z (ASCII codes $41-$5A) can be used in commands and responses. Format of Commands (Higher-level equipment→FA-M3 (PC Link Module)) Command response, parameters FA20001.VSD (1) STX The STX character (control code) identifies the beginning of text. Its ASCII code is “$02”...
  • Page 126 B2-6 Command (3 characters) This specifies the type of access (read, write etc.) to be performed on the PC Link module from higher-level equipment (PC or display). Specify the command code using three characters. For details, refer to the “Personal Computer Link Command”...
  • Page 127 B2-7 Format of Responses The format of a response that is sent back from the FA-M3 to a higher-level computer (or display) is shown here. For more details, see the “Personal Computer Link Command” manual (IM34M6P41-01E). If communications is normal Command response FA20003.VSD If communications is successful, the character string “OK”...
  • Page 128: Checksum Calculation

    B2-8 Checksum Calculation The checksum is obtained by simply summing the ASCII codes of the character portion of a command or response. We show below how the checksum is calculated on the sending end (command). Add the ASCII codes of characters, starting with the character following the STX character (that is, the first character of the station number) until the character preceding the checksum (that is, the last character of the command parameters).
  • Page 129: List Of Error Codes In Response

    B2-9 List of Error Codes in Response When a communications error or a command error occurs, or when the CPU module of the FA-M3 returns an error, the character string “ER” and two error codes (2 hexadecimal characters, EC1 and EC2) are returned. EC1: Error code (See Table B2.8) EC2: Detailed error code...
  • Page 130 B2-10 The Detailed Error Code (EC2) is valid when the Error Code (EC1) is equal to $03, $04, $05, $08, $41, $51 or $52. It is invalid otherwise. In the case of a parameter error, the number of the parameter where the error has occurred is stored in the Detailed Error Code.
  • Page 131: B3. Event Transmission Function

    B3-1 Event Transmission Function The event transmission function transmits events (any free-format string and binary numeric data) to a higher-level computer. The number of data that can be transmitted each time is 60 bytes (30 words) for the F3LC11-2F module. Setting Relays and Register Table B3.1 List of Input/Output Relays Related to the Event Transmission Function Input/Output...
  • Page 132 B3-2 Sample Transmission Data with Header/Footer and ASCII Conversion Specified The Personal Computer Link module is normally used with the PC link function. When transmitting event data in the midst of exchange of PC Link commands and responses, it may be easier for the higher-level computer to get such data if the data format matches the format of PC Link responses.
  • Page 133: Event Transmission Function Ladder Sample Program

    B3-3 Event Transmission Function Ladder Sample Program This example assumes that the PC link module is installed in slot 2. 0001 Transmit event after I00001 turns on 0002 I00001 Data size WRITE 0003 Transmission data WRITE "12" 0004 WRITE "34" 0005 WRITE "56"...
  • Page 134: Relay Sequence

    B3-4 Relay Sequence Request to Transmit Y00234 Header/Footer "Yes" (always on) Y00237 Y00238 ASCII Conversion "No" (always off) Y00239 Transmit message to beeper "No" (always off) Transmit X00202 Completed RS232C line data Transmit data FA40002.VSD Figure B3.1 Relay Sequence of the Event Transmission Function IM 34M6H41-02E 2nd Edition : Aug.
  • Page 135: Event Transmission Function Basic Sample Program

    B3-5 Event Transmission Function BASIC Sample Program This example assumes that the PC link module is installed in slot 2. !***************************************** !*** F3LC11-2F Sample Program !*** Transmitting an event to a high-level computer !***************************************** DEFINT A-Z LCSLOT=2 ASSIGN LC11=LCSLOT :! Declare use of module :! Setup transmission data OUTPUT LCSLOT,1 NOFORMAT;32 :! Transmission data size...
  • Page 136 B3-6 450 ! 460 END IM 34M6H41-02E 2nd Edition : Aug. 1, 2005-00...
  • Page 137: B4. Software Setting Function (Of Communication Parameters, Etc.)

    B4-1 B4. Software Setting Function (of Communication Parameters, etc.) You can set the data format and transmission speed using the rotary switch (SW1) or the DIP switch (SW2) on the right side of the module. Alternatively, you can also perform software setting from a program in the FA-M3 CPU module. Data format and transmission speed can be changed even after the Personal Computer Link module is mounted to the base unit.
  • Page 138: Operation Of The Software Setting Function

    B4-2 Operation of the Software Setting Function Set the data format and transmission speed using the following procedure. Write the setting values to data position numbers 38 and 39 using the WRITE instruction. Turn on output relay Ylmm35 (Setup Request) using the SET P instruction. When setup of data format and transmission speed completes, input relay Xlmm03 (Setup Completed) turns on.
  • Page 139: Software Setting Function Basic Sample Program

    B4-3 Software Setting Function BASIC Sample Program This sample program assumes that the Personal Computer Link module is installed in slot 2. !***************************************** !*** F3LC11-2F Sample Program !*** Software Setting Function !***************************************** DEFINT A-Z LCSLOT=2 ASSIGN LC12=LCSLOT :! Declare use of module ! ========port #1 8bit/NonParity/stop1/CR, 115.2kbps CONTROL LCSLOT,38;$0021 :! Data format...
  • Page 140 Blank Page...
  • Page 141: B5. Errors And Troubleshooting

    B5-1 Errors and Troubleshooting We describe here the problems that may occur under each usage environment (when connected to a display and when connected to a PC) and the corresponding corrective actions. When Connected to a Display Table B5.1 Problem Causes and Troubleshooting when Connected to a Display Symptom Cause Corrective Action...
  • Page 142 Blank Page...
  • Page 143: Appendix B1. Ascii Code Table

    Appx.B1-1 Appendix B1. ASCII Code Table High 0 NUL 1 SOH 2 STX " 3 ETX 4 EOT 5 ENQ 6 ACK & 7 BEL 8 BS 9 HT A LF B VT C FF < ¥ D CR E SO >...
  • Page 144: Appendix B2. Intervention To Scan Time

    Appx.B2-1 Appendix B2. Intervention to Scan Time The table below shows the intervention (scan time delay) to the scan time caused by processing of a request from the Personal Computer Link module for typical commands. For number of access points not listed in the table, extrapolate the intervention time using the given values.
  • Page 145: Appendix B3. Module Processing Time

    Appx.B3-1 Appendix B3. Module Processing Time The table below shows the internal processing time (processing time A and processing time B in the table below) of the module, starting from the time a command is completely received from a higher-level equipment, until a response is returned. As seen from the higher-level equipment, the time starting from completion of command transmission to beginning of response receiving is made up of processing time A + processing time B + FA-M3 CPU module processing time + scan time.
  • Page 146 Blank Page...
  • Page 147: Index B

    Index B FA-M3 Personal Computer Link Modules Part B F3LC11-2F IM 34M6H41-02E 2nd Edition Index switches, setting data format switch ......B1-5, B1-11 List of BASIC Statements station number......B1-5, B1-11, B2-5 ASSIGN ............B1-21 terminator switch ..... B1-5, B1-9, B1-11 CONTROL ...........
  • Page 148 Blank Page...
  • Page 149 TOC C-1 FA-M3 Personal Computer Link Modules Part C F3LC11-1N, F3LC11-2N IM 34M6H41-01E 3rd Edition CONTENTS Applicable Product ..................i Important ....................ii Introduction.....................vii Copyrights and Trademarks ..............ix Overview ..................C1-1 C1.1 Specifications of F3LC11-1N Module ..........C1-3 ........C1.1.1 Compatibility with CPU Modules C1-3 ...........
  • Page 150: Index ............................................................................................Index

    TOC C-2 C3.1.3 Attaching and Detaching Modules ..........C3-4 (1) Attaching Modules ..............C3-4 (2) Detaching Modules ...............C3-4 (3) Attaching Modules in Intense Vibrating Environment ...C3-5 C3.1.4 External Wiring ................C3-5 (1) RS-422-A/RS-485 terminal block .........C3-6 C4. Communication Control ............C4-1 C4.1 For F3LC11-1N and F3LC11-2N Modules ..........C4-1 C4.1.1 Constituent Elements of Commands and Responses ....C4-4 [1] Command Format and its Elements ........C4-4 [2] Response Format and its Elements........C4-7...
  • Page 151: C1 Overview

    C1-1 C1. Overview The FA-M3 Personal Computer Link Module (F3LC11-1N) has an RS-232-C communication port. The F3LC11-2N also has an RS-422-A/RS-485 communication port. The RS-232-C port enables communication with a higher-level computer such as a personal computer, or a display with a PC interface on a one-to-one basis. The RS-422-A port allows a maximum of 10 FA-M3 modules to be connected, and the RS-485 port allows up to 32 modules to be connected.
  • Page 152 C1-2 These module are used with FA-M3 modules. Features included in the modules are: • No ladder sequence programs and basic programs for transmission are neces- sary. Requests for data transmission are made by a higher-level computer or a display. Therefore, preparation of or changes in a special ladder sequence program or BASIC program are not necessary.
  • Page 153: C1.1 Specifications Of F3Lc11-1N Module

    C1-3 C1.1 Specifications of F3LC11-1N Module C1.1.1 Compatibility with CPU Modules The following are the CPU modules that support the F3LC11-1N. F3SP05 F3SP08 F3SP21 F3SP25 F3SP28 F3SP35 F3SP38 F3SP53 F3SP58 F3SP59 F3FP36 F3BP20 F3BP30 F3LC11-1N TC010101.EPS C1.1.2 Function Specifications Table C1.1 Function Specifications of F3LC11-1N Module Content Setting Factory...
  • Page 154: C1.1.3 Model Name And Specification Code

    C1-4 C1.1.3 Model Name and Specification Code Model Basic Style Specification Name Specification Code Code Suffix Remarks Code F3LC11 RS-232-C 1 port C1.1.4 Components and their Functions I Front view RDY indicator: Lit when the internal circuit is functioning normally. LC11-1N C LINK RS-232-C Connector...
  • Page 155 C1-5 I External Dimensions and Weight Width 28.9 mm Height 100 mm Depth 83.2 mm Weight 110 g TC010103.EPS Note: The dimensions do not include any protruding parts. Unit: mm 83.2 28.9 F0103.EPS Figure C1.3 External Dimensions of the F3LC11-1N Module IM 34M6H41-01E 3rd Edition : Aug.
  • Page 156: C1.2.1 Interconnections

    C1-6 C1.2 System Configurations This section gives examples of system configuration using a personal computer link module (F3LC11-1N). C1.2.1 Interconnections If a personal computer or a display is to be connected to FA-M3 modules through a per- sonal computer link module, use the RS-232-C port. Personal computer Display with PC I/F RS-232-C...
  • Page 157: C1.3 Specifications Of F3Lc11-2N Module

    C1-7 C1.3 Specifications of F3LC11-2N Module C1.3.1 Compatibility with CPU Module The following are the CPU modules that support the F3LC11-2N module. F3SP05 F3SP08 F3SP21 F3SP25 F3SP28 F3SP35 F3SP38 F3SP53 F3SP58 F3SP59 F3FP36 F3BP20 F3BP30 F3LC11-2N C1.3.2 Function Specifications Table C1.3 Function Specifications of F3LC11-2N Module Content Setting Factory...
  • Page 158: C1.3.3 Model Name And Specification Cod

    C1-8 C1.3.3 Model Name and Specification Cod Model Basic Style Specification Name Specification Code Code Suffix Remarks Code F3LC11 RS-422-A/RS-485 1 port C1.3.4 Components and their Functions I Front view RDY display: Lit when the internal circuit is functioning normally. LC11-2N C LINK STATION...
  • Page 159 C1-9 I External Dimensions and Weight Width 28.9 mm Height 100 mm Depth 83.2 mm Weight 110 g TC010103.EPS Note: Dimensions except protruding areas 12.1 83.2 28.9 F0106.EPS Figure C1.6 External Dimensions of F3LC11-2N Module IM 34M6H41-01E 3rd Edition : Aug. 1, 2005-00...
  • Page 160: C1.4.1 Interconnections

    C1-10 C1.4 System Configurations This section gives examples of system configuration using a personal computer link module (F3LC11-2N). C1.4.1 Interconnections Multiple FA-M3 modules are connected in such a way that higher-level personal computer can control all the data of the FA-M3. These FA-M3 modules are interconnected through the RS-422-A or RS-435 communication port.
  • Page 161: C2 Setting Up The F3Lc11-1N Module

    C2-1 C2. Setting Up the F3LC11-1N Module C2.1 Module Setup and Link Procedures C2.1.1 Module Setup Flow Figure C2.1 shows the module setup procedures before starting up the FA-M3 system using a personal computer link module (F3LC11-1N). Overall system Preparation of external equipment configuration [1] Transmission speed (Rotary switch) Set module switches...
  • Page 162: C2.1.2 Setting Module Switches

    C2-2 C2.1.2 Setting Module Switches Figure C2.2 shows the locations of module switches to be set before attaching the F3LC11-1N Personal Computer Link Module to an FA-M3 Base Module. I Front view I Right side view RDY indicator: Lit when the internal circuit is functioning LC11-1N C LINK...
  • Page 163 C2-3 Transmission Speed Switch Set the transmission speed using the decimal rotary switch shown below. With an appropriate ordinary screwdriver, change the direction of the arrow. Do not position the arrow at 7, 8, or 9. The factory default setting of the switch is 5 (9600 bps). Setting Transmission speed (bps) 1200...
  • Page 164: C2.1.3 Attaching And Detaching Modules

    C2-4 C2.1.3 Attaching and Detaching Modules Attaching Modules Figure C2.5 shows how to attach the F3LC11-1N Module to the base module. First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module.
  • Page 165: Attaching Modules In Intense Vibration Environments

    C2-5 Attaching Modules in Intense Vibration Environments If the modules are used in intense vibration environments, fasten the modules with a screw as shown in Figure C2.6. For this, use a screw described below. With a Plus screwdriver, tighten the upper side of the module with this screw. During this operation, the user must tilt the screwdriver somewhat using the guide channel at the top of the module.
  • Page 166: C2.1.4 External Wiring

    C2-6 C2.1.4 External Wiring To ensure compliance to CE Marking for a system incorporating this module, use a shielded cable for connecting to the module. Peel off part of the insulation of the shielded cable to expose the shield, and apply an FG clamp to the shield to secure and ground it. Peel off insulation and apply an FG clamp to F3LC11-1N...
  • Page 167 C2-7 Introduction to Cables Supplied by Yokogawa Electric Corporation Null modem cables are available at the company. The modules and their specifications, and internal connections are as follows: Basic Model Description specification YCB215 — RS-232-C null modem cable with control line...
  • Page 168 Blank Page...
  • Page 169: C3. Setting Up The F3Lc11-2N Module

    C3-1 C3. Setting Up the F3LC11-2N Module C3.1 Module Setup and Link Procedures C3.1.1 Module Setup Flow Figure C3.1 shows the module setup procedures before starting up the FA-M3 system using a personal computer link module (F3LC11-2N). Overall system configuration Preparation of external equipment [1] Station number (rotary switch) [2] Transmission speed (rotary switch)
  • Page 170: C3.1.2 Setting Module Switches

    C3-2 C3.1.2 Setting Module Switches Set the three switches shown below before attaching the F3LC11-2N personal computer link module to the FA-M3 base module. Figure C3.2 shows the components and their functions. I Front view I Right side view RDY indicator: Lit when the internal circuit is functioning normally.
  • Page 171 C3-3 Transmission Speed Switch Set the desired transmission speed (1 to10) with the decimal rotary switch. With an appropriate ordinary screwdriver, change the direction of the arrow. Do not position the arrow at 7, 8, or 9. The factory default setting of the switch is 5 (9600 bps). Setup Transmission Speed (bps) 1200...
  • Page 172: C3.1.3 Attaching And Detaching Modules

    C3-4 C3.1.3 Attaching and Detaching Modules Attaching Modules Figure C3.5 shows how to attach the F3LC11-2N Module to the base module. First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module.
  • Page 173: Attaching Modules In Intense Vibrating Environment

    C3-5 Attaching Modules in Intense Vibrating Environments If the modules are used in intense vibration environments, fasten the modules with a screw as shown in Figure C2.6. For this, use a screw described below. With a Phillips screwdriver, tighten the upper side of the module with this screw. During this operation, the user must tilt the screwdriver somewhat using the guide channel at the top of the module.
  • Page 174: Rs-422-A/Rs-485 Terminal Block

    C3-6 RS-422-A/RS-485 terminal block The module uses the 6-M3.5 screw terminal block. Transmission data A → M3.5 SD A Transmission data B → SD B 7.3 mm Receive data A ← RD A 8.6 mm Receive data B ← RD B Signal ground SHIELD Shield...
  • Page 175 C3-7 F3LC11-2N F3LC11-2N F3LC11-2N F3LC11-2N RS-232-C /RS-422-A converter F0309.EPS Figure C3.10 Interconnections between F3LC11-2N Modules Use the following wiring (recommended) and M3.5 terminal screws. Use crimp-on terminals (recommended) for wiring. Table C3.1 Recommended Wiring Method and Terminal Block Type Connection Method Terminal block type Compatible conductor Size:...
  • Page 176 Blank Page...
  • Page 177: C4. Communication Control

    C4-1 C4. Communication Control C4.1 For F3LC11-1N and F3LC11-2N Modules The transmission specification of this module should match that on the PC (or display) end to achieve communication. Set the transmission specification of the module using the hardware setting switches (see Sections C2.1.2 and C3.1.2, “Setting Module Switches”).
  • Page 178 C4-2 Communication control in this module is achieved through interactive commands and responses using a proprietary protocol. A command is an instruction sent from a higher level computer (or display) to this module. A response is a reply returned by this module to the higher level computer (or display) for the command.
  • Page 179 C4-3 Format overview of commands and responses Command Res- (Higher level ponse station Para- Check- Ending Command computer) wait code number number meter code character time To higher level computer (or to display) To FA-M3 Response Station Command Check- Ending (FA-M3) CODE number...
  • Page 180: C4.1.1 Constituent Elements Of Commands And Responses

    C4-4 C4.1.1 Constituent Elements of Commands and Responses Command Format and its Elements The format of a command transmitted from a higher level computer (or display) to the FA-M3 is shown below. Required only when “Yes” is specified for the ending character in the setting switch.
  • Page 181 C4-5 Response wait time Character (Unit: ms) Response wait time 0 to 600ms can be set using a single character (1 byte) from 0 to F. *1: Event if the response wait time is set to 0, the process lags behind the process time required for internal processing.
  • Page 182 C4-6 (7) Checksum Checksum can be added for data checking. You can select whether to add the checksum by using the Data Format Setting switch (Refer to Figures C2.4 and C3.4) at the back of this module. If the checksum is enabled, a ‘checksum’ must be ap- pended to a command when it is transmitted from the higher level computer (or dis- play) to the FA-M3.
  • Page 183: Response Format And Its Elements

    C4-7 Response Format and its Elements The format of a response that is sent back from the FA-M3 to a higher level computer (or display) is shown here. For the meaning of each element, refer to item [1], “Command format and its elements.” For more details, see the “Personal Computer Link Commands” manual (IM34M6P41-01E).
  • Page 184: Error Code In Response

    C4-8 Error Code in Response A communication error may occur while receiving a command. In this case, this module replies with ER (character string) and an error code. The following error codes are provided. Table C4.1 Error Codes in Response Error Probable causes Semantics...
  • Page 185 C4-9 In the case of a parameter error, the error parameter number is stored in the detailed error code. In the case of a communication error, the error content is stored in the detailed error code. Table C4.2 Detailed Error Codes Error code Detailed error code (EC2) Semantics...
  • Page 186: Devices That Can Be Specified

    C4-10 Devices that can be Specified The device names that can be specified in each type of command are shown in Table 4.3. Use a comma (,) or a space ( ) to delimit parameters. The device names are represented using six characters (number of bytes). Abbreviations may be used.
  • Page 187 C4-11 Table C4.3 Devices that can be Specified Read Write Device name Length Word Word Xnnnnn − − 6 bytes * 1: Specify: Input relay Time-up relay as TUnnnn Count-up relay as CUnnnn Ynnnnn 6 bytes Output relay * 2: Specify: •...
  • Page 188: Precautions For Communication

    C4-12 Precautions for communication (1) You should include timeout handling on the higher level computer to handle situations where a response is not returned due to say, an incorrect station number specified in the command. Send a Reset command to initialize the module during timeout processing (see Section C6.1).
  • Page 189: C5. Event Transmission Function

    C5-1 C5. Event Transmission Function Using this function, events (character strings or numeric data) can be sent from a CPU module (F3SP05, F3SP08, F3SP21, F3SP25, F3SP35, F3SP28, F3SP38, F3SP53, F3SP58, and F3SP59) to a higher level PC (or display) via this module. This function is useful when performing data monitoring or error monitoring of the FA-M3 in the higher level equipment.
  • Page 190: Sample Program

    C5-2 I/O relay in this module This module has 32 input relays (X1mm01 to 32) and 32 output ralays (Y1mm33 to 64). Output relay Description Ylmm33 Request to Transmit (Send when it is 1) Ylmm34 Header, Footer (0: No, 1: Yes) Ylmm35 ASCII conversion (0: No, 1: No) TC05_3.EPS...
  • Page 191: C6. Errors And Troubleshooting

    C6-1 C6. Errors and Troubleshooting The following flowchart shows the troubleshooting procedures for this module. Error Is ‘RDY’ LED on? Refer to Section C6.1: Flowchart when ‘RDY’ LED is not on. Is transmission possible? Refer to Section C6.2: Flowchart when transmission is not possible.
  • Page 192: C6.1 Troubleshooting Flowchart When 'Rdy' Led Is Not On

    C6-2 C6.1 Troubleshooting Flowchart When ‘RDY’ LED Is Not On ‘RDY’ LED is not on. Does the power supply module have the stipulated voltage? Supply the stipulated voltage. Is the ‘RDY’ LED of power supply module on? Replace the power supply module.
  • Page 193: C6.2 Troubleshooting Flowchart When Transmission Is Not Possible

    C6-3 C6.2 Troubleshooting Flowchart When Transmission Is Not Possible Transmission not possible Is the cable connected? Connect the cable properly. Is the cable faulty? Replace the cable. Check the RS-232-C port of the higher level PC and the software. Is transmission possible? FC0602.EPS IM 34M6H41-01E 3rd Edition : Aug.
  • Page 194: C6.3 Troubleshooting Flowchart When Receiving Is Not Possible

    C6-4 C6.3 Troubleshooting Flowchart When Receiving Is Not Possible Receiving is not possible. Is the wiring to RS-422-A port correct? Close SD,RD Correct the wiring by referring to Section C2.1.4 and C3.1.4 in this manual. Is the station (Note) number correct? Duplication not allowed Set the station number correctly.
  • Page 195: C6.4 Troubleshooting Flowchart When There Is An Error In The Response Character

    C6-5 C6.4 Troubleshooting Flowchart When There Is an Error in the Response Character Error in response character Are the communication speeds of the higher level PC and this module Existence of noise source the same? Match the communication speeds of the higher level PC and this module.
  • Page 196: C6.5 Troubleshooting Flowchart When An Error Code Is Returned In Response

    C6-6 C6.5 Troubleshooting Flowchart When an Error Code is Returned in Response Error response is returned. Is it a time-out error? Error code=51 Is the detailed error code E1? Detailed error code=E1 Send the command again. Is the transmitted command correct? Is it immediately after turning on the power supply?
  • Page 197: Appendix C1 Ascii Code

    Appx.C1-1 Appendix C1. ASCII CODE Use this table to calculate the checksum (refer to Section C4.1.1) or for other purposes. ‘ " & < – > Control Code Character Code (Note) SP($20): Space The character and control codes that can be used. F_APPENDIX.EPS IM 34M6H41-01E 3rd Edition : Aug.
  • Page 198 Appx.C2-1 Appendix C2. Intervention to Scan Time The intervention (scan time delay) to the scan time caused by processing of a request from this module for typical commands are given below. If the number of access points is less than that given in the table, calculate the intervention time proportionally, using the values given in the table.
  • Page 199: Index

    Index C FA-M3 Personal Computer Link Modules Part C F3LC11-1N, F3LC11-2N IM 34M6H41-01E 3rd Edition Index terminator ............C3-7 List of YM-BASIC Statements CONTROL ............C4-1 YCB215 (null modem cable)......C2-7 ENTER...............C4-1 ON INT...............C4-1 RESET ...............C4-1 Number 2-wire terminal block wiring diagram ....C3-6 4-wire terminal block wiring diagram ....C3-6 cable connection diagram (for F3LC11-1N)..C2-6 checksum............C4-6...
  • Page 200 Blank Page...
  • Page 201: Revision Information

    CE mark support, addendums included, Part B for F3LC11-2F added Written by Open Control Solutions Product Marketing Dept. Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2-9-32 Nakacho, Musashino-shi, Tokyo, 180-8750, JAPAN Printed by Kohuku Publishing & Printing Inc. IM 34M6H41-02E...
  • Page 202 Blank Page...

This manual is also suitable for:

F3lc11-2fF3lc11-1nF3lc12-1fF3lc11-2n

Table of Contents