Home

Ladder Communication Modules

image

Contents

1. 27 IAS Note This module requires a minimal mounting depth of 173 83 90 mm so that it can be comfortably installed on the base module and attached with an external RS 232 C connector and cable with adequate space to accommodate the bending radius of the cable IM 34M6H22 02E 2nd Edition Jan 30 2008 00 A2 2 Switch Setup m Switches on the Module A2 4 Always set the three switches on the side of the F3RZ81 0F F3RZ82 0F module before installing it on the FA M3 base module See Figure A2 1 for the switch names and locations Right side view F3RZ82 0F A 7 Front Rear sw 1 VE Transmission speed switch EX Sets the transmission SW3 speed of the module GE Data format switch FERA Defines the format of communication data 237 28 This switch is not used 3 This figure is d
2. 4 3 A4 2 Send and Receive Data A4 6 5 Startup Preparation 5 1 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Data 1 A6 1 Format of Received 1 A6 2 Break Sign l coin A6 3 A7 A7 1 A7 1 Communications Mode A7 1 A7 2 Initializing Receive ennnen A7 4 7 3 Sending A7 5 7 4 Receiving 7 7 A8 Troubleshooting 8 1 A8 1 LED not ik A8 2 A82 8 3 A8 3 Receive Failure union A8 4 Appendix A1 ASCII Code Table Appx A1 1 in E o Index 1 Revision Information i IM 34M6H22 02E 2nd Edition Jan 30 2008 00 1 Overview The Ladder
3. Specifications Specifications Interface EIA RS 232 C compliant Current consumption FE 350 mA Number of ports nr 5 inet elated External dimensions 28 9 W x 100 x 83 2 D mm m Connector D Sub 9 pin female M2 6 mm Dimensions excluding protrusions For details see the External Dimensions drawing B Function Specifications Specifications Default Connection method Point to point Transmission mode Full duplex half duplex Synchronization Start stop synchronization Communication protocol No protocol Hm Character length 7 or 8 bits Bee next page Data format Stop bits 1 or 2 bits 11898 nex page Parity bit None even or odd 10858 NEXT page 300 600 1200 2400 4800 9600 14400 19200 28800 2 Transmission speed 38400 57600 76800 or 115200 bps 1 Always on RS GONO 2 Turn on before sending 1 1 Ignore DR when sending Control lines 2 Send only when DR is on 1 CD check 1 Ignore CD when sending 1 2 Send only when CD is off 1 On ready 2 not ready 1 Communication Send buffer Text buffer 3584 bytes max buffer Receive buffer 8192 byte rotary buffer FIFO buffer 5 Eormatof Start character Any single character Ne Yes or no received text End character terminator Up to 2 characters lo
4. This switch is not used Port 1 This figure is drawn with the panel cover removed Front view Right side view a N Indicator RDY N Lit when the internal circuit is functioning RZ82 0F RS232C normally Front Rear Port 1 X issi i Transmission speed switch E Sets the transmission SW3 SW2 speed of the module Excel Data format switch j E der Defines the format of we E communication data m7 a This switch is not used Port 2 This figure is drawn with the panel cover removed IM 34 6 22 02 2nd Edition Jan 30 2008 00 2 3 m External Dimensions F3RZ81 0F Unit mm n 28 9 ES 100 O LiL 2 Y F3RZ82 0F 6 7 28 9 2y i
5. l T omms Y Calculate receive data size 0038 0039 Read READ receive data 0040 SET 0041 If a receive error occurs 0042 x00307 T Read READ i receive data status 0043 SET Ah CAUTION The receive data size is stored in units of bytes in the module You must convert the size in bytes into size in words when reading the received data into the CPU module using the READ instruction IM 34 6 22 02 2nd Edition Jan 30 2008 00 8 8 1 Troubleshooting These are troubleshooting flowcharts for common errors involving the module Rectify the error of the sequence Is sequence CPU module in error Yes CPU module No Is RDY LED lit No See 8 1 RDY LED is not Lit Yes Is sending normal No See A8 2 Send Error Yes See A8 3 Receive Error IM 34 6 22 02 2nd Edition Jan 30 2008 00 8 2 A8 1 RDY LED is not Lit RDY LED is not lit Is power supply module receiving normal voltage Supply normal voltage Yes Is RDY LED on power supply module lit No J Replace the power supply module Yes Check total current consumption If it is out of the specification range replace the power supply or base module Is RDY LED on other modules lit Yes Is the module inserted Push the module in in t
6. 7 5 7 4 Receiving ae 7 7 BS Troubleshooting nra tu tne ranas nu cr B8 1 8 RDY LED is B8 2 B8 2 Send Failure sucio B8 3 B8 3 Receive Falil tre aan B8 4 Appendix B1 ASCII Code Table Appx B1 1 Index B 1 Revisi n li i IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B1 Overview The F3RZ91 0F Ladder Communication Module can be used with FA M3 CPU module for RS 422 485 communications It has one terminal block or port which supports a maximum transmission distance of 1200 m Any input relay of the F3RZ91 OF may be used to raise an interrupt Table B1 1 Models of Ladder Communication Module Model Description F3RZ91 0F RS 422 485 ladder communication module IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank Page 2 1 2 2 1 m Model and Suffix Codes fi ME LT FSRZ91 Specifications Standard Specifications B Operating Environment The F3RZ91 0F may be used with all CPU modules B General Specifications Max 115 2 kbps one RS 422 485 port Specifications Specifications Operating temperature 0 to 55 C Storage temperature 20 to 75 C Operating 10 to 90 RH densi Storage humidit 10 to 90 RH densi humidity o 9096 non c
7. 9 Y i y A SUB 9 2 2 ESC 5 lt L Y GS m E SO RS gt N n SI US 9 E DEL IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank Page FA M3 Index B 1 Ladder Communication Module Part B F3RZ91 0F INDEX Numeric 2 wire system sse B2 6 4 wire system sse B2 5 B break signal B6 2 break transmission interval B4 4 C character length 4 3 character to character receive timeout detecting iii edis B6 2 character to character timeout interval B4 4 character to character timeout processing B4 3 communications mode area B4 2 communications mode area reading from B7 3 communications mode area writing to B7 1 communications mode setup B4 2 communications mode status area B4 3 D data format switch SW2 B2 4 E end character of receive 1 B4 4 InpUETelays B3 2 output relays B3 1 dd B4 3 R receive buffer 2
8. Preparing data to be sent 0033 Ar me Data yo 909001 1 to pe sent ot MOV 200002 Moy 200003 ot Moy wa 200004 Ar Terminator Moy 004 200005 e 9m T WRITE 200001 3 1 5 Write send data e Write WRITE 19 2 927 11 send data size Requestto send SET 100334 exusta If sending is successful 00302 di f a send error occurs T Ha READ 3 398 200898 1 Read 11 send data status T RST 00334 CAUTION The character string input function used to store send data is only supported for F3SP28 38 53 58 and 59 LIN LIH LIF CPU modules IM 34 6 22 02 2nd Edition Jan 30 2008 00 7 4 Receive procedure Is Receive Completed relay on Read Receive Data Status Read receive data byte count Read receive data Turn on Read Receive Data Completed relay Receive Completed relay turns off Turn off Read Receive Data Completed relay UN CAUTION Receiving Data OFF OFF 15 Receive Error relay ON Read Receive Data Status Turn on Read Receive Data Completed relay Receive Error relay turns off L Read Receive Data Completed relay B7 7 x00001 x00007 Register No 899 Register No 900 Register Nos 385 896 YOOO33 This procedure assum
9. OFF 8 Not used OFF The SW2 setting applies to both port 1 and port 2 The SW2 setting may be changed by software for an individual port SW2 3 is available only when SW2 2 is set to ON using parity Always set SW2 5 to SW2 8 to OFF Figure 2 3 F3RZ81 0F F3RZ82 0F Data Format Switch Reserved switch SW3 The F3RZ81 0F F3RZ82 0F does not use the SW3 switch The module must be used with all elements of this switch set to OFF factory setting SW3 Elements Function OFF ON 1 Not used Not used Not used Not used Not used Not used Not used Figure 2 4 F3RZ81 0F F3RZ82 0F Reserved Switch CAUTION Ensure that all unused switch elements are set to OFF IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 6 2 3 m Connector Pin Assignment External Wiring Front view of the connector on the module 9 pin D sub connector female Data carrier detect Direction A M3 Remote Signal Monitored Description The module receives data only when this signal is on and sends data as follows 1 Ignore CD when sending default or 2 Send only when CD is off Receive data Send data Data terminal ready 1 On when powered default or 2 On or off by software Signal ground Data set ready Used to check whether the remote station is ready to receive data
10. Character to character timeout interval 0 to 32760 ms in 1 ms increments accurate to 1 ms 0 means not monitored 1 5s Clear to send timeout interval 0 to 32760 ms in 1 ms increments accurate to 1 ms 0 means not monitored Not monitored Break transmission interval 1 Default values are set with the data format switch SW2 2 Default values are set with the transmission speed switch SW1 73 May be increased up to 1792 bytes using the Send Data Area Size and Receive Data Area Size data registers 1 to 32760 ms in 1 ms increments accurate to 1 ms IM 34M6H22 02E 400 ms 2nd Edition Jan 30 2008 00 2 2 B Components and Functions Front view e Right side view EE APER RDY I Indicator 1 Lit when the internal CR HS 427 circuit is functioning normally Front y Rear TERMINATOR 2 wine Terminating resistor switch Swi TEM s DRA Transmission speed switch SDA If a terminator is used Sets the transmission EE select between 2 and 4 ws Swe speed of the module SDB G9 wire system
11. Receive data area size In units of words Total size for send and receive data areas must not exceed 1792 words 3584 bytes The default value is set with the SW2 switch The default value is set with the SW1 switch Depends on receive data area size Reserved area for F3RZ81 OF IM 34M6H22 02E 2nd Edition Jan 30 2008 00 4 3 CAUTION The clear to send timeout interval break transmission interval and receive character to character timeout interval have an error of 1 ms so the actual duration may be up 101 ms shorter than the specified value B Communications Mode Status Area Data Position No Description Port1 Port 2 Character to character timeout 0 receive successful 1889 1953 processing 1 receive error 1890 1954 Character length 0 7 bits 1 8 bits 1891 1955 bits 0 1 bit 1 2 bits 1892 1956 0 none 1 odd 2 even i 0 300 4 4800 8 28800 12 115200 542 1 600 5 9600 9 38400 1893 1957 Transmission speed bps 2 1200 6 14400 10 57600 3 2400 7 19200 11 76800 1894 1958 Clear to send timeout interval 0 to 32760 ms 0 means not monitored 1895 1959 Break transmission interval 1 to 32760 ms 1 1896 1960 Start character of receive text E 0 0 Start character All O s if no start character is used 1
12. XLILILI06 Send Break Completed This relay turns on when a break signal has been sent successfully Turning off YLILILI38 turns off this relay x00007 Receive Error This relay turns on if error is detected during data receiving Turning YLILILISS turns off this relay XLILILI08 Send Error This relay turns on if error is detected when processing a request to send or a request to send break Turning off YOOO34 or 8 turns off this relay XLILILI09 Set Communications Mode Error This relay turns on if error is detected during communications mode setup Turning off YLILILI35 turns off this relay XLILILI10 to XLILILI16 Reserved x00017 Receive Completed This relay turns on when received data is transferred from the receive buffer to the receive data area Turning YOOOA49 turns off this relay x00018 Send Completed This relay turns on when data is successfully sent following a request to send Turning off YLILILI50 turns off this relay x00019 Set Communications Mode Completed This relay turns on when a request to set communications mode is successfully completed Turning off YO DOS turns off this relay x00020 Read Communications Mode Status Completed This relay turns on when the communications mode status has been successfully read out and stored Turning off YLILILI52 turns off this relay x00021 Initialize Rece
13. A2 1 Operating A2 1 General A2 1 m Physical 0000 2 1 Function Specifications A2 1 Components and A2 2 External A2 3 A2 2 Switch Set p eec terraces een A2 4 Switches on the A2 4 A2 3 External Wiring ecco innatas A2 6 Connector Pin A2 6 W Directly Connecting to an RS 232 C Device or DTE data terminal equipment A2 7 W Connecting to a Modem or DCE data communications 2 8 24 Attaching Detaching the 2 9 AS List of VO Relays is A3 1 A3 1 Output 2 222 rese rust A3 1 A3 2 Input Relays ai A3 2 4 List of Data A4 1 A4 1 Communications Mode 4 2 Communications Mode Setup Area 4 2 m Communications Mode Status
14. Position F3RZ82 0F 1 1 Send data area Send data area 384 384 385 385 Receive data area Receive data area 896 896 897 897 Send data area 1280 Extended send receive data area 1281 Receive data area 1792 1792 1793 1793 1794 1794 1795 1795 1796 1796 1797 1797 1798 1798 1799 1799 1800 1800 1857 1857 Communications mode area port1 Communications mode area port 1920 1920 1921 1921 Reserved Communications mode area port2 1984 1984 UN CAUTION You may customize the send data area size and receive data area size to use data positions between 1 and 1792 Data positions above 1792 are fixed and cannot be customized IM 34M6H22 02E 2nd Edition Jan 30 2008 00 A4 1 Communications Mode Areas Data Position No 1857 1953 Communications mode area port1 Communications mode area port 2 Reserved area for F3RZ81 0F 4 2 Each communications mode area is divided into two sub areas setup area and status area A user program writes communications mode settings to the setup area before issuing a request to set communications mode It reads the status area to check the internal communications mode parameters of the module Data Position No Port1 Port 24 Character to character timeout processing B Communications Mode Setup Area Description 0 receive successful 1 receive error Default Character length 0 7 bits 1 8 bits
15. 1 Ignore DR when sending default or 2 Send only when DR is on Request to send Used when sending data to the remote station 1 Always on default or 2 Turn on before sending data Clear to send Clear to send signal from a remote device The module can send data only when this signal is on Not used Option 1 or 2 can be selected using a program IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 7 B Directly Connecting to an RS 232 C Device or DTE data terminal equipment Null modem cable Null modem cable Connector 2 Shield connector Benz Shield ARE 5 Connector 1 FG SD 3 3 SD SD 3 2 SD RD2 2 RD RD 2 3 RD RS 7 7 RS 9 D sub 5 8 5 CS 25 pin D sub connector DR 6 8 DR 9 pin D sub connector DR 6 6 DR connector SG 5 O 56 connector 56 5 7 89 CD 1 1 CD CD 1 8 CD ER 4 4 ER 4 20 ER Pin numbers of the connector of the remote DTE shown in this diagram assumes a 25 pin D sub connector An example of such a cable is YOKOGAWA s YCB cable Figure 2 5 Wiring to 25 pin D sub Connector Figure A2 6 Wiring to 9 pin D sub Connector How to treat the shield 1 Ensure that the connector for the connection cable has a metal or metal clad cover Connect the shield directly to the cover 2 The connector shell of the F3RZ81 OF F3RZ82 OF is internally connected
16. ox Data format switch dm Ec Defines the format of RDA 09 communication data RS 422 A RS 485 1 C9 Terminal block T This switch is not H N H used SG E Six M3 5 screws i This figure is drawn with the SHIELD GO panel cover removed m External Dimensions Unit mm 12 1 83 2 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 3 B2 2 Switch Setup m Switches on the Module Always set the three switches on the side of the F3RZ91 0F module before installing it on the FA M3 base module See Figure B2 1 for the switch names and locations e Right side view Tal I Front Rear swi Me Transmission speed switch Sets the transmission um d of the module SW3 SW2 Spem Data format switch p Defines the format of Ale communication data M This switch is not N This figure is drawn with the panel cover removed Figure 2 1 F3RZ91 0F Switches Transmission speed switch SW1 This is a hexadecimal rotary switch for setting up the transmission speed of the
17. 5 87 0 1897 1961 e character terminator ot receive First terminator Second terminator i All O s for the first terminator if only one end character is used All 0 s for the first and second terminators if no end character is used 1 3 1898 1962 Receive text length 0 to 1024 number of characters on the line 0 means receiving 1899 1963 Character to character timeout 0 to 32760 ms interval 0 means not monitored 1900 1964 1901 1965 Reserved 0 Always On 1902 1985 Ben 1 Turn on before sending 1903 1967 ER control 0 Off 1 0 Ignore DR when sending 1904 1998 DR check 1 Send only when DR is 0 Ignore CD when sending hub 1 Send only when CD is off 1906 1916 1970 1980 Reserved 1917 1981 _ Send data area size 1918 1982 Receive data area size 15 5 4 3 2 1 0 1919 1983 Control line status 0 SIUE IST BI i 15 8 7 0 1920 1984 Setup error information Data position no Reserved area for F3RZ81 0F Character to character timeout processing Character to character receive timeout is always monitored When timeout occurs it is considered either a receive error the Receive Error input relay turns on or the normal completion of receive data the Receive Completed input relay turns on according to this setting If this setting is 0 a character to character receive timeout is always considered the normal com
18. Always switch off the power before attaching or detaching the module Base Module Anchor pin Ladder Communication Module Figure A2 9 Attaching Detaching the Module UN CAUTION Do not bend the connector on the rear of the module by force during the above operation If the module is pushed with improper force the connector may bend causing an error F01 VSD B Detaching the Module To remove this module from the base module reverse the above operation Press the anchor release button yellow button on the top of this module to unlock it and tilt the module away from the base module IM 34M6H22 02bE 2nd Edition Jan 30 2008 00 2 10 B Attaching the Module Intense Vibration Environments If the module is used in intense vibration environments fasten the module with a screw Use screws of type listed in the table below Insert these screws into the screw holes on top of the module and tighten them with a Phillips screwdriver Screw Required binder screw 12 to 15 mm long or 14 15 mm long if fitted with a washer FO2R1 VSD Figure A2 10 Securing Module Using Screws IM 34M6H22 02E 2nd Edition Jan 30 2008 00 1 1 List of Relays The ladder communication module has 32 input and 32 output relays for interfacing with the FA M3 CPU module interrupt Out
19. B7 4 receive data B4 5 receive data byte B4 6 receive data B4 6 receive 7 7 receive text B4 4 received text B6 1 IM 34M6H22 02E 2nd Edition S send and receive data areas B4 5 send data B4 5 send data byte count B4 5 send 7 5 send dia 4 5 start character of receive text B4 4 SLOP DIIS iste nennen B4 3 T terminating resistor 2 6 terminator receiving B6 1 transmission speed switch SW1 B2 3 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank Revision Information Document Name Ladder Communication Module Document No IM 34M6H22 02E Edition Date Revised Item 1st Jan 2006 New publication 2nd Jan 2008 Addition of FSRZ81 0F Written by International Sales amp Marketing Gr PLC Product M
20. Figure 2 4 F3RZ91 0F Reserved Switch Ah CAUTION Ensure that all unused switch elements are set to OFF IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 5 B2 3 External Wiring m RS 422 A RS 485 Terminal Block The terminal block of the F3RZ91 0F has six terminals with M3 5 screws as follows SDA SenddataA gt M3 5 SD B Send data 7 3 mm RDA Receive data A lt E mm RD B Receive data SG Signal ground SHIELD N lt Figure 2 5 F3RZ91 0F Terminal Block Table B2 1 Compatible Wires and Crimp on Terminals Cable type Shielded twist pair cable Rated temperature 75 C or higher Connection method Using crimp on terminals Compatible Wire Japan Solderless Terminal V1 25 M3 Co Ltd Compatible crimp on Nippon Tanshi Co Ltd RAV1 25 3 5 terminals and wires Japan Solderless Terminal V1 25 M4 Co Ltd Japan Solderless Terminal Mfg V2 M4 AWG16 to 14 1 3 to 2 1 mm Co Ltd copper wire AWG22 to 18 0 33 to 0 82 mm copper wire B Connecting Master and Slave 4 wire system Supposing the F3RZ91 0F is a master send and receive lines must be crossed between the F3RZ91 0F and the slave equipment F3RZ91 0F Slave equipment Slave equipment Figure B2 6 4 wire System Connection IM 34M6H22 02E 2nd Edition Jan 30 2008 00
21. Requirements for Using the FA M3 Controller Avoid installing the FA M3 controller in the following locations Where the instrument will be exposed to direct sunlight or where the operating temperature exceeds the range 0 to 55 C 32 F to 131 F Where the relative humidity is outside the range 10 to 90 or where sudden temperature changes may occur and cause condensation Where corrosive or flammable gases are present Where the instrument will be exposed to direct mechanical vibration or shock Where the instrument may be exposed to extreme levels of radioactivity O Use the correct types of wire for external wiring Use copper wire with temperature ratings greater than 75 C Securely tighten screws Securely tighten module mounting screws and terminal screws to avoid problems such as faulty operation Tighten terminal block screws with the correct tightening torque as given in this manual Securely lock connecting cables Securely lock the connectors of cables and check them thoroughly before turning on the power 9 Interlock with emergency stop circuitry using external relays Equipment incorporating the FA M3 controller must be furnished with emergency stop circuitry that uses external relays This circuitry should be set up to interlock correctly with controller status stop run Ground for low impedance For safety reasons connect the FG grounding terminal to a Japanese Ind
22. See B8 3 Receive Error IM 34 6 22 02 2nd Edition Jan 30 2008 00 8 2 B8 1 RDY LED is not Lit RDY LED is not lit Is power supply module receiving normal voltage Supply normal voltage Yes Is RDY LED on power supply module lit Replace the power supply module Yes Check total current consumption If it is out of the specification range replace the power supply or base module Is RDY LED on other modules lit Yes Push the module in until it clicks into place Is the module inserted in the slot correctly Yes Does RDY LED light up if installed in another slot Replace the base module No Replace the ladder communication module IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B8 3 B8 2 Send Failure Send error Is Send Completed relay on Yes See B2 3 Externa Wiring and check for correct connection NG OK No Correct the external wiring connection and try again Is Send Error N relay on Is error code of send Set send data byte count status 0100 correctly Replace the module IM 34M6H22 02bE 2nd Edition Jan 30 2008 00 8 4 8 3 Receive Failure Receive error Ensure that the remote equipment is Is the remote equipment sending data correctly ending data normally No Yes Is Receive Completed relay on No
23. Stop bits O 1 bit 1 2 bits Parity 0 none 1 odd 2 even Transmission speed in bps 0 300 4 4800 1 600 5 9600 2 1200 6 14400 10 57600 3 2400 7 19200 11 76800 8 28800 9 38400 12 115200 Clear to send timeout interval 0 to 32760 ms means not monitored 30000 30s Break transmission interval 1 to 32760 ms 400 Start character of receive text 15 87 0 0 Start character All O s if no start character is used 0 End character terminator of receive text 15 8 7 0 First terminator Second terminator All O s for the first terminator if only one end character is used All O s for the first and second terminators if no end character is used 0D 0A CR LF 1866 1930 Receive text length 0 to 1024 number of characters on the line 0 means no receiving 1867 1931 Character to character timeout interval 0 to 32760 ms 0 means not monitored 1868 1932 1869 1933 Reserved 1870 1934 RS control 0 Always On 1 Turn on before sending 1871 1935 ER control 0 Off 1 1872 1936 DR check 0 Ignore DR when sending 1 Send only when DR is on 1873 1937 CD check 0 Ignore CD when sending 1 Send only when CD is off 1874 to 1886 1938 to 1950 Reserved 1887 1951 Send data area size 1888 1952
24. be set by software by writing to the communications mode areas from the FA M3 CPU module using a program This means that the settings can be changed even after the ladder communication module is installed on the base unit For F3RZ82 0F the SW1 and SW2 settings apply to both ports 1 and 2 but the settings can be changed by software for individual ports Writing to communications mode area Verify communications conditions Write data to communications mode area Turn on Request to Set Communications Mode relay n XLILILIO3 for port 1 XLILIL119 for port 2 Port 1 Data position no 1857 1888 Port 2 Data position no 1921 1952 YLILILI35 for port 1 YLILILI51 for port 2 XLILILIOO9 for port 1 x00025 for port 2 ON Check the setup error Data position no 1920 for port 1 information Data position no 1984 for port 2 Turn off Request to Set Communications Mode relay Turn off Request to Set Communications Mode relay Set Communications Mode Set Communications Mode Completed relay turns off Error relay turns off IM 34M6H22 02E 2nd Edition Jan 30 2008 00 7 2 Sample program This sample program assumes the following conditions The module is installed in slot 3 Port 1 is used for communications Transmission speed is 19200 bps 0001 Writing to communication mode area 0002 Writing 3 Br 19 2 kb
25. change without prior notice Every effort has been made to ensure accuracy in the preparation of this manual However should any errors or omissions come to the attention of the user please contact the nearest Yokogawa Electric representative or sales office B Safety Precautions when Using Maintaining the Product The following safety symbols are used on the product as well as in this manual A Danger This symbol on the product indicates that the operator must follow the instructions laid out in this instruction manual to avoid the risk of personnel injuries fatalities or damage to the instrument Where indicated by this symbol the manual describes what special care the operator must exercise to prevent electrical shock or other dangers that may result in injury or the loss of life amp Protective Ground Terminal Before using the instrument be sure to ground this terminal d Function Ground Terminal Before using the instrument be sure to ground this terminal NS Alternating current Indicates alternating current Direct current Indicates direct current IM 34M6H22 02E 2nd Edition Jan 30 2008 00 The following symbols are used only in the instruction manual WARNING Indicates a Warning Draws attention to information essential to prevent hardware damage software damage or system failure Indicates Caution Draws attention to information essential t
26. data may arise and propagate through the communications line To avoid receiving unwanted data inadvertently it is advisable to initialize the receive buffer before starting communications in addition to setting up the communications conditions The receive buffer initialization function performs the following actions Clears the receive buffer rotary buffer Beware that the receive data area is different from the receive buffer and is not initialized by this function Resets the communications controller Initializing receive buffer Turn on Request to Initialize Receive Buffer relay OF Is Initialize Receive Buffer Completed relay on ON Turn off Request to Initialize Receive Buffer relay Initialize Receive Buffer Completed relay turns off YLILILI37 for port 1 YLILILI53 for port 2 XLILILIO5 for port 1 XLILILI21 for port 2 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 7 5 7 3 Sending Data Send procedure Data position no 1793 for port 1 Data position no 1797 for port 2 Write send data byte count Write send data Turn on Request to Send relay Is Send Completed relay on Data position no 1 384 for port 1 Data position no 897 1280 for port 2 34 for port 1 YLILILI50 for port 2 OFF XLILILIO2 for port 1 OFF XO0018 for port 2 d Error 0008 for port 1 y on 15 Sen rela x00024 for port 2 Check Send
27. the RS signal only when it has data to send ER Data Terminal Ready control The ER control signal is used to notify remote data equipment that the module is ready to receive data This control signal can be turned on or turned off by a user program e DR Data Set Ready check When connecting the module to remote DTE data terminal equipment the DR terminal of the module is normally connected to the ER terminal of the remote DTE to monitor whether the remote DTE is ready to receive data from the module This setting is used to specify whether the module should check that the DR signal is on before sending data CD Data Carrier Detect check When connecting the module to remote DTE data terminal equipment the CD terminal of the module is normally connected to the RS terminal of the remote DTE to monitor whether the remote DTE has data to send This setting is used to specify whether the module should check that the CD signal is off before sending data Control line status A user program may read the control line status to monitor the status of each control signal Send data area size receive data area size Use these settings to specify the size of the send and receive data areas respectively A total space of 1792 words 3584 bytes may be freely shared among the send and receive data areas If send or receive data area size is set to 0 however that area is disabled and the related function is no longe
28. the module No Ensure that the data format Ye definition of the module is the same as that of the remote equipment Does Receive Data Status indicate a framing error No Ensure that the parity bit definition of Yes the module is the same as that of the remote equipment Does Receive Data Status indicate a parity error No Character to character receive timeout occurred before a Yes terminator is detected or the specified number of characters is received see note below Does Receive Data Status indicate character timeout No Note Character to character receive timeout is considered either as a receive error or the normal completion of received data For details see A4 1 Communication Mode Areas Replace the module IM 34M6H22 02E 2nd Edition Jan 30 2008 00 1 1 Appendix A1 ASCII Code Table High 0 1 2 3 4 5 6 7 Low 0 NUL DLE SP 0 P p 1 1 A Q a q 2 STX DC2 2 B R b r 3 ETX DC3 3 5 5 4 EOT DCA 5 4 D T d t 5 5 U e u 6 amp 6 V f V 7 BEL ETB 7 G W g Ww 8 BS 8 H h x 9 9 Y i y A SUB 9 2 2 ESC 5 lt L Y GS m E SO RS gt N n SI US 9 E DEL IM 34M
29. to the Frame Ground terminal FG of the FA M3 power supply module Recommended connection cable YOKOGAWA s null modem cable is recommended for this purpose Model Name Suffix Code Description YCB215 RS 232 C null modem cable with control lines between 9 pin connector on 7 ML gateway card and 25 pin connector on RS 232 C equipment 1 m cable 5 m cable 15 m cable Note This cable is for indoor use only The wires are termination treated 9 Internal connection diagram for YCB215 cable YCB215 CN1 side FA M3 2 side PIN No Shield PIN No Connector cover O O Connector cover 3 SD SD 2 2 RD RD 3 7 RS 8 5 6 6 5 7 1 8 4 20 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 How to treat the shield 1 2 A2 8 B Connecting to a Modem or DCE data communications equipment Modem cable Null modem cable um u o 503 3 SD 803 3 0 RD 2 RD RD RD RS7 O 7 85 RS7 RS ce DI ass scs peg connector DR 6 O 6 DR 25 D sub connector DR 6 O 6 DR 9 pin D sub SG 5 5 SG connector SG 5 5 SG connector CD 1 CD CD 1 CD 4 ER 4 O O 4ER Pin numbers of the connector of the remote DCE shown this diagram assumes a 25 pin D sub connector
30. 2 6 2 wire system At the F3RZ91 0F terminal block short SD A with RD A and SD B with RD B using jumper wire F3RZ91 0F Slave equipment Slave equipment Figure B2 7 2 wire System Connection UN CAUTION If the 2 wire system connection is used also set the 2 wire 4 wire selection parameter data position No 918 of the communications mode area to 2 wire B Terminating Resistor If the F3RZ91 OF is at one end of the communication line it must use the internal terminating resistor or terminator according to the wiring system used Set the terminating resistor switch to 4 WIRE for 4 wire system or 2 WIRE for 2 wire System Set the switch to OFF if the F3RZ91 0F is not at an end of the line TERMINATOR Figure B2 8 F3RZ91 0F Terminating Resistor Switch IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 7 B2 4 Attaching Detaching the Module B Attaching the Module Figure B2 9 shows how to attach this module to the base module First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module Push the top of the module toward the base module until the anchor release button yellow button clicks into place CAUTION Always switch off the power before attaching or detaching the module Base Module Anchor pin Ladder Communication Module Figure B2 9 Attaching Detaching the Module CAUTION Do not bend the
31. 6H22 02E 2nd Edition Jan 30 2008 00 Blank Page FA M3 Index A 1 Ladder Communication Module Part A F3RZ81 0F F3RZ82 0F INDEX B break signal A4 4 A6 3 break transmission interval 4 2 A4 3 4 4 CD check A2 1 A4 2 4 3 4 5 character length A2 1 A2 5 A4 2 A4 3 A4 4 character to character receive timeout detecting A6 3 character to character timeout interval A4 2 A4 3 A4 5 character to character timeout processing A4 2 A4 3 clear to send timeout interval A2 2 A4 2 4 3 4 4 communications condition setup 5 1 A7 1 communications mode area 4 2 communications mode area reading from A7 3 communications mode area writing to A7 1 communications mode setup area A4 2 communications mode status area A4 3 connecting to a modem A2 8 connecting to an RS 232 C device A2 7 connector pin assignment A2 6 control line status A3 1 A4 3 A4 5 D data format switch SW2 A2 2 A2 4 A2 5 DR check A2 1 4 2 4 3 4 5 end character of
32. An example of such a cable is YOKOGAWA s YCB211 cable Figure A2 7 Wiring to 25 pin D sub Connector Figure A2 8 Wiring to 9 pin D sub Connector Ensure that the connector for the connection cable has a metal or metal clad cover Connect the shield directly to the cover The connector shell of the F3RZ81 OF F3RZ82 OF is internally connected to the Frame Ground terminal FG of the FA M3 power supply module Recommended connection cable YOKOGAWA s modem cable is recommended for this purpose YCB211 on modem Model Name Suffix Code Description RS 232 C modem cable between 9 pin connector on 7 ML gateway card and 25 pin connector KMO1 1 m cable 5 m cable 15 m cable Internal connection diagram for YCB211 cable YCB211 CN1 side FA M3 PIN No Shield Note This cable is for indoor use only The wires are termination treated Connector cover o Connector cover 1 SD SD 3 Oo 02 RD RD 20 lt 3 RS RS 4 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 9 24 Attaching Detaching the Module B Attaching the Module Figure A2 9 shows how to attach this module to the base module First hook the anchor slot at the bottom of the module to be attached onto the anchor pin on the bottom of the base module Push the top of the module toward the base module until the anchor release button yellow button clicks into place UN CAUTION
33. Communication module can be used with an FA M3 CPU module for RS 232 C communications The F3RZ81 0F has one and the F3RZ82 0F has two D sub 9 pin connectors or ports which support a maximum transmission distance of 15 m Each port operates independently and a communications error at one port does not affect the operation of the other port Any input relay of the Ladder Communication module may be used to raise an interrupt Table A1 1 Models of Ladder Communication Module Model Description F3RZ81 0F RS 232 C ladder communication module one port F3RZ82 0F RS 232 C ladder communication module two ports IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank Page 2 1 A2 Specifications A2 1 Standard Specifications m Model and Suffix Codes Model SuffixCode Style Code Option Code FSRZO1 vve Max 115 2 kbps one RS 232 C port F3RZ82 or Max 116 2 kbps two RS 232 C ports B Operating Environment The F3RZ81 0F and F3RZ82 0F may be used with all CPU modules B General Specifications Specifications Specifications Operating temperature 0 to 55 C Storage temperature 20 to 75 C Operating 10 to 90 RH densi Storage humidit 10 to 90 RH densi humidity 0 90 non condensing orage humidity 0 90 non condensing Operating Must of free of corrosive gases environment flammable gases and heavy dust Physical Specifications
34. Completed relayon ___ XOOO04 Data position no 937 968 Turn off Request to Read Communications Mode Status relay A T Read Communications Mode Status Completed relay turns off Sample program This sample program assumes the following conditions The module is installed in slot 3 Allthe contents of the communications mode area for port 1 are to be read 0010 Reading from communications mode area 0011 Request to read communications mode status TE 100002 t _ ser 0013 If communications mode status is read successfully 00304 T AT Read communication mode status 0015 RST 00336 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 7 4 B7 2 lnitializing Receive Buffer When the module establishes connection with a remote device or when a remote device is switched on noise or unwanted data may arise and propagate through the communications line To avoid receiving unwanted data inadvertently it is advisable to initialize the receive buffer before starting communications in addition to setting up the communications conditions The receive buffer initialization function performs the following actions Clears the receive buffer rotary buffer Beware that the receive data area is different from the receive buffer and is not initialized by this function Resets the communications controller Initializing rec
35. Data Status Turn off Request to Send relay Send Error relay turns off Data position no 1794 for port 1 Data position no 1798 for port 2 Turn off Request to Send relay Send Completed Relay turns off CAUTION This procedure assumes that default data position numbers are used for the send data area The data position numbers will be different if the size of the send or receive data area is redefined by a user IM 34 6 22 02 2nd Edition Jan 30 2008 00 7 6 Sample program This sample program assumes the following conditions The module is installed in slot 3 Port 1 is used for communications Text to be sent is YOKOGAWA End characters are a pair of CR and LF 00 and 0A characters 0019 Sending data 0020 Preparing data to be sent 1 100004 Data vo be sent 0022 MOV T MOV MOV WAT T MOV BERE were ooo send data were to al a send data size 0023 0024 0025 0026 0027 0028 set Request to send 0029 kkk If sending is successful 0030 x00302 T YA por 31 kkk 00 If a send error occurs 2 x00308 4 0033 T read al ize Ah CAUTION The character string input function used to store send data is only supported for F3SP28 38 53 58 and 59 LIN LIH LIF CPU modules
36. IM 34M6H22 02E 2nd Edition Jan 30 2008 00 A7 7 7 4 Receiving Data Receive procedure Is Receive Completed relay on Turn on Read Receive Data Completed relay relay turns off EUR Anc 1 p Receive Completed Turn off Read Receive Data Completed relay AN CAUTION Turn off Read Receive Data Completed relay OFF Turn on Read Receive Data Completed relay Receive Error relay turns off Is Receive Error relay on ON XLILILIO1 for port 1 XLILIL117 for port 2 XLILILIO7 for port 1 x00023 for port 2 Data position no 1795 for port 1 Data position no 1799 for port 2 Data position no 1796 for port 1 Data position no 1800 for port 2 Data position no 385 896 for port 1 Data position no 1281 1792 for port 2 YLILILI33 for port 1 YLILILIA9 for port 2 This procedure assumes that default data position numbers are used for the receive data area The data position numbers will be different if the size of the send or receive data area is re defined by a user IM 34 6 22 02 2nd Edition Jan 30 2008 00 7 8 Sample program This sample program assumes the following conditions The module is installed in slot 3 Port 1 is used for communications 0034 Receiving data 0035 ek If receiving is successful 5 00301 0037 Read receive data status and size
37. M34M6P14 02E For information on the functions of the F3SP28 F3SP38 F3SP53 F3SP58 F3SP59 sequence CPU modules refer to Sequence CPU Functions User Manual for F3SP28 3N 3S F3SP38 6N 6S F3SP53 4H 4S F3SP58 6H 6S F3SP59 7S IM34M6P 13 01 E For information on the functions of the F3SP21 F3SP25 F3SP35 F3SP05 or F3SP08 sequence CPU modules refer to Sequence CPU Functions User s Manual for F3SP21 F3SP25 and F3SP35 IM34M6P 12 02E For information on the instructions used with sequence CPUS refer to Sequence CPU Instructions User s Manual IM34M6P12 03E When creating programs using ladder language refer to FA MG3 Programming Tool WideField2 User s Manual IM34M6Q15 01E e For information on the specifications configuration installation wiring trial operation maintenance and inspection of the FA M3 as well as information on the system wide limitation of module installation refer to Hardware Manual IM34M6C11 01E information on the specifications of products other than the power supply module base module I O module cable and terminal block unit refer to their respective user s manuals IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Copyrights and Trademarks B Copyrights Copyrights of the programs and online manual included in this CD ROM belong to Yokogawa Electric Corporation This online manual may be printed but PDF security settings have been m
38. See 7 4 Receiving Data Yes Is Receive Error relay on No See B2 3 External Wiring Yes Does Receive Data Status indicate an overrun error Yes Replace the module No Ensure that the data format Ye definition of the module is the same as that of the remote equipment Does Receive Data Status indicate a framing error No Ensure that the parity bit definition of Yes the module is the same as that of the remote equipment Does Receive Data Status indicate a parity error No Character to character receive timeout occurred before a Yes terminator is detected or the specified number of characters is received see note below Does Receive Data Status indicate character timeout No Note Character to character receive timeout is considered either as a receive error or the normal completion of received data For details see B4 1 Communication Mode Areas Replace the module IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B1 1 Appendix B1 ASCII Code Table High 0 1 2 3 4 5 6 7 Low 0 NUL DLE SP 0 P p 1 1 Q A q 2 STX DC2 2 B R B r 3 ETX DC3 3 5 5 4 DCA 15 4 D T D t 5 5 0 6 8 6 V F V 7 BEL ETB 7 G W g 8 5 8 H h x 9
39. Table B3 2 Input Relays Input Relay Description Number x00001 Input Relay Name Receive Completed This relay turns on when received data is transferred from the receive buffer to the receive data area Turning YLILILISS turns off this relay x00002 Send Completed This relay turns on when data is successfully sent following a request to send Turning off YLILILI34 turns off this relay XLILILI03 Set Communications Mode Completed This relay turns on when a request to set communications mode is successfully completed Turning off YLILILI35 turns off this relay x00004 Read Communications Mode Status Completed This relay turns on when the communications mode status has been successfully read out and stored Turning off YLILILI36 turns off this relay XLILILI05 Initialize Receive Buffer Completed This relay turns on when the receive buffer and the communications controller have been successfully initialized Turning off YLILILI37 turns off this relay XLILILI06 Send Break Completed This relay turns on when a break signal has been sent successfully Turning off YLILILI38 turns off this relay x00007 Receive Error This relay turns on if error is detected during data receiving Turning YLILILISS turns off this relay XLILILI08 Send Error This relay turns on if error is detected when processing a request to send or a request to send break Turning o
40. User s Manual Ladder Communication Modules IM 34M6H22 02E Applicable Modules Model Code Model Name F3RZ81 0F Ladder Communication Module F3RZ82 0F Ladder Communication Module F3RZ91 0F Ladder Communication Module YOKOGAWA IM 34M6H22 02E Yokogawa Electric Corporation 2nd Edition Blank Page Applicable Product Range free Multi controller FA M3 Model code F3RZ81 0F F3RZ82 0F F3RZ91 0F Name Ladder Communication Module The document number and document model code for this manual are given below Refer to the document number in all communications also refer to the document number and the document model code when purchasing additional copies of this manual Document No 34M6H22 02E Document Model Code DOCIM Media No IM 34M6H22 02E CD 2nd Edition Jan 2008 00 AR IM 34M6H22 02E 2nd Edition Jan 30 2008 00 All Rights Reserved Copyright 2008 Yokogawa Electric Corporation Important B About This Manual This Manual should be passed on to the end user Before using the controller read this manual thoroughly to have a clear understanding of the controller This manual explains the functions of this product but there is no guarantee that they will suit the particular purpose of the user Under absolutely no circumstances may the contents of this manual be transcribed or copied in part or in whole without permission The contents of this manual are subject to
41. ade to prevent alteration of its contents This online manual may only be printed and used for the sole purpose of operating this product When using a printed copy of the online manual pay attention to possible inconsistencies with the latest version of the online manual Ensure that the edition agrees with the latest CD ROM version Copying passing selling or distribution including transferring over computer networks of the contents of the online manual in part or in whole to any third party is strictly prohibited Registering or recording onto videotapes and other media is also prohibited without expressed permission of Yokogawa Electric Corporation B Trademarks The trade and company names that are referred to in this document are either trademarks or registered trademarks of their respective companies IM 34M6H22 02bE 2nd Edition Jan 30 2008 00 Blank Page 1 FA M3 Ladder Communication Module Part A F3RZ81 0F F3RZ82 0F IM 34M6H22 02E 2nd Edition CONTENTS Applicable kann i importants a ai u a o viii Copyrights and Trademarks ix Part A F3RZ81 0F F3RZ82 0F Al OVErvieW Aes 1 1 AZ Specifications ono ee A2 1 A2 1 Standard Specifications eese A2 1 Model and Suffix
42. al If a break is sent successfully following this request XLILILIO6 turns on and if an error occurs XLILILIOB8 turns on YLILILI39 to YLILILI48 Reserved YOIODI49 Read Received Data Completed Turn on this relay after having read all data from the receive data area Turning on this relay turns off x00017 receive completed normally and 2 receive error and the module is ready to receive new data in the receive data area YLILILI50 Request to Send Turn on this relay after having stored send data size and send data to the registers If data is sent successfully following this request XLILIL118 turns on and if an error occurs X 00024 turns on YLILIEI51 Request to Set _ Communications Mode Turn on this relay after having stored communications mode setting in the communications mode area If setup is successful following this request XLILILI119 turns on and if an error occurs XLILILI25 turns on 52 Request to Read Communications Mode Status Turn on this relay to read the contents of the communications mode area and the control line status If the request is completed successfully XLILILI20 is turns on YOOO53 Request to Initialize Receive Buffer Turn on this relay to initialize the receive buffer and the communications controller X00021 turns on after successful initialization 54 Request to Send Break Turn on this relay to s
43. arketing Dept IA Systems Business Div Industrial Automation Systems Business Headquarters Yokogawa Electric Corporation Published Yokogawa Electric Corporation 2 9 32 Nakacho Musashino shi Tokyo 180 8750 JAPAN Printed by Kohoku Publishing amp Printing Inc IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank
44. ched Send status This area is used to store the completion status after transmission Status Error Code e Decimal Description Send successful 0000 Send data size error 0100 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 4 6 Receive data status This area stores the status of the received text stored in the receive data area The status is a combination of error bits see the table below An error bit is turned on ifthe corresponding error is detected for any byte of the received text If an error bit is turned on there is no way to tell which byte is the cause 15 to 06 05 04 03 02 01 00 Reserved ORER FER PER IBOF RCTO BREAK ORER Overrun error FER Framing error PER Parity error IBOF Receive buffer overflow RCTO Character to character receive timeout BREAK Break signal received Receive data byte count This area stores the number of bytes of data received By reading the value stored in this area a program can determine the size of received data The end character in received data is automatically deleted when the received data is stored in the receive data area IM 34 6 22 02 2nd Edition Jan 30 2008 00 5 1 B5 Startup Preparation The flowchart below shows the things to be done to prepare for communications See Also Set up communications Set the module and the eu conditions by hardware remote equipment with the Pers Setup same co
45. ches on the 2 3 B2 3 External Wiring 2 5 E RS 422 A RS 485 Terminal B2 5 m Connecting Master and 5 B2 5 Terminating Resistor B2 6 B2 4 Attaching Detaching the B2 7 B3 List of VO Relays sisi B3 1 B3 1 Output Relays B3 1 B3 2 Input B3 2 B4 List of Data Areas neun 4 1 B4 1 Communications Mode Areas B4 2 Communications Mode Setup Area B4 2 m Communications Mode Status B4 3 B4 2 Send and Receive Data Areas B4 5 H5 Startup PEDAL Narnia B5 1 B6 Data COmMUMICANONS ascii B6 1 B6 1 Format of Received Text eese B6 1 B6 2 Break B6 2 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Programming ierant tuno oia kann aru dua loda agone B7 1 B7 1 Communications Mode 7 1 B7 2 Initializing Receive Buffer B7 4 B73 Sendo Data
46. conditions by hardware remote equipment with the SWM same communications conditions Install the module A2 4 Attaching detaching on the base module the Module Connect the module to equipment through a A2 3 External Wiring communications line Not necessary ifthe Writing to settings with the communications mode areas switches on the side of necessary the module are used as they are List of I O Relays A4 1 Communications Mode Areas A7 1 Communications Mode Areas Write to communication mode areas The receive buffer should be initialized to discard any unwanted data due to electric noise that may be present on the communications line Initialize receive buffer A7 2 Initializing Receive Buffer IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank Page 1 Data Communications A6 1 Format of Received Text The F3RZ81 0F F3RZ82 0F ladder communication module may recognize a block of received text by any of the following three means receiving a terminator By receiving the number of characters designated by the Receive Text Length setting in the communications mode area detecting a character to character receive timeout UN CAUTION block of received text is recognized when any of the above three conditions is met You may explicitly disable individual conditions if so desired However you may not disable the condition defined b
47. connector on the rear of the module by force during the above operation If the module is pushed with improper force the connector may bend causing an error F01 VSD B Detaching the Module To remove this module from the base module reverse the above operation Press the anchor release button yellow button on the top of this module to unlock it and tilt the module away from the base module IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 8 m Attaching the Module Intense Vibration Environments If the module is used in intense vibration environments fasten the module with a screw Use screws of type listed in the table below Insert these screws into the screw holes on top of the module and tighten them with a Phillips screwdriver Screw Required M4 size binder screw 12 to 15 mm long or 14 15 mm long if fitted with a washer FO2R1 VSD Figure B2 10 Securing Module Using Screws IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B3 1 B3 B3 1 List of O Relays The ladder communication module has 32 input and 32 output relays for interfacing with the FA M3 CPU module interrupt Output Relays Table B3 1 Output Relays Output Relay Number YOOO33 Output Relay Name Read Received Data Completed Each of the input relays can be configured to raise an Description Turn on this relay after reading data fr
48. e the start character that signifies the beginning of receive text No start character is attached to send text End character of receive text This setting is used to define the end character that signifies the end of receive text No end character is attached to send text Receive text length This setting is used to specify the number of characters for delimiting receive text This setting may not exceed a user defined receive data area size AN CAUTION If the receive text length is set to a value larger than the receive data area size the receive data area size is used If the receive text length is set to a value larger than 1792 however a Set Communications Mode Error is generated The receive text length is ignored if the receive data area size is set to 0 If the receive text length is set to 0 the module can receive no data Character to character timeout interval This setting is used to define the character to character receive timeout interval which is the maximum allowable lapse between two successive characters in the same text When a timeout occurs whether it is considered a receive error or the normal completion of receive text depends on the character to character timeout processing setting Send data area size receive data area size Use these settings to specify the size of the send and receive data areas respectively A total space of 896 words 1792 bytes may be freely shared among the
49. ea size Reserved 8 7 Setup error information Data position no Character to character timeout processing Character to character receive timeout is always monitored When timeout occurs it is considered either a receive error the Receive Error input relay turns on or the normal completion of receive data the Receive Completed input relay turns on according to this setting If this setting is 0 character to character receive timeout is always considered the normal completion of receive data and the Receive Completed input relay turns on This setting is useful when the receive text length or the end character cannot be specified When a character to character receive timeout occurs the character to character receive timeout bit of the Receive data Status register turns on irrespective of this setting Character length This setting is used to specify how many bits make up one character Stop bits This setting is used to specify how many bits are used to signify the end of a character Parity This setting is used to define the parity bit which is used for error detection IM 34M6H22 02E 2nd Edition Jan 30 2008 00 4 4 Transmission speed This setting is used to specify the transmission speed Break transmission interval This setting is used to specify the duration of a break signal It cannot be set to 0 ms Start character of receive text This setting is used to defin
50. ea size Ah CAUTION Both the break transmission interval and receive character to character timeout interval have an error of 1 ms so the actual duration may be up 101 ms shorter than the specified value IM 34 6 22 02 2nd Edition Jan 30 2008 00 4 3 B Communications Mode Status Area Data Position No Description Character to character timeout processing receive successful receive error Character length 7 bits 1 8 bits Stop bits 1 bit 1 2 bits Parity none 1 odd 2 even 600 28800 1200 38400 2400 57600 4800 76800 9600 115200 14400 0 1 0 0 0 0 300 19200 1 2 Transmission speed bps 3 4 5 6 Reserved Break transmission interval 1 to 32760 ms 15 8 7 0 Start character of receive text 0 Start character All O s if no start character is used 15 8 7 0 End character terminator of receive First terminator Second terminator text All 0 s for the first terminator if only one end character is used All O s for the first and second terminators if end character is used 0 to 1024 number of characters on the line Receive textlength 0 means no receiving 0 to 32760 ms Character to character timeout interval O means noi monitored Reserved 2 wire 4 wire selection for 4 wire system 1 for 2 wire system Reserved Send data area size Receive data ar
51. ecognized when a terminator end characters is received The default terminator is the CR LF character pair Example If ETX 03 is used as a terminator Receive data Received text 1 Received text 2 Receive Text Length setting A block of text is recognized when the number of bytes designated by the Receive Text Length setting between 1 and 1024 is received If a start character of receive text is specified bytes for received text are counted starting from the character following the start character The default value for the Receive Text Length setting is 1024 bytes Example 1 Receive Text Length is set to 4 bytes Receive data Received text 1 Received text 2 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B6 2 Example 2 Receive Text Length is set to 6 bytes with the use of start character STX 02 and terminator ETX 03 Start character Start character of received text of received text Terminator Received text 1 Received text 2 6 bytes received terminator detected Discarded Any data arriving after the end of text 1 and before the start of text 2 is discarded Detecting a character to character receive timeout A block of text is recognized when the next character is not received after a specified timeout interval This is especially useful for receiving binary data or text with no terminator The default character to c
52. ed timeout interval This is especially useful for receiving binary data or text with no terminator The default character to character timeout interval is 1500 ms Example Character to character timeout interval is set to 1000 ms and no terminator is used in receive data Receive data with no terminator Receive data Received text Character to character timeout interval 1000 ms or longer When a character to character receive timeout occurs it is either considered the normal end of received text as discussed above or a receive error depending on the Character to Character Timeout Processing setting Break Signal The break signal is a special signal consisting of all 1 bits which is sent to generate a framing error The ladder communication module is capable of sending a break signal as well as recognizing a break signal IM 34 6 22 02 2nd Edition Jan 30 2008 00 Blank Page A7 1 7 Programming 71 Communications Mode Areas Before data can be sent to remote equipment communications conditions must be set up To support a variety of communications protocols the F3RZ81 0F F3RZ82 0F ladder communication module allows many functions to be configured using the communications mode areas For instance while the transmission speed and the data format definition can be specified using the SW1 rotary switch and the SW2 DIP switch on the right side of the module respectively they can also
53. eive buffer Turn on Request to Initialize youo37 Receive Buffer relay OFF Is Initialize Receive XOOO05 Buffer Completed relay on ON Turn off Request to Initialize Receive Buffer relay Initialize Receive Buffer Completed relay turns off IM 34M6H22 02E 2nd Edition Jan 30 2008 00 7 5 B7 3 Sending Data Send procedure Data position no 897 Write send data byte count Write send data Data position no 1 384 Yo0034 Request to Send relay OFF Is Send Completed x00002 relay Is Send Error 8 ON Data position no 898 Check Send Data Status Turn off Request to Send relay Send Error relay turns off Turn off Request to Send relay Send Completed Relay turns off This procedure assumes that default data position numbers are used for the send data area The data position numbers will be different if the size of the send or receive data area is redefined by a user IM 34 6 22 02 2nd Edition Jan 30 2008 00 Sample program This sample program assumes the following conditions The module is installed in slot 3 Text to be sent is YOKOGAWA B7 6 End characters a pair of CR and LF 00 and 0 characters 0014 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 0030 0031 0032 dock Sending data
54. end a break signal If a break is sent successfully following this request XLILILI22 turns on and if an error occurs XLILILI24 turns on YLILILI55 to 64 Applies to F3RZ81 OF or port 1 of F3RZ82 0F Reserved 2 Applies to port 2 of F3RZ82 0F only Reserved for system use in F3RZ81 OF Slot number IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 2 Input Relays Table A3 2 Input Relays Input Relay Description Number x00001 Input Relay Name Receive Completed This relay turns on when received data is transferred from the receive buffer to the receive data area Turning on YLILILISS turns off this relay x00002 Send Completed This relay turns on when data is successfully sent following a request to send Turning off YO OSA turns off this relay XLILILI03 Set Communications Mode Completed This relay turns on when a request to set communications mode is successfully completed Turning off YOOO35 turns off this relay x00004 Read Communications Mode Status Completed This relay turns on when the communications mode status has been successfully read out and stored Turning off YOOO36 turns off this relay XLILILI05 Initialize Receive Buffer Completed This relay turns on when the receive buffer and the communications controller have been successfully initialized Turning off YLILILI37 turns off this relay
55. es that default data position numbers are used for the receive data area The data position numbers will be different if the size of the send or receive data area is re defined by a user 2nd Edition Jan 30 2008 00 Sample program This sample program assumes the following conditions The module is installed in slot 3 0034 Receiving data 0035 If receiving is successful 0036 7 8 T m EE NIS Read receive data status and size 0037 ING 600900 Calculate receive data size 0038 q 0400900 200900 2 0039 Read Rea READ 3 385 200385 200900 receive data 0040 T SET 00333 0041 If a receive error occurs OD du Read READ 3 COPAS LI receive data status 0043 T SET 00333 UN CAUTION The receive data size is stored in units of bytes in the module You must convert the size in bytes into size in words when reading the received data into the CPU module using the READ instruction IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B8 B8 1 Troubleshooting These are troubleshooting flowcharts for common errors involving the module Rectify the error of the sequence Is sequence CPU module in error Yes CPU module No Is RDY LED lit No See B8 1 RDY LED is not Lit Yes Is sending normal No See B8 2 Send Error Yes
56. ff 4 or 8 turns off this relay XLILILI09 Set Communications Mode Error This relay turns on if error is detected during communications mode setup Turning off YLILILI35 turns off this relay XLILILI10 to XLILILI32 Reserved IM 34 6 22 02 2nd Edition Jan 30 2008 00 B4 1 B4 List of Data Areas The ladder communication module has send and receive data areas and communications mode areas for interfacing with the FA M3 CPU module The communications mode areas are used to store communications mode settings and the send and receive data areas are used to store data to be sent and data received respectively Data Position No 1 384 385 896 897 898 899 900 905 Communications mode area port 1 968 CAUTION You may customize the send data area size and receive data area size to use data positions between 1 and 896 Data positions above 896 are fixed and cannot be customized IM 34M6H22 02E 2nd Edition Jan 30 2008 00 4 2 B4 1 Communications Mode Areas Data Position No 2 Communications mode area 937 The communications mode area is divided into two sub areas setup area and status area A user program writes communications mode settings to the setup area before issuing a request to set communications mode It reads the status area to check the internal communications mode parameters of the module Communications Mode Se
57. haracter timeout interval is 1500 ms Example Character to character timeout interval is set to 1000 ms and no terminator is used in receive data Receive data with no terminator Receive data Received text Character to character timeout interval 1000 ms or longer When a character to character receive timeout occurs it is either considered the normal end of received text as discussed above or a receive error depending on the Character to Character Timeout Processing setting B6 2 Break Signal The break signal is a special signal consisting of all 1 bits which is sent to generate a framing error The ladder communication module is capable of sending a break signal as well as recognizing a break signal IM 34M6H22 02E 2nd Edition Jan 30 2008 00 7 1 B7 Programming B7 1 Communications Mode Areas Before data can be sent to remote equipment communications conditions must be set up To support a variety of communications protocols the F3RZ91 OF ladder communication module allows many functions to be configured using the communications mode areas For instance while the transmission speed and the data format definition can be specified using the SW1 rotary switch and the SW2 DIP switch on the right side of the module respectively they can also be set by software by writing to the communications mode areas from the FA M3 CPU module using a program This means that the settings can be changed even afte
58. he slot correctly No until it clicks into place Yes Does RDY LED light up if installed in another slot Replace the base module No Replace the ladder communication module IM 34M6H22 02E 2nd Edition Jan 30 2008 00 8 3 A8 2 Send Failure Send error Is Send Error relay on No Yes Is error code of send status 0100 vee No Is error code of Yes send status 0201 No Is error code of send status 0202 Yes No Is error code of send status 0203 Ye No Replace the module Replace the module Set send data byte count correctly The cable is loose or out of specifications DR check is specified so sending is allowed only when DR is on If DTE is at the other end ensure that its ER signal is on CD check is specified so sending is allowed only when CD is off If DTE is at the other end ensure that its RS signal is off IM 34M6H22 02E 2nd Edition Jan 30 2008 00 8 4 A8 3 Receive Failure Receive error Ensure that the remote equipment is Is the remote equipment sending data correctly ending data normally No Yes Is Receive Completed relay on No See A74 Receiving Data Yes Is Receive Error relay on No See A2 3 External Wiring Yes Does Receive Data Status indicate an overrun error Yes Replace
59. iation facilities or medical equipment If so used it is the user s responsibility to include in the system additional equipment and devices that ensure personnel safety Do not attempt to modify the product B Exemption from Responsibility Yokogawa Electric Corporation hereinafter simply referred to as Yokogawa Electric makes no warranties regarding the product except those stated in the WARRANTY that is provided separately Yokogawa Electric assumes no liability to any party for any loss or damage direct or indirect caused by the use or any unpredictable defect of the product IM 34 6 22 02 2nd Edition Jan 30 2008 00 Software Supplied by the Company Yokogawa Electric makes no other warranties expressed or implied except as provided in its warranty clause for software supplied by the company Use the software with one computer only You must purchase another copy of the software for use with each additional computer Copying the software for any purposes other than backup is strictly prohibited Store the original media such as floppy disks that contain the software in a safe place Reverse engineering such as decompiling of the software is strictly prohibited No portion of the software supplied by Yokogawa Electric may be transferred exchanged or sublet or leased for use by any third party without prior permission by Yokogawa Electric IM 34M6H22 02E 2nd Edition Jan 30 2008 00 m General
60. ition Jan 30 2008 00 4 7 Send status This area is used to store the completion status after transmission Status Error Code Decimal Description Send successful 0000 Send data size error 0100 0201 Cable connection failure Send timeout 0202 DR check error 0203 CD check error Receive data status This area stores the status of the received text stored in the receive data area The status is a combination of error bits see the table below An error bit is turned on if the corresponding error is detected for any byte of the received text If an error bit is turned on there is no way to tell which byte is the cause 15 to 06 05 04 03 02 01 00 Reserved ORER FER PER IBOF RCTO BREAK ORER Overrun error FER Framing error PER Parity error IBOF Receive buffer overflow RCTO Character to character receive timeout BREAK Break signal received Receive data byte count This area stores the number of bytes of data received By reading the value stored in this area a program can determine the size of received data The end character in received data is automatically deleted when the received data is stored in the receive data area IM 34 6 22 02 2nd Edition Jan 30 2008 00 Blank Page 5 1 A5 Startup Preparation The flowchart below shows the things to be done to prepare for communications See Also Set up communications Set the module and the Wen
61. ive Buffer Completed This relay turns on when the receive buffer and the communications controller have been successfully initialized Turning off YOOO53 turns off this relay x00022 Send Break Completed This relay turns on when a break signal has been sent successfully Turning off YLILILI54 turns off this relay x00023 Receive Error This relay turns on if error is detected during data receiving Turning on YOOO49 turns off this relay x00024 Send Error This relay turns on if error is detected when processing a request to send or a request to send break Turning off YOOO50 or 54 turns off this relay x00025 Set Communications Mode Error This relay turns on if error is detected during communications mode setup Turning off YOOO51 turns off this relay XLILILI26 to x00032 Reserved 1 Applies to F3RZ81 OF or port 1 of F3RZ82 0F 2 Applies to port 2 of F3RZ82 only Reserved for system use F3RZ81 0F Slot number IM 34M6H22 02E 2nd Edition Jan 30 2008 00 4 1 A4 List of Data Areas The ladder communication module has send and receive data areas and communications mode areas for interfacing with the FA M3 CPU module The communications mode areas are used to store communications mode settings and the send and receive data areas are used to store data to be sent and data received respectively Data Data Position No
62. mmunications conditions Install the module 2 4 Attaching detaching on the base module the Module Connect the module to equipment through a B2 3 External Wiring communications line Not necessary ifthe Writing to settings with the communications mode areas switches on the side of necessary the module are used as they are B3 List of Relays B4 1 Communications Mode Areas B7 1 Communications Mode Areas Write to communication mode areas The receive buffer should be initialized to discard any unwanted data due to electric noise that may be present on the communications line Initialize receive buffer B7 2 Initializing Receive Buffer IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank Page B6 1 B6 Data Communications B6 1 Format of Received Text The F3RZ91 OF ladder communication module may recognize a block of received text by any of the following three means Byreceiving a terminator receiving the number of characters designated by the Receive Text Length setting in the communications mode area By detecting a character to character receive timeout Ah CAUTION block of received text is recognized when any of the above three conditions is met You may explicitly disable individual conditions if so desired However you may not disable the condition defined by the Receive Text Length setting Receiving a terminator A block of text is r
63. module You can set the switch by inserting a small flat blade screwdriver in its arrow shaped slit and rotating it to a desired position between 1 and C positions D to F are not available The factory setting is C 2 115 2 kbps SW1 Transmission Position Speed bps Remarks Factory setting Not available 0 1 2 3 4 5 6 7 8 9 A B Figure B2 2 F3RZ91 0F Transmission speed Switch IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 4 Data format switch SW2 This is an 8 element DIP switch for defining a character frame Elements 1 4 may be set to either the ON or OFF position to define character length parity and stop bits The factory setting has element 1 setto ON and elements 2 8 set to OFF SW2 Elements Function 1 Character length 8 bits 2 Parity No parity 3 mu 4 Stop bits 1 bit 5 Not used m 6 Not used are 23 ER 7 Not used E Em um OFF 8 Not used MS LE OFF SW2 3 is available only when SW2 2 is set to ON using parity Always set SW2 5 to SW2 8 to OFF Figure B2 3 F3RZ91 0F Data format Switch Reserved switch SW3 The F3RZ91 OF does not use the SW3 switch The module must be used with all elements of this switch set to OFF factory setting SW3 Elements Function Not used Not used Not used Not used Not used Not used Not used Not used
64. nect wires to unused terminals on a terminal block or in a connector Doing so may adversely affect the functions of the module IM 34 6 22 02 2nd Edition Jan 30 2008 00 vii B Waste Electrical and Electronic Equipment Waste Electrical and Electronic Equipment WEEE Directive 2002 96 EC This directive is only valid in the EU MS This product complies with the WEEE Directive 2002 96 EC marking requirement The following marking indicates that you must not discard this electrical electronic product in domestic household waste Product Category With reference to the equipment types in the WEEE directive Annex 1 this product is classified as a Monitoring and Control instrumentation product Do not dispose in domestic household waste When disposing products in the EU contact your local Yokogawa Europe B V office IM 34M6H22 02bE 2nd Edition Jan 30 2008 00 Introduction B Overview the Manual This manual describes the specifications operations and communications protocol of the ladder communication modules F3RZ81 0F F3RZ82 0F and F3RZ91 0F B Related Instruction Manuals Read the relevant manuals depending on the sequence CPU module type used For information on the functions of the F3SP66 or F3SP67 sequence CPU modules refer to Sequence CPU Functions User s Manual for F3SP66 4S F3SP67 6S IM34M6P14 01E Sequence CPU Network Functions User s Manual for F3SP66 4S F3SP67 6S I
65. ng any characters 0D and 0A CR LF Also used as send terminator IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 2 Item Specifications Default Text length Can be specified as any number between 1 and 3584 1024 Character to character 0 to 32760 ms in 1 ms increments 15s timeuot interval accurate to 1 ms 0 means not monitored 0 to 32760 ms in 1 ms increments Monitored accurate to 1 ms 0 means not monitored 30 s Break transmission interval 1 to 32760 ms in 1 ms increments accurate to 1 ms 400 ms 1 Default values are set with the data format switch SW2 2 Default values are set with the transmission speed switch SW1 8 The send receive data register size can be changed to accommodate up to 3584 bytes Format of received text Clear to send timeout interval B Components and Functions F3RZ81 0F Front view Right side view zx EDEN is Indicator RDY Lit when the internal circuit is functioning pLuRZ81 0F normally Front Rear sw SITE Transmission speed switch Sets the transmission SW3 SW2 speed of the module Pu fer Data format switch Defines the format of communication data 327
66. o the understanding of operation and functions Indicates a TIP Gives information that complements the present topic SEE ALSO Indicates a SEE ALSO reference Identifies a source to which to refer For the protection and safe use of the product and the system controlled by it be sure to follow the instructions and precautions on safety stated in this manual whenever handling the product Take special note that if you handle the product in a manner other than prescribed in these instructions the protection feature of the product may be damaged or impaired In such cases Yokogawa cannot guarantee the quality performance function and safety of the product When installing protection and or safety circuits such as lightning protection devices and equipment for the product and control system as well as designing or installing separate protection and or safety circuits for fool proof design and fail safe design of processes and lines using the product and the system controlled by it the user should implement it using devices and equipment additional to this product If component parts or consumable are to be replaced be sure to use parts specified by the company This product is not designed or manufactured to be used in critical applications which directly affect or threaten human lives and safety such as nuclear power equipment devices using radioactivity railway facilities aviation equipment air navigation facilities av
67. om the receive data area Turning on this relay turns off X00001 receive completed normally and XLILILIO7 receive error and the module is ready to receive new data into the receive data area YOOO34 Request to Send Turn on this relay after having stored send data size and send data to the registers If data is sent successfully following this request turns on and if an error occurs 8 turns on YLILILI35 Request to Set Communications Mode Turn on this relay after having stored communications mode setting in the communications mode area If setup is successful following this request turns on and if an error occurs XLILILIO9 turns on YLILILI36 Request to Read Communications Mode Status Turn on this relay to read the contents of the communications mode area and the control line status If the request is completed successfully XLILILIO4 turns on YOOO37 Request to Initialize Receive Buffer Turn on this relay to initialize the receive buffer and the communications controller 5 turns on after successful initialization YLILILI38 Request to Send Break Turn on this relay to send a break signal If a break is sent successfully following this request XLILILIO6 turns on and if an error occurs XLILILIO8 turns on YLILILI39 to 0064 Reserved IM 34M6H22 02E 2nd Edition Jan 30 2008 00 B3 2 B3 2 Input Relays
68. ondensing orage humidity 90 non condensing Operating Must of free of corrosive gases environment flammable gases and heavy dust m Physical Specifications Specifications Specifications Interface EIA RS 232 C compliant Current consumption 350 mA Number of ports 1 isolated External dimensions 28 9 W x 100 H x 83 2 D mm Transmission distance 1200 m max Weight 1209 Connector Terminal block Dimensions excluding protrusions For details see the External Dimensions drawing B Function Specifications Connection method Specifications Point to point Default Transmission mode Full duplex half duplex Synchronization Start stop synchronization Communication protocol No protocol Data format Character length 7 or 8 bits Stop bits 1 or 2 bits Parity bit None even or odd Transmission speed 300 600 1200 2400 4800 9600 14400 19200 28800 38400 57600 76800 or 115200 bps Communication buffer Send buffer Text buffer 1792 bytes 2 Receive buffer 8192 byte rotary buffer FIFO buffer Format of received text Start character Yes or no Any single character End character terminator Yes or no Up to 2 characters long any characters Also used as send terminator 0D and 0A CR LF Text length Can be specified as any number between 1 and 1792 1024
69. pletion of receive data and the Receive Completed input relay turns on This IM 34M6H22 02E 2nd Edition Jan 30 2008 00 4 4 setting is useful when the receive text length or the end character cannot be specified When a character to character receive timeout occurs the character to character receive timeout bit of the Receive data Status register turns on irrespective of this setting Character length This setting is used to specify how many bits make up one character Stop bits This setting is used to specify how many bits are used to signify end of a character Parity This setting is used to define the parity bit which is used for error detection Transmission speed This setting is used to specify the transmission speed Clear to send timeout interval This setting is used to specify the maximum time allowed for starting and completing a transmission before timeout occurs Sending cannot start if the send condition specified by the DR Check or CD Check setting is not satisfied or if the communications cable is loose or not connected If a timeout occurs a send error is generated If this setting is 0 timeout will never occur Break transmission interval This setting is used to specify the duration of a break signal It cannot be set to 0 ms Start character of receive text This setting is used to define the start character that signifies the beginning of receive text No start charac
70. ps transmission speed 0004 SET 00335 0005 If written normally en 200303 T 0007 f setup error occurs 0008 Es ras Read setup error READ 3 1920 201920 1 information 0009 ES RST 00335 IM 34 6 22 02 2nd Edition Jan 30 2008 00 AT 3 e Reading from communications mode area Turn on Request to Read Communications Mode Status for BOR T relay YOOOS2 for port 2 OFF Read Communications Mode 04 for port 4 T 3 Status Completed relay on _ 29220 for bo Port 1 Data position 1889 1920 Port 2 Data position no 1953 1984 Turn off Request to Read Communications Mode Status relay Read Communications Mode Status Completed relay turns off Sample program This sample program assumes the following conditions The module is installed in slot 3 Allthe contents of the communications mode area for port 1 are to be read 0010 Reading from communications mode area 0011 Request to read communications mode status 0012 100002 SET 0013 If communications mode status is read successfully 0014 1 un READ 3 1889 001889 32 mode status 0015 34 6 22 02 2 Edition Jan 30 2008 00 AT 2 Initializing Receive Buffer 7 4 When the module establishes connection with a remote device or when remote device is switched on noise or unwanted
71. put Relays Table A3 1 Output Relays Output Relay Number YOOO33 Output Relay Name Read Received Data Completed Each of the input relays can be configured to raise an Description Turn on this relay after reading data from the receive data area Turning on this relay turns off X00001 receive completed normally and 7 receive error and the module is ready to receive new data into the receive data area YOOO34 Request to Send Turn on this relay after having stored send data size and send data to the registers If data is sent successfully following this request turns on and if an error occurs XLILILIO8 turns on YLILILI35 Request to Set _ Communications Mode Turn on this relay after having stored communications mode setting in the communications mode area If setup is successful following this request turns on and if an error occurs XLILILIO9 turns on YLILILI36 Request to Read Communications Mode Status Turn on this relay to read the contents of the communications mode area and the control line status If the request is completed successfully XLILILIO4 turns on YOOO37 Request to Initialize Receive Buffer Turn on this relay to initialize the receive buffer and the communications controller 5 turns on after successful initialization YLILILI38 Request to Send Break Turn on this relay to send a break sign
72. r available CAUTION If the send data area size of a port is set 0 the send error is generated when the request to send is issued for that port Ifthe receive data area size of a port is set to 0 it will not be available for receiving Do not change the setting of the send data area size or the receive data area size during communication If the setting of the send or receive data area size is changed during communication beware that there may be old data remaining in the data areas IM 34 6 22 02 2nd Edition Jan 30 2008 00 4 6 A4 2 Send and Receive Data Areas e Allocation of send and receive data areas F3RZBLOF CAUTION You may customize the send data area size and receive data area size for using data positions between 1 and 1792 Data positions above 1792 are fixed and cannot be customized Send data area This area is used to store data to be sent e Receive data area This area is used to store data received Extended send receive data area For F3RZ81 OF this is extra data space which can be used by modifying the send data area size and or the receive data area size from their respective default setting values of 384 and 512 words Send data byte count This area is used to store the number of bytes to be sent Following a request to send data is sent until the specified number of bytes is reached IM 34M6H22 02E 2nd Ed
73. r or chemicals for cleaning as they may cause deformity discoloration or malfunctioning Avoid storing the FA M3 controller in places with high temperature or humidity Since the CPU module has a built in battery avoid storage in places with high temperature or humidity Since the service life of the battery is drastically reduced by exposure to high temperatures take special care storage temperature should be from 20 C to 75 There is built in lithium battery in a CPU module and temperature control module which serves as backup power supply for programs device information and configuration information The service life of this battery is more than 10 years in standby mode at room temperature Take note that the service life of the battery may be shortened when installed or stored at locations of extreme low or high temperatures Therefore we recommend that modules with built in batteries be stored at room temperature Always turn off the power before installing or removing modules Failing to turn off the power supply when installing or removing modules may result in damage Do not touch components in the module n some modules you can remove the right side cover and install ROM packs or change switch settings While doing this do not touch any components on the printed circuit board otherwise components may be damaged and modules may fail to work Do not use unused terminals Do not con
74. r the ladder communication module is installed on the base unit Writing to communications mode area Verify communications conditions Write data to communications mode area Data position no 905 936 Turn on Request to Set 00035 Communications Mode relay OFF ee T Mode Completed relay pare uem E Set Communications X00009 ON Check the setup error Data position no 968 information Turn off Request to Set Communications Mode relay Turn off Request to Set Communications Mode relay Set Communications Mode Set Communications Mode Completed relay turns off Error relay turns off IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Sample program This sample program assumes the following conditions The module is installed in slot 3 Transmission speed is 19200 bps B7 2 0001 Writing to communication mode area 0002 Writing i 100001 4 19 2 kbps transmission speed 0004 SET 00335 0005 f written normally x00303 T RET 0007 If setup error occurs 0008 ES 00308 Read setup error READ 3 200968 information 0009 ES RST 00335 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 7 3 Reading from communications mode area Turn on Request to Read Communications Mode Status YLILILI36 relay OFF Read Communications Mode 7 2 Status
75. rawn with the panel cover removed Figure 2 1 F3RZ81 0F F3RZ82 0F Switches O Transmission speed switch SW1 This is a hexadecimal rotary switch for setting up the transmission speed of the module You can set the switch by inserting a small flat blade screwdriver in its arrow shaped slit and rotating it to a desired position between 1 The factory setting is C 2 115 2 kbps SW1 Transmission Position speed bps 300 and C positions D to F are not available Remarks 600 1200 2400 4800 9600 14400 19200 22800 38400 57 6K 76 8K 115 2K Factory setting o Not available The setting with SW1 applies to both port 1 and port 2 The SW1 setting may be changed by software for an individual port Figure 2 2 F3RZ81 0F F3RZ82 0F Transmission speed Switch IM 34M6H22 02bE 2nd Edition Jan 30 2008 00 2 5 Data format switch SW2 This is an 8 element DIP switch for defining a character frame Elements 1 4 may be set to either the ON or OFF position to define character length parity and stop bits The factory setting has element 1 setto ON and elements 2 8 set to OFF SW2 Elements Function Character length 8 bits ON 2 No parity OFF 3 Parity m OFF 4 Stop bits 1 bit 2 bits 1 bit OFF 5 Not used OFF 6 Not used OFF 7 Not used
76. receive text A4 2 A4 3 A4 4 A6 2 ER control 2 1 4 2 4 3 4 5 error code A4 7 A8 3 extended send receive data area A4 1 A4 6 input 2 O output relays oe ettet edt A3 1 P parity 2 1 2 5 4 2 4 3 4 4 RDY LED tees A2 2 A8 1 A8 2 IM 34M6H22 02E 2nd Edition receive buffer initializing A3 1 A3 2 A7 4 receive data area A4 1 A4 2 A4 3 A4 6 receive data area size A4 1 A4 5 A4 6 receive data byte count A4 1 A4 6 A4 7 receive data status A4 1 A4 6 A4 7 receive 1 2 4 2 4 3 4 5 6 3 7 7 8 4 receive procedure 7 7 receive text length A4 4 received text format of A2 1 A6 1 RS control A2 1 A4 2 4 3 4 5 S send and receive data areas A4 1 A4 6 send data A4 1 A4 2 A4 3 A4 6 send data area size A4 1 A4 5 A4 6 send data byte count A4 1 A4 6 send error A3 1 A3 2 A4 4 A4 5 A7 5 A8 3 send proced
77. send and receive data areas Specify the size in word two bytes units UN CAUTION send error is generated if the send data area size of port is set to 0 but request to send is issued for that port Ifthe receive data area size of a port is set to 0 it will not be available for receiving Do not change the setting of the send data area size or the receive data area size during communication If the setting of the send or receive data area size is changed during communication beware that there may be old data remaining in the data areas IM 34 6 22 02 2nd Edition Jan 30 2008 00 4 2 Send Receive Data Areas e Allocation of send and receive data areas Data position No 1 384 385 Receive data area port 1 897 Send data byte count port 1 898 Send status port 1 899 Receive data status port 1 900 Receive data byte count port 1 905 Communications mode area port 1 968 UN CAUTION B4 5 You may customize the send data area size and receive data area size for using data positions between 1 and 896 Data positions above 896 are fixed and cannot be customized Send data area This area is used to store data to be sent e Receive data area This area is used to store data received Send data byte count This area is used to store the number of bytes to be sent Following a request to send data is sent until the specified number of bytes is rea
78. ter is attached to send text End character of receive text This setting is used to define the end character that signifies the end of receive text No end character is attached to send text Receive text length This setting is used to specify the number of characters for delimiting receive text This setting may not exceed a user defined receive data area size CAUTION If the receive text length is set to a value larger than the receive data area size the receive data area size is used If the receive text length is set to a value larger than 3584 however a Set Communications Mode Error is generated The receive text length is ignored if the receive data area size is set to 0 If the receive text length is set to 0 the module can receive no data IM 34 6 22 02 2nd Edition Jan 30 2008 00 4 5 Character to character timeout interval This setting is used to define the character to character receive timeout interval which is the maximum allowable lapse between two successive characters in the same text When a timeout occurs whether it is considered a receive error or the normal completion of receive text depends on the character to character timeout processing setting RS Request to Send control The RS control signal is used to notify remote data equipment that the module has data to send This setting is used to specify whether the module should always turn on the RS signal or should turn on
79. tup Area Data Han Position No Description Default Character to character timeout processing Character length 0 7 bits 1 8 bits Stop bits 0 1 bit 1 2 bits Parity 0 none 1 odd 2 even 0 300 7 19200 1 600 8 28800 2 1200 9 38400 Transmission speed in bps 3 2400 10 57600 4 4800 11 76800 5 9600 12 115200 6 14400 0 receive successful 1 receive error Reserved Break transmission interval 1 to 32760 ms 15 8 7 0 Start character of receive text 0 Start character All 0 s if no start character is used 15 8 7 0 First terminator Second terminator End character terminator of All O s for the first terminator if only one end character is 0D 0A receive text used CR LF All 0 s for the first and second terminators if no end character is used to 1024 number of characters on the line 1024 0 means no receiving Character to character timeout 0 to 32760 ms 1500 interval 0 means not monitored Receive text length Reserved 2 wire 4 wire selection 0 for 4 wire system 1 for 2 wire system Reserved Send data area size port 1 In units of words Receive dai n1 Total size for send and receive data areas eceive data area size port 1 must not exceed 896 words 1792 bytes 1 The default value is set with the SW2 switch 2 The default value is set with the SW1 switch 8 Depends on receive data ar
80. ure A7 5 send 5 5 4 1 4 7 start character of receive text 4 2 4 4 stop A2 1 A4 2 4 3 4 4 T 2 1 4 2 4 3 2 transmission speed switch SW1 A2 2 A2 4 IM 34M6H22 02E 2nd Edition Jan 30 2008 00 Blank FA M3 TOC B 1 Ladder Communication Module Part B F3RZ91 0F IM 34M6H22 02E 2nd Edition CONTENTS LnRID RICEglM R i e P 0 u a ee viii Copyrights and Trademarks E ix Part B F3RZ91 0F B1 OVERVIEW seas 1 1 SPEEINCAUONS nee B2 1 B2 1 Standard Specifications eese B2 1 Model and Suffix B2 1 Operating B2 1 General Specifications B2 1 m Physical 2 1 Function Specification 2 1 Components and B2 2 External 5 B2 2 B22 Switch un B2 3 Swit
81. ustrial Standards JIS Class D earlier called Class 3 Ground For compliance to CE Marking use braided or other wires that can ensure low impedance even at high frequencies for grounding 1 Japanese Industrial Standard JIS Class D Ground means grounding resistance of 100 max Configure and route cables with noise control considerations Perform installation and wiring that segregates system parts that may likely become noise sources and system parts that are susceptible to noise Segregation can be achieved by measures such as segregating by distance installing a filter or segregating the grounding system Configure for CE Marking Conformance For compliance to CE Marking perform installation and cable routing according to the description on compliance to CE Marking in the Hardware Manual IM34M6C11 01E IM 34M6H22 02E 2nd Edition Jan 30 2008 00 vi Keep spare parts hand Stock up on maintenance parts including spare modules in advance Discharge static electricity before operating the system Because static charge can accumulate in dry conditions first touch grounded metal to discharge any static electricity before touching the system Never use solvents such as paint thinner for cleaning Gently clean the surfaces of the FA M3 controller with a cloth that has been soaked in water or a neutral detergent and wringed Donotuse volatile solvents such as benzine or paint thinne
82. y the Receive Text Length setting IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 Receiving terminator of text is recognized when terminator end characters is received The default terminator is the CR LF character pair Example If ETX 03 is used as a terminator Receive data peje Received text 1 Received text 2 Receive Text Length setting A block of text is recognized when the number of bytes designated by the Receive Text Length setting between 1 and 1024 is received If a start character of receive text is specified bytes for received text are counted starting from the character following the start character The default value for the Receive Text Length setting is 1024 bytes Example 1 Receive Text Length is set to 4 bytes Receive data Received text 1 Received text 2 Example 2 Receive Text Length is set to 6 bytes with the use of start character STX 02 and terminator ETX 03 Start character Start character of received text of received text Terminator Received text 1 Received text 2 6 bytes received terminator detected Discarded Any data arriving after the end of text 1 and before the start of text 2 is discarded IM 34M6H22 02E 2nd Edition Jan 30 2008 00 2 A6 3 Detecting a character to character receive timeout A block of text is recognized when the next character is not received after a specifi

Download Pdf Manuals

image

Related Search

Related Contents

T-Link-EV5274/5278 User Manual Rev 0.92  Belkin F7P121VFC00  Samsung 2032MW Kasutusjuhend  取扱説明書  KitchenAid KEBS177SBL0 User's Manual  SCADAWave Manager Diagnostics User Manual  OPERATING INSTRUCTIONS  Phonetics Annunciator Module SCADA 3000 User's Manual  MFG. ID. NUMBER 96148002000  I N S T A L L A T I O N M A N U A L  

Copyright © All rights reserved.
Failed to retrieve file