Mitsubishi Programmable Controllers FX-232ADP Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Vernetzung Mitsubishi Programmable Controllers FX-232ADP herunter. Mitsubishi Programmable Controllers FX-232ADP User`s manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 162
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
USER’S MANUAL
FX COMMUNICATION (RS-232C, RS-485, RS-422)
RS-232C
FX-232ADP
FX
0N
-232ADP
FX
2NC
-232ADP
FX
1N
-232-BD
FX
2N
-232-BD
FX
2N
-232IF
RS-485
FX-485ADP
FX
0N
-485ADP
FX
2NC
-485ADP
FX
1N
-485-BD
FX
2N
-485-BD
FX-485PC-IF
RS-422
FX
1N
-422-BD
FX
2N
-422-BD
Seitenansicht 0
1 2 3 4 5 6 ... 161 162

Inhaltsverzeichnis

Seite 1 - USER’S MANUAL

USER’S MANUALFX COMMUNICATION (RS-232C, RS-485, RS-422)RS-232CFX-232ADPFX0N-232ADPFX2NC-232ADPFX1N-232-BDFX2N-232-BDFX2N-232IFRS-485FX-485ADPFX0N-485A

Seite 2

FX communicationviiiFX2N-485-BD Hardware ManualJY992D73401This manual contains written hardware explanation of installation and specification regardin

Seite 3 - (RS-232C, RS-485, RS-422)

FX communicationCommands 88-203 ) Specification Example 2To transmit the data stored in data registers D100 and D101 from the programmablecontroller (

Seite 4

FX communicationCommands 88-2188.11 Loopback TestThe loopback test is the function for testing if communication between the computer andprogrammable c

Seite 5

FX communicationCommands 88-22MEMO

Seite 6

FX communicationRS instruction 99-199. RS instructionThis section refers to the RS instruction. For target devices, refer to the application instructi

Seite 7

FX communicationRS instruction 99-2Operating Conditions and Format Set ContentThe programmable controller can change from using no protocol communicat

Seite 8

FX communicationRS instruction 99-399.1.2 Operation of RS InstructionAn RS instruction specifies the head address and the number of points of the send

Seite 9

FX communicationRS instruction 99-49.1.3 Related Flags and Data Registers1 ) Send request <M8122>When M8122 is set by a pulse instruction in the

Seite 10 - FX communication

FX communicationRS instruction 99-594 ) Time-out evaluation <M8129> (Valid in the FX2N, FX2NC programmable controller earlier thanV2.00)If recei

Seite 11 - Table of Contents

FX communicationRS instruction 99-69.2 Hardware Hand Shake Operation9.2.1 FX, FX2C, FX0N, FX1S, FX1N and FX2N (earlier than V 2.00)In the FX, FX2C, FX

Seite 12

FX communicationRS instruction 99-792 ) Use terminal mode of control lineThis mode is available for send only or receive only.a ) Send only b ) Receiv

Seite 13

ixTable of Contents Further Information Manual List ... vii1. Introduction ...

Seite 14 - Appendix A:

FX communicationRS instruction 99-83 ) Use normal mode 1 of control line Note:* When using FX1S, FX1N, FX0N, FX, or FX2C, this period should be longer

Seite 15 - 1. Introduction

FX communicationRS instruction 99-994 ) Use normal mode 2 of control line (FX, FX2C only) *1 Please turn OFF ER (DTR) of DR (DSR) later.*2 When the da

Seite 16 - 1.2 Communication Types

FX communicationRS instruction 99-109.2.2 FX2N, FX2NC (V 2.00 or later)In the FX2N V 2.00 or later, full duplex communication is performed. When perfo

Seite 17 - 1.3 System Configuration

FX communicationRS instruction 99-1193 ) Use normal mode 1 of control line Reset using a program.When it is not trurned off, the next datacannot be re

Seite 18

FX communicationRS instruction 99-124 ) Use interlink mode of control line *1 While the counterpart equipment is ready to receive, turn ON the DR (DSR

Seite 19 - Computer

FX communicationRS instruction 99-1399.3 Number of Communication Data9.3.1 Deal with 16 bits DataWhen M8161 is set to OFF (M8161 is shared by an ASCII

Seite 20

FX communicationRS instruction 99-149.3.2 Deal with 8 bits DataWhen M8161 is set to ON (M8161 is shared by an ASCII instruction, a HEX instruction and

Seite 21 - 2. Specifications

FX communicationRS instruction 99-1599.4 Example Program9.4.1 Personal ComputerWhen a programmable controller is connected to a personal computer, and

Seite 22 - 2.2 Communication Time

FX communicationRS instruction 99-164 ) Example program of programmable controller 5 ) Example program of computerThis is an example of a BASIC progra

Seite 23

FX communicationRS instruction 99-1799.4.2 PrinterConnecting FX2N-232-BD and printer, and printing out the data send from the programmablecontroller.1

Seite 24 - Specification 2

FX communicationx4.2 Setting...4-34.2

Seite 25 - 3. Wiring

FX communicationRS instruction 99-184 ) Operation Turn on the power of theprogrammable controller and printer,check the printer is on line and switcht

Seite 26

FX communicationFX2N-232IF 1010-11010. FX2N-232IF10.1 IntroductionThe RS-232C interface block FX2N-232IF (hereinafter referred to as “232IF”) is conne

Seite 27 - 3.2 Using RS-232C Interface

FX communicationFX2N-232IF 1010-210.2 Allocation of Buffer Memories (BFM’s)The RS-232C interface block FX2N-232IF(232IF) transmits data with the progr

Seite 28 - Wiring 3

FX communicationFX2N-232IF 1010-310Note : “W : For write” can be used for read also. Undefined BFM Nos. are not allowed to be usedin the program.*1 :

Seite 29

FX communicationFX2N-232IF 1010-410.2.2 Communication Format <BFM#0> The communication format is determined on the rising edge of the send/recei

Seite 30 - 3.3 Using RS-485 Interface

FX communicationFX2N-232IF 1010-510Note : Setting example (hexadecimal, constant specification) 1 ) Communication format 2 ) b0 to b7 (data length, pa

Seite 31

FX communicationFX2N-232IF 1010-63 ) b9 and b8 (control line)For examples of connecting the equipment corresponding to each setting, refer to section2

Seite 32

FX communicationFX2N-232IF 1010-710Note : ASCII/HEX conversionWhen execution of the ASCII/HEX conversion is specified, the hexadecimal numeric data (0

Seite 33 - 3.4 Parallel Link

FX communicationFX2N-232IF 1010-810.2.3 Command 〈BFM #1〉 BFM #1 gives the command for send/receive and the status information reset command to the232I

Seite 34

FX communicationFX2N-232IF 1010-91010.2.4 Receive Upper Limit Byte Count 〈BFM #2〉Setting range: 1 to 512 (when buffer data length is 16 bits)1 to 256

Seite 35 - 2 ) Two-pair Wiring

FX communicationxi8. Commands... 8-18.1 Batch Read of Bit D

Seite 36

FX communicationFX2N-232IF 1010-1010.2.8 Receive Header <BFM #9 (upper), BFM #8 (lower)>Setting range: 4 bytes maximum, zero suppressionThe init

Seite 37 - 3.4.5 FX

FX communicationFX2N-232IF 1010-111010.2.11 Number of Remaining Send Data <BFM #13>Saved value: 0 to 512 (when buffer data length is 16 bits)0 t

Seite 38 - -485ADP and FX

FX communicationFX2N-232IF 1010-1210.2.15 Time from CS ON to Send Start <BFM #20>Set value: 0 to 32,767 (x 10ms)The initial value is 0 ms.The ti

Seite 39

FX communicationFX2N-232IF 1010-131010.2.17 Status <BFM #28> The 232IF status and the send/receive result are saved as status information. This

Seite 40

FX communicationFX2N-232IF 1010-147 ) b7 (being received)b7 is turned on after the head data is received until the receive completion status (BFM #28b

Seite 41 - 4. N:N Network

FX communicationFX2N-232IF 1010-151010.2.22 Receive Byte Count <BFM #2000>Saved value: 0 to 512+30*1(when buffer data length is 16 bits)0 to 256

Seite 42

FX communicationFX2N-232IF 1010-1610.3 Hardware Hand Shake Operation 10.3.1 No Hardware Hand Shake Setting BFM#0 (b9, b8)=(0, 0) *1 Turn off using a p

Seite 43 - 4.2 Setting

FX communicationFX2N-232IF 1010-171010.3.2 Standard RS-232C ModeSetting BFM #0 (b9, b8) = (0, 1) *1 Turn off using a program. When it is turned ON, th

Seite 44

FX communicationFX2N-232IF 1010-1810.3.3 Interlink ModeSetting BFM #0 (b9, b8) = (1, 1) *1 Turn off using a program. When it is turned ON, the next da

Seite 45

FX communicationFX2N-232IF 1010-191010.4 Example Program10.4.1 Example of 16 Bits Data CommunicationThis system configuration describes an example in

Seite 46

FX communicationxii10.2.13 Send Sum Result <BFM #15> ...

Seite 47 - 4.3 Example Program

FX communicationFX2N-232IF 1010-20b ) Command <BFM #1>M0→b0:Send/receive enable (ER ON)M1→b1:Send command M2→b2:Receive completion reset command

Seite 48

FX communicationFX2N-232IF 1010-21103 ) Example program Transfer of send byte count and send data D200(K 9)→BFM#1000 D201(2 1)→BFM#1001 D202(4 3)→B

Seite 49 - N:N network 4

FX communicationFX2N-232IF 1010-224 ) Operation chart (M10)BFM#1000Send byte countSend(M1)BFM#1 b0Send/receive enableBFM#1001 to #1256Send buffersSend

Seite 50

FX communicationFX2N-232IF 1010-231010.4.2 Example of 8 Bits Data CommunicationThis system configuration describes an example in which 8-bit buffer le

Seite 51

FX communicationFX2N-232IF 1010-24b ) Command <BFM #1>M0→b0:Send/receive enable (ER ON)M1→b1:Send commandM2→b2:Receive completion reset commandM

Seite 52

FX communicationFX2N-232IF 1010-25103 ) Example program M8002FNC 79TOK 0 K 0 H409F K 1InitialpulseTransfer of communication format(409FH→BFM#0)FNC 79T

Seite 53 - 5. Parallel link

FX communicationFX2N-232IF 1010-264 ) Operation chart (M10)BFM#1000Send byte countSend(M1)BFM#1 b0Send/receive enableBFM#1001 to #1256Send buffersSend

Seite 54 - 5.2 Mode and Link Device

FX communicationOptional programming port 1111-11111. Optional Programming PortThis section describes connection to peripheral equipment (programming

Seite 55

FX communicationOptional programming port 1111-211.2 FX2N-232-BD FX1N-232-BD FX0N-232ADP and FX2NC-232ADPWhen an FX2N-232-BD an FX0N-232ADP or an FX2N

Seite 56 - 5.3 Example Program

FX communicationOptional programming port 1111-311Note: Reference 11.3 Cautions on Use11.3.1 Cautions on SettingNever set communication to the FX1S, F

Seite 57

FX communicationIntroduction 11-111. Introduction1.1 Abbreviations, Generic Names and Terms Used in This ManualAbbreviation ListThis manual describes

Seite 58

FX communicationOptional programming port 1111-4Memo

Seite 59 - H0C8E D8120

12FX communicationDiagnostics 1212-112. Diagnostics12.1 Common Items1 ) Check the connection with the communication unit of the programmable controlle

Seite 60 - Communication format 6

FX communicationDiagnostics 1212-212.2 N:N Network12.2.1 Error CodeWhen occurring the communication error, auxiliary relays (FX2N, FX2NC, FX1N, FX1S:

Seite 61 - 7. Computer Link

12FX communicationDiagnostics 1212-312.3 Parallel Link12.3.1 Diagnostics1 ) Check the status of the RD(RXD) LED and the SD(TXD) LED provided on eachco

Seite 62

FX communicationDiagnostics 1212-412.4 Computer Link12.4.1 NAK Error CodeThe error code is sent following a NAK response to indicate the type of error

Seite 63 - Computer link 7

12FX communicationDiagnostics 1212-512.4.3 Diagnostics1 ) Check the status of the RD(RXD) LED and the SD(TXD) LED provided on eachcommunication unit.•

Seite 64

FX communicationDiagnostics 1212-612.5 RS Instruction12.5.1 Diagnostics1 ) Check the status of the RD (RXD) LED and the SD (TXD) LED provided on the o

Seite 65

12FX communicationDiagnostics 1212-712.6 FX2N-232IF12.6.1 Error codeWhen an error occurs while data is sent or received, BFM #28 b3 is set to ON and t

Seite 66

FX communicationDiagnostics 1212-812.7 Using Optional Programming Port12.7.1 FX1S, FX1N and FX2N(C) earlier V2.001 ) Make sure that the communication

Seite 67 - Sum check

A-1AAppendix A:ASCII code ListsTable B-2: ASCII code ListsHex code0 1 2 3 4 5 6 70DLESP0@P`p1 SOH DC1 ! 1 A Q a q2 STX DC2 ” 2 B R b r3 ETX DC3 # 3 C

Seite 68

FX communicationIntroduction 11-21.2 Communication TypesThe FX Series supports the following 5 types of communication.1 ) N:N networkData transfer wit

Seite 69

FX communicationAppendix AA-2MEMO

Seite 71

HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPANJY992D69901E(MEE)Effective Apr. 2003Specifica

Seite 72

FX communicationIntroduction 11-311.3 System ConfigurationFor programming protocol refer to chapter 11.1.3.1 N:N Network 1.3.2 Parallel Link1 ) FX2N,

Seite 73

FX communicationIntroduction 11-42 ) FX1N (Shielded twisted-pair cable)*2 When including an FX1N-485-BD in the system configuration, thais, total exte

Seite 74 - 4DH 36H31H30H30H 32H30H

FX communicationIntroduction 11-511.3.3 Computer Link1 ) In the case of 1:N connection using RS-485 (RS-422) 2 ) In the case of 1:1 connection using R

Seite 75

Foreword• This manual contains text, diagrams and explanations which will guide the reader in thecorrect installation and operation of the communicati

Seite 76 - 7.7.1 Commands

FX communicationIntroduction 11-61.3.4 No Protocol Communication *1 The RS-485/RS-232C signal convertor is necessary in the case of an RS-485 interfac

Seite 77

FX communicationSpecifications 22-122. Specifications2.1 Communication Specification*1 FX2N, FX2NC, FX1N, FX1S and FX0N PLCs are supported.*2 When usi

Seite 78 - 0 0 F F T T 2 A B C D 3 4

FX communicationSpecification 22-22.2 Communication Time2.2.1 N:N network Note;If a N:N network is used, the scan time of each station programmable co

Seite 79

FX communicationSpecifications 22-322.2.3 Computer linkCalculations to determine the approximate time until communication is complete.1 ) Programmable

Seite 80

FX communicationSpecification 22-4MEMO

Seite 81 - 8. Commands

FX communicationWiring 33-133. WiringTerminal layout when using a communication unit, please refer to the individual units manual.Common1 ) This syste

Seite 82

FX communicationWiring 33-23.1 Caution on cable selection3.1.1 FX1N-485-BD, FX2N-485-BD, FX2NC-485ADP Number of cables connected to terminal and their

Seite 83

FX communicationWiring 33-333.2 Using RS-232C InterfaceBelow is a typical wiring example. Please wire similar to the following pin name, when a pinnum

Seite 84

FX communicationWiring 33-43.2.2 Using FX2N-232IFThe signal wiring of the RS-232C equipment varies depending on the RS-232C connectionspecifications.

Seite 85

FX communicationWiring 33-53b ) Interlink connection mode (Use interlink serial cross cable)Setting connection format (BFM #0); b9=1, b8=1In the inter

Seite 86

iFX COMMUNICATION(RS-232C, RS-485, RS-422)USER’S MANUALBrand and product names described by/in this manual are trademarks or registeredtrademarks of t

Seite 87

FX communicationWiring 33-63.3 Using RS-485 Interface3.3.1 Wiring SelectionThe wiring of RS-485 can either be one-pair or two-pair. The wiring method

Seite 88

FX communicationWiring 33-733.3.3 One-pair Wiring Note:*1 R is a terminating resistor (110Ω)*2 Make sure to connect the shield of the appropriate cabl

Seite 89

FX communicationWiring 33-83.3.4 Two-pair Wiring Note:*1 R is a terminating resistor (330Ω)*2 Make sure to connect the shield of the appropriate cable

Seite 90 - Remote stop

FX communicationWiring 33-933.4 Parallel Link3.4.1 FX2N(1N)-485-BD and FX0N-485ADP1 ) One-pair WiringNote:*1 Connect the terminal FG to the ground ter

Seite 91

FX communicationWiring 33-103.4.2 FX0N-485ADP and FX0N-485ADP1 ) One-pair WiringNote:*1 Connect the terminal FG to the ground terminal of a programmab

Seite 92 - (PC command)

FX communicationWiring 33-1133.4.3 FX2N(1N)-485-BD and FX2N(1N)-485-BD1 ) One-pair Wiring2 ) Two-pair WiringRDBRDASDASDBSDATerminatingresistor110ΩTerm

Seite 93

FX communicationWiring 33-123.4.4 FX2NC-485ADP and FX0N-485ADP1 ) One-pair WiringNote:*1 Connect the terminal FG to the ground terminal of a programma

Seite 94

FX communicationWiring 33-1333.4.5 FX2N(1N)-485-BD and FX2NC-485ADP1 ) One-pair Wiring2 ) Two-pair WiringSDBSDARDASDASDBRDARDBSGRDBSGFX2N-485-BD,FX1N-

Seite 95 - 8.10 On-demand Function

FX communicationWiring 33-143.4.6 FX2NC-485ADP and FX2NC-485ADP1 ) One-pair Wiring2 ) Two-pair WiringSDBSDARDASDASDBRDARDBSGRDBSGClass D groundingFX2N

Seite 96

FX communicationWiring 33-1533.4.7 FX2-40AW and FX2-40AW 3.4.8 FX2-40AP and FX2-40AP SBSASASBSG*1SG*1FX2-40AW FX2-40AWNote:*1 Connect the terminal SG

Seite 97

FX communicationii

Seite 98

FX communicationWiring 33-16MEMO

Seite 99 - 2 ) Specification Example 1

FX communicationN:N network 44-144. N:N NetworkFor diagnostics, please refer to chapter 12.4.1 Related Flags and Data Registers4.1.1 Auxiliary Relays

Seite 100 - Program example

FX communicationN:N network 44-24.1.2 Data Registers R : Read only W : Write only M : Master station L : Slave station*1 The number of commun

Seite 101 - 8.11 Loopback Test

FX communicationN:N network 44-344.2 SettingN:N settings become valid when the program is run or when the power of the programmablecontroller is turne

Seite 102 - Commands 8

FX communicationN:N network 44-44.2.3 Setting the Refresh Range (D8178)Set a value 0 to 2 to the special data register D8178. (Default = 0)This settin

Seite 103 - 9. RS instruction

FX communicationN:N network 44-542 ) In the case of pattern 1 (FX1N, FX2N, FX2NC) 3 ) In the case of pattern 2 (FX1N, FX2N, FX2NC) 4.2.4 Setting Retr

Seite 104

FX communicationN:N network 44-64.2.6 Program Used for Setting Make sure to write the program above step 0 as the N:N network parameter setting progra

Seite 105 - RS instruction 9

FX communicationN:N network 44-744.3 Example Program4.3.1 System Configuration • Refresh range: 32 bit devices and 4 word devices (Pattern 1)• Retry c

Seite 106

FX communicationN:N network 44-84.3.3 Example of Setting ProgramFor the setting program of the master station and the stations Nos.1 and 2, refer to t

Seite 107

FX communicationN:N network 44-944.3.5 Example of Operation Programa ) Program of master station Slave 1communicationerrorM8184Slave 2communication er

Seite 108

FAX BACKMitsubishi has a world wide reputation for its efforts in continually developing and pushing backthe frontiers of industrial automation. What

Seite 109

FX communicationN:N network 44-10b ) Program of slave station No.1 MastercommunicationerrorM8183K1M1000 K1Y010Counter resetCounter inputX000C 1RST C

Seite 110

FX communicationN:N network 44-114c ) Program of slave station No.2 MastercommunicationerrorM8183Counter resetRST C 2FNC 12MOVFNC 12MOVSlave 1communi

Seite 111

FX communicationN:N network 44-12MEMO

Seite 112

FX communicationParallel link 55-155. Parallel linkData transfer with FX2N, FX2NC, FX1N, FX, FX2C programmable controllers can be performed on a1:1 ba

Seite 113

FX communicationParallel link 55-25.2 Mode and Link Device5.2.1 Normal Mode (Special auxiliary relay M8162: OFF) Note;Parallel link is possible betwee

Seite 114

FX communicationParallel link 55-355.2.2 High Speed Mode (Special auxiliary relay M8162: ON) Note;Parallel link is possible between PLC’s in the same

Seite 115 - CCD instruction.)

FX communicationParallel link 55-45.3 Example Program5.3.1 Normal ModeThe ON/OFF status of the inputs X000 to X007 in the master station is output to

Seite 116 - 9.3.2 Deal with 8 bits Data

FX communicationCommunication format 66-166. Communication format (D8120)This chapter explains setting the communication between no protocol communica

Seite 117 - 9.4 Example Program

FX communicationCommunication format 66-26.3 Communication Format (D8120) *1 Make sure to set to “0” when computer link used.*2 Make sure to set to “0

Seite 118

FX communicationCommunication format 66-366.4 Example of setting programWhen setting the contents shown on the left, perform programming as follows. M

Seite 119

FX communicationiv

Seite 120 - 4 ) Operation

FX communicationCommunication format 66-4MEMO

Seite 121 - 10.1 Introduction

FX communicationComputer link 77-177. Computer LinkThis chapter explains the details and methods of specifying dedicated protocol used for linking oft

Seite 122

FX communicationComputer link 77-23 ) Programmable controller sends data to the computer.*OS (operating system) is the software for operating (or usin

Seite 123

FX communicationComputer link 77-377.2 Information Needed Before Programming7.2.1 Programmable Controller OperationThe operation and the scan time of

Seite 124

FX communicationComputer link 77-47.3 How to Read a Control Protocol Diagram1 ) When the computer reads data from the programmable controller (compute

Seite 125

FX communicationComputer link 77-577.4 Basic Formats of Dedicated ProtocolThere are two formats for the dedicated protocol; which may be selected by s

Seite 126 - -232IF 10

FX communicationComputer link 77-67.4.1 Control Protocol Format 1 Description Control protocolTo read data from the PLC to the computerTo write data f

Seite 127 - Note : ASCII/HEX conversion

FX communicationComputer link 77-777.4.2 Control Protocol Format 4Description Control protocolTo read data from the PLC to the computerTo write data f

Seite 128

FX communicationComputer link 77-87.4.3 Control Protocol Parts ExplainedThis is to explain the content of data set in each control procedure.1 ) Contr

Seite 129

FX communicationComputer link 77-972 ) Station numberThe station number is the number provided at the programmable controller in order todetermine whi

Seite 130

FX communicationvGuidelines for the Safety of the User and Protection of the programmable controllersThis manual provides information for the use of t

Seite 131

FX communicationComputer link 77-105 ) Message waitThis is a delay time required by some computers to switch between send and receive states.The messa

Seite 132

FX communicationComputer link 77-1177.4.4 Time-out Check TimeThe time out check time refers to the duration after termination of receive (final charac

Seite 133

FX communicationComputer link 77-127.5 Communication Timing Chart7.5.1 Reading Data from Programmable controller7.5.2 Writing Data to Programmable Con

Seite 134

FX communicationComputer link 77-1377.5.3 Communication TimeThis is to explain the method of calculating the approximate time until all communication

Seite 135

FX communicationComputer link 77-147.6 Character Area Data TransmissionThe data shown in the following examples are samples of the data used in charac

Seite 136

FX communicationComputer link 77-1577.6.2 Word Device MemoryWhen handling word device memory, each word is expressed as 4 hexadecimal digits (each of

Seite 137

FX communicationComputer link 77-167.7 Commands and Device Ranges7.7.1 Commands* Computer except high speed (32-bit) counters C200 to C255.CommandDesc

Seite 138

FX communicationComputer link 77-1777.7.2 Device specification rangesThe following is the device and device number range that can be used in the acces

Seite 139 - 10.4 Example Program

FX communicationComputer link 77-187.8 Example Computer Program for Loopback TestThis is an example of a BASIC program for communication of the comput

Seite 140

FX communicationComputer link 77-197190 HED$ = LEFT$(BUF$.1)200 IF HED$ = STX$ OR HED$ = NAK$ THEN GOTO *REC1 ELSE GOTO *REC0210 *REC1

Seite 141 - 3 ) Example program

FX communicationvi• Under no circumstances will Mitsubishi Electric be liable responsible for any consequentialdamage that may arise as a result of th

Seite 142 - 4 ) Operation chart

FX communicationComputer link 77-203 ) Operationa ) Start the computer program.b ) Send four characters “ABCD” from the computer to the FX programmabl

Seite 143

FX communicationCommands 88-188. CommandsThis chapter describes the structure and gives examples for each command of the dedicatedprotocol.See also Ch

Seite 144

FX communicationCommands 88-28.1 Batch Read of Bit Device (BR command)1 ) Command specificationProtocol format 1 is shown. 2 ) Command exampleTo read

Seite 145

FX communicationCommands 88-388.2 Batch Read of Word Device (WR command)1 ) Command specificationProtocol format 1 is shown. 2 ) Command examplesa ) E

Seite 146

FX communicationCommands 88-4b ) Example 2To read the present value of two points, T123 and T124, at station No.5. ComputerProgrammablecontrollerENQTh

Seite 147 - 11. Optional Programming Port

FX communicationCommands 88-588.3 Batch Write of Bit Device (BW command)1 ) Command specificationProtocol format 1 is shown 2 ) Command exampleTo writ

Seite 148 - -232ADP and FX

FX communicationCommands 88-68.4 Batch Write of Word Device (WW command)1 ) Command specificationProtocol format 1 is shown 2 ) Specification examples

Seite 149 - 11.3 Cautions on Use

FX communicationCommands 88-78b ) Example 2To write to data to two points, D0 and D1, at station No.0 (with message wait time set to 0 ms). ComputerPr

Seite 150 - Optional programming port 11

FX communicationCommands 88-88.5 Test of Bit Device (BT command)1 ) Command specificationProtocol format 1 is shown 2 ) Specification exampleTo set ON

Seite 151 - 12. Diagnostics

FX communicationCommands 88-988.6 Test of Word Device (WT command)1 ) Command specificationProtocol format 1 is shown. 2 ) Specification exampleTo cha

Seite 152 - 12.2 N:N Network

FX communicationviiFurther Information Manual ListTable 1: Further Information Manual ListManual name Manual No. DescriptionFX1S Hardware Manual JY992

Seite 153 - 12.3 Parallel Link

FX communicationCommands 88-108.7 Remote RUN/STOP (RR, RS commands)8.7.1 Operation of Remote RUN/STOPWhen remote RUN/STOP is requested from the comput

Seite 154 - 12.4 Computer Link

FX communicationCommands 88-1188.7.3 Control Specification and Examples of Remote RUN/STOP1 ) Control specificationProtocol format 1 is shown. 2 ) Ope

Seite 155 - Diagnostics 12

FX communicationCommands 88-128.8 Reading The Programmable Controller Type (PC command)8.8.1 Type Codes Programmable controller typeType code (hex.)Pr

Seite 156 - 12.5 RS Instruction

FX communicationCommands 88-1388.8.2 Control Specification and Example1 ) Control specificationProtocol format 1 is shown. 2 ) Specification exampleTo

Seite 157

FX communicationCommands 88-148.9 Global Function (GW command)This function is to turn on and off the global operation flag at all stations in the mul

Seite 158

FX communicationCommands 88-1588.10 On-demand FunctionData transmission between the computer and programmable controller is usually initiated by theco

Seite 159 - ASCII code Lists

FX communicationCommands 88-168.10.2 On-demand Control Protocol1 ) Control protocol programmable controller 2 ) Control protocol at computer Transmiss

Seite 160 - Appendix A

FX communicationCommands 88-1783 ) On-demand request time chart. • When the computer is transmitting data a ) When on-demand is requested, the on

Seite 161

FX communicationCommands 88-188.10.3 Specification and Example of On-demand1 ) Command specificationProtocol format 1 is shown. Programmablecontroller

Seite 162

FX communicationCommands 88-1982 ) Specification Example 1To transmit the data stored in data registers D100 and D101 from the programmablecontroller

Kommentare zu diesen Handbüchern

Keine Kommentare