Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
89 views
70 pages
EX100 Computer Link Manual - 514
Toshiba EX100 PLC Link Manual
Uploaded by
Abdul Wahab
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save EX100 Computer Link Manual_514 For Later
Download
Save
Save EX100 Computer Link Manual_514 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
89 views
70 pages
EX100 Computer Link Manual - 514
Toshiba EX100 PLC Link Manual
Uploaded by
Abdul Wahab
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save EX100 Computer Link Manual_514 For Later
Carousel Previous
Carousel Next
Download
Save
Save EX100 Computer Link Manual_514 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 70
Search
Fullscreen
a L TOSHIBA PROGRAMMABLE CONTROLLER om COMPUTER LINK-FUNCTION EX100 USER’S MANUAL INSTALLATION AND OPERATION rImportant Information Misuse ofthis equipment can result in property damage for human injury. Because controlled system applica- tions vary widely, you should satisty yourself as to the acceptability of this equipment for your intended pur- pose. In no event will Toshiba Corporation be respon- sible orliable for either indirect orconsequentialdamage or injury that may result from the use of this equipment. No patent liability is assumed by Toshiba Corporation with respect to the use of information, ilustrations, Circuits, equipment, or examples of application in this Publication. Toshiba Corporation reserves the right o make changes and improvements to this publication andior related products at any time without notice. No obligation shall be incurred, except as noted in this publication, This publication is copyrighted and contains proprietary ‘material. No part of this book may be reproduced, stored ina retrieval system, ortransmitted, inany formorby any ‘means — electrical, mechanical, by photocopying, re- cording, or otherwise — without obtaining prior written permission from Toshiba. Copyright 1991 by Toshiba Corporation Tokyo, JapanContents —.————$—$$ ents Contents How to read this manual Inside this manual ....... Note and caution symbols. Related publications ..... Abbreviations and acronyms RO Overview Features .. : System configuration. . Front panel . . Switch settings ‘System configuration ervoaa Cable connections One-to-one transmission mode One-to-N transmission mode . Transmission control Transmission overview ani Flow of signals 12 Transmission protocols 13 Creation of checksum Control codes Control codes for sendireceive data . 16 Computer link error (CE) EX error (EE)... EX error status read (ER) Test(TS) ......... : EX status read (ST) ..... Device/register read (DR) Device/register write (DW) Program block read (BR) . Program block write (BW) EX control (EC) ........ COMPUTER LINK MODULE 1Contents -—--———————————— Power-failure storage area read (IR) 144 System parameter read (SR). - 46 Diagnostic table read (TR) .... a) Appendices A — Computer link tests Test 0 — Loopback test ..... +. 82 Test 1 — Sendireceive test . 54 Test 2 — Block-read test . . 56 Test 3 — Block-write test 57 Test 4 — Block-compare test 58 B — Specifications .. .. 59 Transmission specifications - 59 Frame format . 59 C — RS-485/RS-232C converter ... - 60 General specifications . . 60 Transmission specifications 60 External view ...... 61 Circuit configuration 61 RS-232C connector . 62 RS-232C pin functions 62 D — RS-485 interface ................0.... 63 Signal names .. 63 Internal interface . . + 63 E — B-bit ASCII table 20... 64 F — Hexadecimal/decimal values ........... 65. G — Troubleshooting ...................... 66 Index > 2 EX100How to read this manual —_——_—— is manual Inside this manual This manual provides all the information you need to install, operate, and troubleshoot the EX100 computer link function. This manual is divided into four main parts and an appendices ‘section: © Features and overview @ Cable connections @ Data format @ Transmission command and error code Appendices: Application program Specifications Troubleshooting Note and caution NOTE “Notes” call the reader’s attention to information symbols \/A\/ considered important for best understanding and Operation of the equipment. CAUTION “Cautions” call the reader's attention to conditions or WV practices that could damage equipment or render it temporarily inoperative, Related publications —£X100 User's Manual (UM-EX100 ~ -E001) ——————————— COMPUTER LINK MODULE 3How to read this manual _ Terminology Many hardware terms particular to PC operation are defined in the glossary of “Guidebook to Manuals.” You should familiarize yourself with these terms before proceeding. The following is a list of abbreviations and acronyms used in this manual. ACO AD Al AO AWG MOS CPU oI DO FD100 GP110 GP110AP1 GND H Hz INP vo LCD LED Lsi MP100 NEMA PC Pl PR100 PROM RAM RO ac output analog/digital analog input analog output ‘American wire gage complementary metal oxide semiconductor central processing unit de input de output floppy disk drive unit graphic programmer graphic programmer, stand-alone model ground hexadecimal (when it appears in front of alphanumeric string) Hertz input (ac) inpuvoutput liquid crystal display light-emitting diode large-scale integration circuitry miniprogrammer National Electrical Manufacturers Association programmable controller pulse input PROM writer programmable read-only memory random access memory relay output RS-232C, RS-422, RS-485 serial interfaces RTD UL Vac Vde 4 exi00 resistance temperature detector (input) Underwriters’ Laboratories, Inc. ac voltage de voltage )Overview —W review Features System configuration Using the computer link module, you can connect a host com- puter (IBM PC, PC/XT, PC/AT™ or other compatible personal computer) to one or more EX100 unit and execute the follow- ing functions. 1) Supervising the EX100 (reading the RUN/HALT/ERROR status) 2) Controlling the EX100 operation mode (RUN/HALT) 3) Writing and reading data to/from the EX100 (including data on devices and registers) 4) Documenting and program storage 5) Programming (reading/writing/moditying program) With the computer link system, one or more EX100 program- mable controllers can be linked to a single host computer, using one of two transmission modes. In the one-to-one trans- mission mode, a single PC is linked to the host computer. In the one-to-N transmission mode, from two to 16 EX100 units can be linked to the host computer, using the computer link function. In either mode, each computer link is linked to the host computer through an RS-485 interface. With this system the maximum transmission distance is 1 km (3,280 ft). If the host computer uses an RS-232C interface, it is neces- sary to adapt it to a RS-485 connector by using Toshiba's RS- 485/RS-232C conversion adapter (ADP-62378). “IBM PC, PGIKT, PCIAT are registred trademarks of International Business Machines Corp. —— COMPUTER LINK MODULE 5Overview Front panel Communicationswitch Station number selector DIP switches S-485 Terminal block 6 extooOverview Switch settings Communication switch progr ‘Selects the device you'll use to communicate with the EX100 e programmable controller. PROGMR: Programmer; LINK: Computer link uN Station number selector Selects the station number when the computer link has been selected via the communication switch. ‘Switch position }°/1/2/3}4/5/6|7)8/o/alBiclpolelF Station number 0}1)2/3/4]5]6]7/8] 9 J10/11/12/13/14]15] DIP switches Baud rate: aR Baud sr | L rate] 9600 | 4800 | 2400 | 1200 on (1) Switch PEN ] BR2 OFF OFF ON ON es (| BRT ore | ON | OFF | ON oH Parity mode: Parity ode Non Even | odd Switeh PEN orF | OFF | ON | ON PR OFF ON OFF ON oy RS-485 transmission terminal mm] |LD} 1xa: Sending line A (output) rxal | (J TXB: Sending line B (output) vem} |] | RXA: Receiving line A (input) we} |(-]| — TRM: Terminal for termination resistor for one-to-one sf / transmission. RXB: Receiving line B (input) SG: Signal ground eee COMPUTER LINK MODULE 7Overview System Transmission type: One-to-one configuration Computer link module Ex100 Host computer RS-485/RS-232C conversion adapter Transmission type: One-to-N RS-4a5/AS-2320 —__, i conversion adapter Le Computer lnk module Computer tink module Computer link module Computer lnk module NOTE When computer-link modules are installed in several VAX/ £X100 programmable controllers that are connected to a single host computer, a maximum of 16 stations (EX100 units) can be connected at one time. 8 Ex100Cable connections One-to-one — When the one-to-one transmission configuration is used, cable transmission mode _ connections should be as follows: @ Jumper the RXA terminal on the computer link module to the TERM terminal. This utilizes the built-in terminal resistor. @ If the host computer does not have a built-in terminal resis- tor, connect an external }-watt, 120-Q resistor between the computer's RXA and RXB terminals. @ Connect one end of the shielding wire of the shielded twisted-pair cable to the ground terminal (GND). RS-485 connection Jumper engages terminal resistor. (one-to-one) ‘ Host computer Twisted-pair cable A terminal resistor is required between RXA and RXB. If the host computer has a buil-in re Shielded cable sistor, set it. Otherwise, follow Connected to the the instructions for installing an GND terminal of external resistor. the EX unit eo COMPUTER LINK MODULE 9Cable connections ——S One-to-N When two or more computer links (2 to 16) are linked to the transmission mode _ host computer, the basic cable connections are made as. follows. @ Connect terminal resistors between terminals RXA-RXB and TXA-TXB at each end of the cable run. (The combined terminal resistance must be 3-watt, 2202.) ® Connect the cable shield to frame ground at one end only. Use the GND terminal for the ground connection on the EX100 side. Install a terminal block to branch off to the host computer or computer link. The branch should not exceed 3m (10 tt) cable length from the terminal block to the computer or module. RS-485 connection (one-to-N) Host computer 53 £2 vo Within 3 m within am Within 3m Fe R: Terminal resistor Va-watt 2208 — 1 0 extooTransmis: In control Transmission In a multiple-computer link ‘configuration, each computer link Overview module constantly waits for requests issued by the host com- puter. When a request is generated, each computer link mod- ule checks the station number of the request. The module with the matching station number processes the request while the other link modules continue to stand by. This is why each com- puter link must have a unique station number. Otherwise more than one link may attempt to process the request, resulting in faulty data. The following diagram illustrates the processing sequence exe- cuted when a request to station 2 is issued: Host computer - —— Response (reception) == Request (sending) ¥ Computer ak + Computer ak 3 Processing sequence executed when a request to station 2 is issued by the host computer: © Request is sent from host computer to computer links (re- quest to station 2). @ Request is executed by station with same number as re- quest (only station 2 executes request). @ Processing result is returned as response to host computer (response from station 2). A COMPUTER LINK MODULE 11Transmission control Signal flow Host computer side The following diagram illustrates the signal flows during normal and abnormal communication between the host computer and an EX100 programmable controller. EX100 side Station ‘umber check Reception Request processing Abnormal Aenormal Mismatch ‘Abnormal | Normal 12 Exto0 Teansmission | )Transmission control _—_— OO tv Transmission protocols (| Taor] cao Data a [sum [> few | ¢ fio | aor | cao cara fa | sum |) [cw Checksum creation range. ———> 255 bytes maximum > Either transmission format (a) or (b) can be used. However, when (a) is used a maximum of 10 EX100s (station numbers 0 through 9) can be accessed because of the one-digit ADR lim- itation of (a). When (b) is used, all 16 stations (station numbers 00 through 15) can be accessed because this format can use two digits in its ADR sector. Text contents * “(": Transmission begins (H28) — 1 byte 'D: Format identitication code“A” (H41) — 1 byte ADR: Station number Format (a) — 1 byte “0” (H30) through “9” (H39) Format (b) — 2 bytes “00” (H30, H30) through “15” (H31, H35) CMD: Command — 2 bytes DATA: Data field “a”: Checksum delimiter (H26) — 1 byte SUM: Checksum — 2 bytes 8-bit ASCII code of the lowest-order byte of the sum obtained by adding the bytes from transmission- begin to the checksum delimiter * "J": Ending code (H29) — 1 byte * CR: Carriage return code (HOD) — 1 byte LL COMPUTER LINK MODULE 13Transmission control SE The following transmission protocols apply to the computer link) functions of the EX100: (1) When on and functioning normally, the EX100 aways is waiting for a request command from the host computer. The EX100 will not transmit any data without a request. (2) All space codes (H20) are ignored. I¥ space codes (H20) are included in the data received from the host computer, they are ignored. However, when checksum is obtained, the space codes are includ in the calculation. PPEPEP PPL err rp F Space codes in data ‘Space codes are included in are onored calulaton to obtan checksum (3) Checksum can be omitted in the transmission text. Data can be transmitted from the host computer whether or not checksum is attached to the data. (4) Checksum is attached to the answer text. Checksum is al- ways attached to the answer data from the EX100. Transmission text «fo[t]s]o] +] Jor Answer text Answer text al- ways includes checksum and the delimiter code (8). 14° Ex100Transmission control (5) 8-bit ASCII code is used. All transmission/reception data Consists of 8-bit ASCII code. (6) Data received before the “(” (open parenthesis mark) code is ignored. The EX100 ignores all the data received before “(" (28). Ignored (7) “)" CR terminates reception. Reception is considered to be terminated only after “)” (closed parenthesis mark) and CR have been received. If a “)" without a CR (carriage return), or vice versa, is re- ceived, it is considered to be a transmission error. NOTE In this manual, data enclosed within“ " (quotation VAV marks) indicates data for 8-bit ASCII code. Creation of Checksum is the ASCII code of the lowest-order byte of the checksum sum obtained by adding the data from the transmission-begin code “(” to the checksum-delimiter code “&”. Example: ("= H28 #35, Has Ha3 c[s[eic[ols[e eo] le #9” = 130 "2" = H32 "8" = H26 HI6D
Jew — Gon be omitted Host computer < Computer link cla efor aon [ea] & 8 — ‘Always added ‘— Error codes 21 10 35 as listed below CE or EE is returned when a transmission error occurs. Error ror code ro Remark 00 [Normal (no errors) [Normal operation END instruction not detected when program check was executed dur- ing initialization 21 |No END instruction During program check at initializa- tion, at least one of the following errors was detected: 1. More than three nesting levels exist Same pair instruction detected more than once in single nest 3. Reset instruction precedes set instruction 4, Two pair instructions overlap Illegal pair 22 instruction 2 1. Program was destroyed Program failure 2. Program checksum failure detected Undefined instruction (illegal in- struction) detected during pro- gram execution 23 24 |Illegal instructionControl codes — eee Execution examples Normal operation 25 {Scan time-out Scan time exceeded 200ms 26 [VO SYNC error VO module failed to respond When power supply was turned on 27 |VO module with RUN/HALT switch in RUN po- mismatch sition, programmed 1/0 did not Match installed /O ‘Operand in program did not ‘match /O module assignment in- 28 |Operand error formation (e.g., When the first slot '$ output module, XWO0 is 29 |d¢ power supply | Drop in de supply voltage of voltage failure EX100 to below required level ‘Occurs when watchdag timer is 30 |ffatchdog timer I not reset within required time. (350ms) 31 [CPU error Peripheral LSI error datected Drop in supply voltage of exten- sion V/O unit to below required level a3 {Extension /0 power failure Failure detected in PROM con- tents of EX100 VO bus failure detected immedi- 35 [VO bus failure ately before initialization or batched V/O processing 34 |PROM failure Three execution examples are provided to demonstrate how to check the RECEIVE DATA line to determine which computer link error (e.g., ER33) has occurred. The following data are in- put to computer link Test 0 (described in Appendix A). INPUT DATA =(AQDER) SEND DATA —=(AOOER&86) RECEIVE DATA =(AQQEROOGES) EX100 error status read (ER) with error code 0( ———————EEEEEeEeeeeese COMPUTER LINK MODULE 23Control codes SS No END instruction rmput para = (AooER) SEND DATA = (ADOERG86) RECEIVE DATA =(AQOER216E9} EX100 error status read (ER) with error code 21: no END instruction. VO mismatch inpur para =(a00ER) SEND DATA = (AOOER&86) RECEIVE DATA =(AQQER276EF) EX100 error status read (ER) with error code 27: /O0 registration mismatch. 24 eExi00Control codes OOOO TS Test Transmit data Receive data Execution examples Normal TS This command tests each computer link connected to your host computer. The computer link returns the transmitted text unchanged to the host computer. If the transmitted data con- tains no checksum, a checksum is added to the receive data. Host computer — Computer link CA] aon [rs] Testdate a {sum fy Jer Gn be omitted Host computer <— Computer link ca] aor [t's testdata, [a | sum |) Jor “Always eddee Eight-bit ASCII codes can be used as test data, except for the following five special characters, which are reserved for sys- tem use. He8 H26 H29 HOD H20 — Ignored (space) Error is indicated if one of these codes is used. CE or EE is returned when a transmission error occurs. Two execution examples are provided to demonstrate how to check the RECEIVE DATA line to determine which computer link error (e.g., CE02) has occurred, or to indicate that the test has been completed with no errors found. The following data are input to computer link Test 0 (described in Appendix A). INPUT DATA = (AOOTSABCDEFGHIJKLMNOPQRSTUVWXY2) SEND DATA =(AQOTSABCDEFGHIJKLMNOPQRSTUVWXY25 75) RECEIVE DATA =(AQOTSABCDEFGHIJKLMNOPQRSTUVWXY2E 75) Data show that the test (TS) has completed normally. a COMPUTER LINK MODULE 25Control codes Ss TS error pur para =(A007S) SEND DATA =(A00TSE96) RECEIVE DATA =(AOOCEO26D9) Computer link error (CE) with error code 2: format error; test (TS) has no data. = 26 extooControl codes —. $5 __ Loni! cote ST EX status read Transmit data Receive data EX status Execution examples Reading HALT This command (ST) reads the EX100 unit's status (RUN, HALT, ERROR) and receives error codes when errors occur, When ST is executed, EX100 operation continues — unless an error down occurs. Host computer + Computer link «fal aor [s "1 [a [sum |) Jer — Gnbeomites Host computer < Computer link (fa | aoe [sr exstaus a [sum |i Jor — “Always added ‘—exstatusasshown below EXstatus OOOO ES OOGOOORG Festh byte>[etn byte™|-*7th byte [eth byte >| biess: bro. a= €X mode 04(1): HALT 10(2): RUN/RUN-F 113): ERROR TOSLINE error Computer link error : Request for diagnostic display Three execution examples are provided to demonstrate how to check the RECEIVE DATA line to determine the EX100’s status (RUN, HALT, ERROR). The following data are input to computer link Test 0 (described in Appendix A). INPUT DATA =(A0ST) SEND DATA —=(A00STE96) RECEIVE DATA =(A00ST0100657) Mode 01 in EX status: HALT mode. —_————————————— COMPUTER LINK MODULE 27Control codes TT Diagnostic display inpur pata =(ao0s7) In RUN sEND para —=(avosTe96) RECEIVE DATA =(A00STO20265A) The contents of a user-defined error can be received by read- ing the diagnostic table when the diagnostic display request appears Reading error status Input DATA =(AoosT) SEND DATA =(A00STE96) RECEIVE DATA =(A00ST0300659) EX mode 3 of EX status indicates an error. ————————Kem 28 ext00Control codes —— es DR Device/register read Transmit data The device/register read command (DR) is used to read the contents of devices or registers consecutively. Host computer —» Computer link CT] ade [07 R YoevcereguterNo. |. a] sum [i ow Gan de omitted Number of DATA fields (o1to32) Receive data Host computer < Computer link Cfa [aor foe] “bathe cataen [a | sum | > [er Execution examples La characters fixed (Hexadecimal) H0000 to HFFFE CE or EE is returned when a transmission error occurs. When devices are read, either 0000 (OFF) or 0001 (ON) is read out By executing this command once, data can be read from 1 to 92 consecutive devices or registers. Instead of R001, either RO1 or R1 can be specified in the device/register number field. Likewise, 1 to 9 can be specified in the DATA fields instead of 01 to 09. Express all values in the DATA fields in hexadecimal format. NOTE If data registers D1000 to D135 are used, omit the VAY 0 from each register number. Specity the remaining digits in the device/register number field. Three execution examples are provided to demonstrate use of the “DR” code. The following data are input to computer link Test 0 (described in Appendix A). ——— COMPUTER LINK MODULE 29Control codes a Reading RW, R Reading XW, YW, x, Y 30 exto0 To read auxiliary relay registers/devices (RW, R): INPUT DATA = (AOODRRWOO,1) SEND DATA = (AOODRRWOO,16EB) RECEIVE DATA = (AOODR682A666) > RWOO=H682A INPUT DATA = (AOODRRO, 16) SEND DATA = (AOODRRO,1669A) RECEIVE DATA = (AQODROOOO 9001 9000 9001 9000 9001 9001 RO RL R2 RS RO RS 2000 9000 9000 9000 9001 oo. Be R7 R6ORO RA RB ORC RD 9001 9000668) RE RF To read /O registers/devices (XW, YW, X, Y): (The same data is read from XW and YW (X and Y)). INPUT DATA = (AOODRXWO, 2) SEND DATA = (AOODRXWO,26C2) RECEIVE DATA = (AQODRQOOOF3D5437) INPUT DATA = (AOODRYWO,2) SEND DATA = (AOODRYWO, 26C3) RECEIVE DATA = (AOODROQOOF3D5637) Registers XW and YW have the same contents. INPUT DATA SEND DATA = RECEIVE DATA = (AOODRKA, 16) (aooDRxa, 16681) (soopR9000 9900 9000 9009 9900 9000 o001 XA XB XC OXD XE OXF x10 9000 9001 9000 9001 9900 9001 9001 Ml 12X13 4X15 16X17 9003 9001 «8c xis x19 INPUT DATA = SEND DATA = RECEIVE DATA = (AgODRYA,16) (AoopRYA, 16282) (A00DRG900 9000 9900 9000 9000 900 voor YA YB YC YD YE YF vio 9000 9901 9000 9001 9000 9001 9001. vii v2 v3 vid M15 16. ¥17 9001 9001 8c) ie vi9Control codes _—_—_—_—_—_—_—_—_————————— Secs Reading D To read data registers (D): INPUT DATA = (AOODRD999, 8) SEND DATA = (AOODRD999, 8208) RECEIVE DATA = (AGODROO0O 0003 0003 1234 0000 9000 0000 ps9 ~~ NH 0000 £95) 1006 INPUT DATA = (AOODR1100,8) SEND DATA = (AQODR1100, 848) RECEIVE DATA = (AQODROOO 9001 0002 9003 9004 0005 9006 poo ~~ 9007 &a1) 1107 ee COMPUTER LINK MODULE 31Control codes —_—————oo———————————— DW _ The computer link tunction’s device/register write (OW) com- , . ite 'Tnd is used to write the contents of consecutive de Device/register write registers. Transmit data Host computer —> Computer link C[s [8 | ow poewteregnerno |. Leet TT] ‘Weradecimad i ‘Of DATA fields ° 1000 to HFFFF (011032), oarasn [ae] sum |) [or —= Con be omitted Receive data Host computer — Computer link (TT LT echo? [oe [ooh fy fen ysaddes Writing 0000 turns the specified device OFF; writing 0001 turns it ON. The DW command can be used in write-enable mode by setting the write-enable switch to the ON (upper) position prior to operation. This command allows data to be written into one to 32 consec- utive devices or registers. Instead of R001, either RO1 or R1 may be specified in the device/register number field. Likewise, 1 to 9 may be specified as the number of DATA fields instead of 01 to 09. Input the DATA field value in hexadecimal format. It data registers D100 to D1535 are used, omit the D when requesting data from these registers and use only the numer- ical portion. Example: Transmit data used to write HFFFF into D1535 (eansmitdata) C}efotwti ists fs]. ]:]. ele lel) p la ——— Tnput only the digital part of 01535 Execution examples Two execution examples are provided to demonstrate the use of the “DW” code. The following data are input to computer link Test 0 (described in Appendix A). EX100Writing data into RW Control codes To write data into auxiliary registers (RW) and coniirm the written data: In the following examples, first a value is written to two suc- cessive registers. Then the values of the registers are read back two ways ~ first using the register-read command, then using the device-read command, INPUT DATA =(AOODWRWOO, 2, FFFF,FFFF) ---Writing into RW00 and RWOt SEND DATA = (AOODWRHOO,2,FFFF, FFFFL79) RWOO RWOI RECEIVE DATA=(A00870102659) INPUT DATA =(AOODRRWOO, 2)-- Reading from RWOO and Rwo1 SEND DATA =(AQODRRWO0, 26EC) RECEIVE DATA=(AOODREFFF FFFF&BS) RWOO RWOL INPUT DATA =(A00DRRO00, 32) +. -Reading from R000 to ROIF SEND DATA = (AOODRROOO, 326F8) RECEIVE DATA=(AQODROOO1 0001 9001 9001 0001 9001 9001 9003 9003 9002 9001 p002 9001 9001 9002 9001 0002 9003 9003 0002 p001 02 g0016a5) All 32 devices = 0001 (ON) — COMPUTER LINK MODULE 33Control codes ee Writing data into T To write data into timer registers (Tn) and confirm the written data: The values are written to five successive timer registers, and the values are then read back using the device/regster read command. INPUT DATA =(AOODWTO, 5,ARAA,BBBB ,CCCC, DDDD, EEE) ++-Writing into TO, T1, T2, T3, and T4 SEND DATA = (AOODWTO, 5, AAAA, BBB, CCCC, DDDD, EEEEK87) 70 Tl 72 #73) 74 RECEIVE DATA=(A00ST0102659) INPUT DATA =(A00DRTO,5)+--Reading from TO, T1, T2, T3, and T4 SEND DATA =(AOODRTO, 5&6A) RECEIVE DATA=(AOODRIFFF JEFF 7PFF 7FFF 7FFF&B2) 7 Tl 72 73 Ta All four timers are indicated as being set to the maximum val- ue of H7FFF, NOTE VAV/ The limit of the timer value is H7FFF 34 exto0Control codes —_———— BR Program block read Transmit data Receive data The program block-read (BR) command is used to read a program a block at time. Host computer > Computer link C]a | aoe [one ax fs | sum |) [a Gn be omitted (0000255 (decimal) Host computer < Computer link Appropriate block is detected: Cla] ace [evr] ax Teac ioc) |e [sum ]) [er T —— 000 10 285 (decimal) “iways added 128 characters (Hex) Appropriate block is not detected: aa se C[a] aoe [ete ax fs [sum |) [or (000 10 285 (decimal) Program block read cannot be executed during RUN. Use it only after the EX100 has been placed in the HALT mode. Always start program block read beginning with block 000 and read the blocks in order. An error will occur if you attempt to begin with any other block. However, if an error occurs while a block other than 000 is being read, try reading that block again. If that doesn't work, go back to the starting block and restart program block read from the beginning, After program block read is begun, do not execute another command before the end block is read, otherwise program block read will be aborted. If it aborts, it is necessary to start the operation again at block 000. To read the register contents along with the program data, execute the device/register-read command immediately after completion of program block-read. Sa COMPUTER LINK MODULE 35,Control codes Execution examples 36 exto0 The following execution example is provided to demonstrate use of the “BR” code. The following uata are input to com- puter link Test 0 (described in Appendix A). In this example, BR reads the program four blocks at a time for a total of eight blocks. SEND DATA =(A00BR000)-- -Single command initiates read. RECEIVE DATA=(A008R000261004000400010000000000c0000000000 008080808400000000000000000000000c0000000000 (000000000000000000000004FFFFFFFFFF. FFFFFFFFF FPFFFFF«&8B) SEND DATA =(AO0BRO01) RECEIVE DATA=(AOOBROO1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF PFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEPFEFFFFFFFFFF FEFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFF FPF FFFFFFE14) SEND DATA = (AOOBRO02) RECEIVE DATA=(AOOBROO2PFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFF FFF FFFFFFFFFFFFFFFFFFFPFPPFFEPFFPPEPFPFPFFF FFF FFFFFFFFFFFFEFFFFFFFFFFFFEFFFEFFFFEFFFOS 8000030084a) SEND DATA =(A00BR003) RECEIVE DATA=(A00BR003030003000300030003000300¢3000300030 03000300030003000300030003000300¢3000300030 003000300030003000300030003000300¢3000300030 0030003676) SEND DATA =(AOOBRO04) RECEIVE DATA=(A00BRO0401043800400070000000000000000000000 00000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000 0000000832) SEND DATA = (AOOBROOS) RECEIVE DATA=(A00BR00500000000000000000000000000000000000 00000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000 0000000618) )Control codes —_—.. $$$ __2ott! cots SEND DATA = (AO0BRO06) RECEIVE DATA=(A00BR00600000000000000000000000000000000000 20000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000 0000000819) SEND DATA =(A00BR007) RECEIVE DATA=(A00BR00700000000000000000000000000000000000 00000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000 000000061a) SEND DATA = (AQ0BRO08) RECEIVE DATA=(AOOBRO08E1B) —————— COMPUTER LINK MODULE 37Control codes ee BW Program block-write Transmit data Receive data EX status 38 Exto0 ‘The program block-write (BW) command is used to write a pro- gram block-by-block, Host computer —» Computer link C]a] aoe Te'w] ax Tert(1biock)” —[& [sum |) Jor T =—— > (000 10255 (decimal) Gnbeonmed 128 characters (Hex) Host computer < Computer link cya] am [str exstaus [a | sum |) Jor Ex status as shown below CePPr Plt Pere p Eye) [stn byte™[-eth byte=[*7e byte let byte =| bins bio a= EX mode b 01 (1): HALT « 10(2): RUN/RUN-F 113): ERROR TOSLINE error 1: Computer link error Request for diagnostic display CE or EE is returned when a transmission error occurs. NOTE The format for the BW command is the same as that V/A used for the EX status read (ST) command, Program block-write must be started in block 000, with the blocks written in order, or an error will occur. However, if an error occurs while a block other than 000 is being written, try writing that block again. If that doesn’t work, go back to the starting block and restart program block-write from the beginning,Control codes Alter program block-write is started, do not execute another command before the ending block is written because it will cause program block-write to abort. If it does abort, it is nec- essary to start the operation again at block 000. To write the register contents along with program data, exe- cute the device/register-write command immediately after com- pletion of program block-write. Execution example The following execution example is provided to demonstrate use of the “BW” code. The following data are input to com- puter link Test 0 (described in Appendix A). In this example, BW writes the program four blocks at a time for a total of eight blocks. SEND DATA — =(A00BW00028100400040001000000000000000000000 08080808400000000000000000000000000000000000 000000000000000000000004FFFFFFFFFFFFFFFFFFFF FFFFFFFFFF) RECEIVE DATA=(A00ST0100657) SEND DATA = (AQOBWOO1FFFFFFFFFFFFFFFFFFFFFFFIFFFFFFFPFFF PEPFFFFFFFFFFFFFFFFFFFPFFFFEFFFPYPEFFFEEPFFP PEFFFFFFFFFFFFFFFFFFFFFFFFFFFPFFIEEFFPEEPEFE FEFFFFFFFF) RECEIVE DATA=(A00STO100657) SEND DATA = (AOOBWOO2PFFFFFFFFFFFFFFFFFFFFFFFIFFFFFFFFFFP PEFFFFFFFFFFFFFFFFFFFFFFPFFFPFFFIFFPFPFPFFP FPFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFYEFFFFEFPFFP 0680000300) RECEIVE DATA=(A00S70100657) SEND DATA — (A00BW003030003000300030003000300030003000300 03000300030003000300030003000300¢30003000300 93000300030003000300030003000300030003000300 030003000) RECEIVE DATA=(A00STO100657) SEND DATA = (A00BW00401043800400070000000000000000000000 00000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000 0000000000) RECEIVE DATA=(A00STO100657) SEND DATA =(A00BW00500000000000000000000000000000000000 00000000000000000000000000000000000000000000 (00000000000000000000000000000000000000000000 0000000000) RECEIVE DATA=(A00STO100657) a COMPUTER LINK MODULE 39Control codes SEND DATA — =(A00BW00600000000000000000000000000000000000 20000000000000000000000000000000000000000000 90000000000000000000000000000000000000000000 0000000000) RECEIVE DATA=(A00ST0100657) SEND DATA —=(4008W0070000000000000000000000000c000000000 90000000000000000000000000000000000000000000 90000000000000000000000000000000000000000000 0000000000) RECEIVE DATA=(A00STO100&57) Se 40 ExtooControl codes ee EC The computer link’s EX control (EC) command is used to con- trol the status of the EX100 programmable controller. EX control Transmit data Host computer —» Computer link C4 | aor fe Te [comotl a [sum [a few beomitied Control codes ot HALT 02: RUN 03: Evrorreset 0a: RUNS 08: Exrortable clear 09: EEPROM write Receive data Host computer <— Computer link EX control (EC) is used to control the EX100. cpa] aoe [st exstaus | a] sum [) [ce “Always added Ex statusasshown below. Exstatus ofeToTofopey = fopelefoloyolayo [5th byte |-6th byte >|-*7th byte >|-eatn byte >| bits) bio a=EXmode b=1: TOSLINE error 04(1): HALT Computer link error 10(2): RUN/RUN-F 113): ERROR d=1 Request for diagnostic display CE or EE is returned when a transmission error ocours. Note The format for the EX control (EC) command is the VA\/ Same as that used for the EX status-read (ST) command, If the EX100's RUN/HALT switch is in the HALT position when the RUN or RUN-F command is sent, a mode error will occur. If the HALT command is sent while the EX100 is in HALT, or the RUN or RUN-F command is sent during RUN, a mode error will occur. (In the latter case, execution will continue.) —s COMPUTER LINK MODULE 41Control codes _ If the EX100 is in ERROR status, it will be placed in HALT stat- ) us by executing ERROR RESET. If this is executed during a non-ERROR status, a mode error will occur. I ERROR TABLE CLEAR is executed during HALT status, the error history will be cleared. (ERROR TABLE CLEAR cannot be executed during RUN status.) Execution examples The following three execution examples are provide ' to dem- onstrate the use of the “EC” code. The following data can be input to computer link Test 0 (described in Appendix A). HALT to RUN impur pata =(ao0zc02) SEND DATA =(AODECO2ED9) RECEIVE DATA=(A00ST0102659) -- -Normal termination (Actual status is RUN, although status indicated in re- sponse is HALT. This can be verified by executing a status- read as follows.) INPUT DATA =(A00ST) SEND DATA =(a00STE96) RECEIVE DATA=(A0087020265a) -- -Verifies RUN status ) RUN to HALT inpur para =(ao0Eco1) SEND DATA =(AOOECO1&D8) RECEIVE DATA=(A00STO202&5a) --- Normal termination (Actual status is HALT, although the status indicated in the response is RUN. This can be verified by executing a stat- us read as follows.) —J_— i@ mK 42 EX100Control codes Error reset/Error table INPUT DATA =(a00sT) clear SEND DATA =(ag0STs96) RECEIVE DATA=(A00ST0102659)---Verifies HALT status INPUT DATA =(A00ST) SEND DATA =(A00ST&96) RECEIVE DATA=(A00S70300859) - - Hardware error INPUT DATA =(AQ0ER) SEND DATA = (AOOER&86) RECEIVE DATA=(AQOER276EF)- - -Read error status (VO mismatch) INPUT DATA =(A00ECO3) SEND DATA =(AOUECO3&DA) RECEIVE DATA=(A00STO100657) --- Error reset INPUT DATA =(AO0ECOB) SEND DATA =(AOOECOB&DF) RECEIVE DATA=(A00S70100657) - «Error table clear ———— COMPUTER LINK MODULE 43
You might also like
hie_hsio
PDF
No ratings yet
hie_hsio
196 pages
LNL-1320 Dual Reader Interface Module
PDF
No ratings yet
LNL-1320 Dual Reader Interface Module
22 pages
WiringInstructions 31007166 PDF
PDF
No ratings yet
WiringInstructions 31007166 PDF
14 pages
Ytk Cpls
PDF
No ratings yet
Ytk Cpls
258 pages
s10 Series
PDF
No ratings yet
s10 Series
53 pages
mod_slav
PDF
No ratings yet
mod_slav
58 pages
LG MKCNT
PDF
No ratings yet
LG MKCNT
72 pages
RS 485
PDF
100% (3)
RS 485
5 pages
Ytk Cpls PDF
PDF
No ratings yet
Ytk Cpls PDF
156 pages
Tos Lsio
PDF
No ratings yet
Tos Lsio
74 pages
Remote IO Serial Communication Wiring (Rev 1.01) 20230404
PDF
No ratings yet
Remote IO Serial Communication Wiring (Rev 1.01) 20230404
28 pages
Mit Alnk
PDF
No ratings yet
Mit Alnk
62 pages
Connection Host
PDF
No ratings yet
Connection Host
34 pages
FX Series Computer Link Driver
PDF
No ratings yet
FX Series Computer Link Driver
60 pages
H Series Serial Driver
PDF
No ratings yet
H Series Serial Driver
176 pages
X20cs1030-Eng V3.31
PDF
No ratings yet
X20cs1030-Eng V3.31
43 pages
Mit QMC
PDF
No ratings yet
Mit QMC
100 pages
X20CS1030 Eng
PDF
No ratings yet
X20CS1030 Eng
42 pages
Ls GMCNT
PDF
No ratings yet
Ls GMCNT
45 pages
RS 485 Modbus Communication - Description of Options
PDF
No ratings yet
RS 485 Modbus Communication - Description of Options
30 pages
Codesys Sio Driver
PDF
No ratings yet
Codesys Sio Driver
25 pages
Weg cfw500 Modbus Rtu Manual
PDF
No ratings yet
Weg cfw500 Modbus Rtu Manual
30 pages
Manual Modulo Emotron USB-RS485
PDF
No ratings yet
Manual Modulo Emotron USB-RS485
28 pages
Second Serial Interface of The S5-95U Programmable Controller
PDF
No ratings yet
Second Serial Interface of The S5-95U Programmable Controller
109 pages
FX-485PC-IF RS485 Interface Unit Hardware Manual
PDF
No ratings yet
FX-485PC-IF RS485 Interface Unit Hardware Manual
6 pages
Fx-485adp Communication Adapter
PDF
No ratings yet
Fx-485adp Communication Adapter
12 pages
ES-U-2001-STB: Hi-Speed USB To Industrial Single RS-422/485 Adapter Installation Guide
PDF
No ratings yet
ES-U-2001-STB: Hi-Speed USB To Industrial Single RS-422/485 Adapter Installation Guide
18 pages
Installation and Commissioning Manual Line Differential Protection Terminal Rel551 2.5
PDF
100% (1)
Installation and Commissioning Manual Line Differential Protection Terminal Rel551 2.5
184 pages
X110_Brochure
PDF
No ratings yet
X110_Brochure
6 pages
PAXCDC SER Product Manual
PDF
No ratings yet
PAXCDC SER Product Manual
8 pages
Modbus RTU: User's Manual
PDF
No ratings yet
Modbus RTU: User's Manual
33 pages
RS485
PDF
No ratings yet
RS485
12 pages
Jy992d84201 (E) e
PDF
No ratings yet
Jy992d84201 (E) e
4 pages
Hhi Hi5s
PDF
No ratings yet
Hhi Hi5s
36 pages
EX9520/A/R/AR Quick Manual: Jumper Setting (For EX9520A/AR) JP1: PIN 2,3 For RS485 PIN 1,2 For RS422
PDF
No ratings yet
EX9520/A/R/AR Quick Manual: Jumper Setting (For EX9520A/AR) JP1: PIN 2,3 For RS485 PIN 1,2 For RS422
4 pages
RS232 485 Fundamental
PDF
100% (1)
RS232 485 Fundamental
17 pages
Hardware Manual: JY992D73401A
PDF
No ratings yet
Hardware Manual: JY992D73401A
8 pages
VS-Comm.Card_Eng
PDF
No ratings yet
VS-Comm.Card_Eng
1 page
A1SJ71 (U) C24-R4 - User - S Manual (Hardware) IB (NA) - 66491-D (02.09)
PDF
No ratings yet
A1SJ71 (U) C24-R4 - User - S Manual (Hardware) IB (NA) - 66491-D (02.09)
24 pages
ex-9531
PDF
No ratings yet
ex-9531
2 pages
FX3U 485ADP MB安裝manual - JY997D26301a
PDF
No ratings yet
FX3U 485ADP MB安裝manual - JY997D26301a
2 pages
Communication Interface: EM70 Servo Controller
PDF
No ratings yet
Communication Interface: EM70 Servo Controller
16 pages
FX2N-485-BD - User's Guide JY992D74401-F (04.15)
PDF
No ratings yet
FX2N-485-BD - User's Guide JY992D74401-F (04.15)
4 pages
Ex100 CL11#
PDF
No ratings yet
Ex100 CL11#
2 pages
Communication Interface: SR90 Series Digital Controller
PDF
No ratings yet
Communication Interface: SR90 Series Digital Controller
16 pages
C10R10 User Manual PDF
PDF
No ratings yet
C10R10 User Manual PDF
16 pages
EX9520ARAR Quick Manual
PDF
No ratings yet
EX9520ARAR Quick Manual
4 pages
Pvi Usb RS232 - 485
PDF
No ratings yet
Pvi Usb RS232 - 485
2 pages
Serial Communication Between STM32F103C8 and Arduino UNO Using RS-485
PDF
No ratings yet
Serial Communication Between STM32F103C8 and Arduino UNO Using RS-485
1 page
Usb Rs485-232 Converter V - 1.1 en
PDF
No ratings yet
Usb Rs485-232 Converter V - 1.1 en
8 pages
CDVI Centaur Poster
PDF
No ratings yet
CDVI Centaur Poster
1 page
MA300 Instal Manual
PDF
No ratings yet
MA300 Instal Manual
2 pages
F18 Installation Guide: 3.lock Connection 1. Equipment Installation
PDF
No ratings yet
F18 Installation Guide: 3.lock Connection 1. Equipment Installation
4 pages
VPI-VSI Communications Manual
PDF
No ratings yet
VPI-VSI Communications Manual
39 pages
k11 000 01
PDF
No ratings yet
k11 000 01
14 pages
Manual Fx2n 485 BD
PDF
No ratings yet
Manual Fx2n 485 BD
8 pages
EX100 Users Manual - 513
PDF
No ratings yet
EX100 Users Manual - 513
207 pages
Ladder Listing Main PLC
PDF
No ratings yet
Ladder Listing Main PLC
66 pages
Hardware Description of Operation
PDF
No ratings yet
Hardware Description of Operation
50 pages
Hoist Circuits
PDF
No ratings yet
Hoist Circuits
2 pages
I-O Allocation Lists
PDF
No ratings yet
I-O Allocation Lists
14 pages
Freedomat User Manual
PDF
No ratings yet
Freedomat User Manual
12 pages