YOKOGAWA F3LC11-1F Скачать руководство пользователя страница 40

   

 

A1-26

 

IM 34M6H41-02E  2nd Edition : Aug. 1, 2005-00

 

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.  Once connected, it turns on the Request to Send output relay (internal 

dummy relay of this module) to start transmission. 

1.  Set the switches 

Turn on (“Yes”) bit 8 of SW3 (External Modem: Yes/No) . 

Set the other switches to default. 

2.  Connect to the modem using a straight cable. 

If the cable provided with the modem is female and does not match, use a gender 

changer. 

3.  A sample ladder program is shown below. 

Transmit 0 for external transmission.  The beeper number is 1234-5678-9999. 

The send message is “LC11-1F” in the sample program. 

If I1001 is turned on, the program dials the beeper and sends a message. 

FA10801.VSD

WRITE

$3936

2

107

1

WRITE

$3936

2

106

1

WRITE

$3138

2

105

1

WRITE

$3337

2

104

1

WRITE

$2A32

2

103

1

WRITE

$2A32

2

102

1

WRITE

12

2

29

1

WRITE

1

2

30

1

0015

0014

0013

0012

0011

0010

M00035

0009

0008

0007

0006

0004

0003

0002

0001

M00035

Transmission message ("LC11-1F")  Transmission data area=101-111

Setting beeper telephone number (0-1234-5678-9999)
Telephone number area=31-34

Number of digits for telephone number (12) and
number of digits for external line transmission (1)

96"1"

96"1"

18"C"

37"L"

*2

*2 free words

WRITE

$4567

2

32

1

WRITE

$8999

2

33

1

WRITE

$9000

2

34

1

0005

M00035

WRITE

$123

2

31

1

M00035

WRITE

18

2

101

1

0016

Transmission data
size

 

Содержание F3LC11-1F

Страница 1: ...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 F...

Страница 2: ......

Страница 3: ...ler 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...

Страница 4: ...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 pro...

Страница 5: ...pment 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 produ...

Страница 6: ...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 th...

Страница 7: ...ergency 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 i...

Страница 8: ...re 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 th...

Страница 9: ...ersonal 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 m...

Страница 10: ...eField 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 Module...

Страница 11: ...sure 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 who...

Страница 12: ...Blank Page...

Страница 13: ...heir 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 Di...

Страница 14: ...ission 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 Receivi...

Страница 15: ...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 perfo...

Страница 16: ...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 c...

Страница 17: ...nses 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 la...

Страница 18: ...ansmitted 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 th...

Страница 19: ...gth 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...

Страница 20: ...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 f...

Страница 21: ...higher level computer display etc RDY C LINK LC12 1F FA10303 VSD 1 2 Right Side View Transmission speed switch Sets the transmission speed of the module Data format switch Defines the format of the c...

Страница 22: ...A1 8 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 n External Dimensions F3LC11 1F 83 2 28 9 2 FA10305 VSD 100 6 7 F3LC12 1F 83 2 28 9 2 FA10306 VSD 100 6 7...

Страница 23: ...onnections are shown below Pin no Signal name 2 RD Receive Data Data Terminal Ready FA M3 Higher level Always ON output in RDY state 3 SD 4 ER 5 SG 6 DR 7 RS 8 CS 5 1 9 6 D sub 9 pin female Name FA104...

Страница 24: ...The pin number is dependent on the display Refer to the display manual CN1 side FA M3 PIN No Connector Cover CN2 side PIN No Connector Cover Shield 3 2 7 8 6 5 1 4 1 2 3 4 5 6 7 8 20 FG SD RD RS CS D...

Страница 25: ...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...

Страница 26: ...peed Switch of Personal Computer Link Module F3LC11 1F F3LC12 1F 2 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 O...

Страница 27: ...8 External Modem No Yes No OFF For F3LC12 1F the SW setting applies to both port1 and port 2 To change the setting for an individual port use software setting SW3 1 to SW3 6 cannot be set by the user...

Страница 28: ...ON Always switch off the power before attaching or detaching a module Base module This module Anchor pin FA10501 VSD Figure A1 6 Attaching or Detaching this module CAUTION Do not bend the connector on...

Страница 29: ...length 12 15mm For screw with washer the length should be 14 15mm FA10502 VSD Figure A1 7 Fastening this Module with a Screw n Grounding of Cable To ensure compliance to CE Marking for a system incorp...

Страница 30: ...onnect this module to the display and start monitoring n Items Required for Connecting to a Display 1 Display TOP77RT from Digital is shown here as an example 2 PC with display drawing tool GP PRO PB3...

Страница 31: ...e Fg color when state is ON to white Change Fg color when state is OFF to green 3 Bit switch 2 Operating bit address 1I0001 Check mark the Status Change item Monitor bit address 1I0001 Bit operation R...

Страница 32: ...he communication parameters of the display TOP as follows 1 Turn on the power to the TOP and press on the three corners of the screen for a short while Press on three points Depending on the previous...

Страница 33: ...nter 1 for the Equipment no and set the System Area to 1D1001 However if the system area is set to Do not use on the System Environment setting screen the value 1D0001 will be acceptable Setup Operati...

Страница 34: ...nloaded 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 FA10606 VSD 0001 I00001 M00039 D00001 D00001 1 If I00001 is turned on...

Страница 35: ...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 1F F3LC12 1F unchanged You can insert the module...

Страница 36: ...A1 22 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 Select Microsoft Comm Control and click OK Verify that the telephone control is added Check that the telephone icon has been added...

Страница 37: ...source code General Declarations Dim start_flg As Integer General Do_Send Private Sub Do_Send Dim sendtext1 As String sendtext2 As String Dim recvtext1 As String recvtext2 As String sendtext1 Chr 2 01...

Страница 38: ...se OFF End If Exit Do End If End If If start_flg 0 Then Exit Do Loop End Sub Command1 Click Private Sub Command1_Click Exit start_flg 0 MSComm1 PortOpen False PC com port close End Sub Command2 Click...

Страница 39: ...4 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 communicat...

Страница 40: ...ided with the modem is female and does not match use a gender changer 3 A sample ladder program is shown below Transmit 0 for external transmission The beeper number is 1234 5678 9999 The send message...

Страница 41: ...Dial Request YImm40 I01 001 X00206 X00208 Request to Transmit Message YImm34 Request to Disconnect Line YImm43 SET Y00234 X00205 X00202 X00202 I001 01 X00209 T00001 I001 01 T00001 X00205 X00208 SET Y...

Страница 42: ...0001 Y00234 Y00243 Y00241 Y00240 Y00239 X00202 X00209 X00208 X00207 X00206 X00205 Dial Request source occurs Timeout Start Timer Request to Transmit Transmit to beeper always on Dial Request Tone line...

Страница 43: ...r the Setup Completed relay turns on Ylmm36 Reserved Ylmm37 1 Ylmm53 2 Header Footer Turn on this relay to attach a header or a footer before event transmission ON attach header footer OFF no header f...

Страница 44: ...e Turns off when the line is disconnected In Xlmmnn l denotes the unit and mm denotes a slot F3LC12 1F 1 for port 1 2 for port 2 F3LC11 1F uses only 1 2 is reserved Relays not listed in the above tabl...

Страница 45: ...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 d...

Страница 46: ...ting 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...

Страница 47: ...To read from mode registers use the STATUS statement STATUS SL n I SL Slot number n Data position number I Integer type variable or integer type array variable for storing read data Writing to mode r...

Страница 48: ...Blank Page...

Страница 49: ...al 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...

Страница 50: ...per Communication SWR Reads words 1 64 channels words SWW Writes words 1 64 channels words SLR Reads long words 1 32 channels words SLW Writes long words 1 32 channels words Special modules refer to...

Страница 51: ...d Bit Word Device Name BRD BRR BRS BRM WRD WRR WRS WRM BWR BRW BFL WWR WRW WFL Xnnnnnn input relay Ynnnnnn output relay Ennnnnn shared relay Innnnnn internal relay 3 TUnnnnntime up relay CUnnnnncount...

Страница 52: ...op bit is appended to data for each character if there is a parity bit it is appended behind the parity bit and is used for character data synchronization Start Stop synchronization 1 stop bit is norm...

Страница 53: ...s When multiple CPUs are used in the FA M3 this specifies the target CPU for a command Specify a number from 01 to 04 If there is only one FA M3 CPU module specify 01 When reading from X Y E relays an...

Страница 54: ...m the higher level equipment PC display etc Moreover a checksum is automatically appended to the response transmitted from the FA M3 to the high level equipment See the next section on how the checksu...

Страница 55: ...R S T X ER EC1 EC2 Command FA20004 VSD Station no CPU no Checksum If a communications error or a command error occurs or if the CPU module of the FA M3 returns an error the character string ER and two...

Страница 56: ...te as a character string 2 characters to obtain the checksum The checksum is also represented as a string of 2 characters Example Reading 16 bits from X00201 from CPU number 1 of station number 01 wit...

Страница 57: ...ror Values of checksum differ Bit omitted or changed characters 43 Internal buffer overflow Data received exceeds the stipulated value 44 Timeout while receiving characters Ending character or ETX was...

Страница 58: ...inning of the parameters after the command Example S 1 2 3 4 5 6 T 01010BRW 30 Y00501 1 I0002 0 FFFFF X Invalid device name In this case Error code EC1 03 Detailed error code EC2 06 41 Communication e...

Страница 59: ...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 Dialing can be initiated from the FA M3 this module...

Страница 60: ...Failed Xlmm07 1 Xlmm23 2 Redialing Turns on during redialing Redialing turns off when any of the following happens Connected turns on Connection Failed turns on or Dial Request is turned off Xlmm08 1...

Страница 61: ...s after the last digit Set the external connection number to 0 transmit 0 and the telephone number to 0123 45 6789 in registers 29 33 Data 29 10 Telephone number size position 30 1 Number of dial digi...

Страница 62: ...enabled auto dialing is repeated up to the number of times defined in data position number 28 Redial Limit at intervals defined in data position number 27 Redial Interval During the redialing input r...

Страница 63: ...number 0123 45 6789 Number of dial digits for external line connection Telephone number size Redial limit Redial interval RST Y00241 SET Y00242 WRITE 2 2 28 1 WRITE 10 2 29 1 WRITE 0 2 30 1 WRITE 123...

Страница 64: ...L 8 1 THEN Check for external connection 180 PR X25 ON GOTO FIN 190 ENDIF 200 210 CONTROL LCSLOT 102 0080 0080 Turn on Y56 Dial Request relay 220 STATUS LCSLOT 102 XREL Read input relay port 2 230 WHI...

Страница 65: ...A3 7 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 430 PR CLOSE 440 450 FIN 460 470 END...

Страница 66: ...able A3 4 List of Registers Related to the Message Transmission Function Data Position Number Name Setting Range Default Value 45 1 95 2 Header CPU Number during Event Transmission 1 4 1 101 1 401 2 E...

Страница 67: ...smission completes disconnect the line 2 To transmit a message to a beeper besides the relays and registers for the auto dial function you must also set the following relays and registers in advance D...

Страница 68: ...ever the transmission interval should be at least 70 seconds Message Transmission Function Ladder Sample Program Refer to section A1 8 Connecting to a Modem Message Transmission Function BASIC Sample...

Страница 69: ...480 or X6 Connection Failed turns on 490 or X8 Disconnection Failed turns on 500 STATUS LCSLOT 101 XREL Read input relay 510 END WHILE 520 CONTROL LCSLOT 101 0000 0080 Turn off Y40 Dial Request relay...

Страница 70: ...A3 12 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 740 PR CLOSE GOTO FIN 750 760 FINER 770 RSLT 1 780 FIN 790 RETURN 800 810 END...

Страница 71: ...e software setting function You must also preset the Security Password data position number 36 86 1 When a higher level computer dials the PC link module and line connection is successful this module...

Страница 72: ...adjust the following register values Table A3 6 List of Registers Data Position Number Name Setting Range Default Value 49 1 99 2 Modem Receiving Interval 0 999 ms 8 F3LC12 1F 1 for port 1 2 for port...

Страница 73: ...ected 1 Transmission speed rotary switch 2 Data format DIP switch Character length Parity check yes no Parity bit odd even Stop bits Checksum yes no Ending character yes no Protection feature yes no 3...

Страница 74: ...Blank Page...

Страница 75: ...ion Turn on this relay to perform ASCII conversion for event transmission ON perform ASCII conversion OFF do not perform ASCII conversion Xlmmnn Ylmmnn l denotes a unit while mm denotes a slot F3LC12...

Страница 76: ...der footer The sample transmission data shown below assumes that output relays Ylmm37 Ylmm53 Specify Header Footer and Ylmm38 54 ASCII conversion are used Original Data Without ASCII Conversion With A...

Страница 77: ...urns on turn on output relay Ylmm34 Request to Transmit using the SET P instruction on the rising edge When transmission completes input relay Xlmm02 Transmit Completed turns on Turn off output relay...

Страница 78: ...2 107 1 Transmission data WRITE 34 2 103 1 WRITE 34 2 108 1 WRITE 56 2 109 1 I00001 WRITE 90 2 111 1 WRITE 12 2 112 1 WRITE 34 2 113 1 WRITE 56 2 114 1 WRITE 78 2 110 1 FA40001 VSD 0025 X00202 0024 00...

Страница 79: ...SD Y00234 Y00239 Y00238 Y00237 X00202 RS232C line data Header Footer Yes always on Request to Transmit Transmit Completed ASCII Conversion No always off Transmit message to beeper No always off Transm...

Страница 80: ...LCSLOT 6 NOFORMAT 3930 160 OUTPUT LCSLOT 7 NOFORMAT 3132 170 OUTPUT LCSLOT 8 NOFORMAT 3334 180 OUTPUT LCSLOT 9 NOFORMAT 3536 190 OUTPUT LCSLOT 10 NOFORMAT 3738 200 OUTPUT LCSLOT 11 NOFORMAT 3930 210...

Страница 81: ...0002 0002 Turn on Y34 Request to Send relay 580 STATUS LCSLOT 101 XREL Read input relay 590 WHILE BIT XREL 1 0 Wait until x2 Transmit Completed relay turns on 600 STATUS LCSLOT 101 XREL Read input rel...

Страница 82: ...Blank Page...

Страница 83: ...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 Setting communications parameters using the switch...

Страница 84: ...Name Setting Range Default Value 38 1 88 2 Data Format Setting equivalent to SW2 The low byte corresponds to DIP switches 1 8 of SW2 the high byte is 00 b7 b6 b5 b4 b3 b2 b1 b0 MSB LSB b0 character l...

Страница 85: ...er that is not changed from a program will be overwritten when output relay Ylmm35 Setup Request is turned on CAUTION When the Protection Feature register 38 bit B6 is enabled PC Link commands for wri...

Страница 86: ...p Request relay 140 STATUS LCSLOT 101 XREL Read input relay 150 WHILE BIT XREL 2 0 Wait until X3 Setup Completed relay turns on 160 STATUS LCSLOT 101 XREL Read input relay 170 END WHILE 180 CONTROL LC...

Страница 87: ...cklight has reached the end of its service life Replace the backlight Screen data is not transferred Transfer screen data Nothingisdisplayedon the screen complete darkness The number on the initial sc...

Страница 88: ...connection using an ISDN line When using an ISDN line connect analog to analog or digital to digital DTE Message is not transmitted to beeper Beeper connection time is inappropriate Check the time la...

Страница 89: ...2 3 4 5 6 7 0 NUL DLE SP 0 P p 1 SOH DC1 1 A Q a q 2 STX DC2 2 B R b r 3 ETX DC3 3 C S c s 4 EOT DC4 4 D T d t 5 ENQ NAK 5 E U e u 6 ACK SYN 6 F V f v 7 BEL ETB 7 G W g w 8 BS CAN 8 H X h x 9 HT EM 9...

Страница 90: ...lues Intervention Time s Comma nd Number of Access Points F3SP21 F3SP25 F3SP35 X Y relays 256 bits 126 2 84 1 63 1 BRD Except internal relays 256 bits 126 2 84 1 63 1 X Y relays 16 words 126 0 84 0 63...

Страница 91: ...odule dials a request at the same time CPU Processing Processing B Response Command Processing A High level computer display Personal Computer Link module FA M3 CPU module 1 scan Break in scanning 1 s...

Страница 92: ...Blank Page...

Страница 93: ...A1 15 I input relays list of A1 30 L LED Indicator RDY green A1 6 A1 7 A1 9 M message transmission function registers list of A3 8 relays list of A3 8 message transmission to a beeper A1 26 modem prec...

Страница 94: ...Blank Page...

Страница 95: ...Switches B1 10 B1 5 Attaching and Detaching Modules B1 12 B1 6 Connecting to a PC B1 14 B1 7 Software Specifications of the PC Link Module B1 19 Input Output Relays B1 19 Module Internal Register B1 2...

Страница 96: ...ion 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 Ascii...

Страница 97: ...3 devices as well as perform setup from the higher level equipment B1 1 What is Personal Computer Link Module The Personal Computer Link module Connects to higher level equipment such as displays and...

Страница 98: ...ses 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 lad...

Страница 99: ...ply turn on a 1 bit relay and the module will automatically perform ASCII conversion and transmission Although PC link commands are processed according to the timing of the higher level equipment the...

Страница 100: ...port insulated Start bit 1 Data length 7 8 Parity bit None even odd Data format Stop bit 1 2 Error detection Parity check checksum Xon Xoff control None Setup items Transmission speed data format che...

Страница 101: ...2 wire or 4 wire for terminal stations SD B SD A RD A SG SHIELD RD B RS 422 A RS 485 terminal block RDY C LINK 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 LC11 2F 6 terminals M3 5 screws FB10301 vsd Righ...

Страница 102: ...B1 6 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 External Dimensions F3LC11 2F 83 2 28 9 2 100 12 1 FB10305 vsd...

Страница 103: ...the exposed shield Shielded cable Screw the FG clamp to the metal plate of the panel enclosure for grounding F3LC11 2F FB10401 vsd Connect the Personal Computer Link module F3LC11 2F to an external di...

Страница 104: ...C11 2F SDA SDB RDA RDB SG SHIELD SDA SDB RDA RDB SG SDA SDB RDA RDB SDA SDB RDA RDB SG SG SHIELD SHIELD Terminator Terminator FB10403 VSD Figure B1 3 4 wire Terminal Block Wiring Diagram PC etc F3LC11...

Страница 105: ...s For 3 5 mm Tightening Torque 0 8N m Crimp on Terminals Compatible Crimp on Terminals Examples V1 25 M 3 from Japan Solderless Terminal Mfg Co RAV1 25 3 5 from Nihon Tanshi Co Ltd Terminating the mod...

Страница 106: ...D B SD A RD A SG SHIELD RD B RS 422 A RS 485 terminal block RDY C LINK 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 LC11 2F 6 terminals M3 5 screws FB10301 vsd Figure B1 7 Locations of Switches on the Pers...

Страница 107: ...9 Data Format Switch of Personal Computer Link Module F3LC11 2F 3 Unused Switch SW3 This switch is on not used Leave all DIP switches to OFF factory setting 1 2 3 4 5 6 7 8 O F F Number SW3 Feature O...

Страница 108: ...ON Always switch off the power before attaching or detaching a module Base module This module Anchor pin FA10501 VSD Figure B1 11 Attaching or Detaching this module CAUTION Do not bend the connector o...

Страница 109: ...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 Screw to be provided B...

Страница 110: ...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 You can insert the module into...

Страница 111: ...B1 15 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 Select Microsoft Comm Control and click OK Verify that the telephone control is added Check that the telephone icon has been added...

Страница 112: ...source code General Decralations Dim start_flg As Integer General Do_Send Private Sub Do_Send Dim sendtext1 As String sendtext2 As String Dim recvtext1 As String recvtext2 As String sendtext1 Chr 2 01...

Страница 113: ...se OFF End If Exit Do End If End If If start_flg 0 Then Exit Do Loop End Sub Command1 Click Private Sub Command1_Click Exit start_flg 0 MSComm1 PortOpen False PC com port close End Sub Command2 Click...

Страница 114: ...4 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 communicat...

Страница 115: ...ff after the Transmission Completed relay turns on Ylmm35 Setup Request Turn on this relay to request for software setting of the data format or transmission speed Turn it off after the Setup Complete...

Страница 116: ...S 37 37 Station Number Setting Always 1 1 38 38 Data Format Setting 00 to FF 01 39 39 Transmission Speed Setting 0 to C C 45 45 CPU Number in Header during Event Transmission 1 to 4 1 Table B1 5 List...

Страница 117: ...eclaring the use of the module Before you use the module you must declare its use using the ASSIGN statement Always execute the ASSIGN statement before accessing the module using ENTER OUTPUT STATUS C...

Страница 118: ...tern 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 Output relay before execution 3B3...

Страница 119: ...t 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 I Constant or integer type var...

Страница 120: ...Blank Page...

Страница 121: ...kogawa 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...

Страница 122: ...ommand ASCII Function Number of Points Handled per Communication SWR Reads words 1 64 channels words SWW Writes words 1 64 channels words SLR Reads long words 1 32 channels words SLW Writes long words...

Страница 123: ...t Word Device Name BRD BRR BRS BRM WRD WRR WRS WRM BWR BRW BFL WWR WRW WFL Xnnnnnn input relay Ynnnnnn output relay Ennnnnn shared relay Innnnnn internal relay 3 TUnnnnn time up relay CUnnnnn count up...

Страница 124: ...bit is appended to data for each character if there is a parity bit it is appended behind the parity bit and is used for character data synchronization Start Stop synchronization 1 stop bit is normall...

Страница 125: ...When multiple CPUs are used in the FA M3 this specifies the target CPU for a command Specify a number from 01 to 04 If there is only one FA M3 CPU module specify 01 When reading from X Y E relays and...

Страница 126: ...m the higher level equipment PC display etc Moreover a checksum is automatically appended to the response transmitted from the FA M3 to the high level equipment See the next section on how the checksu...

Страница 127: ...S T X ER EC1 EC2 Command FA20004 VSD Station no CPU no Checksum If a communications error or a command error occurs or if the CPU module of the FA M3 returns an error the character string ER and two...

Страница 128: ...te as a character string 2 characters to obtain the checksum The checksum is also represented as a string of 2 characters Example Reading 16 bits from X00201 from CPU number 1 of station number 01 wit...

Страница 129: ...or Values of checksum differ Bit omitted or changed characters 43 Internal buffer overflow Data received exceeds the stipulated value 44 Timeout while receiving characters Ending character or ETX was...

Страница 130: ...inning of the parameters after the command Example S 1 2 3 4 5 6 T 01010BRW 30 Y00501 1 I0002 0 FFFFF X Invalid device name In this case Error code EC1 03 Detailed error code EC2 06 41 Communication e...

Страница 131: ...fore event transmission ON attach a header footer OFF do not attach a header footer Ylmm38 ASCII Conversion Turn on this relay to perform ASCII conversion for event transmission ON perform ASCII conve...

Страница 132: ...hing a header footer The sample transmission data shown below assumes that output relays Ylmm37 Specify Header Footer and Ylmm38 ASCII conversion are used Original Data Without ASCII Conversion With A...

Страница 133: ...ITE 90 2 106 1 WRITE 12 2 107 1 Transmission data WRITE 34 2 103 1 WRITE 34 2 108 1 WRITE 56 2 109 1 I00001 WRITE 90 2 111 1 WRITE 12 2 112 1 WRITE 34 2 113 1 WRITE 56 2 114 1 WRITE 78 2 110 1 FA40001...

Страница 134: ...SD Y00234 Y00239 Y00238 Y00237 X00202 RS232C line data Header Footer Yes always on Request to Transmit Transmit Completed ASCII Conversion No always off Transmit message to beeper No always off Transm...

Страница 135: ...2 170 OUTPUT LCSLOT 8 NOFORMAT 3334 180 OUTPUT LCSLOT 9 NOFORMAT 3536 190 OUTPUT LCSLOT 10 NOFORMAT 3738 200 OUTPUT LCSLOT 11 NOFORMAT 3930 210 OUTPUT LCSLOT 12 NOFORMAT 3132 220 OUTPUT LCSLOT 13 NOFO...

Страница 136: ...B3 6 IM 34M6H41 02E 2nd Edition Aug 1 2005 00 450 460 END...

Страница 137: ...r transmission speed Turn it off when Setup Completed turns on Ylmmnn l denotes the unit mm denotes the slot Table B4 2 List of Registers Related to Software Setting Function Register Number Name Sett...

Страница 138: ...again using a program or until power is turned off Beware that the default value of a register that is not changed from a program will be overwritten when output relay Ylmm35 Setup Request is turned o...

Страница 139: ...IGN LC12 LCSLOT Declare use of module 90 port 1 8bit NonParity stop1 CR 115 2kbps 100 CONTROL LCSLOT 38 0021 Data format 110 CONTROL LCSLOT 39 C Transmission speed 120 130 CONTROL LCSLOT 101 0004 0004...

Страница 140: ...Blank Page...

Страница 141: ...eached the end of its service life Replace the backlight Screen data is not transferred Transfer screen data Nothing is displayed on the screen complete darkness The number on the initial screen is in...

Страница 142: ...Blank Page...

Страница 143: ...2 3 4 5 6 7 0 NUL DLE SP 0 P p 1 SOH DC1 1 A Q a q 2 STX DC2 2 B R b r 3 ETX DC3 3 C S c s 4 EOT DC4 4 D T d t 5 ENQ NAK 5 E U e u 6 ACK SYN 6 F V f v 7 BEL ETB 7 G W g w 8 BS CAN 8 H X h x 9 HT EM 9...

Страница 144: ...alues Intervention Time s Command Number of Access Points F3SP21 F3SP25 F3SP35 X Y relays 256 bits 126 2 84 1 63 1 BRD Except internal relays 256 bits 126 2 84 1 63 1 X Y relays 16 words 126 0 84 0 63...

Страница 145: ...odule dials a request at the same time CPU Processing Processing B Response Command Processing A High level computer display Personal Computer Link module FA M3 CPU module 1 scan Break in scanning 1 s...

Страница 146: ...Blank Page...

Страница 147: ...of B3 1 I input relays list of B1 19 L LED indicator RDY green B1 5 O output relays list of B1 19 P parity bit B1 4 B2 4 personal computer link commands list of B2 2 personal computer link commands u...

Страница 148: ...Blank Page...

Страница 149: ...C1 3 3 Model Name and Specification Cod C1 8 C1 3 4 Components and their Functions C1 8 C1 4 System Configurations of F3LC11 2N Module C1 10 C1 4 1 Interconnections C1 10 C2 Setting Up the F3LC11 1N...

Страница 150: ...s C4 7 3 Error Code in Response C4 8 4 Devices that can be Specified C4 10 5 Precautions for communication C4 12 C5 Event Transmission Function C5 1 C6 Errors and Troubleshooting C6 1 C6 1 Troubleshoo...

Страница 151: ...n numbers specified by higher level computer users can monitor or set ladder sequence devices start or stop programs and load or save programs as well New ladder programs are not necessary for the FA...

Страница 152: ...ructions can be made by data setup to each device Remote RUN STOP of FA M3 modules is possible The running and stopping of ladder programs of the FA M3 are possible through a higher level computer Can...

Страница 153: ...arity check Checksum Yes No None Control line RS 232 C RS Always on ER Always on Xon Xoff control None Setup items Transmission speed data format checksum specify ending character and protection Proto...

Страница 154: ...3 2 1 Transmission speed switch Sets the transmission speed of the module Data format switch Defines the format of communication data This figure is drawn with the panel cover removed Rear Front RDY...

Страница 155: ...xternal Dimensions andWeight 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 83 2 28 9 2 100 6 7 F0103 EPS Unit mm Figure C1...

Страница 156: ...connections 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 Display with PC I F Personal computer F3LC11 1N Perso...

Страница 157: ...t 1 Data length 7 8 8 Parity bit None even odd None Stop Bit 1 2 1 Error format Parity check Checksum Yes No None Xon Xoff control None Setup items Transmission speed data format checksum specify endi...

Страница 158: ...of communication data This figure is drawn with the panel cover removed Rear Front RDY display Lit when the internal circuit is functioning normally Station number switch Sets station number 1 to 32...

Страница 159: ...ug 1 2005 00 External Dimensions andWeight Width 28 9 mm Height 100 mm Depth 83 2 mm Weight 110 g TC010103 EPS Note Dimensions except protruding areas 83 2 28 9 2 100 12 1 F0106 EPS Figure C1 6 Extern...

Страница 160: ...S 232 C to RS 422 A RS485 communication or vice versa FA M3 FA M3 RS 485 RS 232 C RS 485 FA M3 RS 232 C RS 422 A RS 485 Converter commercially available Personal computer or display Personal computer...

Страница 161: ...Section C2 1 3 Carry out external wiring of personal computer and display Apply power to personal computer display FA M3 etc See Section C2 1 4 Generate send receive programs in personal computer dis...

Страница 162: ...ear Front RDY C LINK LC11 1N Front view Right side view RDY indicator Lit when the internal circuit is functioning normally Transmission speed switch Sets the transmission speed of the module Data for...

Страница 163: ...sliding each switch to on or off position Up to six functions can be set with this switch The factory setting is ON for switch 1 and OFF for switches 2 to 8 1 2 3 4 5 6 7 8 O F F OFF ON 1 Data length...

Страница 164: ...hor pin This module F3LC11 1N F0205 EPS Figure C2 5 Attaching F3LC11 1N Module CAUTION DO not bend the connector on the rear of the module by force during the above operation If the module is pushed w...

Страница 165: ...e duct above it is necessary to allow the screwdriver to access the screw CAUTION DO NOT overtighten the module fixing screw Screw to be used Binder screw M4 Length 12 15 mm For screw with washer the...

Страница 166: ...ector Refer to Section C1 2 System Configuration for a sample connection Figure C2 8 shows connector specifications and cable interconnections 5 1 9 6 9 pins D sub 9 pin Metal shell SD RD RS CS DR ER...

Страница 167: ...nal connections are as follows Model Basic Description specification YCB215 RS 232 C null modem cable with control line KM01 Cable length 1 m KM05 Cable length 5 m KM15 Cable length 15 m TC020104 EPS...

Страница 168: ...Blank Page...

Страница 169: ...out external wiring of personal computer and display Apply power to personal computer display FA M3 etc See Section C3 1 4 Generate programs for personal computer display See Chapter C6 Set module swi...

Страница 170: ...the cable Transmission speed switch Sets the transmission speed of the module Data format switch Defines the format of communication data This figure is drawn with the panel cover removed RS 422 A RS...

Страница 171: ...liding each switch to its on or off position Up to six functions can be set with this switch The factory setting is ON for switch 1 and OFF for switches 2 to 8 1 2 3 4 5 6 7 8 O F F OFF ON 1 Data leng...

Страница 172: ...e Anchor pin This module F3LC11 2N F0305 EPS Figure C3 5 Attaching F3LC11 2N Module CAUTION DO NOT bend the connector on the rear of the module by force during the above operation If the module is pus...

Страница 173: ...ew M4 Length 12 15 mm For screw with washer the length should be 14 15mm Figure C3 6 Fastening the Module F3LC11 2N with a Screw C3 1 4 ExternalWiring To ensure compliance to CE Marking for a system i...

Страница 174: ...2 wire system respectively In the 4 wire system SDA SDB and RDA RDB lines cross only between a higher level computer and the personal computer link module refer to Figure C3 10 SDA SDB RDA RDB SG SHIE...

Страница 175: ...hod Crimp on type Crimp on Terminals For 3 5 mm Tightening Torque 0 8 N m Compatible Crimp on Example VI 25 M3 from Japan Solderless Terminal Mfg Co Ltd Terminals RAV1 25 3 5 from Nihon Tanshi Co Ltd...

Страница 176: ...Blank Page...

Страница 177: ...be briefly below how to communicate using PC BASIC For details on the statements and functions that are used here please refer to the BASIC reference manual of your PC 1 Use the OPEN statement to open...

Страница 178: ...higher level computer or display for the command This module will never send a command to the higher level computer or display The higher level computer or display has the initial right of transmissi...

Страница 179: ...computer STX code station number CPU number Res ponse wait time Command Para meter Check sum ETX code Ending character STX CODE Station number CPU number Command response Check sum ETX code Ending cha...

Страница 180: ...ETX CR 1 STX Start ofText This precedes a block of text The corresponding character code is CHR 2 2 Station Number Indicates which PC link module is to be accessed For the F3LC11 2N module set it wit...

Страница 181: ...g 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 F0403 EPS Figure C4 3 Response wait time...

Страница 182: ...ing 2 characters 2 bytes to obtain the checksum Example Reading 16 bits from X00201 from CPU number 1 of station number 01 with a 100 ms response wait time when the ending character is CR 6 36 B 42 ST...

Страница 183: ...ter string OK and the command response are returned 2 If a communications error has occurred 1 2 2 3 2 1 1 CR ETX STX 2 ER 2 EC1 2 EC2 FC040101_4 EPS Appended to the response only when it is appended...

Страница 184: ...odes Value of checksum differs Bit omitted or changed characters Data received exceeds stipulated value Ending character or ETX was not received Timeout duration is 5 seconds Sequence CPU hardware fai...

Страница 185: ...ple In this case Error code EC1 03 Error code EC2 06 Each bit has the following meaning b7 Reserve b6 Reserve b5 Framing error b4 Overrun error b3 Parity error b2 Reserve b1 Reserve b0 Reserve 1 Self...

Страница 186: ...device names are represented using six characters number of bytes Abbreviations may be used X00201 and V00002 can be abbreviated as X201 and V02 or V2 respectively Example To read 5 points of data fro...

Страница 187: ...ogramming tool connector of the F3SP21 F3SP25 F3SP35 F3SP28 F3SP38 F3SP53 F3SP58 and F3SP59 CPU modules and the Ethernet interface module F3LE01 1 Specify Time up relay as TUnnnn Count up relay as CUn...

Страница 188: ...to be read 7 This module performs communication processing during scanning and scan breaks for sequence CPU modules When this module is used there is a time lag until the next scanning starts however...

Страница 189: ...dule is turned on data is sent to the higher level equipment After all data has been transmitted the input relay of this module turns on When the Transmission Completed input relay turns on turn off t...

Страница 190: ...Sample Program SETASC I0135 Y00335 0001 00001 Specify Yes No for ASCII conversion SETHEAD I0134 Y00334 0002 00003 0009 00018 Specify Yes No for header and footer SETDAT I0100 0003 00005 CPU No MOV 1...

Страница 191: ...ible Is the response character normal NO NO NO NO Can normal response be received End FC06 EPS Refer to Section C6 5 Flowchart when an error code is returned in response Refer to Section C6 1 Flowchar...

Страница 192: ...odule on YES YES NO NO Is any other module in RDY status YES NO Is it properly installed in the slot YES NO Is the RDY LED still off even when the module is installed in another slot Replace the power...

Страница 193: ...WhenTransmission Is Not Possible Transmission not possible YES NO YES End Is the cable connected NO YES YES NO Is transmission possible Replace the cable Connect the cable properly Is the cable faulty...

Страница 194: ...t correct NO Is the station number correct YES YES YES NO NO NO Prefix the command with STX NO Correct the station number of the command Set the station number correctly Are the conditions for receivi...

Страница 195: ...d this module the same In the case of 1 N connection are the communication speeds of all the modules the same Is there an error in the response character 1 1 2 2 Eliminate the noise source YES Existen...

Страница 196: ...module NO Are READ WRITE DREF instructions used more than 20 times during every scanning NO FC0605 EPS Send the correct command after referring to the Personal Computer Link Commands manual IM 34M6P4...

Страница 197: ...0 1 0 1 0 1 0 1 0 1 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0 0 0 0 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI 0 0 0 1 1 DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US 0 0 1 0 2 SP...

Страница 198: ...2 84 1 63 1 63 1 24 5 Batch Read WRD Relay not 16n 1 1 64 words 471 4 314 3 235 7 40 9 15 9 Register relay 287 2 191 5 143 6 21 3 8 3 16n 1 2 64 words BRR bits unit Relay 16 points 8 6 5 7 4 3 Random...

Страница 199: ...connector C1 4 C2 2 C2 6 E error codes list of C4 8 C4 9 ETX carriage return C4 6 I I O relays for event transmission C5 2 L LED indicator RDY green C1 4 C1 8 C2 2 P parameters C4 5 R response wait ti...

Страница 200: ...Blank Page...

Страница 201: ...Date Revised Item 1st May 2001 New publication 2nd Aug 2005 CE mark support addendums included Part B for F3LC11 2F added Written by Open Control Solutions Product Marketing Dept Yokogawa Electric Cor...

Страница 202: ...Blank Page...

Отзывы: