Home

Screen Creator 5 Connection with PLC and External Equipment

image

Contents

1. SH ELD SH ELD Q RS 422 RS 485 1 1 1 N OIP ZW 10CM ZW 10CM ZW 10CM 11 SH ELD SH ELD SH ELD 10 H 5 2 PLC Supplied by Hitachi G RS 485 M N OIP 11 11 5 1 Link unit 10 10 New Satellite JW Sertes for link unit Link units H 5 3 5 2 JW for communication port 5 2 JW for communication port You can communicate by connecting the OIP to the communication port of the control unit Select Sharp Direct connection to CPU from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Secti
2. OIP Link unit When connecting FA M3 be careful to select the number of SD or RD RS 232C FA M3 CPU port OIP CPU port RS 485 1 1 1 N FA500 FA M3 FA500 FA M3 FA500 FA M3 OIP Link unit Link unit Link unit 10 7 II 8 3 8 1 FA500 FA M3 CPU No fixed RS 485 M N FA500 FA M3 FA500 FA M3 FA500 FA M3 OIP Link unit Link unit Link unit 10 10 A 11 lt 11 ie II 8 4 PLC Supplied by Yokogawa 8 2 FA500 3 UT2000 CPU No variable 8 2 FA500 FA M3 UT2000 CPU No variable Select Yokogawa CPU No variable or Yokogawa CPU No variable High speed communication from the connection devices of the Project Property on Sc
3. OIP Peripheral unit 10 OH OU 111000 0 1000 fe as unap Let io nAn 3 11 3 5 MICREX F Series 3 5 MICREX F Series Select Fuji MICREX F from the connection devices registered on the Project Property on Screen Creator 5 For connectable PLC types and link units refer to 2 List of Connectable PLC Types of Chapter 11 1 Usable station numbers and devices Station numbers 00to 99 Decimal notation Q OIP ID number in M N connection 00 to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices This system is designed so that devices that are not supported at present can also be declared to cope with the system expansion in the future When any devices are to be used check the device range of your PLC carefully Bit devices Input output relay 0000 B999F Special relay F0000 F999F Word devices User file 32 bits W34 0000 W34 9999 3 12 PLC Supplied by Fuji 3 5 MICREX F Series 2 Setting communication functions and notes for use The number of devices from in which data can be read written at a time is as shown below Read write 128 ports bit devices 32 ports 16 bit devices 29 ports 32 bit devices Initial setting
4. OIP OIP Link unit Link unit 10 PAN 10 ES ES 1 m 1 55 SDA h SDA SB SIB RB RB 15 i Then select Yes for item 2200 If terminating resistors nag 13 y are to be connected Yes No II 2 3 2 2 SYSMAC a Series 2 2 SYSMAC a Series Select Omron SYSMAC a from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 11 1 Setting a link unit and notes for use Command mode Set the upper link mode The status is set in the monitor mode forcibly when a WRITE command is issued The mode is not returned to the former one automatically Thus the monitor mode is kept as is after writing is executed even once Writing is consecutively executed in bit devices in the same channel The number of devices from in which data can be read written at a time is as shown below Read 128 ports 28 ports Write 16 ports 28 ports bit devices word devices bit devices limited in the same channel word devices p 2 Usable station numbers and devices Station numbers PLC 00 to 31 Decimal notation OIP ID number in M N connection 00 to 255 Decimal notation Set the OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices
5. 12 2 PLC Supplied by Yamatake Hoeny well 13 1 KZ300 13 PLC Supplied by Keyence 13 1 KZ300 A Keyence PLC can be connected to this system using a personal computer link unit KZ L2 The PLC must be operated in the link mode in that case however Select Omron C from the connection devices of the Project Property on Screen Creator 5 Then enter Omron device names instead of the current device names 1 Setting a link unit and notes for use e Operating mode Set to the link mode Writing is not executed in bit devices one by one Data is always written word by word So 0 is written in all the bits in the same word except in the object one Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen In other cases use only one bit in the same channel f some bits in a channel are used over screens values written on another screen cannot be assured Do not use bits as a coil in the same channel on the PLC side It is recommended to use a different area on PLC and OIP respectively The total number of devices on which data read write operations can be carried out at a time is as follows Read write 128 ports bit devices 28 ports word devices 2 Usable station numbers and devices Station numbers 00to 15 Decimal notation
6. 20 DSUB25P 3 2 PLC Supplied by Fuji 31 FLEX PC NJ NS or NB Series RS 422 RS 485 for NJ RS4 1 1 1 N OIP Link unit Link unit Link unit 11 G RS 485 for NJ RS4 M N OIP OIP Link unit Link unit 10 10 A 1 S 1 lt a 3 3 32 FLEX PC NJ T NS T Series 3 2 FLEX PC NJ T NS T Series Select Fuji NJ T NS T from the connection devices of Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a link unit and notes for use munication of the command setting type The total number of devices which data read writ
7. OIP Link unit Link unit Link unit 10 a 10 11 N 11 N 3300 N 15 VV Then select Yes for item If terminating resistors Terminating 3300 are to be connected Resistor 13 Yes No II 1 3 1 2 AnA AnU AnUS for link unit 1 2 AnA AnU AnUS for link unit Select Mitsubishi AnA AnU LINK from the connection devices of the Project Property on Screen Creator 5 Mitsubishi AnA AnU LINK High speed communication provides high speed communication since it registers as may devices as possible in the PLC Select Mitsubishi AnA AnU LINK when the multi panel unit 21NU 1 is used or M N connection is performed For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 Setting a link unit and notes for use Command AnA and AnU dedicated commands are used Protocol type Set type 4 as the control protocol Sum check Fix it at ON Write Enable Disable during running Set Enable The number of devices from in which data can be read written at a time is as shown below Read write 128 ports bit devices 64 ports word devices 2 Usable station numbers and devices Station numbers PLC 00to 31 Decimal notation Q OIP ID number in M N connection 00to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID numb
8. 6 2 Supplied Toyota Koki 6 2 TOYOPUC PCI Series 6 2 TOYOPUC PC2 Series Select Toyota Koki PC2 or Toyota Koki PC2 High speed communication from the connection devices of the Project Property on Screen Creator 5 Toyota Koki PC2 High speed communication provides high speed communication since it registers as many devices as possible in the PLC Select Toyota Koki PC2 when the multi panel unit 21NU 1 is used or M N connection is performed For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a communication module and notes for use BE Module classification Set to the computer link The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 58 ports word devices Write 1 port bit devices 58 ports word devices 2 Usable station numbers and devices Station numbers 00 to 37 Octal notation Q OIP ID number in M N connection 00 to 09 16 to 25 32 to 41 48 to 57 64 to 73 80 to 89 96 to 105 112 to 119 Decimal notation Setthe OIP master ID number to 119 The OIP ID number must not be the same as the PLC ID number Devices Bit devices Internal relay Keep relay Special relay 6 3 6 2 PC2 Series Word devices Data register D00
9. 8 Sum check aa Set the PLC network address as follows L Loop No Fixed to FF H U Unit No Fixed to FF H M Module No Fixed to 00 H P Port No Fixed to 00 H Memory is occupied released automatically for writing from OIP II A 8 LINK UNIT SETTING 9 Setting ZW 10CM of Sharp Station No Setting Set the station No to any of the following in octal 01 to 07 11 to 17 21 to 27 91 to 37 SW2 is high order while SW1 is low order Setting bps 1 1 10200 1 8600 ii SW3 Setting E dali 4 type Parity Even Parity Odd Terminal Resistor Setting SW7 Setting Inserted None Set OIP as shown below Data length 7 bits Q Parity ON Stop bitlength 2 bits II A 9 10 Setting the Communication Module IOP of Yasukawa Port No Settings Mode No OG Pon orm OFF 2 ON 3 o ox Transmission Mode Set S to 56 to OFF Transmission Parameters The transmission parameters are set on the register access panel Use six digit unique numbers for setting of the communication parameters LL EL EL U D am Parameters Port numbers Y 1 Device address X 1 Port 1 Y 2 Baud rate X 2 Port 2 Y 3 Parity ON OFF X 3 Port 3 Y 4 Parity type X 4 Por
10. If a terminator is needed attach it here For the concrete R value refer to the connecting method of each company PLC Then select Yes for item Terminating Resistor Yes No 3 SETTING PLC MANUFACTURER NAME AND MODEL NUMBERS 3 SETTING PLC MANUFACTURER NAME AND MODEL NUMBERS Before connecting a PLC to the OIP users must activate the screen creating software Screen Creator 5 and then set the model and protocol of the PLC during creation of a screen screen to be used for the PLC is created without a model or protocol being set an error will occur during creation of the data to be downloaded The setting procedure is described below Select Property of project P on the Project P menu Screen S Library LD ToolCD Window W xil lola Close C Print project L Register R Download D New Text S Edit device M Bitmap pad G Backup E 4 Copy WW Delete E ES RESTE Q The Project Properties window appears Project dedinition Connect machinery Mut be npultad Project nama PLE kirk bara paalia ie Compass bilmap whan Project Cvm DE V RD ARDEBUGS DemoOf Global Dana PAD gt Project folder
11. 5 6 PLC Supplied by Hitachi 6 1 TOYOPUC PCI Series 6 PLC Supplied by Toyota Koki 6 4 TOYOPUC PC1 Series Select Toyota Koki PC1 from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a communication module and notes for use Communication procedure Use transmission format for the computer link The total number of devices on which data read write operations can be carried out at a time is as follows Read 8 ports bit devices 64 ports byte devices Write 1 port bit devices 8 ports input output port of byte devices 64 ports data register of byte devices 2 Usable station numbers and devices Station numbers 00 to 37 Octal notation Q Devices Bit devices Input output port 0000 3777 Byte devices Input output port 0000B 3770B Data register 004000 007777 H 6 1 6 1 TOYOPUC PC2 Series 3 connection RS 485 3 wire 1 1 1 N OIP Computer link Computer link Computer link 10 AN 11
12. s t j IO PP x 7 NRO EN JK S Data Format Setting Switches Item 1 Databitlengh 8 7 3 Even 6 Terminal character specfcation ON OFF Fix it to this setting Note 1 The station No is fixed to 01 Note 2 If you select Yokogawa CPU No variable or Yokogawa CPU No variable High speed communication from the connection devices of the Project Property on Screen Creator 5 for Sum check set No or if you select any of the units other than the above set Yes 12 LINK UNIT SETTING 13 Setting the Computer Communication Unit CCU of Matsushita 7 RESET Switch RS 232C Interface Transfer Rate Setting Switch w CTE tj DIP SW Setting Switch Item No 1 Transmission speed 2 bps 3 Daa bienn s m 7 Stop bit engs 7 8 Control signal Fix it to this setting H A 13 14 Setting the Link Unit T Series of Toshiba 1 Setting transmission parameters Set the transmission parameters needed to link the subject personal computer The same parameters must be set for both personal computer and OIP Setting transmission parameters
13. 20 L5UB25P Q RS 485 NJ RS1 NJ RS4 1 1 1 N OIP Link unit Link unit 11 PEE H 3 6 PLC Supplied by Fuji 10 Link unit 3 3 FLEX PC Computer link 3 3 FLEX PC Computer link Select Fuji computer link from the connection devices of Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a link unit and notes for use Communication procedure Use transmission format for computer links The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 64 ports word devices Write 1 port bit devices 64 ports words other than current values of Timer or Counter 1 port current values of Timer or Counter 2 Usable station numbers and devices Station numbers 00 to 37 Octal notation Q Devices Bit devices Internal relay Timer contact Counter contact II 3 7 3 3 FLEX PC Computer link Word devices Data
14. OIP Link unit Link unit Link unit 10 SDA SDA SDA SDB SOB SDB 11 RDA RDA RDA 13 3 13 2 KZ A500 El 13 2 KZ A500 The KZ A500 can be connected to this system using a personal computer link unit KZ L10 The PLC must be operated in the link mode Select Mitsubishi AnN AnS LINK Mitsubishi AnN AnS LINK High speed communication Mitsubishi AnN AnU LINK or Mitsubishi AnN AnU LINK High speed communication from the connection devices of the Project Property on Screen Creator 5 Mitsubishi AnN AnS LINK High speed communication or Mitsubishi AnN AnU LINK High speed communication can provide high speed communication since it registers as many devices as possible in the PLC Select Mitsubishi Electric AnN AnS LINK or Mitsubishi AnN AnU LINK High speed communication when the multi panel unit 21NU 1 is used 1 Setting a link unit and notes for use Operating mode Set it to Protocol Mode 4 Sum check Fix at Yes Write Enable Disable during running Set to Enable The number of devices from in which data can be read write at a time is as shown below Read write 128 ports bit devices 64 ports word devices 2 Usable station numbers and devices Station numbers 00 to 09 Decimal notation
15. 9 10 Setting the Communication Module IOP COMM of II A 10 11 Setting the Personal Computer Link Module F3LC01 1N of Yokogawa 11 12 Setting the Personal Computer Link Module LC02 1N of II A 12 13 Setting the Computer Communication Unit CCU of Matsushita II A 13 14 Setting the Link Unit T Series of Toshiba T II A 14 15 Setting the CPU Unit EX100 II A 15 CHAPTER III COMMUNICATION WITH A HOST COMPUTER Host Communication DN 111 2 2 PROTOCOL SPECIFICATIONS 11 3 2 1 How to 1 3 2 2 Packet Structures 11 3 2 39 Data Structure e suyru Lester 111 4 3 SETTING THE TYPE OF PROTOCOL wi visi rie tete ue 111 6 4 SETTING A COMMUNICATION FORMAT a 11 7 5 SETTING COMMUNICATION PARAMETERS sse 111 8 6 CABLE Sua uay api Ta aaa 111 9 CHAPTERIV WITH HOST COMPUTER Non Procedure Communication OW TEIN Biases tss em le tit putet Rate tee e ate eds
16. ELEME uS 9 2 PLC Supplied by Matsushita 10 1 700 Series 10 PLC Supplied by Matsushita 10 1 Panadac 700 Series Select Matsushita Panadac 700 from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a communication link and notes for use Communication procedure Use command service mode The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 58 ports lead 29 ports doubled lead Write 30 ports bit devices 58 ports lead 2 Usable station numbers and devices Station numbers 00to FF Hexadecimal notation Q Devices Bit devices relay device Device name Range Input outpur relay 1000 IN7FF 000 OT7FF Internal relay Status relay status relay Timer start relay Timer up relay Count up relay CPU input relay CPU output relay II 10 1 10 1 Panadac 700 Series Word devices relay device register device Device name Range Input outpur relay IN000W INO7FW OT000W OTO7FW Internal relay RL000W RLO7FW Hold relay KROOOW KROSFW Link relay LK000W LKO7FW Status relay STOOOW STO1FW MC status relay MS000W MSO3FW Timer start relay TSOOOW TSO1FW Timer up relay TUOOOW TUO1F
17. 11 10 11 FFU120B OIP FFU120B 20 25 FFU120B FFU120B FFU120B FFU120B II 3 15 3 5 MICREX F Series T link OIP FFK120A C10 T link 20 3 16 PLC Supplied by Fuji 41 H Series with station number assignment 4 PLC Supplied by Hitachi 4 1 H Series with station number assignment Select Hitachi H LINK or Hitachi H LINK Non occupation from the connection devices of the Project Property Screen Creator 5 For connectable PLC types and link units refe
18. without station number assignment 4 2 H Series without station number assignment Connection of the peripherals connector of a CPU module or a remote I O module allows 1 1 communication without using a COMM module Select Hitachi H Direct connection to CPU or Hitachi H Direct connection to CPU Non occupation from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 11 Select No station number assignment if a COMM module is to be used The Hitachi H Direct connection to CPU Non occupation does not occupy artar the memory used for read or write operation to PLC devices Therefore applicable H series models are limited For connectable PLC types refer to Section 2 List of Connectable PLC Types of Chapter II The Hitachi H Direct connection to CPU automatically executes the command of memory occupation or occupation reset in making a write operation 1 Setting a link unit and notes for use if Destination of connection Operation mode Check sum Communication parameters Baud rate Parity Stop bits Data length Network addresses L loop number U unit number M module number P port number Select the peripherals special communication procedure port of a CPU unit or remote I O module If the OIP is to be
19. 10 1 11 PLC Supplied by Toshiba 1111 1 oe ce nt tet RM T HH HT 11 3 12 PLC Supplied by Yamatake Hoenywell 42 1 MASBDO S a niaaa uhun uuu bad II 12 1 13 PLC Supplied by Keyence 13 1 koc reno II 13 1 182 ZARB OO d meta Lt Dl ot Dhu cU 13 4 14 PLC Supplied by Toyo 14 4 J PGP GEIL Series te eee tue ect tete eet te evel duet lull de Soe dia re eg a Dag ea Qaa da Ria du 11 14 1 15 PLC Supplied by A B CX MOUS PT CR II 15 1 16 Multipanel Unit ARMIS EPIS II 16 1 APPENDIX LINK UNIT SETTING 1 Setting the Computer Link Unit AJ71UC24 of Mitsubishi 1 2 Setting the Computer Link Unit AJ71C24 of Mitsubishi 2 3 Setting the C200H LK101 LK201 LK202 of Omron sse II 4 Setting C500 LK101 LK201 V1 Of Omron nennen II A 4 5 Setting C500 LK203 of Omron sessi enne ense a II A 5 6 Setting GV500 EIK201 Of OmtrOn ot ier tote cn tur tuae 6 7 Setting CQM1 CPU21 of nennen sn nnne 7 vli CONTENTS 8 Setting COMM Module COMM H COMM 2H of II 8 9 Setting ZW 10CM of Sharp U
20. Even OFF on ox When connecting OIP through RS 232C a converter ADP 6237B is needed H A 15 CHAPTER COMMUNICATION WITH A HOST COMPUTER Host Command Communication III 1 1 OUTLINE 1 OUTLINE This system can use any of the command communication method memory link communication method memory to memory communication method and non procedure communication method to communicate with the host computer The command communication method uses a dedicated protocol This method displays data according to the commands from the host computer and send switch information and other data to the host computer In this case you must create the software to send receive commands according to the dedicated protocol on the host computer side Host parts are prepared in standard parts libraries Refer to them when creating screens For the memory link system refer to Chapter V Communication with A Host Computer Memory Link Communication For the non procedure system refer to Chapter IV Communication with A Host Computer Non Procedure Communication OIP 2_ COMMUNICATION WITH A HOST COMPUTER Host Command Communication 2 PROTOCOL SPECIFICATIONS 2 PROTOCOL SPECIFICATIONS 2 1 How to Communicate Communication between the OIP and a host computer can be started from either as follows OIP OIP The following shows changes in status i Command ACK receiving Dur
21. Code 15 6 CABLE CONNECTION 6 CABLE CONNECTION RS 232C OIPI Q RS 422 RS 485 OIP OIP OIP Although an RS 232C RS 422 RS 485 converter can be used to execute 1 N communication always start this only from the master host Data will collide if 1 connection is started from the slave OIP at the same time 9 CHAPTER IV COMMUNICATION WITH HOST COMPUTER Non Procedure Communication 1 OUTLINE 1 The communication method is used to communicate with devices other than the devices e g each maker s PLC host computer etc for which OIP supports the necessary communication protocol Using this communication method communications can be made with modems IC card readers and other devices having their own protocols temperature regulators various types of controllers etc through RS 232C or RS 422 RS 485 For such the communications the communication protocol must be described with K Basic however 2 SYSTEM SETTING If the non procedure communication method is to be used set the object system from your OIP as shown below Select System Setup from the system mode menu and select the object channel any of RS 232C 1 RS 232C 2 and RS 422 RS 485 Q Set Not Use for communication type Set the communication speed parity stop bit length and data length parameters according to the object remote device Only the time out v
22. Connection to the MEMOBUS port RS 422 1 1 1 N OIP MEMOBUS MEMOBUS MEMOBUS n 000 2 000 2 000 2 000 000 9 ooo 9 oon 5mm 0 000 000 3 000 000 000 6 D D 6 000 4 6 nnn 10 u 00 0 00 HU ooo 000 H 7 2 PLC Supplied Yasukawa Connection to the CP 2171F port RS 485 1 1 1 N OIP 11 CP 2171F 10 11 12 13 10 1 2 3 CP 2171F 10 7 1 GL Series 084 CP 9200 CP 2171F 10 11 12 13 II 7 3 72 Inverter VS 616G5 7 2 Inverter VS 616G5 Select Yasukawa Inverter from the connection devices of the Project Property on Screen Creator 5 1 Setting a communication module and notes for use Protocol For Yasukawa Inverter use the mode of the MEMOBUS slave Data length becomes fixed at 8 bits When using register number enter it by converting into a hold register number in RTU mode as shown below Hold register nu
23. II 14 1 15 1 u GPCH Series Word devices Input register 100000 i000FF Annoucement register 200000 z000FF Auxilliary register b00000 b0017F Arithmetic register mi00000 mi017FF 3 OIP connection RS 232C OIP Link unit RS 485 1 1 OIP Link unit 10 11 12 13 14 2 PLC Supplied by Toyo 15 1 SLC500 15 1 SLC500 15 PLC Supplied Select SLC500 from the connection devices of the Project Property Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a link unit and notes for use Caton Communication protocol Set full duplex DF1 Check sum Fix it at No data can be written in bit devices except for B bit Writing in B bit is made word by word Thus 0 is written in all the bits except for the object one Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen In other cases use only one bit in the same channel If some bits in a channel are used over screens values written on another screen cannot be ass
24. 1 If the values of table 1 and 2 are 15 or less the value of table 0 will be transmitted to the host or if the value of either table 1 or 2 is 16 or more data within the specified range will be transmitted to the host Note For Type 1 do not write data into table 1 or 2 since the data of table 1 and 2 is reset to zero during the start of the automatically only the data of memory 0 can be transmitted to the host 3 DIFFERENCES BETWEEN TYPE AND TYPE II The OIP provides two types of memory link communication Type and Type II The differences between these two types are listed below See Section 4 METHODS OF COMMUNICATION ISSUING COMMANDS BETWEEN THE OIP AND THE HOST for a detailed description of commands Differences between Type and Type Il Data that can be sent Only one byte of data Data that has been written into table 0 from the OIP to the host which has been written value can be sent using a T command into table 0 can be sent Data that has been written into table 1 and in binary form to the 2 range can be sent using a T command host Response to a normal Response is not made An S command is sent to the host write command to the host Response to an illegal Response is not made An E command is sent to the host command to the host 2 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 3 4 METHODS OF COMMUNICATION Issuing commands between the
25. Sets stop bis SW21 check Be sure to Swed Notused Note Set the transfer rate as high as possible to speed up screen display II A 1 2 Setting the Computer Link Unit AJ71C24 of Mitsubishi J71C24 Refer to the following to set the computer link unit Channel setting Q Station number setting Communication format setting Station number Set the number within 00 to 31 The standard value is 00 For RS 232C set 4 format 4 protocol mode For RS 422 set 8 format 4 protocol mode Setting Setting Switch Status SW11 Sets the main RS 422 RS 232C channel SW13 Sets a transfer rate The SW14 customer SW15 must select these items SW16 Presence of parity bit Swe Sets stop bi SW21 Presence of sum ON check Sw22 RUN writing Yes No Boone SW23 Transmitter terminal Provided set ON for resistor these items SW24 Receiver terminal Provided resistor Note Set the transfer rate as high as possible to speed up screen display 2 LINK UNIT SETTING 3 Setting the C200H LK101 LK201 LK202 of Omron Set the host communication unit as shown below 0 for RS 232C Transfer Rate 19200bps 9600 2400 1200 Setting the switch
26. and the host 4 METHODS OF COMMUNICATION Issuing commands between the OIP and the host 4 1 List of Commands 1 Commands from the host The following lists commands to be used to perform read write operations on the memory tables Total data size Processing processed during communication communication session Data is continuously read 60 words From host to on a table basis OIP Data is continuously From host to written on a table basis oq words OIP Rando Data is read at random From readin in word Y according to the specified 60 words OIP 9 table number Data is write at random From hostto in word according to the specified 60 words OIP Random table number writing Data writing is set reset in in bit bits according to the 84 sets de i specified table number 2 Commands and responses from the OIP The following lists responses to the read and write commands from the host and data send commands entered using the OIP switches Total data size Command that can be Processing ASCII during one communication Symbol c de communication session Command specified From OIP to amount of host data response loa write Normal end of reception of From host to S 53H the command is notified to command al the host Data of the specified memory number is sent to the host to a read command Normal It is notified to the host that the host command is
27. COMMUNICATION Issuing commands between the and the host 2 Command control procedure for random writing in bits Type 11 V 14 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS OF COMMUNICATION Issuing commands between the and the host 4 7 Data Transmission from the OIP to the Host by Switch Entry etc For the OIP data writing into memory table 0 by switch entry etc can be triggered to transmit the contents of the memory table to the host How to carry out data transmission control procedures using this method is described below using several examples of operations Note For data transmission from the OIP to the host the types of executable transmission functions and data and the usable format of data significantly differ between Type and Type 1 See the description below for more specific differences 1 Data transmission control procedure Type 4 METHODS COMMUNICATION Issuing commands between the and the host 2 Data transmission control procedure Type 11 V 16 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS COMMUNICATION Issuing commands between the and the host 5 ERROR RESPONSE Only for II During memory link communication of Type 11 if the OIP receives an abnormal command from the host the OIP will send error response including an error code to the host 5 1 Format of the Error Response
28. ten om van s oaan f Sem Vate 5 receve o o seo J gt Em EA 2 21 22 23 24 D ee BER o ume 255560 om Notes 1 The hatched items in the above table can be selected according to the particular settings of the communication parameters of the OIP For all other items do not modify settings once data has been set 2 For initial setting as listed in the table above first create a file and then set initial data in this file using a loader Next an instruction for transferring the data to the link unit is to be incorporated into the ladder program For details refer to the link unit manual ECT BEY Bcc 0 21 B 23 Set the user file area as shown below in the user definition 16 bit data W30 0000 W30 9999 W31 0000 W31 9999 W32 0000 W32 9999 32 bit data W33 0000 W33 9999 W34 0000 W34 9999 In the Fuji Denki s specifications the MSB of word devices corresponds to bit 0 of bit devices and the LSB corresponds to bit F Example In address WB0002 a value is written in bit devices as shown below If 0001 hexadecimal is written in an address WB0002 1 is set in the B002F bit device as shown below
29. Q Devices Bit devices Output relay Internal relay Latch relay Annuciator Special relay Timer contact Timer coil Counter contact Counter coil II 13 4 PLC Supplied by Keyence 13 2 KZ A500 Word devices Timer current value 00000 02047 Counter current value CN00000 CN01023 Data register D000000 D006143 Link register W000000 W000FFF File register R000000 R008191 Special register D009000 D009255 3 OIP connection RS 232C Port 1 OIP Link unit RS 232C Port 2 OIP Link unit 13 5 13 2 KZ A500 RS 485 Port 2 OIP Link unit Link unit Link unit 10 SDA SDA SDA SDB SB SDB 11 RDA RA RDA REB RB RB II 13 6 PLC Supplied by Keyence 14 1 u GPCH Series 14 PLC Supplied by Toyo 14 1 Series Select Toy
30. T TT TTT ko up ge a de p xb ue AS oh de t uud If 0001 hexadecimal is written e n basically data is processed assuming one word as 16 bits Thus 32 bit data processings are limited as shown below When described in a screen part program Writing Data is written in the lower 16 bits of the 32 bits and 0 is written in the upper 16 bits II 3 13 3 5 MICREX F Series Q Reading of an event Of the 32 bit data the data in the lower 16 bits is read Cyclic reading All the 32 bits are read f 32 bit data is declared as consecutive cyclic data the GETID and GETOFFSET mands take offset values double the normal ones when they are executed Example Modify the GETID and GETOFFSET programs in the manual program description as shown below to make them correspond to 32 bit data CYCLI C 00 BD0000 30 END ONF BNT TY 100 DAT CFFSET GETCFFSET 00 BD0000 D 2 An error processi ng etc correspondi ng to the offset val ue Dg D 00 BD0000 CFFSET 2 END ENT When validating control operation parameters Switch selector switch Of 32 bit data data in only the lower 16 bits can be used If ON is set for synchronous operation do not change the data in the upper 16 bits on the PLC side Character graphic display For a 32 bit device set 1 for number of consecutive devices If another value is set the device will malfunct
31. 32 ports bit word devices other the above Set communication parameters according to the communication specifications of 2 Usable station numbers and devices Station numbers 01 to 32 Decimal notation Q Devices Bit devices Input relay X0000 X255F Output relay 0000 Y255F Internal relay R0000 R511F Link relay L0000 L255F Link register relay Z0000 Z511F Word devices Data register Timer register Counter register File register II 11 3 11 2 Series 3 OIP connection RS 232C AIP RS 485 1 1 1 N OIP 10 Fu 75 ADP 6237B 11 11 4 PLC Supplied by Toshiba N 10 15 20000 PLC PLC CTSA
32. Connection with PLC External Equipment Electronic System amp Component Dept Electronics Div Notes Use of This Manual Notes on Use of This Manual This manual explains how to communicate with a PLC and a host computer as well as how to connect peripheral devices to this system Please read this manual thoroughly to understand the functions and performance of this system and assure correct and safety operations This manual configuration is as shown below CHAPTERI GENERAL DESCRIPTION This section explains communication parameters interface specifications and other necessary items common to each communication type CHAPTER 11 CONNECTION TO A PLC This section explains PLC types connectable to this system and how to connect each maker s PLC to this system CHAPTER III COMMUNICATION WITH A HOST COMPUTER Command Communication This section explains how to communicate with a host computer using the command communication method CHAPTERIV COMMUNICATION WITH A HOST COMPUTER Non Procedure Communication This section explains how to communicate with a host computer using the no protocol communication method CHAPTER V COMMUNICATION WITH A HOST COMPUTER Memory Link Communication This section explains how to communicate with a host computer using the memory link communication method CHAPTER VI PERIPHERAL UNIT CONNECTION This section explains how to connect this system to peripheral devices includin
33. SYSMAC C C500 JC500F C500 LK201 V1 The C1000HF OMRON C C1000H F JC1000F C500 LK203 cannot be OMRON C High speed 2000 2000 connected to communication the LK201 V1 OMRON SYSMACa C200H JC200HS C200H LK201 V1 Only when C20H JC28H C200H LK202 V1 C200H I O is CA40H C60H expanded for C H C120 C120F JC200 C120 LK201 V1 C200H JC500 C500F C120 LK202 V1 C1000H C1000F C2000 J C2000H C20H JC60H C20P F JC28P F C20 LK201 V1 C200HS CPU unit link 12 CONNECTION TO A PLC 7 C200HX JC200HG CPU unit link C200HE SYSMAC 1 CPM1 CIFO1 CPM1 CIF11 SYSMAC CV CV500 JCV1000 CV2000 C VM1 CV500 LK201 CPU unit link I F NJ NJ RS2 NJ RS4 e NJ RS4 GPUbaeromea NJ JM CPU connector link Terminal strip 700 70 NC1L RS2 NC1L RS4 YU F80H JF120H FFU120B A memory F120S F140S F15 S F250 FFK100A C10 FFK120A C10 cassette FMC312A is needed COMM H JCOMM 2H Direct connection to CPU FLEX PC Fuji MICREX F HIDIC H New satellite JW TOYOPUC Remote I O module REM LOH OREM LH COMM H COMM 2H Direct connection to CPU Remote I O module REM LOH OREM LH 20 28 Direct connection to CPU H 40 H 64 HL 40 HL 64 H 200 H 252C JW20 UW70 UW100 CPU unit link I F JW50 UW50H UW70 ZW 10CM JW100 JW20 JUJW20H W30H JW 21CM PC2 L2 TPU 5174 TPU 5138 TLU 2695 TLU 2769 PC2J THU 2755
34. 5 2 Error Codes The following lists error codes Error type Description of the error 0001 A command other than W R Y and B has been received error 0002 Format ESC is missing at the beginning of the data error Characters other than 0 to 9 or A to F have been received as the table number continuous data size or data The length of the table number is not 4 characters The length of the continuous data size is not 4 characters The length of the data to be written is not 4 characters The length of the Bit Position or Set Reset of the bit by bit random write command is not 4 characters A character other than 0 or 1 has been set at Set Reset of the bit by bit random write command The continuous data size that has been specified by the batch read command is in excess of 60 words The total amount of data to be written using the batch write command is in excess of 125 words The total amount of data to be read using the random read command is in excess of 60 words The total amount of data to be written using the word by word random write command is in excess of 125 words The total amount of data to be written using the bit by bit random write command is in excess of 84 sets Address The value of the table number is 2048 or higher error The value of starting table number continuous data size or starting table number amount of data to be written
35. Set only SYSMAC C Communication control protocol The 1 N protocol is adopted Set only SYSMAC When a bit device is selected data will be written a channel by channel basis not bit by bit The value 0 will therefore be set in all other bits of the same channel Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen In other cases use only one bit in the same channel If some bits in a channel are used over screens values written on another screen cannot be assured Do not use bits as a coil in the same channel on the PLC side lt is recommended to use a different area on PLC and OIP respectively The total number of devices on which data read write operations can be carried out at a time is as follows Read write 128 ports bit devices 28 ports word devices 2 Usable station numbers and devices Station numbers PLC 00to 31 Decimal notation Q OIP ID number in M N connection 00to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices I O relay internal relay 00000 25515 Link relay LR0000 LR6315 Hold relay 0000 HR9915 2 1 2 1 SYSMAC COMI CPM1 Word devices Data register DMO0000 DM9999 Timer current value TM000 511 Counter current value 3 OIP connection R
36. refer to Section 4 7 Data Transmission from the OIP to the Host by Switch Entry etc of Chapter V If memory link communication and a PLC are to be used together the display rate decreases compared with independent use of a PLC or of memory link communication The display rate and data processing rate of the OIP also decrease as the OIP to PLC or OIP to host traffic increases When operating a PLC and the host at the same time using the OIP be careful to ensure that communication efficiently occurs and that the traffic stays within its normal range For transmission of commands from the host the lowercase alphabetic characters a to z cannot be used to specify a command or a table number Uppercase characters to F R W Y K must be used 8 SETTING PROTOCOL 8 SETTING PROTOCOL As with PLCs before connecting the OIP to host computer the type of protocol must be set during creation of a screen using Screen Creator 5 screen for communicating with the host computer is created without the protocol type being set an error will occur during creation of the data to be downloaded The setting procedure is described below For further details refer to Section 3 Setting PLC Manufacture Name and Model Numbers of Chapter Il Select Project Properties on the Project menu Q Click on the Connection Equipment tag in the Properties widow of the project Click on the W mark of Host Compute
37. 1 Command from host computer to OIP Response from OIP to host computer Q If switch S1 has turned on Command from OIP to host computer Because they cannot be sent automatically the screen name and the switch ail name must be written in a program e Data that will sent to the block depends the specifications of the host communication part s to be used Response from host computer to OIP Note The codes the terminators etc use their respective defaults III 5 3 SETTING THE OF PROTOCOL 3 SETTING THE TYPE OF PROTOCOL To connect the OIP to a host computer the type of protocol must be set as with a PLC during creation of a screen on GCSGP3 screen for operating peripheral units is created without the protocol type being set an error will occur during creation of the data to be downloaded The setting procedure is described below further details refer to Section 3 Setting a PLC Manufacturer Names and Model Numbers of Chapter 111 Select Project Properties on the Project menu Click on the Connection Equipment tag in the Properties widow of the project Click on the W mark of Host Computer list is displayed Select Host Command Commu nication III G COMMUNICATION WITH A HOST COMPUTER Host Command Communication 4 SETTING A COMMUNICATION FORMAT 4 SETTING A COMMUNICATION FORMAT To use the special protocol the
38. 1 to the connector of the object CPU unit peripheral device Select the object CPU Mitsubishi A Direct connection to CPU from the connection devices of the Project Property screen of Screen Creator 5 For connectable CPU types refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Notes for use Use CH1 as the serial communication port CH2 and CH3 cannot be used The external input relay X can be used for reading but cannot be used for writing The number of devices from in which data can be read written at a time is as shown below Read 128 ports bit devices 122 ports word devices Write 1 port bit devices 122 ports word devices Communication parameters Set the communication parameters for OIP as shown below Those parameters are fixed in the CPU unit Communication rate 9600 bps Parity bit ODD Stop bit length 1 bit Data length 8 bits If the object PLC is connected to the CPU directly the responsibility of switches and displays may become slower than that when the link unit is used at a speed of 19200 bps 2 Usable station numbers and devices Q Station number 00 Set 00 for the station number although no station number is assigned on the protocol Q Devices If a file register is to be used the use range should be set on the PLC side External I O relays X Y can be declared for the maximum range of each type PLC Check the device range of your PLC when thos
39. 10CC 1 can be used to perform 1 1 communications by con necting the OIP to the programming panel connector of the basic unit of the converter Select Mistubishi FX or Mistubishi FX 2 PORT from the connection devices of the Project Property on Screen Creator 5 Select Mistubishi FX 2 PORT when a Mistubishi 2 port adapter FX 2PIF is used In the case of using Mistubishi FX 2 PORT the ROMs of the OIP 300 series must be of the following versions For connectable CPU types refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Notes for use Use 1 as the OIP serial communication port CH2 cannot be used The number of devices from in which data can be read written at a time is as shown below The number of devices from in which data can be read written at a time is as shown below Read 128 ports bit devices 122 ports word devices Write 1 port bit devices 122 ports word devices Communication parameters Set the communication parameters for OIP as shown below Those parameters are fixed in the CPU unit Communication rate 9600 bps Parity bit EVEN Stop bit length 1 bit Data length 7 bits 2 Usable station numbers and devices Station number 00 Set 00 for the station number although no station number is assigned on the protocol Q Devices This system does not support double word counters CN200 to CN255 When using double word counters arran
40. AnN for link unit 1 PLC Supplied by Mitsubishi 1 1 AnN AnS for link unit Select Mitsubishi AnN AnS LINK from the connection devices of the Project Property on Screen Creator 5 Mitsubishi AnN AnS LINK High speed communication provides high speed communication since it registers as may devices as possible in the PLC Select Mitsubishi AnN AnS LINK when the multi panel unit 21NU 1 is used or M N connection is performed For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a link unit and notes for use Protocol type Set type 4 as the control protocol Sum check Fix it at ON Write Enable Disable during running Set Enable The number of devices from in which data can be read written at a time is as shown below Read write 128 ports bit devices 64 ports word devices Cirio 2 Usable station numbers and devices Station numbers PLC 00to 31 Decimal notation Q OIP ID number in M N connection 00 to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices Latch relay Step relay Timer contact Timer coil Counter contact Counter coil II 1 1 1 1 AnN AnS for link unit Word devices Timer current value TN000 TN255 Counter current value CNO000 CN255 D
41. IV 2 252 SYSTEMISETLTINGO aus C etin IV 2 3 HOW TO DESCRIBE A PROTOCOL WITH sse IV 3 3 1 Notes on Describing with K Basic u uu uu IV 3 3 2 Programing Examples IV 4 4 ERROR PROGESSINGS np tio uad te ette io aetas I V 6 CHAPTER V COMMUNICATION WITH A HOST COMPUTER Memory Link Communication Zt p V 2 27 MEMORY TABLES niei NEHMEN e ee V 2 3 DIFFERENCES BETWEEN TYPE AND 2 V 2 4 METHODS OF COMMUNICATION Issuing commands between the OIP and the host 4 1 BIStOTGCOMMANGS cr ie aa Teen V 3 4 2 Memory Table Batch Reading in word enne 4 43 Memory Table Batch Writing in V 6 44 Memory Table Random Reading in V 8 45 Memory Table Random Writing in V 10 46 Memory Table Random Writing in bit u V 12 4 7 Data Transmission from the OIP to the Host by Switch Entry etc V 14 viii CONTENTS 5 ERROR RESPONSE Only for Type ll V 16 5 1 Format of the Error Response nnne nens V 16 bi2 Error Codes iei ete Fecit iba He eS a Hi e ceat eda bat V 16 6 SCREEN CREA TO N Lee eerie V 17 Yi RESTRIGTIONS a depen dct Me e Po Heg e Hc ect dee oo dede dea
42. Mode 1 will remain set once a write operation has been carried out The total number of devices on which data read write operations can be carried out at a time is as follows Read 1 port TIM CNT 128 ports bits other than the above 32 ports bytes words Write 1 port bits 32 ports bytes 2 Usable station numbers and devices Station numbers 01 to 37 Octal notation Q OIP ID number in M N connection 00to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices Input output relay general purpose relay 000000 015777 Timer contact T0000 TO777 Counter contact C0000 C0777 IL 5 1 5 1 New Satellite JW Series for link unit Byte devices Device name Range Input output relay general purpose relay 0000 1577 TIM CNT current data MD information b0000 61777 Register 09000 99777 Register for self diagnostic use E0000 E1777 File register 2000000 177777 System memory 0000 2177 Word devices TIM CNT current data MD information W0000 W0777 2409 Note For the JW Series auxiliary information is read out in addition to the current data The OIP however ignores the information 3 OIP connection RS 232C OIP Z 101HE ZW 10CM
43. This system is designed so that devices that are not supported at present can also be declared to cope with the system expansion in the future When any devices are to be used check the device range of your PLC carefully Bit devices Input output relay internal relay 00000 99915 Link relay LR0000 LR9915 Hold relay 0000 HR9915 Auxiliary memory relay AR0000 AR9915 H 2 4 PLC Supplied by OMRON 2 2 SYSMAC a Series Word devices Data register DMO0000 DM9999 Extended data memory 0000 9999 Timer current value TIM000 TIM999 Counter current value Input output relay internal relay 000 999 Hold relay HR00 HR99 Auxiliary memory relay AR00 AR99 How to specify bank in extended data memory To specify a bank use in selecting a device Example In case of Station no 00 Bank specification 2 Device name EM100 00 2 EM100 When the bank specification is not described current bank is automatically set 3 OIP connection These connections are made in the same way as that stated in subsection 2 1 SYSMAC C CQM1 CPM1 see pages 2 2 and II 2 3 II 2 5 2 3 SYSMAC CV Series 2 3 CV Series Select Omron C from the connection devices the Project Property on Screen Creator 5 For the connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Notes for use Command architecture Wh
44. communication control protocol 3 Set the transfer rate as high as possible to speed up screen display The screen display speed will be increased II A 5 6 Setting CV500 LK201 of Omron Set the host communication unit as shown below PPPPPPER 0 for RS 232C IH T to 31 for RS 422 Use the communication port 2 to set a communication system Set the 5V output switch to the lower position OFF The terminal resistor is provided when RS 422 is used Note Add a terminal resistor to the cable between the host communication unit and OIP DIP swithces Set o e S 1 Used to set Transmission speed 2400 bps communication conditions Stop bit length 1 bit Parity type Even Data length 7 bits F Transmission speed 9600 bps Stop bit length 1 bit Parity type Even Data length 7 bits W o 2 Used to change over CTS Keep CTS signal turned ON communication port 1 Not needed for RS 422 a Resena E 5 Used for loopback F communication tests Note Setthe transfer rate as high as possible to speed up screen display The screen display speed will be increased N F N N F F F 3 Usedto change over CTS O communication port 2 6 LINK UNIT SETTING 7 Setting CQM1 CPU21 of Omron This product incorporates a host communication port in its CPU modu
45. connected to a COMM module set the communication parameters of the OIP to those of the module Select transmission control procedure 1 of a data link level one way starting and station number assignment Set Yes If the OIP is to be connected to a CPU unit or a remote I O module set the communication parameters of the OIP as follows 4800 19200 bps select either using a PHL signal Even 1 7 bits fixed fixed fixed fixed The total number of devices on which data read write operations can be carried out at a time is as follows Read Write 4 4 PLC Supplied by Hitachi 128 ports 29 ports 128 ports 19 ports bit devices word devices bit devices word devices eS a P AR 4 2 H Series without station number assignment 2 Usable station numbers and devices Station numbers 00 although no station number is required for the protocol specify 00 here Q Devices Bit devices Word devices Timer counter current value DOM ES On c Unit No OH 9H Slot No OH AH Internal module bit No 00 95 Remote master sta No 1H 4H Remote slave sta No Slot No 0H 9H Internal module bit No 00 95 Unit No Slot No 0H 9H Internal module word No 0 7 Remote master sta No 1H 4H Remote slave sta No Slot No 0H 9H Internal module word No 0 7 III 4 5
46. new functions operationability and so forth Below will be introduced the updated functions 1 Version 2 10 Supporting middle size systems GC53 of GC5x Series Adding the uploading editing function To make this function effective attach all screen data and K Basic programs used in the project and download them to the panel Then download the uploaded entities from the panel and restore them Then you can edit the data and programs Note that the data with the project attached increase their size The following PLCs have been added Omron SYSMAC a Fuji Dennki FLEX PC NJ T NS T Fuji Dennki Computer link protocol Fuji Dennki Loader command protocol Toyota Koki PC1 Toyota Koki Matsushita Electric Industry Panadac 7000 e Standard components centered on the parts used for middle size systems GC53 in the GC5x Series have drastically been added CONTENTS CONTENTS CHAPTER GENERAL DESCRIPTION FEATURES nd ei et erede ee Ce dim 1 2 2 COMMUNICATION INTERFACE 1 3 2 1 RS 282Q vp e Tod e Ead de veda cac tuc qha teeth eae 1 3 2 2 HS 442 485 693 et ee Oe 1 5 3 BEFORE TRIAL OPERATION ua a 1 7 3 1 Setting Communication Type a 1 7 3 2 Setting Communication Parameters
47. or NB Series 3 1 3 2 FLEX PC NJ T NS T 2 24 24 0 0000 entere nnne 3 4 3 9 FEEX PG Computer link eiit e II 3 7 3 4 FLEX PC Loader 11 3 10 3 57 MIGREX E S6rI6S siesta eee kuqa mette 3 12 4 Supplied Hitachi 4 1 H Series with station number II 4 1 4 2 H Series without station number II 4 4 CONTENTS 5 PLC Supplied by Sharp 5 1 New Satellite JW Series for link II 5 1 5 2 JW for communication port II 5 4 6 PLC Supplied by Toyota 6 1 Sens 6 1 6 2 IOYOGOPUG POZ Series ni Ra ERR 6 3 6 3 TOYOPUG PCS tnde ene a gehe Codi erede go c C ee 6 5 7T PLC Supplied by Yasukawa 7 14 GL Series ear atado bod II 7 1 7 2 57696 II 7 4 8 PLC Supplied Yokogawa 81 FA500 FA M3 CPU No fixed II 8 1 8 2 500 FA M3 UT2000 CPU No variable II 8 5 9 PLC Supplied by Matsushita 9 1 HEPE SONGS eect u Divi II 9 1 10 PLC Supplied by Matsushita 10 1 Panadac 700 Series ie neta e tre egt teen delecti ed eee de ee
48. te not correct The contents of the memory table are sent to 60 words From OIP to the host by OIP switch host entry etc Error response host Data send command 1 Only for Type 11 V 4 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS OF COMMUNICATION Issuing commands between the OIP and the host 4 2 Memory Table Batch Reading in word How to carry out the control procedures for batch reading of the contents of the OIP memory tables from the host is described below using several examples of operations 1 Command control procedure for batch reading 4 METHODS OF COMMUNICATION Issuing commands between the and the host 2 Command control procedure for batch reading Type II V 6 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS OF COMMUNICATION Issuing commands between the and the host 4 3 Memory Table Batch Writing in word How to carry out the control procedures for batch writing of data into the OIP memory tables from the host is described below using several examples of operations 1 Command control procedure for batch writing Type 4 METHODS COMMUNICATION Issuing commands between the and the host 2 Command control procedure for batch writing Type I V 8 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS OF COMMUNICATION Issuing commands between the and th
49. this OIP connector are assigned as shown below VI 6 CONNECTION TO PERIPHERAL UNIT 4 BAR CODE READER 4 BAR CODE READER 4 1 Function Connection of a bar code reader to the OIP allows previously read data to be displayed on the numeric display units of the OIP 4 2 Select bar code reader from the connection devices of the Project Property on Screen Creator 5 1 Environmental specifications Operating temperature range 0 to 40 C Operating humidity range 10 to 9096 RH no condensation freezing Wet bulb temp below 30 Operating ambient illuminance 3000 luxes or less daylight color fluorescent lamp Storage temperature range 10 to 60 C abrupt changes in temp no condensation and no freezing Wet bulb temp below 30 Storage humidity range 5 to 95 RH abrupt changes in temp no condensation and no freezing Wet bulb temp below 30 2 Reading specifications Bar code system EAN 13 EAN 8 Note 1 UPC A UPC E 2 of 5 Interleaved 2 of 5 Standard NW 7 CODABAR CODE39 Reflection value White bar 0 45 or more of bar code Note 2 Black bar 0 25 or less PCS value Note 2 Reflection value of white bar Reflection value of black bar 0 45 Reflection value of white bar Bar code length 97 mm max including left right margins Bar code height 10 mm min Recommended value Note 3 Note 1 CODE39 Full ASCII is not supported Note 2 The
50. 00 D2FFF Link register R0000 RO7FF Register current data N0000 NO1FF Special register S0000 S03FF File register B0000 B1FFF 3 OIP connection RS 485 3 wire 1 1 1 N M N Communication Communication module module 10 10 A 11 11 Q RS 485 5 wire 1 1 1 M N Communication Communication Communication OIP module module module 10 gt 11 II 6 4 PLC Supplied by Toyota Koki 6 3 TOYOPUC Series m sws Os cc C wTsm azu 6 3 TOYOPUC PC3 Series Select Toyota Koki PC3 from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a computer link module and notes for use The total number of devices on which data read wr
51. 1 8 4 TROUBLESHOOTING eee eae ete aae 1 10 41 Errors and Error 1 10 4 2 Communication Error 4 L 1 11 tut eun La ORE ac 11 2 2 NOTESFORUDSE mca essent tasto 11 3 3 SETTING PLC MANUFACTURER NAME AND MODEL NUMBERS 11 5 4 SETTING DEVICE q nennen 11 7 5 SETTING COMMUNICATION 85 0 0 000000000 11 9 6 CONNECTION SEVERAL OIP UNITS M N 11 10 7 LIST OF CONNECTABLE PLC 6 00 0 0000 00 nennen 11 12 1 PLC Supplied by Mitsubishi Tet CANN ANS tti he beet e Ee Ces 1 1 1 2 AnA AnU AnUS for link 1 4 1 35 ctt Aia f eei CI 1 6 14 A Series Direct Connection to CPU T II 1 8 1 5 EXSSeries xe e Fe e 1 11 2 PLC Supplied by OMRON 241 SYSMAC CAMT pr sic t te orca retis 2 1 2 2 a Series e ci eda nce aeter red EE MM 2 4 2 3 SYSMAC CV Serleskuyuu suqun deh ie ead ui ea tiene ed 2 6 3 PLC Supplied by Fuji 3 1 FLEX PC NJ
52. 100 1200 0001 05 00101 21 10101 06 00110 22 10110 07 00111 23 10111 08 01000 24 11000 09 01001 25 11001 10 01010 26 11010 11 01011 27 11011 12 01100 28 11100 13 01101 29 11101 14 01110 30 11110 15 01111 31 11111 Notes 1 Validate of the command 1 2 and 3 levels 2 Set the 1 N protocol for the communication control protocol 3 Set OIP as shown below Parity type Even Date length 7 bits Stop bitlength 2 bits 4 LINK UNIT SETTING 5 Setting C500 LK203 of Set the host communication unit as shown below 5V Supply OFF port 422 RS 232C SWA RS 232 ms Internal Terminal El 2 resistor Provided CTS P OV oN RS 422 SW1 SW2 w E I 12345678 12345678 T Ec this switch to 1 monitor 11 Level1 2 3 0 1 N Protocol 0 System Station No Setting Switch Setting Transfer Rate Setting Switch Setting Station Station Switch Setting Transfer Rate No 12345 No 12345 1234 19200 bps 0010 9600 1010 4800 0110 2400 1110 1200 0001 08 Transfer Rate Setting Parity Transfer Code Seting 67 Even ASCII 7 bot 00 Odd Stop bit 2 01 Even JIS 8 bit 10 Odd Stop bit 1 11 Notes 1 Validate the command 1 2 and 3 levels 2 Set the 1 N protocol for the
53. 128 7ES4H 5i 9 19 7ESSH i8 m n 57 96 135 7E24H 25 59 o9 1 7F42H 23 4 36 1 12 GENERAL DESCRIPTION 4 TROUBLESHOOTING Ru s Y uu u u uu I 13 4 TROUBLESHOOTING Hitachi PLC H series NACK command Dummy Parity error Sum error Framing error Overrun error Protocol error ASCII error Receive buffer error Receive time over Response command 05H Response command 01H Undefined task code Undefined function selection code Address error Step word count error I O code error I O No error Data written over memory capacity Memory size over Response command ROM memory error Unmatch with parameter area Occupied by READ Occupied by WRITE Debugging from another station 4 stations occupied by READ Self station not occupy CPU Another station occupy CPU RAM memory error CPU running Operation error Program absent Task code combination error Program error I 14 GENERAL DESCRIPTION 4 TROUBLESHOOTING Toshiba PLC EX series Computer link error status PLC error status Command error Format error Check sum error End code error Text over Time out 1 END command absent PAIR command illegal Program error Memory full error Page circuit No illegal Mode unmatch PROM write error Opera
54. 2 UN can be set if b 11 UA can be set if b 10 In case of s 0 s is omissible In case of 1 area size LEN can be set In case of 2 position POS can be set Note 5 In case of 0 In case of s 0 In case of s 0 In case of s 0 In case of s 0 In case of s 0 In case of s 0 In case of s 0 EN can be set if b 15 EU can be set if b 14 DN can be set if b 13 can be set if b 12 Empty Bit can be set if 11 UL can be set if b 10 Out Bit bit shift can be set if 9 IN FD can be set if b 8 Match Bit sequencer comparison Enable Bit Completed Bit Up Counter Enable Bit Down Counter Timing Bit Completed Bit Overflow Bit Underflow Bit Latest Value high speed counter Enable Bit Enable Bit unload Completed Bit Error Bit Bit II 15 3 15 1 SLC500 3 connection RS 232C CPU 5 03 04 or interface module 15 4 PLC Supplied by 16 1 2221NU 1 16 Multipanel Unit 16 1 21NU 1 The use of the mutipanel unit 21NU 1 allo
55. 42 without station number assignment 3 OIP connection RS 232C CPU unit rate selection 4800 bps 19200 bps 13 14 Connect the CPU unit to an RS 232C CH1 port of the OIP m f as shown in in 4 1 the RS or CS signal line is not to be used then some specific models such as the H 200 of the CPU unit may not correctly operate H 4 6 PLC Supplied by Hitachi 5 1 New Satellite JW Series for link unit 5 PLC Supplied by Sharp 5 1 New Satellite JW Series for link unit Select Sharp Link from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter Il If the 1 is connected to communication port of JW20 JW70CU JW100CU refer to 5 2 JW for communication port 1 Setting a link unit and notes for use Communication function Select the command mode of the computer link function Parameters are fixed as follows Data length 7 Parity Yes Stop bits 2 The system memory TIM CNT current value MD information W can be read but not written When a write command is issued Write Mode 1 will be forcibly set Since the original mode will not be subsequently reset Write
56. 5 converter can be used to execute 1 N connection always start this only from the master host Data will collide if 1 N connection is started from the slave OIP at the same time 21 CHAPTER VI CONNECTION TO PERIPHERAL UNIT 1 SETTING MODEL 1 SETTING MODEL To connect the OIP to a peripheral unit the model of the peripheral unit must be set during creation of a screen on Screen Creator 5 screen for operating the peripheral unit is created without a model being set an error will occur during creation of the data to be downloaded The setting procedure is described below For further details rRefer to Section 3 Setting PLC Manufacturer Name and Model Numbers of Chapter 11 Open the sub window for setting the unit to be connected Q Click Set that corresponds to the peripheral unit to be used and then select its model Set the parameters of the port used for communication on the system mode screen of the OIP For details of setting see 3 Before Trial Operation in Section 1 2 SETTING COMMUNICATION PARAMETERS Set the parameters for the port that you are going to use Connected Device Select the unit to be connected Q Other Parameters Set other parameters according to the particular communication specifications of the unit The defaults of parameters are listed below Baud Stop Data Retry Time Out Check Manufact Parit Xon off Bits Length Count sec e Su
57. 8 bits The total number of devices on which data read write operations can be carried out at a time is as follows In case of Yasukawa ASCII Read write 128 ports bit devices 32 ports word devices In case of Yasukawa Read write 128 ports bit devices 100 ports word devices 2 Usable station numbers devices Station numbers 001 to 247 Decimal notation Q Devices Bit devices Device name Range Input relay 10001 19999 Word devices Input register 30001 39999 Note Hold register 40001 49999 For the GL60S 31xxx is a constants register but this register cannot be used with the OIP The OIP accepts five digit numbers though recent PLC devices have six digit numbers When such a PLC device is used convert a six digit number into II 7 1 7 1 GL Series U84 CP 9200 five digits and input a five digit number using Screen Creator 5 401234 41234 3 OIP connection Connection to the MEMOBUS port RS 232C 1 1 MEMOBUS Q Connection to a modem 1 1 1 N OIP Modem
58. A CPU No FA M3 CPU port SP 25 SP 35 High speed communication YOKOGAWA CPU NO Temperature Body adjusting meter VARIABLE MEWNET FP1 C24C JC40C CPU unit link I F FP1 C56C C72C Yasukawa High speed communication YOKOGAWA CPU NO VARIABLE YOKOGAWA CPU NO VARIABLE High speed communication MATSUSHITA FP VARIABLE AFP5462 C C U CPU unit link I F Panadac 7000 GCP 001 PROSEC EX100 JEX2000 CPU unit link I F YOKOGAWA CPU NO C U e AFPS62GGU C U MATSUSHITA Panadac7000 EX 500 CPU unit link I F G x S gt o 2 o E gt o 5 gt o FA controller 510 0042 510 00s31 511 9937 511 9938 Yamatake KZ series wong MITSU AnA AnU LINK x MITSU AnA AnU LINK High speed communication MITSU AnN AnS LINK MITSU AnN AnS LINK High speed communication Digital controller 151 TOYO p GPCH x 161 500 SLC 500 1747 KE AB SLC500 x x SLC 5 03 CPU unit 232C port SLC 5 04 CPU unit 232C port I 14 CONNECTION TO A PLC 7 LIST OF CONNECTABLE PLC TYPES 1 If a device indicated as High speed communication is selected in Environmental Setting neither our Multi Panel or M N connecting is available 2 Available in four wired connection only s 3 Only devices with RS 485 ports are available II 15 1 1
59. CTSA 12 CTSB 12 CTSB RTSA RTSA 13 RISB 13 RISB 11 11 10 10 15 10 15 12 1 MAS500 12 PLC Supplied by Yamatake Hoenywell 12 1 MA500 Select Yamatake Honeywell MA500 from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Notes for use The total number of devices on which data read write operations can be carried out Ba at a time is as follows Read write 128 ports bit devices 20 ports word devices 2 Usable station numbers and devices Station numbers 01 to 63 Decimal notation Q Devices Bit devices Byte devices 0000H 4095H 0000L 4095L Word devices 0000W 4095W II 12 1 121 500 3 connection RS 232C OIP Link unit 20 Q RS 485 1 1 1 N OIP Link unit Link unit Link unit 10 7 A 11 A
60. Library Bum PLE 75 Library Folder Function USER FH gt Library folder File Des 05TR 0 Frejaei folder Project REG gt Progect foldar 5 3 Setting PLC Manufacturer Name and Model Numbers Then click on the Connect Machinery tag The Connection Equipment Setup window appears Project definition Connect machinery ebectrac Project detinition macianarny PLS Mitsubish electron INK2 sleziri Lan H Sn Lis aketi Dn a Rn MEL H parie electric lAIN ire connection 5a C aleciric S2 Danai connection C Mitsubishi elect ko NO lees fa C electricians Direct aoannaction in C electri Sri An OLIN akeri An DU gh rema bitsubishi electric nA aci connection C alacris lanlire connection ha C Mibnsbishi hiiteubishi electric ln LINK ICH gb pend m Lee to 2 adapter leotrio F Mot use bo 2 port adapt Orrell Crna Cl igh apeed cammoral xnl Omron E Y MAC alpha Omri SHARP LINED SHARP connection fo Fuji electric MES On completion of setting click on OK The Project Properties window is closed To cancel setting click on Cancel 6 CONNECTION TO A PLC 4 SETTING DEVICE NAMES 4 SETTING DEVICE NAMES Thi
61. MUNICATION WITH A HOST COMPUTER Host Command Communication CHAPTER V COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 1 1 OUTLINE 1 OUTLINE Memory link communication also called communication is one of the schemes of communication between a host computer in the remainder of this manual simply referred to as the host and the advanced intelligent panel OIP During memory link communication the OIP and the host exchange data through the storage areas of the OIP These storage areas are called memory tables In the memory link communication method of this system Type or Type protocols can be selected according to the application purpose of the host When those protocols are used OIP can communicate with a PLC concurrently Screens can be created easily using PLC standard parts 2 MEMORY TABLES The has 2 048 memory tables numbered 0 to 2 047 and each memory table is structured in two byte words The memory tables have a system area which is reserved for several specific purposes and a data area into which the received data from the host and the data to be sent to the host are to be written Memory tables System area Table number When data is written into this table data within the range from table 1 to table 2 will be transmitted to the host Starting table number for host transmission 1 Ending table number for host transmission 1
62. OIP Link unit When connecting FA M3 be careful to select the number of SD or RD RS 232C FA M3 CPU port OIP CPU port RS 485 1 1 1 N FA500 FA M3 FA500 FA M3 FA500 FA M3 OIP Link unit Link unit Link unit 10 OO 0000 m o 1 000 000 nm 000 FEE eir DDD V V 8 7 8 2 FA500 3 UT2000 CPU No variable amp RS 485 M N FA500 FA M3 FA500 FA M3 FA500 FA M3 OIP Link unit Link unit Link unit 10 10 00 AUR 000 lt n nun ibu 000 ooo 000 000 000 0 000 000 gt 000 D 000 0 000 000 000 00 BH Acres BEL es 00 RS 485 1 1 1 2 FA500 FA M3 OIP UT2000 Link unit 10 ES 0 000 00 anm n DDD ooo gn 0 000 00 g
63. Q Devices Bit devices Device name Range Omron s device name Input output relays 00000 17915 00000 17915 Internal auxilliary relay Special relay Temporary data memory TMO0000 TM3115 HR0000 HR3115 II 13 1 13 1 KZ300 Word devices Counter current value Fast counter CTHO CTH1 CNT254 CNT255 Input output relays 000 179 000 179 Internal auxilliary relay Special relay Temporary data memory TMOO TM31 1 value Trimmer value 0 HR32 Trimmer value 1 HR33 Note 1 Data can only be read written from in CTHO and CTH1 one by one Note 2 Only reading is possible from TM30 and 1 Note 3 Values in trimmers can only be read one by one RS 232C Port 1 OIP Link unit RS 232C Port 2 OIP Link unit 13 2 PLC Supplied by Keyence 13 1 KZ300 5 eT RS 485 Port 2
64. S 232C for DSUB 25P OIP Link unit DSLB 25 RS 232C for DSUB 9P OIP Communication port 9P 2 2 PLC Supplied by Mitsubishi 2 1 SYSMAC C COMI CPM1 RS 485 1 1 1 N OIP Link unit Link unit Link unit 10 nn E u Bn 0100 u 100 0 000 SDA SDA r O SDA uU 000 ss SB ss 11000 0 RA 0 ROA 0 000 0 ROB RB RB u uu H UU uU ul 15 000 Then select tx Yes for item If terminating resistors Terminating 2200 are to be connected Resistor 13 rj Yes No RS 485 M N
65. SEVERAL OIP UNITS M N COMMUNICATION E When a number other than 0 is set in Next Station No the OIP recognizes Caon that several OIP units are connected Unless the station number and the next station number are set properly the OIP units fail to function properly Be sure to set 0 in Next Station No when only one OIP is connected Do not assign a station number of a PLC to OIP unit The range of the station numbers which can be assigned to OIP units depends on the PLC units to be connected For details refer to the description about connection with PLC units When several OIP units are connected the master station always exists and the master OIP always starts communication The master station number differs with PLC units For details see Master Station Number in the description about connection with PLC units Setting example Connection with MITSUBISHI PLC units T Sei NeqstatonNo ma f o mo _ 01 55 02 03 The master station number is not 255 according to the types of PLC units Caron connected For the master station number applicable to PLC units connected refer to the description about connection with PLC units II 11 7 LIST OF CONNECTABLE PLC TYPES 7T LIST OF CONNECTABLE PLC TYPES This section will show the list of PLC types makers connectable to the GC5x series OIP the list of link units and the list of devices registered for Environmen
66. System memory 0000 2177 Word devices TIM CNT current data MD information W0000 W0777 2409 Note For the JW Series auxiliary information is read out in addition to the current data The OIP however ignores the information 3 OIP connection RS 232C OIP Communication port II 5 5 5 2 JW for communication port Q RS 422 RS 485 1 1 1 N OIP Communication port Communication port Communication port 11 10 10 136 11 12 m 12 _ 12 13 13 13 G RS 485 M N OIP Communication port Communication port Communication port 11 11 10 11 gt 11 12 A 12 13 13 10 10 ST z
67. THU 2927 PC2J16 PC2JC CPU unit link I F CPU unit link I F THU 5139 LIST OF CONNECTABLE PLC TYPES Screen Creator 5 Environment Setting OMRON SYSMACa OMRON C OMRON C High speed communication OMRON SYSMACa OMRON CV FUJI NJ NS FUJI Loader command x FUJI Computer link x FUJI MICREX F HITACHI H LINK HITACHI H Direct connection to CPU HITACHI H LINK Non occupancy HITACHI H Direct connection to CPU HITACH CPU HITACH CPU HITACHI H HITACH CPU HITACH CPU Non occupancy Direct connection to Direct connection to Non occupancy Direct connection to Direct connection to HITACH CPU Direct connection to SHARP Direct connection to CPU SHARP LINK PC1 TOYOTA PC2 TOYOTA PC2 High speed communication II 13 7 LIST OF CONNECTABLE PLC TYPES Screen Creator 5 A T Environment Setting mpu van O x Memocon SC JAMSC IF41A YASUKAWA ASCII JAMSC IF61 YASUKAWA RTU JAMSC IF612 GL60S IGL60H JAMSC IF60 IOP GL 70H JAMSC IF61 COMM JAMSC IF612 GL120 GL130 JAMSC 120NOM26100 JAMSC 120NOM 27100 U84 U84J JAMSC C8110 0845 JAMSC C8610 9200 VS 616G5 SI K2 Y Q YASUKAWA Inverter FACTORY ACE FA 500 LC01 0N YOKOGAWA CPU_No LC02 0N FA M3 F3LC01 1N F3LC11 1N F3LC11 2N YOKOGAW
68. W Count up relay CU000W CU007F CPU input relay CI000W CIO1FW CPU output relay CO000W COO1FW Timer set value TMO000 TM1FW Timer current value TC000 TC1FF Data memory 0000 7 Link register LM000 LM7FF Double word devices register device Counter value 000 CTO7F Position data 000 PM7FF 3 OIP connection RS 232C OIP GCP 001 communication port 10 2 PLC Supplied by Matsushita 11 1 EX Series 11 PLC Supplied by Toshiba 11 1 EX Series Select Toshiba EX from the connection devices of the Project Property on Screen Creator 5 For connectable PLC type and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 Setting communication function and notes for use Communication function Provide computer linking The total number of devices on which data read write operations can be carried out at a time is as follows Read 32 ports bit devices Write 32 ports word devices 1 Usable station numbers and devices Station numbers 00to 15 Decimal notation Q Devices Bit devices Device name Range Input relay X000 X31F Output relay 000 Y31F Auxiliary relay R000 R63F Link relay 2000 Z31F Word
69. alue in the detailed setting items is effective If no data is received even though the time out period has elapsed a time out error occurs If 0 0 is set the time out period becomes infinite and no time out error occurs No detailed setting is required If set it is ignored Itis also no need to set the communication format for the host computer If set it is ignored Note If this non procedure communication method is used the communication items to be set on the Project Property of Screen Creator 5 are all omissible 2 COMMUNICATION WITH A HOST COMPUTER Host Command Communication 3 HOW TO DESCRIBE PROTOCOL WITH K BASIC 3 HOW TO DESCRIBE PROTOCOL WITH K BASIC K Basic must be used to describe the communication protocol for the communications with remote devices using the non procedure communication method The following commands are used in that case OPENSIO Opens the serial port SETSIO Sets how to receive data WRITESIO Sends data WRITESIOB Sends data in binary mode FLUSH Clears the receive buffer CLOSESIO Ends the communication For details refer to Vol 6 Screen Creator 5 K Basic Program Description Non procedure communication parts are available as the standard parts For details refer to Non procedure communication parts in the section Special parts in the Screen Creator 5 Standard Parts Catalog 3 1 Notes on Describing with K Basic You should keep the following in mind when using th
70. area ws 9 a 9 9 EN N X0000 7 0000 YO7FF M0000 7 K0000 KO2FF V0000 VOOFF T0000 TO1FF C0000 CO1FF L0000 LO7FF P0000 PO1FF EX0000 EXO7FF 0000 EYO7FF 0000 EM1FFF 0000 EKOFFF 0000 EVOFFF 0000 ETO7FF 0000 ECO7FF EL0000 EL1FFF Edge relay extension area 0000 EPOFFF How to express the word of bit device Remove the least bit of a bit device and add a letter W Example To express M0100 MO10F as word represent it in M0010W How to express the byte of bit device Remove the least bit of a bit device and add a letter H or L Example To express M0100 M0107 as byte represent it in 00101 To express M0108 MO10F as byte represent it in M0010H Word devices Data register 00000 DOFFF R0000 RO7FF N0000 NO1FF 0000 B0000 BOFFF 00000 U7FFF H0000 HO7FF 0000 ENO7FF ES0000 ESO7FF Link register Register current value Special register Register current value extension area LX File register Data register extension area Register set value extension area How to express the bit of word device Add to the end of a word device and specify a bit Example To express the least bit of D0100 represent it in 00100 0 To express the high order bit of 00100 represent it in 00100 How to express the byte of word device Add a letter H or L to the end of wo
71. ata register 00000 01023 Special data register D9000 D9255 Link register W0000 W03FF File register R0000 R8191 3 OIP connection RS 232C in the case that DSUB 9P is used on the link unit side OIP Link unit DSLB 9P RS 232C in the case that DSUB 9P is used on the link unit side OIP Link unit 20 DSLB 25 1 2 PLC Supplied by Mitsubishi 1 1 AnN for link unit RS 422 RS 485 1 1 1 N OIP Link unit Link unit Link unit 10 A me c 11 15 VV 3300 Then select Yes for item If terminating resistors Danu 13 AN 3300 are to be connected Yes No RS 422 RS 485
72. be carried out at a time is as follows Read write 128 ports bit devices 64 ports word devices chanel 2 Usable station numbers and devices Station numbers 01 to 32 Decimal notation Q OIP ID number in M N connection 00 to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number H 8 1 8 1 FA500 FA M3 CPU No fixed Devices Bit devices Input relay X00101 X71664 Output relay 00101 Y71664 Internal relay Sharable relay Special relay Word devices Device name Data register Common register Link register Special register Index register Sharable register Channels Channel No 0000 9999 E This system is designed so that devices that are not supported at present can also declared to cope with the system expansion the future When devices are to be used check the device range of your PLC carefully 3 OIP connection RS 232C FA500 OIP Link unit 20 8 2 PLC Supplied by Yokogawa RS 232C FA M3 8 1 FA500 FA M3 CPU No fixed
73. ber 0 to 2 Note 4 b bit number 0 to 15 Note 5 Integer Nf e b f file number 7 omissible or 9 to 255 e element number 0 to 255 b bit number 0 to 15 15 2 PLC Supplied by Word devices 15 1 SLC500 Device name Range Status Sf e f file number e element number 0 to 255 Bit f file number e element number 010255 Timer 5 f file number S word number 0 to 2 Note 1 2 omissible 3 omissible or 9 to 255 4 omissible or 9 to 255 e element number 0 to 255 5 omissible or 9 to 255 e element number 010255 Counter f file number S word number 0 to 2 Note 1 6 omissible or 9 to 255 e element number 0 to 255 Control Hf e s f file number Note 1 S word number 0 to 2 Note 4 Integer Nf e f file number e element number 0 to 255 7 omissible or 9 to 255 In case of 0 s is omissible In case of 1 preset value PRE can be set In case of 2 current value Note 2 In case of s 0 In case of s 0 In case of s 0 Note 3 In case of s 0 In case of s 0 In case of s 0 In case of s 0 In case of 0 In case of s 0 Note 4 can be set EN can be set if b 2 15 TT can be set if b 14 Timing Bit DN can be set if 13 CU can be set if b 2 15 CD can be set if 14 DN can be set if b 13 OV can be set if b 1
74. ce when the object switch is pressed conf static rcvbuf 200 static sndbuf 200 end conf evnt input type i do if type 3 then opensi o 1 1 rcvbuf setsio 1 Sh0d wri tedata 50 sndbuf WRLOOO1 t edat a chr SH witesio 1 sndbuf else if type 7 then input port status nuns96 if status 0 then ngji left rcvbuf 2 if naji then strdsp STROOO endi f osesio 1 end if end event A locate ve buffer locate a send buffer Read the event type f an alternate swtchis pressed the port in the text node Set a terninator code for recei vi ng data Set wite data G eate a packet for wri ti ng one byte data i n address 1000 Send the created packet Wien data is ved Read the port nunber status and ved data count Wien no error is detected Read onl y the response status f witingis successful ay the ved data dose IV 5 4 ERROR PROCESSINGS 4 ERROR PROCESSINGS If an error is detected while data is received the INPUT command can be used in K Basic to read the error status If an error receive buffer full is detected it is regarded that the receiving of data has been completed with the data received so far In this case the error detected received data is sent to the part that has opened the serial port IV 6 COM
75. ctly Communication mode and protocol Communication parameters are set Correct the parameters so that they differently between this system and match between both systems remote system Communication rate parity bit stop bit length and data length The serial port communication type is not Correct the communication type set correctly Refer to Section 3 BEFORE TRIAL OPERATION in this chapter Communication port error Check the operation through a self diagnosis test No data can be The Write Disabled mode is set for Set the Write Enable mode for PLC written in any PLC PLC devices No data can be Access is made to an invalid device Change the device to an available written in a device specific PLC device No data can be Data is written in a write disabled device Change the device to a written in s input device etc write enabled device specific device I 10 GENERAL DESCRIPTION 4 TROUBLESHOOTING 4 2 Communication Error Codes If an error display is arranged on the object screen when the screen is created detected errors are displayed on the display In case of communication error the operation is continued The output and the parallel output not turned off at this time Serial 2000 Destination error communica The destination error code is tion error 2255 displayed in the lower 3 digits CH1 2300 Destination error A value of des
76. d ded aua V 17 8 SETTING PROTOCOL TYPE crt e eta te V 18 9 SETTING COMMUNICATION PARAMETERS sse V 18 10 SETTING A STATION NUMBER y uya uu u V 18 11 CABLE GONNEGTIGN tie tate e o V 19 Ts intenti E eie t o eee erue VI 2 2 SETTING COMMUNICATION PARAMETERS sse nnne VI 2 3 PRINTER uter so d d dedi Ru d dec eed ded dt ee da VI 3 ST FUNCION 3c Re e mci E E AEA eet ae a eg us VI 3 3 2 Gonnectible Models sim ui ua it dee dera den cu qe de da dada VI 3 23 9 Prntingia ete et a a VI 4 3 4 Setting Printer Parameters and Notes for VI 4 3 5 Systeim Setting uoce iet ga eu VI 5 9 6 Cable Connection ares al esi ha na te one hatu ati kusa asa si VI 6 4 oue nee a a eed eed ee VI 7 41 UMC Mis SEE VI 7 ddan aaa aaa au a dicun VI 7 4 3 Token s 8200 08500 0 1 8 bet PEN KEYV BQARD eau das VI 10 541 SRUNCUOM C s R PE TE PE E E E VI 10 5 2 SpecifiCatloriS oon ut laud VI 10 5 3 Dimensional Outline Diagrams L enne VI 11 GENERAL DESCRIPTION 1 FEATURES 1 FEATURES Some of the major features of the Adva
77. devices Device name Input register Output register Auxiliary relay register Link relay register Data register Timer register Counter register 11 1 11 1 EX Series 3 OIP connection RS 232C OIP x J m RS 485 1 1 1 N 10 11 11 2 PLC Supplied by Toshiba ADP 6237B PLC 000 gt gt TF TERM 000 00 PLC 00 0 000 000 0 000 ooo N 0 000 000 0 000 0 000 000 0 00 00 20 000 PLC PLC TERM TERM TERM 11 2 TSeries m rr Is o VsO WrraIAInar 11 2 T Series Select Toshiba T from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a communication function and operating notes the model to be connected The total number of devices on which data read write operations can be carried out at a time is as follows Read write 29 ports timer counter
78. e X ON OFF control parameter If not some data may be ignored The OIP causes a time out error if it does not receive XON within the time out period set in System Setup For the time out period see the following section Set CS RS control for a printer that disables XON XOFF control In this case only CH1 can be used If a laser printer is used to print out screen data printed items may become thin 4 CONNECTION TO PERIPHERAL UNIT 3 PRINTER mr sssS sn srs sss 3 5 System Setting If a printer is to be used set Output Port protocol Printer Mode and Time Out as follows in advance on the System Setup screen of OIP Select System Setup from the system mode menu Q Select Printer Setup from the system setting menu Select the output port Select the protocol according to the object printer Select Printer Mode Select Monochrome for a monochrome OIP Set the Time out This parameter disconnects the printer if no response is returned from the printer while the Parallel mode is set or an RS 232C port is used to control XON XOFF VI 5 3 PRINTER 3 6 Cable Connection RS 232C For serial printer The above connection example is for a general printer The connection may differ among printers Refer to the instruction manual of the printer before connecting it Centronics The printer cable should be a PC 8894 NEC or equivalent The pins of
79. e I O relays are to be used MELSEC AnN or AnS Bit devices 1 8 PLC Supplied by Mitsubishi 1 4 A Series Direct Connection to CPU External input relay X0000 X07FF External output relay Y0000 Y07FF Counter contact CS000 CS255 Counter Word devices MELSEC AnA Bit devices B000000 B000FFF Timer coil 00000 TC02047 Counter coil 00000 CC01023 Word devices II 1 9 1 4 Series Direct Connection to CPU Device name Timer current value TN00000 TN02047 Counter current value CN00000 CN01023 Data register D000000 D006143 Special data register D009000 D009255 Link register W000000 W000FFF File register R000000 R008191 MELSEC AnU Bit devices External input relay External output relay Internal relay Special internal relay Annnunciator Timer contact Timer oi Counter contact Counter coil Word devices Timer current value 00000 02047 Counter current value CN00000 CN01023 Data register D000000 D008191 Special data register D009000 D009255 Link register W000000 W001FFF File register R000000 R008191 3 OIP connection Model KDP10CC 1 PLC Connect using 1 RS 232C Cable CPU unit MAX 15 m Peripheral unit connector 1 10 PLC Supplied by Mitsubishi 1 5 FX Series 1 5 FX Series The dedicated Mistubishi cable
80. e host 4 4 Memory Table Random Reading in word How to carry out the control procedures for random reading of the contents of the OIP memory tables from the host is described below using several examples of operations 1 Command control procedure for random reading 4 METHODS COMMUNICATION Issuing commands between the and the host 2 Command control procedure for random reading Type 11 V 10 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS OF COMMUNICATION Issuing commands between the and the host 4 5 Memory Table Random Writing in word How to carry out the control procedures for random writing of data into the OIP memory tables from the host is described below using several examples of operations 1 Command control procedure for random writing in word 4 METHODS COMMUNICATION Issuing commands between the and the host 2 Command control procedure for random writing in word 11 V 12 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 4 METHODS OF COMMUNICATION Issuing commands between the and the host 4 6 Memory Table Random Writing in bit How to carry out the control procedures for random writing of data in bits into the OIP memory tables from the host is described below using several examples of operations 1 Command control procedure for random writing in bits Type 4 METHODS
81. e non procedure communication method Execute the OPENSIO and SETSIO commands for the part that receives data beforehand The OPENSIO command cannot be executed for plural parts in the same channel concurrently Use a character string variable in K Basic as a buffer to receive data This variable must be global or static type one Never fail to execute the FLUSH command after data is received Otherwise the receive buffer will become full The WRITESIO and WRITESIOB commands can be used to send data Those commands allow data to be sent out from any parts that case also if a channel is not opened with the OPENSIO command an error will occur WRITEIO or WRITESIOB does not output data immediately through the serial port It stores data in the buffer in the OIP once To clear the transmission buffer use IOCTL IV 3 3 How to Describe Protocol with K BASIC 3 2 Programing Examples This section will explain how to program for reading writing data from in a data recording device that uses the following communication protocol The examples will be useful for actual programming Communication Protocol Specifications Reading of data Command RD READ command 2 bytes XXXX Read start address 4 bytes YY Read byte count 2 bytes 0DH End code 1 byte Response data Read data read byte count x 2 bytes ODH End code 1 byte Writing of data Command WR WRITE command 2 byte
82. e operations can be carried out at a time is as follows Communication procedure Select non procedure asynchronous com Read 128 ports bit devices 64 ports word devices Write 1 port bit devices 64 ports word devices Initial settings som i fixed i 1 o fewo mmn 8 Sope I Notes 1 The above hatched setting and set values can be selected according to the commu nication parameters of the OIP Other settings and set values cannot be modified once they are set 2 For initial setting as listed in the table above first create a file and then set initial data in this file using a loader Next an instruction for transferring the data to the link unit is to be incorporated into the ladder program Eg 8 ER EJ RUB Value lt s mm S o CN oFFH 3 4 PLC Supplied by Fuji 32 FLEX PC NJ T NS T Series 2 Usable station numbers and devices Station numbers 00 to 99 Decimal notation Q Devices Bit devices Timer contact Counter contact Word devices Timer current value Counter current value Timer contact Counter contact II 3 5 32 FLEX PC NJ T NS T Series 3 OIP connection RS 232C NJ RS1 NJ RS2 OIP Link unit
83. e wired half duplex communication is executed in this connection Thus the PLC units should support three wired halfduplex communication It is confirmed that the PLC units of the manufacturers shown below supports three wired half duplex communication MITSUBISHI AnN AnS AnA and AnU Direct CPU connection is not supported OMRON SHARP FUJI YOKOGAWA TOYOTA Three wired half duplex communication is enabled through the RS 485 port on each model To validate the function of connecting several OIP units open the system mode menu on the OIPs then select the following in the shown order System Setup gt RS 485 Setup gt Detail Setup See section 3 2 Communication Parameter Setting ID Number ID Number om E Time ut 1 3 0 0 0 J J J X onoff OFF ext Set the station number of the OIP on which this setting is done in Station No and the station number of the destination OIP in Next Station No In other words set the station number of the second OIP in Next Station No of the first OIP the station number of the third OIP in Next Station No of the second OIP and so forth When M OIP units are connected set the station number of the first OIP in Next Station No of the Mth OIP II 10 CONNECTION TO A PLC 6 CONNECTION OF
84. en a bit device is selected data will be written on a channel by channel basis not bit by bit The value 0 will therefore be set in all other bits of the same channel Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen In other cases use only one bit in the same channel If some bits in a channel are used over screens values written on another screen cannot be assured Do not use bits as a coil in the same channel on the PLC side lt is recommended to use a different area on PLC and OIP respectively The total number of devices on which data read write operations can be carried out at a time is as follows Read write 128 ports bit devices 32 ports word devices 2 Usable station numbers and devices Station number 00to 31 Decimal notation Q OIP ID number in M N connection 00 to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices Device name Range CIO area 000000 255515 CPU bus link relay G00000 G25515 Special auxiliary relay 00000 A51115 Timer increment flag 0000 TF1023 Counter flag CF0000 CF1023 II 2 6 PLC Supplied by OMRON 2 3 SYSMAC CV Series Word devices Bank 0 Timer current value Counter current value C0000 C1023 CPU bus link relay G000 G255 Special auxiliar
85. er must not be the same as the PLC ID number Devices E This system is designed so that devices that are not supported at present can arian also be declared to cope with the system expansion in the future When any devices are to be used check each device range of your PLC carefully Bit devices Annunciator Timer contact Timer col Counter contact Counter coil 1 4 PLC Supplied by Mitsubishi 1 2 AnA AnU AnUS for link unit Word devices Timer current value 00000 TN99999 Counter current value 00000 CN99999 Data Special data register D000000 D999999 3 OIP connection These connections are made in the same way as that stated in subsection 1 1 AnN AnS for link unit see pages 1 2 and 1 3 II 1 5 1 3 1 3 QnA Select Mitsubishi AnN AnS LINK from the connection devices of the Project Property on Screen Creator 5 Mitsubishi AnN AnS LINK High speed communication provides high speed communication since it registers as may devices as possible in the PLC Select Mitsubishi AnN AnS LINK when the multi panel unit 21NU 1 is used For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a link unit and notes for use Protocol type Set type 4 as the control protocol Sum check Fix it at ON Write Enable Disable during runni
86. es on the rear panel C200H LK201 SW 3 ON t N protocol 4 OFF 5V not supplied Used to switch CTS 0V always ON Levels1 0 to 31 for RS 422 Notes 1 Validate only command levels 2 Set the 1 N protocol for the com munication control protocol 3 Set the transfer rate as high as possible to speed up screen display level 1 of the SW4 Command Level Stop bit length 2 Odd Stop bit length 1 C200H LK202 Set this switch to OFF 1 N protocl Terminal resistor provided when RS 422 is used II A 3 4 Setting C500 LK101 LK201 V1 of Omron Set the host communication unit as shown below I O port RS 422 ET RS 232C s e ox a zl SW2 Provided Terminal resistor RS 232 RS 422 SW1 SW2 Ll 12345678 12345678 Set this switch to 1 operation 11 Level1 2 3 0 1 N Protocol Station No Setting Transfer Rate Setting Station Switch Setting Station Switch Setting Transfer Rate Switch Setting No 12345 No 12345 1234 00 00000 16 10000 19200 bps 0010 01 00001 17 10001 9600 1010 02 00010 18 10010 4800 0110 03 00011 19 10011 2400 1110 04 00100 20 10
87. format of the communication packet must be set Set the format using the following procedure Select System Setup from the menu of the system mode When the system setting menu is displayed select Setting of Communication Format with Host This displays the following screen Touch the display frame of the item to be set This opens a ten key pad data keypad Input a numeric value The message ERROR Occurred will be displayed if the input value is out of the required range Re set a value in that case After the value has been set touch OK to terminate setting III 7 5 5 SETTING COMMUNICATION PARAMETERS Set the parameters for the communication port that you are going to use GENERAL DESCRIPTION for further details of setting Connected Device Select Host Communication parameters SETTING COMMUNICATION PARAMETERS Refer to Section Set other parameters according to the particular communication specifications of the host computer Defaults are as follows Baud Rate 9600 Parity EVEN Stop Bits 2 Data Length 8 Retry Count 1 Time Out 3 sec Xon Xoff No Check Sum Yes Host communication formats Start Code 2 8 COMMUNICATION WITH A HOST COMPUTER Host Command Communication Machine ID Number Not used End of Sendee Code 1 End of Data Code 4 End Code 3 Terminator Code 1 D Terminator Code 2 A Check Sum Yes No Yes Code 6
88. g a printer a bar code reader etc as well as peripheral device types connectable to this system It is also recommended to refer to the following manuals together with this one Vol 1 Vol 2 Vol 3 Vol 4 Vol 5 Vol 6 Vol 7 Screen Creator 5 Operation Manual Introduction This manual explains the basic operation methods of Screen Creator 5 Screen Creator 5 Operation Manual Details This manual explains individual operations of Screen Creator 5 in detail Screen Creator Operation Manual Connection with PLC and External Equipment This manual explains how to communicate with the PLC and host computer and connect with external equipment Standard Parts Catalog This catalog explains the functions of the standard parts our company provides Screen Creator Operation Manual Control Reference This reference manual explains the controls used to create parts Screen Creator 5 Operation Manual K Basic Program Description This manual explains how to describe programs to draw screens and the commands of Screen Creator 5 List of Error Codes This manual describes the restrictions for creating screens using Screen Creator 5 as well as how to process errors and error codes to appear when those errors occur Safety Precautions Safety Precautions Be sure to follow the safety precautions listed below in order to use this system safely cannot be held liable for any damages incurred if these safety precauti
89. g a Screen The following 4 modes can be used for printing screen data Select the object mode on the System Setup screen of OIP Color specification mode In this mode 2 monochrome gradations can be used to print out data Q Fixed 8 color mode color type OIP only In this mode fixed 8 colors can be used to print out data Color DIZA mode color type OIP only In this mode intermediate colors can be used to print out data The printing time is longer than that of other modes Printed colors differ a little from those displayed on screen Monochrome DIZA mode color type OIP only In this mode color displayed data is printed out in the monochrome contrast 3 4 Setting Printer Parameters and Notes for Use e When a printer is to be used set for the printer parameter on the Project Property of Screen Creator 5 This setting is possible regardless of the printer type and protocol When the Centronics interface is used the OIP only monitors the BUSY signal of the Centronics interface control signals Thus note that the does not detect paper out etc The OIP causes a time out error when the printer stays busy for the time out period set in System Setup For the time out period see the following section When a printer is connected to the RS 232C port of this system a serial I F is needed for the printer When a serial printer is to be used set ON for th
90. gement should be made so that PLC transfers data to the data register and this system references to the data register Bit devices Timer contact TS000 TS255 Counter contact CS000 CS255 II 1 11 1 5 FX Series Word devices Data register 0000 D999 Special data register D8000 D8999 Timer current value TN000 TN255 Counter current value 000 CN199 3 OIP connection Q For programming panel with D sub 25 pin connector Model KDP10CC 1 FX Connect using CH1 RS 232C babie Basic unit Connector for MAX 15 m programing panels For programming panel with round connector Model KDP10CC 1 Model FX 20P CADP FX lu Connect using CH1 RS 232C Cable Basic unit MAX 15 m Connector for programing panels 1 12 PLC Supplied by Mitsubishi 2 1 SYSMAC C COMI 1 2 PLC Supplied by OMRON 2 1 SYSMAC C CQM1 CPM1 Select Omron C or Omron C High speed communication from the connection devices of the Project Property on Screen Creator 5 Omron C High speed communication provides high speed communication since it registers as many devices as possible in the PLC Select Omron C when the multi panel unit 21NU 1 is used or M N connection is performed 1 Setting a communication mode and notes for use Communication mode Select the upper link mode Command level Set level 3 to the valid
91. gh speed communication provides high speed communication since it registers as many devices as possible in the PLC Select Yokogawa CPU No when the multi panel unit 21NU 1 is used or M N connection is performed If you want to specify CPU numbers freely refer to Section 8 2 FA500 FA M3 and UT 2000 CPU No variable For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 11 1 Setting a link unit and notes for use Sum check Fix at Yes Terminator code Fix at Yes Only the value of EC1 is sent in return as an error code careful therefore that an error code of EC2 is ignored Any CPU number from 01 to 04 can be selected Use one CPU number for one System Even if more than one CPU are present it is not possible to select 01 at one time and 02 at another time No data can be written in bit devices X Y L and word devices W 2 When a special module is to be used enter the following data Station No CPU unit No x 100 slot No channel No Example If station number 01 unit number 2 slot number 04 and channel number 1234 enter the data as shown below 01 204 1234 The total number of digits for unit number slot number must be 3 Neither default value nor zero suppression can be specified for these 3 digits The total number of devices on which data read write operations can
92. i Panel Unit 1 7 3 BEFORE TRIAL OPERATION Click OK to return to the screen If an attempt is made to set another communication port here it is regarded as an error In such a case set Not Used for another communication port and retry the setting We iot Used PLC Printer Select Connected Device Bar Code reader Rs2320 2 This selection has already been used Please re enter a new selection Ten key Memory Card Host ENT Multi Panel Unit 3 2 Setting Communication Parameters 1 Communication rate Set the communication speed according to the object remote device The default value is 9600 bps Touch the Communication rate frame on the screen 3 1 Each time you touch the frame the value will change cyclically as follows 9600 19200 38400 51200 2400 4800 9600 2 Parity check Set the parity bit length according to the object remote device The default value differs among devices to select Touch the Parity check frame on the screen 3 1 Each time you touch the frame the value will change cyclically as follows EVEN even number NONE no parity ODD odd number gt EVEN 3 Stop bit Set the stop bit length according to the object remote device The default value differs among devices to select Touch the Stop Bit frame on the screen 3 1 2 Each time you touch the f
93. ignals 2 COMMUNICATION INTERFACE SPECIFICATIONS 3 Connector pin assignment OIP side 8 1 OOOOOOOO QOoOooooQ 15 9 Usable connectors Plug HDAB 9P Hirose Denki or equivalent Shell HDA CTF Hirose Denki or equivalent 4 Internal circuits Since no terminator is provided solder a terminator to a pin of the connector needed 1 6 GENERAL DESCRIPTION 3 BEFORE TRIAL OPERATION 3 BEFORE TRIAL OPERATION 3 1 Setting Communication Type Set the object devices to the communication port as follows Select System Settup from the system mode menu RS2321 RS485 Display Setu Control Host Command Setup Se ii End Select the communication port from the system setting menu Connected Device ut Ise RS232C 1 Communi cation 9600 Rate 4 Connected Devices Parity heck EVEN Bie Wee jz Stop Bit 1 Rs2320 2 Not Used RS485 Not Used Data Length 8 Touch the communication Connected Device frame The device selection menu appears Then touch the device to connect This selection is ignored unless a communication protocol is down loaded together with screen data beforehand Hot Used B Printer B Sel ect Connected Device t Code reader Ten key Memory Card Host ENT Mult
94. ing NAK sending ACK waiting followed by status sending 1 followed by status 1 After After upcounting of After upcounting ACK or NAK After upcounting of command resend times of resend times sending resend times sending command sending command sending followed by command sending is followed by status is followed by 2 is followed by status 2 which will then be status 2 which will 2 which will then be replaced by status 1 then be replaced replaced by status if the number of by status 1 if the 1 if the number of resend times is number of resend resend times is exceeded times is exceeded exceeded 2 2 Packet Structures The structures of command and response packets are shown below Command from host computer to OIP Command from OIP to host computer 3 2 Protocol Specifications Response command Start code Starting code of the packet 1 byte 01 7FH Sta No Station number of the OIP x 2 bytes 00 FF Not ASCII code used Destination Screen name and part name 1 Terminator of the destination 1 byte 01 7FH 1 name Outgoing numeric character string data to the destination Terminator of the outgoing data 1 byte 01 7FH H to the destination H 0 04 End code Ending code of the outgoing data 03 Y D A 6 Sum check A value expressed 0 x 2 bytes e by a character code of 2 bytes by adding in 8 bits the section from the start code to the end c
95. ing a motor etc it is very dangerous to do so Type and notation of devices differ among makers Since OIP does not support all devices select an appropriate device carefully in reference to Station Numbers and Devices of each maker The maximum address range is set for each device in this system Thus the address range may become smaller for some PLC types Check the address range carefully in reference to the instruction manual of each PLC type If the set range is exceeded it is regarded as an error in communications It is recommended to set consecutive addresses for a device arranged on a screen to improve the efficiency of communications If addresses are dispersed the number of communications is increased result display responses may be delayed significantly Communications are made for individual screens Note that when a screen is changed to another the communication on the previous screen is stopped No terminal resistor is incorporated in this system If RS 422 485 is to be used for communica tions an external terminal resistor should be attached to this system external terminal resistor pin is provided on the connector II 3 2 NOTES FOR USE 10 11 15 R 13 R 4 CONNECTION TO A PLC
96. ion Bar kinked line graph Of 32 bit data data in only the lower 16 bits can be used for sampling processing Fora kinked line graph set 1 for number of lines If another value is set the device will malfunction If no sampling processing is to be executed no 32 bit device can be used for kinked line graphs For a bar graph set 1 for number of bars If another value is set the device will malfunction Plot belt circle graph No 32 bit device can be used Writing is not executed in bit devices one by one Data is always written word word So 0 is written all the bits the same word except the object one Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen In other cases use only one bit in the same channel If some bits a channel are used over screens values written on another Screen cannot be assured Do not use bits as a coil in the same channel on the PLC side It is recommended to use a different area on PLC and OIP respectively 3 14 PLC Supplied by Fuji 3 5 MICREX F Series 3 OIP connection RS 232C OIP RS 485 1 1 1 N OIP 10 E 11 G RS 485 M N OIP 10 n
97. is 2048 or higher The value of the table number specified by the write command is 2 or lower Note the total amount of data that can be processed using one communication command is exceeded the error response of error code 0002 will be sent and then another error V 17 5 ERROR RESPONSE Only for Type 11 response error code not fixed will follow V 18 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 6 CREATION 6 SCREEN CREATION To create screens use the PLC use standard parts that are attached to Screen Creator 5 In that case set the operation parameters for the standard parts as follows Setting Sta No Set 00 Device name Input MTBL memory table number setting Example To display table 100 decimal using a numeric display unit one of the standard parts for PLC use set data as follows Sta No 00 Numeric disp unit connected device name MTBL 100 or MTBL amp h64 Denotes hexadecimal 7 RESTRICTIONS Restrictions concerning memory link communication are listed below For the total amount of data that can be processed using one communication command refer to Section 4 1 List of Commands of Chapter V 1 For Type when data is already written into table 0 the data to be sent to the host will not have an appended station number even if the station number in the communication format data is made valid For further details
98. ite operations can be carried out at a time is as follows Read 128 ports bit devices 128 ports byte devices 64 ports word devices Write 1 port bit devices 128 ports byte devices 64 ports word devices To specify program number is used in selecting a device Example In case of Station Number 00 Program Number 2 Device Name M100 00 2 M100 In case of no specified program number data is created by setting the minimum value of program number automatically Example 00 M100 00 1 M100 In case of device that has only one program number data is created by setting that program number automatically Communication procedure Use PC3 extended communication format 2 Usable station numbers and devices Station numbers 00 to 37 Octal notation Q OIP ID number in M N connection 00 to 09 16 to 25 32 to 41 48 to 57 64 to 73 80 to 89 96 to 105 112 to 119 Decimal notation Set the OIP master ID number to 119 The OIP ID number must not be the same as the PLC ID number II 6 5 6 3 Series Devices Bit devices Device name Program no Range Input Output Internal relay Keep relay Special relay Timer Counter Link relay Edge relay Input extension area Output extension area Internal relay extension area Keep relay extension area Special relay extension area Timer extension area Counter extension area Link relay extension
99. k units refer to Section 2 List of Connectable Types of Chapter 11 1 Setting a link unit and notes for use Communication procedure Use loader command LI The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 64 ports word devices Write 1 port bit devices 64 ports word devices Communication parameter Set the communication parameters of the OIP as shown below They are fixed in the CPU unit Communication rate 19200 bps Parity ODD Stop bit 1 bit Data length 8 bits 2 Usable station numbers and devices Station numbers 00 The protocol is not numbered with station number but specified with 00 Q Devices Bit devices Internal relay Timer contact Counter contact 3 10 PLC Supplied by Fuji 34 FLEX PC Loader command Word devices Device name Range D0000 D2FFF Data register File register W0000 W7FFF Link register R0000 R3FFF Timer current value Counter current value CN0000 CN01FF Input relay X0000W X007FW Output relay Y0000W Y007FW M0000W M003FW Extended internal relay M0040W M01FFW K0000W K003FW Internal relay Keep relay Extended keep relay K0040W K01FFW Special relay V0000W V001FW Timer contact Counter contact CC0000W CC001FW 3 OIP connection RS 485 in the case that DSUB 15P is used as a peripheral unit
100. le The DIP switches and registers are used to set the link unit When the DIP SW5 is ON the internal setting is fixed When the DIP SW5 is OFF channel number set values are assumed DIP swithces 1 When DIP SW5 1 Be sure to set OIP as shown below 2 When DIP SW5 is OFF Set the port according to the channel number DM6645 or DM6646 set value Setting of DM6645 Bits 15 to 12 0 High order link 1 RS232 non procedure 2 Slave station in 1 to 1 link Bits 11 to 8 0 LROO to 63CH 1 LROO to 31CH 2 LROO to 15CH Bits 7 to 0 00 Standard setting 01 According to Data length 7 Parity Even DM6646 setting Stop bits 2 Transmission rate 9600bps Fixitto this setting Setting of DM6646 Transfer Format for 15 down to 8 bits Transfer Rate for 7 down to 0 bit DataLength Stop Bit Parity 7 00 1200bps 2400bps 4800bps 9600bps 19200bps 1 7 1 7 1 7 2 7 2 7 2 8 1 8 1 8 1 8 2 8 2 8 2 7 8 Setting COMM Module COMM H COMM 2H of Hitachi COMM 2H LED ON OFF Hitachi 5 232 0 422 7112 or 4 e Hitachi CPU RS 232C T2 Station No Setting met GCSGP3 n
101. m Pme even o on w 2 CONNECTION TO PERIPHERAL UNIT 3 PRINTER 3 PRINTER 3 1 Function Connection of a printer to the OIP allows you to perform these operations Hardcopying the display Printing out character strings During screen creation the OIP provides you with special parts for the printer such as a display printing switch For further detailed information refer to Standard Parts Catalog of Screen Creator 5 Operation Manual 3 2 Connectible Models 1 printer Printers that use the ESC P protocol or PR201 protocol can be connected to this system ESC P applies to the protocols compliant with the 483 group This product does not support printers exclusively designed for Windows operating system supplied by Microsoft Note 1 PR201 is the standard protocol of NEC Note 2 ESC P is the standard protocol of EPSON Note 3 Windows is the trademark of MICROSOFT 2 Industrial compact printer monochrome The following printers have been already verified for operations TP 64UPG Nada Denshi PR201 Characters and graphics Note In the no protocol mode K Basic is used to describe control codes The GC56LC cannot use graphic printing 3 Color printer MJ 700V2C or EPSON Centronics ESC P Characters and graphics equivalent RS 232C Note If an RS 232C port is used to connect a printer a serial I F card EPSON s option is needed VI 3 3 PRINTER 3 3 Printin
102. mber Register number conversion hexadecimal into decimal 40001 Example The hold register number for the register number 006B is 40108 The total number of devices on which data read write operations can be carried out at a time is as follows Read write 128 ports bit devices 16 ports word devices 2 Usable station numbers and devices Station numbers 001 to 247 Decimal notation Q Devices Bit devices Hold register 40001 49999 3 OIP connection Connection to the RS 232C or RS 485 conversion card SI K2 1 1 1 N RS 485 on OIP SI K2 SI K2 SI K2 10 p nu sxL 9 si SR AD 9 SB D SRJ A Ao yro J 4n SR RDA SR3 D YRA ROB 0 SR DIR D SR ooo 000 H 7 4 PLC Supplied Yasukawa 8 1 FA500 FA M3 CPU No fixed 8 PLC Supplied by Yokogawa 8 1 FA500 FA M3 CPU No fixed Depending on the particular CPU number select either Yokogawa 1 Yokogawa CPU No 1 High speed communication Yokogawa CPU No 2 Yokogawa CPU No 2 High speed communication Yokogawa CPU 3 Yokogawa CPU No 3 High speed communication Yokogawa CPU 4 Yokogawa CPU No 1 High speed communication from the connection devices of the Project Property on Screen Creator 5 Yokogawa CPU No Hi
103. modify the OIP Doing so can cause malfunctions and lead to other problems The OIP touch panel is made of glass Striking it with hard objects or pressing hard on it may break the glass Do not push down on the OIP touch panel with mechanical pencils screwdrivers or other sharp objects Doing so can damage the touch panel or cause malfunctions Notation Notation This user s manual uses the following symbol marks to assure safety operations of this system A A CAUTION Describes a peril that may cause operator s death or serious injury when in neglecting the WARNING item s Describes a peril that may cause bodily injury or serious device damage when in neglecting the CAUTION item s This mark indicates a caution on general operations Note Explanations and supplemental items This manual also uses the following terms OIP PLC Link unit Device OIP stands for Advanced Intelligent Panel A PLC indicates a programable controller It is also referred to as a sequence controller Link Unit is a generic name for communication units used to connect this OIP to a PLC Since the name of this unit differs among makers we call it that way generally Device is a generic name for I O relays internal relays timers counters registers etc used for PLC lii Notice Notice This manual has been caretully prepared and reviewed for completeness and correction However we assume no responsibilit
104. n DDD noo gn 00 Ooo 000 II 8 8 PLC Supplied by Yokogawa 9 1 FPSeries 9 PLC Supplied Matsushita 9 1 FP Series Select Matsushita FP from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a communication unit and notes for use The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 24 ports timer counter 27 ports word devices other than the above Communication unit Use computer linking R Write 8 ports bit devices 24 ports word devices 2 Usable station numbers and devices Station numbers 01 to 63 Decimal notation Q Devices Bit devices External input relay X0000 X127F External output relay 0000 Y127F Internal output relay 0000 R097F Special internal output relay R9000 R910F Link relay L0000 L127F Word devices Data register DTO0000 DT2047 Special data register DT9000 DT9255 File register FL00000 FL22524 Link register LD000 10255 Timer counter current data 000 EV255 H 9 1 9 1 Series 3 connection RS 232C CCU Olio J EET d E ES E LL
105. nal names CN1 CH1 1 FG Frame ground Output Sending data Receiving data Output Request to send signal Clear to send signal Signal ground p 5 V power for optional unit 2 COMMUNICATION INTERFACE SPECIFICATIONS e CN2 CH2 is an option only for GC56LC GC55EM DIE p e swawem EE Not used 5 V power for optional unit 3 Connector pin assignment OIP side Not used Pin name o e 2 s s m a ns 5 os 6 Notused M 9 Notused s 5 1 D0000 9 6 Usable connectors Plug HDEB 9P Hirose Denki or equivalent Shell HDE CTF Hirose Denki or equivalent I 4 GENERAL DESCRIPTION 2 COMMUNICATION INTERFACE SPECIFICATIONS 2 2 RS 442 485 CH3 1 Transmission specifications 1 531 M N M Nx 32 M OIP N PLC 5 Transmission rate 1200 2400 4800 9600 19200 or 38400 bps to be set using a communication parameter Data format Start bits 1 Stop bits 1 or 2 Data length 7 or 8 bits Parity Even odd or none to be set using a communication parameter 2 Connector pin numbers and signal names in case of 15 pin connector 3 se sowon e sm e mo wu neend ooo s moa ma SSCS w Fama SSS Lim C G 5V power for optional devices Note OE Note CTS and RST signals cannot be used for RS 485 because of extended s
106. name of the PLC in Station Device D in the Operation Parameters field On completion of setting click on the left mouse button at the OK position To cancel setting click the left mouse button at Cancel II 7 4 Setting Device The type of device and the method of expressing the device type vary from manufacturer to manufacturer Also not all devices are supported Before setting a device type therefore see Usable station numbers and devices Only the maximum address data ranges that can be set for each device are listed in this manual For some specific models therefore values that can be actually set may be smaller than those listed here Check against the operating manual of the model to be used If data overstepping the required range is set an error will occur during communication For improved communication efficiency KOYO recommends that addresses for devices of the same type should be set in succession on one screen Use of different device addresses correspondingly increases the frequency of communication and may thus extremely delay the response of display II 8 CONNECTION TO A PLC 5 SETTING COMMUNICATION PARAMETERS 5 SETTING COMMUNICATION PARAMETERS A PLC can be connected to all serial ports Select the system setting mode of the OIP and set the parameters for the ports that you want to use Refer to Section 3 BEFORE TRIAL OPERATION of Chapter for further details of pa
107. nced Intelligent Panel OIP are listed below RS 232C and RS 422 RS 485 connectors provided as standard The has independent RS 232C and RS 422 RS 485 communication interface cable connectors It can expand another channel of the RS 232C connector as an option Thus a host computer controllers and peripheral units such as a printer a bar code reader and a ten key pad as well as PLCs be connected together to the OIP and have flexibility to correspond to many different kinds of systems Q Easy connection to various external units The OIP takes a format in which the software of the communication driver for connecting PLCs and other external units is to be downloaded together with screen data Users therefore can readily connect the OIP to various external units such as PLCs and peripheral units of different manufac turers without having to modify the hardware of the OIP The OIP was also designed with enough flexibility for connection to new PLCs and to optional features 1 2 GENERAL DESCRIPTION 2 COMMUNICATION INTERFACE SPECIFICATIONS 2 COMMUNICATION INTERFACE SPECIFICATIONS 2 1 RS 232C 1 Transmission specifications 5 Transmission rate 1200 2400 4800 9600 19200 or 38400 bps to be set using a communication parameter Data format Start bits 1 Stop bits 1 or 2 Data length 7 or 8 bits Parity Even odd or none to be set using a communication parameter 2 Connector pin numbers and sig
108. nd error Register No size error I O reference error response error Transmission error Type unmatch Page full I 15 CHAPTER CONNECTION TO A PLC 1 OUTLINE 1 OUTLINE The OIP can be connected to a PLC to perform data read write operations directly on the devices of the PLC using a direct access method No ladder programs are therefore required for communication P L bata memory EL PL Internal relay The OIP communicates with the PLC screen by screen The OIP has two types of screens Local screens and global screens When the PLC device accesses a local screen it communicates with the OIP only when the screen is displayed When it accesses a global screen it communicates with the OIP whenever necessary regardless of the type of a displayed screen The maximum number of PLC devices that can be connected with a single screen of the GC5x Series is increased to 16000 while only 2048 PLC devices can be connected with a single screen of the GC Series Each 16000 devices can be connected with either a local screen or global screen II 2 CONNECTION TO A PLC 2 NOTES FOR USE 2 NOTES FOR USE Upon using this system keep the following in mind WARNING 1 Do not output data directly to any external output device of PLC Data is output to such an external device directly regardless of the interlock status of the ladder circuit Since such an external device is used for driv
109. ng Set Enable The number of devices from in which data can be read written at a time is as shown below Read write 128 ports bit devices 64 ports word devices 2 Usable station numbers and devices Station numbers 00to 31 Decimal notation Q Devices This system is designed so that devices that are not supported at present can caion also be declared to cope with the system expansion in the future When any devices are to be used check each device range of your PLC carefully Bit devices Timer contact Timer coil Integrated timer contact Integrated timer coil Counter contact Counter coil 1 6 PLC Supplied by Mitsubishi 1 3 Word devicess Device name Range Timer current value 00000 TN99999 Integrated timer current value SN00000 SN99999 Counter current value 00000 CN99999 Link register W000000 W099999 Special register SD00000 SD99999 Special link register SW00000 SW99999 File register 000000 R099999 22500000 ZR99999 3 connection These connections are made in the same way as that stated in subsection 1 1 AnN AnS for link unit see pages 1 2 and II 1 3 The connection of QnA cannot be made in M N conneciton II 1 7 1 4 Series Direct Connection to CPU 1 4 A Series Direct Connection to CPU Communications between OIP and PLC can be made at 1 1 by connecting the dedicated Mitsubishi cable 10CC
110. ng as listed in the table above first create a file and then set initial data in this file using a loader Next an instruction for transferring the data to the link unit is to be incorporated into the ladder program word by word So 0 is written in all the bits in the same word except in the object one Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen other cases use only one bit in the same channel If some bits in a channel are used over screens values written on another Screen cannot be assured Do not use bits as a coil in the same channel on the PLC side It is recommended to use a different area on PLC and OIP respectively Writing is not executed in bit devices one by one Data is always written 3 1 31 FLEX PC NJ NS or NB Series 2 Usable station numbers and devices Station numbers 00 to 99 Decimal notation Q OIP ID number in M N connection 00to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices Input relay X0000 Word devices Data register 00000 D06FF File register R0000 R3DFF Timer current value TN0000 TNO1FF Counter current value CN0000 CN00FF 3 OIP connection RS 232C for NJ RS2 Link unit
111. o u GPCH from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 Setting a link unit and notes for use Network No Fix at 00 Input relay 1 annoucement relay Z input register i annoucement register z can be read out but cannot be written in Writing is not executed in bit devices one by one Data is always written word by word So 0 is written in all the bits in the same word except in the object one Values written in bit devices are assured if cyclic communication is made using lamp displays and lamp switches arranged on the same screen In other cases use only one bit in the same channel f some bits in a channel are used over screens values written on another screen cannot be assured Do not use bits as a coil in the same channel on the PLC side It is recommended to use a different area on PLC and OIP respectively The total number of devices on which data read write operations can be carried out at a time is as follows Read write 128 ports bit devices 58 ports word devices RA Transmission mode Set to Command mode 2 Usable station numbers and devices Station numbers 00to 31 Decimal notation Q Devices Bit devices Link relay G0000 G1FFFF Input relay 100000 IOOFFF Annoucement relay Z0000 ZOOFFF Auxilliary relay B0000 017
112. ode and then taking the 2 s complement for the last 8 bits of the result Terminator 1 Terminator 1 of the packet 1 01 7FH 0 Terminator 2 Terminator 2 of the packet 1 byte 01 7FH 0 NAK Abnormal response 1 byte 0 7FH Notes 1 The symbol o under Required or not in the table above indicates that a value must be set in the item Likewise the symbol indicates that depending on the particular setting of the communication format it can be selected whether the item is to be used 2 f the start code or terminator 2 are not to be used set OOH in both items H S H H 2 3 Data Structures The structures of outgoing data must obey the following rules Different data must be set in all data items such as the codes and the terminators Also the data block within the packet must not contain the same value as that of any of those data items The station number the destination name the data and the SUM must be sent in the ASCII text format Numeric data must therefore be converted into the ASCII text format beforehand Multiple pieces of information can be included in one set of data to be sent In that case data items must be separated by the comma aa The comma itself cannot be sent as data 4 COMMUNICATION WITH A HOST COMPUTER Host Command Communication 2 PROTOCOL SPECIFICATIONS Example f 12345 is to be displayed on display unit
113. of the personal computer Set the transmission parameters for linking a personal computer The transmission parameters can be set from the T series programmer T PDS Connect the personal computer to the programmer directly and start up both When the programmer is started up select menus in the following order S System control information main menu title screen System information sub menu system control information The system parameter setting screen appears Press F2 Page Change to open the 2nd page and set each necessary item of 7 Computer Linking EN Setting Range Initial Value Station No 1 to 32 1200 2400 4800 9600 19200bps 9600 Parity None Even Odd Od Data bit length 7 8Bit Stop bit length 1 bit 2 bits Press F1 SET to set each necessary item After this press F3 REGISTER to register the set values II A 14 LINK UNIT SETTING 15 Setting the CPU Unit EX100 of Toshiba Communication Select Switch Used to select the communication target Set this switch to LINK to communication with Station No Switch Set the station No within 1 to 15 Baud Rate Setting 129 2400 800 s606 Baud Rate Setting
114. on 2 List of Connectable PLC Types of Chapter 1 1 Setting a communication function and notes for use The communication format must be set in a system memory of the PLC Refer to the Sharp PLC operating manual for further details of setting 0236 Transmission rate and stop bits 0237 Station number 001 8 037 8 System memoryt TIM CNT current value and MD information w can be read but they cannot be written The total number of devices on which data read write operations can be carried out at a time is as follows Read 1 port TIM CNT 128 ports bits other than the above 32 ports bytes words Write 1 port bits 32 ports bytes 2 Usable station numbers and devices Station numbers 01 to 37 Octal notation Q OIP ID number in M N connection 00to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number Devices Bit devices Input output relay general purpose relay 000000 015777 Timer contact T0000 TO777 Counter contact C0000 C0777 5 4 PLC Supplied by Hitachi 5 2 JW for communication port Byte devices Device name Range Input output relay general purpose relay 0000 1577 TIM CNT current data MD information b0000 61777 Register 09000 99777 Register for self diagnostic use E0000 E1777 File register 2000000 177777
115. ons are not followed Design your system so that there are sufficient countermeasures for personnel accidents and major equipment accidents The system should have an external protection and safety circuit so that even if the OIP should malfunction or even if there is a defect in the program the safety of the system is assured Do not use the touch panel of the OIP to make switches that are related to safety or people or major damages emergency safety switches etc Be sure the system is designed so that it can cope with any errors or malfunctions in the touch panel Be sure that class 3 grounding is used for the protective grounding terminal There is a possibility of electrical shock if the unit is not grounded If the OIP should malfunction immediately turn off the power and leave it alone If there is direct output to external output devices such as PLCs direct output will be driven regardless of the ladder circuit interlock Output may be used to drive motors and the like so avoid using direct output because it is dangerous Use and store the OIP in the environment described in the specifications regarding vibrations shock temperature humidity etc Do not use the OIP where it is subjected to inflammable or explosive gases or steam Before turning on the power be sure that the power voltage rating of the OIP and the voltage rating of power supply match Using a mistaken power supply can damage the unit Do not disassemble or
116. r list is displayed Select Host Command Commu nication 9 SETTING COMMUNICATION PARAMETERS Call up the system mode screen of the OIP and set the parameters for the desired communication port s Communication type Select a host computer Q Other parameters Set other parameters according to the particular communication parameters of the selected host computer Defaults are as follows Baud rate 9600 Parity Even Stop bits 2 Data length 8 Retry count 1 Timeout time 3 sec Xon Xoff None Sum check Yes 10 SETTING A STATION NUMBER Use the following procedure to set a station number Select System Setup from the menu of the system mode When the system setting menu is displayed select Setting of Communication Format with Host This displays the following screen Touch the display frame of Machine ID Number to change the setting from Not Use over to Use After the setting has been changed touch OK Set a station number in the required communication parameter For further information refer to Section 3 BEFORE TRIAL OPERATION of Chapter I Note For memory link communication the settings of all communication parameters except for machine ID number the station number are ignored V 20 COMMUNICATION WITH A HOST COMPUTER Memory Link Communication 11 CABLE CONNECTION 11 CABLE CONNECTION RS 232C Q RS 422 RS 485 Although RS 232C RS 422 RS 48
117. r to Section 2 List of Connectable PLC Types of Chapter 1 Refer to the section 4 2 H Series without station number assignment or section 4 4 H Series without station number assignment if the peripherals connector of a CPU module or a remote I O module is to be used for connection Also refer to the same section if station No is set for the COMM module The Hitachi H Direct connection to CPU Non occupation does not occupy the memory used for read or write operation to PLC devices Therefore applicable H series models are limited For connectable PLC types refer to Section 2 List of Connectable PLC Types of Chapter II The Hitachi H Direct connection to CPU automatically executes the command of memory occupation or occupation reset in making a write operation a link unit and notes for use Operation mode Select transmission control procedure 1 of a data link level one way starting and station number assignment Sum check Always select Yes Network addresses L loop number FF H fixed U unit number FF H fixed M module number 00 H fixed P port number 00 H fixed The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 29 ports word devices Write 128 ports bit devices 19 ports word devices II 4 1 4 1 H Series with station number assignment 2 Usable sta
118. rame the value will change cyclically as follows 1221 4 Data length Set the data length according to the object remote device The default value differs among devices to select Touch the Data Length frame on the screen 3 1 2 Each time you touch the frame the value will change cyclically as follows 8578 I 8 GENERAL DESCRIPTION 3 BEFORE TRIAL OPERATION 5 Setting details Select Setting details on the screen 3 1 The following screen appears In case of RS 232C xu Time Out ID Number 1 3 0 0 I I X on off OFF ENT In case of RS 485 Retry ID Number ID Number Count Time Out 1 3 0 0 0 X on off OFF em Retry count Set the number of times to retry when a communication error occurs Input range 0 to 7 The default value differs among devices to select Q Time out Set the limit time to generate a time out error when no response is returned Input range 1 0 to 25 5sec The default value differs among remote devices If this value is set to 0 0 the Screen Creator waits until communication response is returned Machine ID number Set the OIP ID number used when the command communication method or the memory link communication method memory to memory communication method is used for comm
119. rameter setting 1 Communication type Select PLC as the communication type If PLC has already been set as the communication type for other ports this parameter cannot be set for the ports that you are going to use that case set PLC for the intended ports only after changing the current setting to either NOT USED or other units 2 Other parameters Set other communication parameters according to the communication specifications of the model to be connected As listed below the defaults of parameters other than the communication type parameter are preset for each model To modify these presettings refer to the operating manual of the link unit of the companies PLC to be used Transmis io Retry Timeout Xon Sum Manufacturer name sion rate count time sec off check Mitsubishi FX Series 9600 merus Mitsubishi 9600 Direct connection to CPU itsubishi Matsushita EvEN Eis Toshiba EXSeies sme even 2 r 3 ves wm o 3 Ae ye ememewrewd eme feve T e Dre s esu een 3 s 3 ve G G E 1 9 6 CONNECTION OF SEVERAL OIP UNITS M N COMMUNICATION 6 CONNECTION OF SEVERAL OIP UNITS M N COMMUNICATION It is possible to connect several OIP units GC5x Series with one or more PLC units through CH3 RS 422 RS 485 port without using a multi panel unit as shown below Thre
120. reen Creator 5 Several CPU numbers can be selected from one system Yokogawa Variable CPU No High speed communication provides high speed communication since it registers as many devices as possible in the PLC Select Yokogawa CPU No variable when the multi panel unit 21NU 1 is used or M N connection is performed For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 1 Setting a link unit and notes for use iuo Sum check Fix it at No Terminal character Fix it at Yes Only the EC1 value is returned as an error code Note that the EC2 error code is ignored No data can be written in bit devices X Y L and M and word devices W and Z Enter the CPU number as shown below when device names are entered station number CPU number device name With this multiple CPU numbers can be specified for one system Example If station number 01 CPU number 02 and device name 01000 enter the data as shown below 01 02 01000 If no CPU number is entered 01 is assumed as the CPU number automatically to create data Example 01 D1000 01 01 01000 When special module is to be used enter the following data Station No CPU unit No x 100 slot No channel No Example If station number 01 CPU number 03 unit number 2 slot number 04 and channel number 1234 enter the data as shown below 01 03 204 1234 The to
121. register File register Link register Timer current value 0000 Counter current value 0000 CNO1FF Special register 20000 Z037F Internal relay Extended internal relay Extended keep relay Timer contact TC0000W TCOO3FW Counter contact CC0000W CC001FW 3 OIP connection RS 485 4 wire 1 1 1 N OIP Computer link Computer link Computer link 10 00 gt DD 400 u OU m 00 3 8 Supplied by Fuji 3 3 FLEX PC Computer link RS 485 2 wire 1 1 1 N Computer link Computer link Computer link 10 A5 111000 0 0 000 00 oo 00 3 9 3 4 FLEX PC Loader command 3 4 FLEX PC Loader command Select Fuji loader command from the connection devices of Project Property on Screen Creator 5 For connectable PLC types and lin
122. required PCS value and reflecion value must be obtained using a light source having a spectral length of 633 nm and a spectral range from 610 to 650 nm Note 3 An insufficient bar code height may deteriorate operational convenience and cause a delay in reading 4 BAR CODE READER m sss rx 3 Setting bar code reader parameters All parameters of the bar code reader are preset to their respective defaults prior to shipping Use the parameters as they are If the parameters become damaged re set them as follows Form of interface Set Async asynchronous Other parameters Set all to defaults 4 The operation of the bar code reader When the bar code reader is connected to an RS 232C port of the OIP power will turn on and at the same time red light will be emitted from the reading window of the bar code reader The light will be emitted continuously or discontinuously A code can be read by setting the bar code reader directly to it under that state When code reading succeeds and the code is transferred to the OIP the reading sound will occur and at the same time a green reading indicator LED will light 4 3 Token s TCD8200 TCD8500 Select bar code readers bar code readers STX to EX made by token etc from the connection devices of the Project Property on the Screen Creator 5 1 Reading specifications Bar code system All bar codes that can be read with TCD8200 TCD8500 Q Operation mode N mode Fix the DIP SW SW1 10 a
123. rk device Example To express the least byte of 00100 represent it in 001001 To express the high order byte of 00100 represent it in 00100 Special register extension area II 6 6 PLC Supplied by Toyota Koki 3 connection RS 485 3 wire 1 1 1 N M N OIP OIP 10 PC3J 6 3 TOYOPUC PC3 Series PC3J 10 11 11 6 7 7 1 GL Series 084 CP 9200 7 PLC Supplied Yasukawa 7 1 GL Series U84 CP 9200 Select Yasukawa ASCII or Yasukawa RTU from the connection devices of the Project Property on Screen Creator 5 The number of devices which can be read or written at a time differs with Yasukawa ASCII and Yasukawa RTU For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 Setting a communication module and notes for use Protocol For Yasukawa use the ASCII mode of the MEMOBUS slave Data length therefore becomes fixed at 7 bits For Yasukawa RTU use the RTU mode of the MEMOBUS slave Data length becomes fixed at
124. s XXXX Write start address 4 bytes YY Write byte count 2 bytes data Write data write byte count x 2 bytes ODH End code 1 byte Response OK Response code 2 bytes ODH End code 1 byte 4 COMMUNICATION WITH A HOST COMPUTER Host Command Communication Programming for Reading Data 3 HOW TO DESCRIBE A PROTOCOL WITH K BASIC The following K Basic programming example is for reading data from the object data recording device and displaying it when a switch is pressed conf static rcvbuf 200 static sndbuf 200 end conf evnt input type i do if type 3 then opensi o 1 1 rcvbuf setsio 1 Sh0d sndbuf RDLOOO1 chr 69 witesio 1 sndbuf else if type 7 then input port status nuns96 if status 0 then ngji left rcvbuf 2 strdsp STROOO noji endi f cl osesi o 1 end if end evnt Programming for Writing Data Alocate a recei ve buffer Alocate a send buffer Read the event type f an alternate swtch is pressed Open the port in the text node Set a terninator code for recei vi ng data Qreate a packet for readi ng one byte f romaddress 1000 Send the created packet If data is recei ved Read the port nunber status and ved data count f no error is detected Read onl y the data in address 1000 D splay the read data dose The following K Basic programming example is to write data in a data recording devi
125. s section describes the procedures of setting the PLC devices corresponding to the indicators and switches Open the Part Properties window of the part for which a device is to be set Method 1 Move the mouse cursor to the part for which a device is to be set and double click the left mouse button Note that the Edit Contents window opens if the left mouse button is N double clicked at the upper left corner of the part where the mouse cursor changes into the P mark Method 2 Move the mouse cursor to the part for which a device is to be set and click the left mouse button select part and select Edit E on the main menu then select Change Attributes Properties E Method 3 Move the mouse cursor to the part for which a device is to be set and click the left mouse button select part and select Tool T on the main menu select Browse List then select the part for which a device is to be set When the part is selected click the right mouse button to open the pop up menu then select Change Attributes Properties E Parte stata Hormel Frasen Hakipna C Ciomas Bachgraurd Tutura H Operation pararna ter Numbar wedcahor Stators Device g Eredinn Little OB Data typa BIN BOD Fiber Et Input the machine ID number and device
126. t w 00 2 LI LI apo gt Li u SD oni gt Spr 11 000 11 RQ Li uu ros D L 2200 e a 15 000 7 L L 2 1000 ue Haman ce dbi Mel ntm Resistor Yes No II 2 8 PLC Supplied by OMRON 31 FLEX PC NJ NS or NB Series 3 PLC Supplied by Fuji 3 1 FLEX PC NJ NS or NB Series Select Fuji NJ NS from the connection devices of the Project Property on Screen Creator 5 For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 11 1 Setting a link unit and notes for use Communication procedure Select non procedure asynchronous aa munication of the command setting type The total number of devices which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 32 ports word devices Write 1 port bit devices 32 ports word devices Initial settings x Sans vas tem Vate 14 Code conversion Yes 1 18 Start code 1 2 DCE DTE mode DCE mode CTS RTS control Continually on v E fat TEX o Calculation expression Addition o 11 Transmission conditions Notes 1 The above hatched setting and set values can be selected according to the commu nication parameters of the OIP Other settings and set values cannot be modified once they are set 2 For initial setti
127. t 0 Synchronous mode Synchronous mode 1 Synchronous mode 2 Synchronous mode 3 and Synchronous mode 4 Terminator STX to ETX Fix the DIP SW SW2 6 at 0 2 Notes on use f the synchronous mode is other than mode 4 the synchronous input ON OFF must be controlled with a parallel output etc from PLC or OIP Bar code data received from other devices is fetched in OIP as is except for the terminator code VI 8 CONNECTION TO PERIPHERAL UNIT 4 BAR CODE READER Ee 3 Connection TCD8500 RS 232C TCD8200 RS 232C VI 9 5 TEN KEY BOARD 5 TEN KEY BOARD 5 1 Function An optional ten key board 2 can be connected to perform external switch input operations 5 2 Specifications 1 Environmental specifications 10 000 000 times Keys 28 types Numeric keys 0 to 9 BS CR cursor keys gt 7 4 f 1 to f 10 Operating temperature range 0 to 50 C Operating humidity range 35 to 85 RH 2 Key codes When a switch is pressed the corresponding 8 bit JIS code is sent out Symbol Code HEX Symbol Code HEX Symbol Code HEX 80 gt 2 s a s s 7 s m 3 3 3 3 3 3 3 3 3 3 VI 10 CONNECTION TO PERIPHERAL UNIT 5 TEN KEY BOARD 5 3 Dimensional Outline Diagrams Unit mm VI 11
128. t 4 Y 5 Number of stop bits Y 6 Communication mode Y 7 Set value of port delay timer 1 Device address Select a device address between 1 and 247 2 Baud rate Select 1200 2400 4800 9600 or 19200 3 Parity ON OFF PARITY ON or NO PARITY 4 Parity type EVEN or ODD 5 Number of stop bits 1 STOP 1 stop bit or 2 STOP 2 stop bits 6 Communication mode Select RTU or ASCII which should be identical to that of Yasukawa RTU or Yasukawa ASCII in Environmental Setting of GCSGP3 The data bit length is 7 when ASCII is selected The data bit length is 7 when RTU is selected II A 10 LINK UNIT SETTING 11 Setting the Personal Computer Link Module F3LC01 1N of Yokogawa 24 LJ eee Z Wu Wi EM Fixitto this setting Note 1 The station No is fixed to 01 Note 2 If you select Yokogawa CPU No variable or Yokogawa CPU No variable High speed communication from the connection devices of the Project Property on Screen Creator 5 for Sum check set No or if you select any of the units other than the above set Yes II A 11 12 Setting the Personal Computer Link Module LC02 1N of Yokogawa Transfer Rate Setting Switch T SW4 Transfer Rate x Fixed to 0 Setting bps D Fixed to 1 2400 4800
129. t Setting of Screen Creator 5 selected for the devices registered on the Project Property The PLC selection differs among connection forms and protocols even for the same type PLC The MPU column shows whether or not the PLC can be connected to a multi panel unit 22221 0 1 of our company The M N column shows whether or not the PLC can be connected to two or more OIPs which do not employ our multipanel eom e D o pepe MELSEC AnN A1N JA2N JASN AJ71C24 S6 MITSU AnN AnS LINK MELSEC AnS AJ71C24 S8 MITSU AnN AnS LINK AJ71UC24 High speed communication i The Screen Creator 5 Project Property column shows PLC types to be Mitsubishi A0J2 C21481 A1SJ71UC24 A1N Direct connection to CPU MITSU A1N Direct connection to A2N Direct connection to CPU MITSU A2N Direct connection to CPU A0J2H Direct connection to CPU MITSU AnS Direct connection to Direct connecion fo CPU MELSEC AnU A1SJ71UC24 MITSU AnA AnU LINK 2 AJ71C24 S6 S8 High speed communication A2US Direct connection to CPU MITSU AnU Direct connection to 2 Direct connection to CPU MITSU AnA Direct connection to MITSU AnU Direct connection to CPU MITSU QnA LINK MITSU QnA LINK i Paus A1SJ71QC24 R2 MELSEC FX FXO FX1 F X2 Direct connection to CPU FX2C FX2N MITSU FX 2 port adaptor unused MITSU FX 2 port adaptor used
130. tal number of digits for unit number slot number must be 3 Neither default value nor zero suppression can be specified for these 3 digits The total number of devices on which data read write operations can be carried out at a time is as follows Read write 128 ports bit devices 64 ports word devices chanel 2 Usable station numbers and devices Station numbers 01 to 32 Decimal notation Q OIP ID number in M N connection 00 to 255 Decimal notation Setthe OIP master ID number to 255 The OIP ID number must not be the same as the PLC ID number II 8 5 8 2 FA500 FA M3 UT2000 CPU No variable Devices Bit devices Sharable relay E00001 E99999 Link relay L00001 L99999 Special relay M00001 M99999 Word devices 4700001 99995 Special register Z00001 Z99999 Index register V01 V99 Sharable register R00001 R99999 Channels Channel No 0000 9999 This system is designed so that devices that are not supported at present can also be declared to cope with the system expansion in the future When any devices are to be used check the device range of your PLC caretully 3 OIP connection RS 232C FA500 OIP Link unit 8 6 PLC Supplied by Yokogawa 8 2 FA500 FA M3 UT2000 CPU No variable RS 232C FA M3
131. tination error code 2555 300 is displayed in the lower 3 digits CH2 Take a proper corrective action according to the displayed error code 2600 Destination error A value of destination error code 2855 600 is displayed in the lower 3 digits CH3 2901 Parity error CH1 Check if the communication 2902 Overrun error CH1 parameters match with those of 2903 Framing error CH1 the remote device 2904 Received data error CH1 Check the format of received data 2905 Time out error CH1 Check the following items Communication cable Remote device status Time out set value Link unit setting 2931 Same as CH1 Note CH1 means RS 232C CH2 means RS 232C option only for GC56 and CH3 means RS 485 4 TROUBLESHOOTING Om Note 1 Error codes from PLC are converted as shown below in this system during communications with a Mitsubishi PLC QnA Hitachi or Toshiba PLC Mitsubishi PLC OlP serror QnA s OIP s error QnA s OlP serror QnA s OIP s error QnA s code error code code error code code error code code error code Decimal Hex Decimal Hex Decimal Hex Decimal Hex 7 0 eon FH 117 7E4oH 2 aoa 7E42H G 45 40H ons 7E4FH 8 oon 47 86 1 7ESIH 87 326 7ES2H so
132. tion numbers and devices Station numbers 00 to 31 Decimal notation Q Devices Bit devices Word devices Timer counter current value H 4 2 PLC Supplied by Hitachi WM000 WM3FF n E On e c Unit No OH 9H Slot No OH AH Internal module bit No 00 95 Remote master sta No 1H 4H Remote slave sta No Slot No OH 9H Internal module bit No 00 95 Unit No Slot No Internal module word No 0 7 0H 9H Remote master sta 1H 4H Remote slave sta No 0H 9H Slot No OH 9H Internal module word No 0 7 41 H Series with station number assignment sarsa 3 OIP connection RS 232C OIP Communication module 14 PV12 RS 232C 1 1 1 N OIP Communication module Communication module Communication module 11 TXP 4 TXIN TXIN TON 0 TXDG TXDG 9 1 RXDG 4 3 42
133. unications with a host computer etc Input range 0 to 255 Default value 0 This parameter is not needed when OIP is connected to a PLC and peripheral devices Next machine ID number Applicable to RS 485 only The next machine ID number is assigned to the next one of OIPs connected with the PLC using no multi panel units M N communication The input range is between 0 and 255 default value is 0 details refer Section 6 Connecting Several OIP Units M N Communication of Chapter Il Set this ID number to 0 when M N connection is not carried out Xon off Select whether to control Xon Xoff The default value differs depending on remote devices 4 TROUBLESHOOTING 4 TROUBLESHOOTING This section will explain errors to occur while this system is used for communications as well as how to identify their causes and how to correct them 4 1 Errors and Error Processings The table below explains how to identify error causes and how to correct those errors according to their symptoms No The communication cable is not Connect the cable correctly communication connected can be made The power to the remote device is not Turn on the power to the remote turned on device An improper communication cable is Replace the cable used The devices are not set correctly for Set those devices according to the Environmental of Screen Creator 5 object PLC The link unit is not set correctly Set the link unit corre
134. ured Do not use bits as a coil in the same channel on the PLC side It is recommended to use a different area on PLC and OIP respectively No data can be written in the following word devices S status T timer C counter R control when s 0 control word The total number of devices on which data read write operations can be carried out at a time is as follows Read 128 ports bit devices 41 ports word devices Write 128 ports bit devices 1 port preset and current data of timer counter or control 41 ports word devices other than the above II 15 1 15 1 SLC500 EEE 2 Usable station numbers and devices Station numbers 01 to 31 Decimal notation Devices Bit devices Device name Range Status Sf e b f file number 2 omissible e element number 0 to 255 b terminal number 0 to 15 Bit Bf e b f file number 3 omissible or 9 to 255 e element number 0 to 255 b bit number 0 to 15 Bf b f file number 3 omissible or 9 to 255 b sum up bit number to 4095 Tf e s b f file number 4 omissible or 9 to 255 e element number 0 to 255 S word number 0 to 2 Note 1 b bit number 0 to 15 Note 2 Counter Cf e s b f file number 5 omissible or 9 to 255 e element number 0 to 255 S word number 0 to 2 Note 1 b bit number 0 to 15 Note 3 Control Rf e s b f file number 6 omissible or 9 to 255 e element number 0 to 255 S word num
135. ws to connect up to 8 OIPs to one PLC For how to use it refer to the multipanel unit instruction manual For connectable PLC types and link units refer to Section 2 List of Connectable PLC Types of Chapter 1 OIP connection PLC RS 232C or RS 485 KDP21NU 1 Multipanel t a 9 t Multipanel unti Cascade cable a p AIP 5 to AIP 8 RS 232C RS 232G AIP 1 AIP 2 AIP 3 AIP 4 II 16 1 16 1 2 21NU 1 EE 16 2 Multipanel Unit APPENDIX LINK UNIT SETTING This section describes the setting items of PLCs and link units of various manufacturers for reference For further details refer to the manual of the suppliers PLC or link unit LINK UNIT SETTING 1 Setting the Computer Link Unit AJ71UC24 of Mitsubishi Refer to the following to set the computer link unit Channel setting Q Station number setting Communication format setting For RS 232C set 4 format 4 protocol mode For RS 422 RS 422 RS 485 set 8 format 4 protocol mode Station No set the number within 00 to 31 The standard value is 00 Setting Setting Switch Status Setting Remark SW11 Sets the main RS 422 RS 422 232 channel RS 485 SW12 Sets data bits The customer SW15 must select these items SW16 Presence of parity bit SW17 Parity type
136. y for any consequences including indirect losses which may arise from the use of this manual or for any errors which it may contain including technical proofreading and omission errors No parts of this document may be reproduced or copied in any form without the prior written permission The contents of this manual are subject to change without prior notice This document has been carefully prepared and reviewed for completeness and correctness However contact the Sales Dept of Koyo concerning any errors which may notice or on any points on which you are in doubt Koyo shall not be liable for incidental or consequential damages in connection with the use of this document regardless of the result of the said item 3 Koyo makes no warranties of any industrial and other properties with regard to this document Koyo also assumes no responsibility for any issues of industrial properties and other proprietary rights including such patent isssues as information circuits equipment or software described in this document which may arise from the use of this document Contact us at the following places concerning other unclear points in this document Customer Support Group Sales Dept Electronics Division Komatsu Ltd Address 4 20 1 Kamata Ota ku Tokyo 144 0052 Telephone No 81 3 5711 1838 Facsimile No 81 3 5711 1840 E MAIL panel el komatsu co jp Version Version Up Koyo Ltd has upgraded Screen Creator 5 for adding
137. y relay A000 A511 3 OIP connection RS 232C for connection to the link I F of CPU unit OIP CPU unit RS 485 for connection to the link I F of CPU unit 1 1 1 N OIP CPU unit OIP CPU unit 10 A 000 SD s SD 0 000 SD 0 SD 9 1 000 0 RY ROJ R 0 1000 RD RD Ap 0 T uu 15 000 vv 0 DH 0 u 100 0 000 DSLB 9P 2200 P Then select YES for Bin AK If terminating registers item Terminating are to be connected Register YES NO 000 000 II 2 7 2 3 SYSMAC CV Series RS 485 for connection to the link I F of CPU unit M N CPU unit OIP CPU uni

Download Pdf Manuals

image

Related Search

Related Contents

Télécharger le document  Samsung Galaxy Wave 3 Brugervejledning  AN1916 Application Note  i3PROJECTOR    DI-400 Manual  2 - 群馬大学  Whirlpool ER8AHMXRL02 User's Manual  CUB-43PIC-LP User`s Manual  Powerpeak Speed Bike  

Copyright © All rights reserved.
Failed to retrieve file