Home
User`s Manual
Contents
1. FC5A SIF2 Terminal RS232C Remote Device NM v MEER Shield 3 6 FC5A ExPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION Introduction This chapter describes communication examples using the expansion RS232C communication module Allocating Communication Port Number When expansion RS232C communication modules are mounted port number starts with port 3 and ends with port 7 when a maximum of five expansion RS232C communication modules are mounted Example When five expansion RS232C communication modules and two I O modules are mounted the communication port num bers allocated as shown below Port 1 Expansion RS232C Communication Module FC5A SIF2 Port 2 Port 3 Port A Port 5 Port6 A Port 7 Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 1 4 EXPANSION RS232C COMMUNICATION Computer Link Communication The computer link communication can be used with WindLDR on a PC connected to the CPU module to perform mainte nance operations such as download upload user programs start stop the PLC monitor the PLC status and read write operand values When the expansion RS232C communication module is mounted to the CPU module in a computer link system the computer link communication functions can be performed except for download upload user programs For details about the computer link communication see the FC5A MicroSmart user s manual FC9Y B927 Sy
2. For terminal arrangement and wiring diagram see page 3 6 10 Start WindLDR on the PC connected to the expansion RS232C communication module 11 From the WindLDR menu bar select Online gt Monitor The monitor screen appears and you can monitor the MicroSmart operating statuses and change operand values 4 4 FC5A ExPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION Operator Interface Communication Using the expansion RS232C communication module the MicroSmart can communicate with IDEC s HG series operator interfaces To connect the HG series operator interface to the expansion RS232C communication module use a communi cation cable prepared by the user For details about the communication settings and specifications see the HG series operator interface user s manual System Setup Example Expansion RS232C Communication Module CPU Module FC5A SIF2 To Port 1 RS232C ME jel Computer Link Cable 4C FC2A KC4C 3m 9 84 ft long HG series Operator Interface To Port 3 RS232C The communication cable is prepared by the user referring to the diagram shown below For the wiring precautions see page 3 6 Note User programs cannot be downloaded and uploaded through the expansion RS232C communication module HG1F HG2F HGS3F HG4F HG2S HG series operator interfaces applicable to port 1 and port 2 can be used Ca
3. DATA Receive Data NC No Connection 5 GND Ground 6 NC No Connection NC No Connection 8 BUSY Busy Signal 9 NC No Connection The name of BUSY terminal differs depending on printers such as DTR The function of this terminal is to send a signal to local equipment whether the printer is ready to print data or not Since the operation of this signal may differ depending on printers confirm the operation before connecting the cable Do not connect any wiring to the NC no connection pins otherwise the MicroSmart and the printer may not work correctly and may be damaged Description of Operation Printout Example The data of counter C2 and data register D30 are printed every minute A printout PRINT TEST example is shown on the right 11H 00M Programming Special Data Register CNT2 0050 Special data register D8105 is used to monitor the BUSY signal and to control the D030 3854 transmission of print data Special DR While DSR is on not busy the CPU sends data 11H 01M While DSR is off busy the CPU stops data transmission If the off duration exceeds a limit b sec a transmission dame EPOD 24 eM D030 2124 D8105 014 busy timeout error will occur and the remaining data is not sent The transmit status data register stores an error code For error codes see the FC5A MicroSmart user s manual FC9Y B927 The MicroSmart monitors the DSR signal to prevent the receiv
4. Expansion Communication Port communication port on the RS232C expansion communication module a NOS e 95 0002002002020002020202001 2 N l Peang o s ENTE H et 2000000 OO im To Port 3 RS232C To Port 4 RS232C Printer HG series Operator Interface Features The expansion RS232C communication module has two communication functions For details about these communication functions see the FC5A MicroSmart user s manual FC9 Y B927 With a computer is connected to the MicroSmart CPU module operating status and 1 0 status can be monitored on the computer and data in the CPU can be monitored or updated from the computer User programs cannot be uploaded and downloaded Maintenance Communication Computer Link CPU modules can be linked to remote RS232C devices such as computers printers User Communication and barcode readers through expansion RS232C communication modules using the user communication function DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 1 1 GENERAL INFORMATION Applicable CPU Modules and WindLDR Version The expansion RS232C communication module can be used with the FC5A MicroSmart CPU modules and WindLDR as listed below All in one Type FC5A C24R2 FC5A C24R2C CPU Modules Slim Type FC5A D16RK1 FC5A D16RS1 FC5A D32K3 FC5A D32S3 System Program Version 110 or later WindLDR Version 5 1 or higher Note 1 All in one 10
5. line control signals RS232C 4 11 maintenance communication 1 1 protocol 4 3 maximum quantity of applicable expansion modules 3 2 module specifications 2 1 mounting hole layout for direct mounting 3 4 operator interface communication 4 5 parts description 2 1 Phoenix 3 5 PLC status 1 2 printer 4 9 programming special data register 4 9 quantity of bytes COMRF 4 17 receive 4 16 instruction cancel flag 4 16 timeout 4 2 4 3 4 6 4 7 4 8 RS232C line control signals 4 11 RXD 4 16 screwdriver 3 5 special data registers for communication mode information 4 11 RS232C line control signals 4 11 internal relays for receive instruction cancel flag 416 specifications communication 2 2 expansion RS232C communication module 2 2 system program version D8029 1 2 terminal arrangement 3 6 connection 3 5 tightening torque 3 5 transmit 4 15 troubleshooting 5 1 TXD 415 updating system program version 1 2 user communication 1 1 4 7 receive instruction cancel flag 4 16 user protocol 4 7 WindLDR version 1 2 wiring 3 1 diagram 36 FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL UNITED STATES IDEC CORPORATION 1175 Elko Drive Sunnyvale CA 94089 2209 USA Tel 1 408 747 0550 Toll Free 800 262 IDEC Fax 1 408 744 9055 Toll Free Fax 800 635 6246 E mail opencontact idec com CANADA IDEC CANADA LIMITED Unit 22 151 Brunel Road Mississauga Ontario LAZ 1X3 Canada Tel 1 905 890 8561
6. Specifications General Specifications Type No FC5A SIF2 Quantity of Channels 1 Synchronization Start stop synchronization Electrical Characteristics EIA RS232C compliant Terminal Arrangement See page 3 6 Operating Temperature O to 55 C Relative Humidity 10 to 95 no condensation Shielded multi core cable 24AWG x 6 Recommended Cable Specifications Dielectric strength 2000 V min Insulation resistance 100 Maximum Cable Length 3m MC1 5 10 G 3 81BK Phoenix Contact Applicable terminal block FCAA PMT1OP Connector Insertion Removal Durability 100 times minimum Connector on Mother Board Isolation from Internal Circuit Transformer isolated Incorrect Wiring Malfunction may be caused Effect of Improper Input Connection Improper Voltage If any input exceeding the rated value is applied permanent damage may be caused Between communication terminals and internal circuit 500V AC 1 minute Quantity of Applicable Expansion RS232C All in one type CPU module 3 maximum Communication Modules Slim type CPU module 5 maximum 85 mA 5V DC O mA 24V DC Weight 100g Dielectric Strength Internal Current Draw Communication Specifications Baud Rate bps 1200 2400 4800 9600 19200 38400 Communication Data Bits Torg Parameters Parity Odd even none Stop Bits 1or2 Maintenance Communication User program download and upload are impossible User Communication Possible Data Link Modbus Comm
7. TABLE OF CONTENTS 1 CHAPTER 2 CHAPTER 3 Cuarter 4 CHAPTER 5 GENERAL INFORMATION About the Expansion Communication Module 1 1 PeQUCS 25 ene Qiod pian bias hae eee eb oe eee eae ee Bee eee eee a 1 1 Applicable CPU Modules and WindLDR Version 1 2 Confirming System Program Version 1 2 Updating System Program Version 1 2 MODULE SPECIFICATIONS Parts lt 2 1 DiMenS ONS 2 4 INSTALLATION AND WIRING Maximum Quantity of Applicable Expansion Modules 3 2 Terminal Connection 3 5 Terminal Arrangement and Wiring Diagram 3 6 EXPANSION RS232C COMMUNICATION Allocating Communication Port 4 1 Computer Link Communication 4 2 Operator Interface Communication 4 5 User Communication mm 4 7 Communication Mode Information and 5232 Line Control Signals 4 11 4 15 RAD 4 16 COMRF Communication 5 4 17 TR
8. Toll Free 888 317 4332 Fax 1 905 890 8562 E mail sales ca idec com AUSTRALIA IDEC AUSTRALIA PTY LTD 2 3 Macro Court Rowville Victoria 3178 Australia Tel 61 3 9763 3244 Toll Free 1800 68 4332 Fax 61 3 9763 3255 E mail sales au idec com UNITED KINGDOM IDEC ELECTRONICS LIMITED Unit 2 Beechwood Chineham Business Park Basingstoke Hampshire RG24 8WA UK Tel 44 1256 321000 Fax 44 1256 327755 E mail sales uk idec com GERMANY IDEC ELEKTROTECHNIK GmbH Wendenstrasse 331 20537 Hamburg Germany Tel 49 40 25 30 54 0 Fax 49 40 25 30 54 24 E mail service idec de B 969 2 ZIDEC JAPAN IDEC CORPORATION 7 31 Nishi Miyahara 1 Chome Yodogawa ku Osaka 532 8550 Japan Tel 81 6 6398 2571 Fax 81 6 6392 9731 E mail products idec co jp CHINA IDEC SHANGHAI CORPORATION 608 6089 6F Gangtai Plaza No 700 Yan an East Road Shanghai 200001 PRC Tel 86 21 5353 1000 Fax 86 21 5353 1263 E mail idec cn idec com IDEC BEIJING CORPORATION 211B Tower B The Grand Pacific Building 8A Guanghua Road Chaoyang District Beijing 100026 PRC TEL 86 10 6581 6131 FAX 86 10 6581 5119 IDEC SHENZHEN CORPORATION Unit AB 3B2 Tian Xiang Building Tian an Cyber Park Fu Tian District Shenzhen Guang Dong 518040 PRC Tel 86 755 8356 2977 Fax 86 755 8356 2944 HONG KONG IDEC IZUMI H K CO LTD Unit 1505 07 DCH Commercial Centre No 25
9. and 16 1 O type CPU modules cannot use the expansion RS232C communication module Note 2 The all in one 24 1 type CPU module cannot use the expansion RS232C communication module in combination with function modules listed below When using the expansion RS232C communication module and these function modules use the slim type CPU module Function Module Type No FCAA LO3A1 FC4A LO3AP1 FCAA J2A1 FCAA JACN1 FC4A J8C1 FCAA J8AT1 FCAA K1A1 FC4A K2C1 AS Interface Master Module FC4A AS62M Analog 1 Module Confirming System Program Version CPU module system program version 110 or higher is required to use the expansion RS232C communication module The system program version can be confirmed using WindLDR 1 Connect a PC to communication port 1 or 2 on the MicroSmart CPU module using the computer link cable 4C FC2A KCAC 2 From the WindLDR menu bar select Online gt Monitor The monitor mode is enabled 3 From the WindLDR menu bar select Online gt PLC Status The PLC Status dialog box appears and shows the sys tem program version FO5A DIBR PLO Status x Scan Time Running Scan Time Max 21 PLE Type FEBA D1 BR RHun 5top Status dris aes System Program Version 110 System Program Version Clear Unchanged Device Number 255 Special data register 08029 Error Status Initialize Data Link Clear Details gt gt Clear All Operands Calendar aee Emme Prote
10. details about the user communication see the FC5A MicroSmart user s manual FC9Y B927 Applicable CPU Modules FC5A C10R2 C FC5A C16R2 C FC5A C24R2 C FC5A D16RK1 RS1 FC5A D32K3 S3 RXD1 RXD2 RXD1 RXD2 RXD1 RXD5 RXD1 RXD7 RXD1 RXD7 Example Programming the RXD instruction for Port 3 When programming WindLDR for RXD3 select communication port 3 as shown below RXD Receives X 51 D1 Dz Allocation Number zj Comment Insert Delete E dit ee dee Select Communication Port 3 Example Ladder Diagram for A simple example of RXD3 program is shown below SOTU RXD S1 D1 D2 When IO is turned on RXD3 is executed to be ready for receiving IO 3 10 MO D10 10 byte data through the RS232C port 3 When data receiving is complete MO is turned on D10 stores the receive data status and error code The next data register stores the byte count of received data User Communication Receive Instruction Cancel Flag Special internal relays for user communication receive instruction cancel flag are used to cancel all RXD instructions for each port While the MicroSmart has completed receive format and is ready for receiving incoming data turning on the user communication receive instruction cancel flag cancels all RXD instructions for each port This function is useful to cancel receive instructions only without stopping the MicroSmart To make the cancelled RXD instructions active turn off the flag and t
11. instruction FC5A EXPANSION RS232C COMMUNICATION IVIODULE USER S MANUAL Supply power to the CPU module Note 1 Supply the rated power voltage All in one type 100 240V AC or 24V DC Note 1 Slim type 24V DC Connect the communication cable correctly 3 6 4 2 See The PWR power LED does not go on 5 1 Set the same communication parameters for 4 3 WindLDR and expansion communication port Upgrade the CPU module system program ver 12 sion to 110 or higher tion Connect the communication cable correctly 3 6 4 5 See The PWR power LED does not go on 5 1 Set the same communication parameters for the operator interface and expansion communi 4 6 cation port Upgrade the CPU module system program ver 12 sion to 110 or higher o Adin Set the communication baud rate to a required 42 46 47 value Use the COMRF instruction in the user program 4 17 o Ado Make sure of correct wiring 3 6 4 9 Set the same communication parameters for expansion RS232C communication port as the 4 8 remote terminal Upgrade the CPU module system program ver 12 sion to 110 or higher Designate a correct port number in the TXD 4 15 Instruction 5 1 5 TROUBLESHOOTING Check Is the start input for the TXD instruction on Is the PWR LED on the CPU module on Turn on the start input for the TXD instruction See The PWR power LED does not go on Data is not transmitted correctly in the
12. the CPU module the CPU module can communicate with the operator interface through the expansion RS232C communication module The operating procedures for operator interface communication are as follows 1 Change the Function Area Settings if required and download the user program through communication port 1 or 2 RS232C on the CPU module See step 1 through step 8 shown on pages 4 3 and 4 4 2 Connect the operator interface to communication port 3 through port 7 on the expansion RS232C communication module For terminal arrangement and wiring diagram see page 3 6 Now the CPU module can communicate with the operator interface using communication port 3 through port 7 4 6 FC5A EXPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION User Communication The user communication function can be used for the MicroSmart to communicate with a PC printer and barcode reader through the expansion RS232C communication module For details about the user communication function see the FC5A MicroSmart user s manual FC9Y B927 Expansion RS232C Communication Module Communication Parameter Range Communication Mode User communication 10 to 2540 10 ms increments 500 RECEIVE Timeout Receive timeout is disabled when or 2550 is selected User Communication through the Expansion RS232C Communication Module This section describes an example of user communication through the expansion RS
13. where inattention might cause personal injury or damage to equipment The MicroSmart is designed for installation in a cabinet Do not install the MicroSmart outside a cabinet nstall the MicroSmart in environments described in this user s manual If the MicroSmart is used in places where the MicroSmart is subjected to high temperature high humidity condensation corrosive gases excessive vibrations and excessive shocks then electrical shocks fire hazard or malfunction will result The environment for using the MicroSmart is Pollution degree 2 Use the MicroSmart in environments of pollution degree 2 according to IEC 60664 1 Prevent the MicroSmart from falling while moving or transporting the MicroSmart otherwise damage or malfunction of the MicroSmart will result Prevent metal fragments and pieces of wire from dropping inside the MicroSmart housing Put a cover on the MicroSmart modules during installation and wiring Ingress of such fragments and chips may cause fire hazard damage or malfunc tion Make sure of safety before starting and stopping the MicroSmart or when operating the MicroSmart to force outputs on or off Incorrect operation on the MicroSmart may cause machine damage or accidents Do not connect the ground wire directly to the MicroSmart Connect a protective ground to the cabinet containing the MicroSmart using an M4 or larger screw This is required when equipment containing the Mic
14. 232C communication module to send data to a printer After downloading the user program to the CPU module the CPU module can communicate with the printer through the expansion RS232C communication module The operating procedures for user communication are as follows 1 Change the Function Area Settings if required and download the user program through communication port 1 or 2 RS232C on the CPU module See step 1 through step 8 shown on pages 4 3 and 4 4 2 Connect the printer to communication port 3 through port 7 on the expansion RS232C communication module For terminal arrangement and wiring diagram see page 3 6 3 From the WindLDR menu bar select Configure gt Function Area Settings The Function Area Setting dialog box appears 4 Click the Communication tab and select User Protocol in the Port 3 through Port 7 pull down list Micros mart Function Area Settings Run Stop Keep Special Input Communication Others 1 Menererce Pcs 77270008 _ ser rrotaca X Configure 9600 7 Even 1 necessa not necessary MewweePoen _ Meena Poteet Canfguefammozevee ooo Meenas Poteet 7777777223700 0 Pst e 3 ES OF Cancel Default List Help Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 7 4 EXPANSION RS232C COMMUNICATION b The Communication Parameters dialog box appears Change settings to mee
15. A MicroSmart user s manual FC9Y B927 Make sure that the receive data designated as the source 1 operand is correct Page 4 15 5 1 Page 4 8 Note 2 Note 2 Note 2 Note 2 Page 3 6 4 9 4 8 1 2 4 16 4 16 21 Page 4 8 Note 2 Note 2 Note 2 Note 2 Note 2 INDEX L advanced instruction M COMRF 4 17 RXD 4 16 TXD 4 15 allocating communication port number 4 1 applicable CPU modules 1 2 expansion module maximum quantity 3 2 WindLDR version 1 2 P busy control 4 13 signal 4 9 cable 4 2 4 5 4 9 computer link 4C 1 1 4 2 4 5 communication mode information D8026 4 11 R parameters 4 3 4 8 4 10 port number 4 1 refresh 4 17 specifications 2 2 tab 4 3 4 7 S computerlink 1 1 cable 4C 1 1 4 2 4 5 communication 4 2 COMRF 4 17 execution time 4 17 quantity of bytes 4 17 confirming system program version 1 2 control signal option DSR D8105 D8205 4 13 DTR D8106 D8206 4 14 T status D8104 D8204 4 12 crimping tool 3 5 data communication processing time 2 3 set ready DSR 4 13 terminal ready 4 14 dimensions 2 4 U direct mounting strip 3 4 DSR input control signal option D8105 D8205 4 13 DTR output control signal option D8106 D8206 4 14 execution time COMRF 4 17 W expansion RS232C communication 4 1 module specifications 2 2 features 1 1 ferrule 3 5 general information 1 1 installation and wiring 3 1 internal current draw 3 2 interrupt 4 17
16. FC9Y B969 FC5A SERIES Expansion RS232C Communication Module FC5A SIF2 User s Manual Q viem 5 2 IDEC CORPORATION SAFETY PRECAUTIONS Read this user s manual to make sure of correct operation before starting installation wiring operation maintenance and inspection of the FC5A series MicroSmart expansion RS232C communication module All MicroSmart modules are manufactured under IDEC s rigorous quality control system but users must add a backup or failsafe provision to the control system using the MicroSmart in applications where heavy damage or personal injury may be caused in case the MicroSmart should fail n this user s manual safety precautions are categorized in order of importance to Warning and Caution Warning notices are used to emphasize that improper operation may cause severe personal injury or death Turn off the power to the MicroSmart before starting installation removal wiring maintenance and inspection of the MicroSmart Failure to turn power off may cause electrical shocks or fire hazard e Special expertise is required to install wire program and operate the MicroSmart People without such expertise must not use the MicroSmart nstall the MicroSmart according to the instructions described in this user s manual Improper installation will result in fall ing failure or malfunction of the MicroSmart Caution notices are used
17. OUBLESHOOTING FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL GENERAL INFORMATION Introduction This chapter describes general information and specifications of the FC5A series MicroSmart expansion RS232C commu nication module About the Expansion Communication Module The FC5A SIF2 expansion RS232C communication module is an expansion module used for the FC54A series micro pro grammable controller The expansion RS232C communication module is mounted on the right of all in one 24 I O type or slim type CPU mod ules All in one 24 I O type CPU modules can be used with a maximum of three expansion RS232C communication mod ules to expand up to five communication ports Slim type CPU modules can be used with a maximum of five expansion RS232C communication modules to expand up to seven communication ports For example the expansion RS232C communication module can be used in the following system When the CPU module is connected to a PC and also mounted with expansion RS232C communication modules the PC can be used to monitor the CPU operation while the CPU module communicates with multiple RS232C devices such as printers operator inter faces and measuring instruments System Setup Example Expansion RS232C Communication Module CPU Module FC5A SIF2 o IRIS WR PWR RUN 1 SD SD 4 ERR 2 RD RD STAT 3 4 To Port 1 RS232C INNES Je Computer Link Cable 4C FC2A KC4C 3m 9 84 ft long
18. Westlands Road Quarry Bay Hong Kong Tel 852 2803 8989 Fax 852 2565 0171 E mail info hk idec com TAIWAN IDEC TAIWAN CORPORATION 8F 1 No 79 Hsin Tai Wu Road Sec 1 Hsi Chih Taipei County Taiwan Tel 886 2 2698 3929 Fax 886 2 2698 3931 E mail service tw idec com SINGAPORE IDEC IZUMI ASIA PTE LTD No 31 Tannery Lane 05 01 Dragon Land Building Singapore 347788 Tel 65 6746 1155 Fax 65 6844 5995 E mail info sg idec com www idec com 2006 IDEC CORPORATION All Rights Reserved Manual No FC9Y B969 0 01 07
19. ace Using Direct Mounting Strip To mount the expansion RS232C communication module 23 5 Direct Mounting Strip 2 on a panel surface use the direct mounting strip and two 2 FCAA PSP1P screws 6 or 8 mm long For details about the direct mounting strip see the FCSA MicroSmart user s manual FC9Y B927 Ey e D 12 3 23 5 23 5 83 0 103 0 All dimensions in mm 34 FCSA EXPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 3 INSTALLATION AND WIRING Terminal Connection Do not touch live terminals otherwise electrical shocks may be caused Do not touch terminals immediately after power has been turned off otherwise electrical shocks may be caused When using ferrules insert a wire to the bottom of the ferrule and crimp the ferrule When connecting a wire to the screw terminal block use a ferrule Otherwise the wire may slip off the screw terminal block Ferrules Crimping Tool and Screwdriver for Phoenix Terminal Blocks The screw terminal block is wired using ferrules on the end of cable Applicable ferrule for the Phoenix terminal block and crimping tool for the ferrule are listed below The screwdriver is used for tightening the screw terminals on the expansion RS232C communication module These ferrule crimping tool and screwdriver are made by Phoenix Contact and are available from Phoenix Contact Type numbers of the ferrule crimping tool and screwdr
20. al Upgrade the CPU module system program ver sion to 110 or higher Designate a correct port number in the RXD instruction Turn on the start input for the RXD instruction See The PWR power LED does not go on Data is not received correctly in the user communication Check Are the communication settings for the external device and expansion communication port the same Is the same data register designated as destination operand D2 receive status repeatedly Is a start delimiter specified in the RXD instruction Are inputs to more than 5 RXD instructions on simul taneously Did you check the format of incoming data Is the receive timeout value set correctly using WindLDR Did you make sure of source 1 operand of the RXD instruction FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL Set the same communication parameters for expansion communication port as the external device Change the duplicate operand to another data register Correct the program to make sure that inputs to more than 5 RXD instructions do not go on simultaneously Make sure that the receive format of the RXD instruction matches that of the incoming data Make sure that the receive timeout value is larger than character intervals of the incoming data Note 1 See Installation and Wiring in the FC5A MicroSmart user s manual FC9Y B927 Note 2 See User Communication Instructions in the FC5
21. ble Connection and Pinouts FC5A SIF2 HG series Operator Interface Terminal 1 HG2F 3F 4F FG 1 AJ Z o 2 J Z m HGiF 2 EN M 9 m MN MIN Shield Applicable Cable Connectors for HG series Operator Interface Operator Interface Connector on Cable 1 D sub 9 pin male connector HG2F HG4F D sub 25 pin male connector HG2S D sub 37 pin female connector Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 5 4 EXPANSION RS232C COMMUNICATION Expansion RS232C Communication Module Communication Parameter Range Parameter Optional Range Default Communication Mode Maintenance communication Baud Rate bps 1200 2400 4800 9600 19200 38400 9600 Data Bits or 8 Parity Even Odd None Even Stop Bits 1 0r2 10 to 2550 10 ms increments Receive timeout is disabled when O is selected N B Receive Timeout ms 500 Device Number O to 31 O Mode Selection Input Any input number Disabled Operator Interface Communication through the Expansion RS232C Communication Module To perform the operator interface communication using the expansion RS232C communication module a user program has to be downloaded through port 1 or 2 in the 1 1 computer link system as shown on page 4 5 because user programs cannot be downloaded or uploaded through the expansion RS232C communication module After downloading the user program to
22. cribed below If the trouble cannot be solved call IDEC for assistance The PWR power LED does not go on Check Is power supplied to the CPU module Is the power voltage correct The expansion RS232C communication module cannot communicate with WindLDR Check Is the communication cable connected correctly Is the PWR LED on the CPU module on Are the communication settings for WindLDR and expansion communication port the same Is the CPU module system program version applicable to the expansion RS232C communication module The expansion RS232C communication module cannot communicate with an operator interface Check Is the communication cable connected correctly Is the PWR LED on the CPU module on Are the communication settings for the operator inter face and expansion communication port the same Is the CPU module system program version applicable to the expansion RS232C communication module Communication response is slow Check Is the communication baud rate set to a proper value Is the COMRF instruction used in the user program Data is not transmitted at all in the user communication Check Is the communication cable connected correctly Are the communication settings for the remote termi nal and expansion RS232C communication port the same Is the CPU module system program version applicable to the expansion RS232C communication module Is the correct port number designated in the TXD
23. ct Status Disable gt gt nprotected Close Help Updating System Program Version When the CPU module system program version is lower than 110 you can download the latest system program using WindLDR ver 5 1 or higher 1 From the WindLDR menu bar select Tool System Update The System Update screen appears 2 Follow the instructions as shown on the screen 1 2 FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL DEC 2 MODULE SPECIFICATIONS Introduction This chapter describes parts names functions specifications and dimensions of the expansion RS232C communication module Parts Description 1 Expansion Connector 2 Module Label 3 LED Indicators 4 Terminal Name 5 Cable Terminal 1 2 Module Label 3 LED Indicator 4 Terminal Name 5b Cable Terminal Connects to the CPU and other I O modules All in one 10 and 16 1 O type CPU modules cannot be connected QOOOOOOOOOQO Indicates the expansion RS232C communication module Type No and specifications PWR nma PWR Turns on when this module is powered up SD O SD Turns on when this module is sending data an RD Turns on when this module is receiving data Indicates terminal names Screw terminals for wiring FC5A EXPANSION RS232C COMMUNICATION IVIODULE USER S MANUAL 2 MODULE SPECIFICATIONS Expansion RS232C Communication Module
24. e PC connected to the expansion RS232C communication module The operating procedures for computer link communication are as follows 1 Connect the PC to communication port 1 or 2 RS232C on the CPU module using the computer link cable 4C FC2A KCAC 2 From the WindLDR menu bar select Configure gt Function Area Settings The Function Area Setting dialog box appears 3 Click the Communication tab and select Maintenance Protocol in the Port through Port 7 pull down list MicroSmart Function Area Settings Run Stop Keep Special Input Communication Others Ce MN NU 7777 oo _ 7777 0 OF Cancel Default List Help 4 The Communication Parameters dialog box appears Change settings if required Maintenance Protocol Port 3 Baud Rate bps Baud Rate bps sn v Data Bits H Data Bits Parity Even Parity Stop Bits ho H Stop Bits Receive Timeout ms 500 TR p a Receive Timeout ms T Mode Selection Input Device Number Mode Selection Input Cancel D efault 1200 2400 4800 9600 19200 38400 1or amp Even Odd None 10r2 10 to 2550 10 ms increments Receive timeout is disabled when O is selected O to 31 Any input number Note When a mode selection input has been designated and the mode selection inpu
25. e buffer of the printer from overflowing The special data register number and value shown above are for port 3 For the DSR signal on other ports see page 4 13 PRINT TEST Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 9 4 EXPANSION RS232C COMMUNICATION Setting Communication Parameters Set the communication parameters to match those of the printer See page 4 8 For details of the communication parame ters of the printer see the user s manual for the printer An example is shown below Communication Parameters Baud rate 9600 bps Data bits 8 Parity None Stop bits 1 Note The receive timeout value is used for the RXD instruction in the user communication mode Since this example uses only the TXD instruction the receive timeout value has no effect Ladder Diagram The second data stored in special data register D8014 is compared with 0 using the CMP compare equal to instruction Each time the condition is met the TXD3 instruction is executed to send the C2 and D30 data to the printer A counting circuit for counter C2 is omitted from this sample program MOWW S1 D1 REP M8120 is the initialize pulse special internal relay M8120 24 08105 24 08105 to enable the DSR option for busy control CMP W S1 S2 D1 REP 81 25 is the in operation output special internal relay M8125 08014 CMP W compares the D8014 second data with MOV W S1 D1 REP When the D8014 data equals O
26. es mixed 1 0 modules All in one type CPU modules Slim type Function modules Analog 1 0 modules AS Interface master module Expansion RS232C communication module Expansion modules FC5A SIF2 HMI module RS232C communication adapter RS485 communication adapter memory cartridge clock cartridge HMI base module RS232C communication module RS485 communi Communication modules cation module Expansion interface module expansion interface master module Expansion interface modules expansion interface slave module IMPORTANT INFORMATION Under no circumstances shall IDEC Corporation be held liable or responsible for indirect or consequential damages resulting from the use of or the application of IDEC PLC components individually or in combination with other equipment persons using these components must be willing to accept responsibility for choosing the correct component to suit their application and for choosing an application appropriate for the component individually or in combination with other equipment diagrams and examples in this manual are for illustrative purposes only In no way does including these diagrams and exam ples in this manual constitute a guarantee as to their suitability for any specific application To test and approve all programs prior to installation is the responsibility of the end user PREFACE 2 FC5A EXPANSION RS232C COMMUNICATION MoDULE USER s MANUAL DEC
27. h the internal current draw by other expansion modules For general methods and precautions for installation and wiring of the expansion RS232C communication module see the FC5A MicroSmart user s manual FC9 Y B927 This equipment is suitable for use in Class I Division 2 Groups A B C D or non hazardous loca tions only Explosion hazard Substitution of components may impair suitability for Class I Division 2 Explosion hazard Do not disconnect equipment unless power has been switched off or the area is known to be non hazardous Make sure that the total internal current draw by all connected expansion modules does not exceed the allowable current draw of the CPU module Otherwise the CPU and other modules do not oper ate correctly The CPU module does not detect the excessive current draw The expansion RS232C communication module cannot be mounted on the right of expansion inter face modules FCSA EXM2 FC5A EXMIM and FC5A EXMIS Expansion interface modules can be mounted on the right of the expansion RS232C communication module Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 3 1 3 INSTALLATION AND WIRING Maximum Quantity of Applicable Expansion Modules The all in one 24 I O type CPU module can mount a maximum of three expansion RS232C communication modules The slim type CPU module can mount a maximum of five expansion RS232C communication modules Including expansion RS232C commun
28. ication modules and other expansion modules the all in one type CPU module can mount a maximum of four expansion modules and the slim type CPU module can mount a maximum of seven expansion modules unless the total internal current draw by all connected expansion modules exceeds the allowable current draw of the CPU module Make sure that the total internal current draw does not exceed the current capacity of the CPU module Allowable Total Internal Current Draw CPU Module Quantity of Expansion RS232C Quantity of Expansion Total Internal Current Draw Communication Modules Modules 5V DC All in one 24 1 0 Type CPU Module 3 maximum Note 260 mA maximum Note The all in one 24 1 O type CPU module cannot use the expansion RS232C communication module in combination with function modules listed below When using the expansion RS232C communication module and these function modules use the slim type CPU module Function Module Type No FCAA LO3A1 FC4A LO3AP1 FCAA J2A1 FCAA JACN1 FC4A J8C1 FCAA J8AT1 FCAA K1A1 FC4A K2C1 AS Interface Master Module FCAA ASG2M Analog 1 Module Internal Current Draw by Expansion Modules Internal Current Draw Internal Current Draw Mode aw Type No Gurr FC4A NO8B1 Mixed 1 0 FC4A MO8BR1 25 mA maximum FC4A N16B1 40 mA maximum Module FC4A M24BR2 65 mA maximum Input Module FCAA N16B3 Analog 1 0 FCAA LO3A1 50 mA maximum FC4A N32B3 Module FC4A LO3AP1 50 mA maximum 35
29. iver listed below are the type numbers of Phoenix Contact When ordering these products from Phoenix Contact specify the Order No and quantity listed below Ferrule Order No Quantity of Cables Cable Size Phoenix Type Pcs Pkt For 1 cable connection UL2464 AWG24 Al 0 25 8 YE 32 0303 7 100 Crimping Tool and Screwdriver Order No Tool Name Phoenix Type Pcs Pkt Crimping Tool CRIMPFOX ZA 3 12 01 882 1 Screwdriver SZS 0 4 x 2 5 12 05 037 10 Screw Terminal Tightening Torque 0 22 to 0 25 N m Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 3 5 3 INSTALLATION AND WIRING Terminal Arrangement and Wiring Diagram Screw Terminal Type Applicable Terminal Block FC4A PMT10P supplied with the input module RS RTS Output Request to Send constant voltage terminal SD TXD Output Transmit Data RD RXD DR DSR Data Set Ready Signal Ground Functional ground Functional ground Functional ground Note The terminals can be used as junction terminals of functional ground Use a recommended cable or a similar shielded cable for wiring the expansion RS232C communi cation terminals For the recommended cable see page 2 2 and prepare the cable When the expansion RS232C communication module may malfunction due to external noise con nect the shield of the cable to a proper ground Before wiring read the user s manual for the remote device connected to the expansion RS232C communication module
30. mA maximum 65 mA maximum FCAA NO8A11 60 mA maximum FC4A J2A1 50 mA maximum Relay Output FC4A RO81 30 mA maximum Analog Input FC4A J4CN1 50 mA maximum Module FC4A R161 45 mA maximum Module FC4A J8C1 40 mA maximum FCAA TOSK1 10 mA maximum FCAA J8AT1 45 mA maximum FC4A TO8S1 10 mA maximum Analog Output FCAA K1A1 50 mA maximum aaa FCAAT16K3 10 mA maximum FC4A K2C1 60 mA maximum Module FC4A T16S3 10 mA maximum FCAA T32K3 20 maximum 4 73253 20 maximum AS Interface Master Module Note FC4A AS62M 80 mA maximum Expansion RS232C Communication Module FC5A SIF2 85 mA maximum Note A maximum of two AS Interface master modules can be mounted even if the total current draw is within the limits Only one expansion interface module or expansion interface master module can be mounted to a CPU module and is not included in the calculation of the total current draw by expansion modules 3 2 FC5A EXPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 3 INSTALLATION AND WIRING Example Installing five expansion RS232C communication modules to the slim type CPU module Internal Current Draw Total Internal Module Type No Quantity 5V DC currant DIW Expansion RS232C Communication Module FC5A SIF2 425 mA Maximum Applicable Expansion Modules Slim CPU Te A55 mA In the above example two more expansion modules can be added with a maximum total current draw of 30 mA The fol lowing table shows an exam
31. ote terminal with an RS232C port TXD2 can be used to communicate with an RS485 remote terminal through port 2 For details about the user communication see the FC5A MicroSmart user s manual FC9Y B92 Applicable CPU Modules FC5A C10R2 C FC5A C16R2 C FC5A C24R2 C FC5A D16RK1 RS1 FC5A D32K3 S3 TXD1 TXD2 TXD1 TXD2 TXD1 TXD5 TXD1 TXD7 TXD1 TXD7 Example Programming the TXD instruction for Port 3 When programming WindLDR for TXD3 select communication port 3 as shown below THD Transmit F xj 51 1 D2 Allocation Number E X Comment Insert Delete Edit ee Select Communication Port 3 Example Ladder Diagram for TXD3 A simple example of TXD3 program is shown below SOTU TXD S1 D1 D2 When 10 is turned on TXD3 is executed to send 10 byte data IO 3 10 MO D10 through the RS232C port 3 When data transmission is complete MO is turned on D10 stores the status of transmission and error code The next data register stores the byte count of transmitted data Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 15 4 EXPANSION RS232C COMMUNICATION RXD Receive RXD 51 Di D2 When input is on data from an RS232C remote terminal received by port La RN 1 through port 7 is converted and stored in data registers according to KKKKK KKKKK KKKKK the receive format designated by S1 RXD2 can be used to communicate with an RS485 remote terminal through port 2 For
32. ple of installing the maximum quantity of expansion modules Internal Current Draw Total Internal Module Type No Quantity 5V DC Current Draw Expansion RS232C Communication Module FC5A SIF2 425 mA Transistor Output Module 1 Total 455 mA Example Installing an expansion interface module and RS232C communication modules When using an expansion interface module the current draw by the expansion interface module is not included in the total of internal current draw the current capacity of the CPU module as shown in the example below Kran No Quantit Internal Current TotalInternal Draw 5V DC Current Draw Expansion RS232C Communication Module FC5A SIF2 425 mA Expansion Expansion Interface Module FC5A EXM2 or FC5A EXM1M FC5A EXM1S Input Module FC4A N32B3 260 mA Additional Transistor Output Module FCAAT32K3 80 mA In the additional area on the right of the expansion interface module FC5A EXM2 5 and FCSA EXM1S a maximum of eight digital I O modules can be mounted regardless of the internal current draw of the digital I O modules Expansion RS232C communication modules cannot be mounted on the right of expansion interface module For details about the expansion interface modules see the FC5A MicroSmart user s manual FC9Y B927 Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 3 3 3 INSTALLATION AND WIRING Mounting Hole Layout for Direct Mounting on Panel Surf
33. roSmart is destined for Europe Do not disassemble repair or modify the MicroSmart modules When disposing of the MicroSmart do so as an industrial waste Fi DEC FC5A ExPANSION RS232C COMMUNICATION MODULE USER S MANUAL PREFACE 1 About This Manual This user s manual primarily describes entire functions installation programming and troubleshooting procedures of the FCSA series MicroSmart expansion RS232C communication module CHAPTER 1 GENERAL INFORMATION General information about the expansion RS232C communication module applicable CPU module system program ver sion and WindLDR version CHAPTER 2 MODULE SPECIFICATIONS Specifications of the expansion RS232C communication module CHAPTER 3 INSTALLATION AND WIRING Methods and precautions for installing and wiring the expansion RS232C communication module CHAPTER 4 EXPANSION RS232C COMMUNICATION General information about programming and setting up various communication systems for the expansion RS232C com munication module CHAPTER 5 TROUBLESHOOTING Procedures to determine the cause of trouble and actions to be taken when any trouble occurs while operating the expan sion RS232C communication module INDEX Alphabetical listing of key words MicroSmart Modules Category Modules FC5A C10R2 FC5A C16R2 FC5A C24R2 FC5A C10R2C FC5A C16R2C FC5A C24R2C FC5A D16RK1 FC5A D16RS1 FC5A D32K3 FC5A D3283 Expansion 1 0 modules Input modules output modul
34. rt 7 Special data registers D8106 and D8206 are used to control the data terminal ready signal to indicate the Micro Smart operating status or transmitting receiving status The DTR control signal option can be used only for the user communication through the RS232C port 2 to port 7 The control status of each port is allocated as shown below Bit 15 9 8 T 6 5 4 3 2 1 0 58106 jOjOJOjOJO O OjOJO O N S NA AN MN OY Port6 5 Port 4 Port Port2 D8106 D8206 2 bit Binary Value Description While the MicroSmart is running DTR is on whether the MicroSmart is transmitting or receiving data While the MicroSmart is stopped DTR remains off Use this option to indicate the MicroS mart operating status MicroSmart Stopped Stopped DTR signal Whether the MicroSmart is running or stopped DTR remains off MicroSmart Stopped Stopped DTR signal 01 While the MicroSmart can receive data DTR is turned on While the MicroSmart can not receive data DTR remains off Use this option when flow control of receive data is required 10 Receive Impossible Impossible DTR si signal 11 Same as D8106 D8206 4 14 FCSA EXPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION TXD Transmit When input is on data designated by S1 is converted into a specified TXD 51 01 D2 format and transmitted from port 1 through port 7 to a rem
35. ruction COMRF refreshes send and receive data of the expansion RS232C communication ports COMRF Execution Time While the expansion RS232C communication module sends or receives communication the CPU module requires the exe cution time to execute the COMREF instruction as shown in the table below CPU Module All in one 24 1 0 Type CPU Module Slim Type CPU Module COMRF Execution Time Approx 4 ms Approx 4 ms Note The above values are the COMRF execution time when one expansion RS232C communication module performs com munication When multiple expansion RS232C communication modules performs communication at the same time the exe cution time is multiplied by the quantity of the expansion RS232C communication modules COMRF Quantity of Bytes The following table shows the quantity of bytes which the COMREF instruction requires in the user program and applica bility of the COMREF instruction in interrupt programs CPU Module All in one 24 1 0 Type CPU Module Slim Type CPU Module DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER s MANUAL Z7 4 EXPANSION RS232C COMMUNICATION 4 18 FC5A EXPANSION RS232C COMMUNICATION MODULE UsER s MANUAL DEC 5 TROUBLESHOOTING Introduction This chapter describes the procedures to determine the cause of trouble and actions to be taken when any trouble occurs while operating the expansion RS232C communication module When a trouble occurred check the points and take the actions des
36. s Slave RTU Communication 101 Modbus Slave ASCII Communication 100 Modbus Master RTU Communication 101 Modbus Master ASCII Communication Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 11 4 EXPANSION RS232C COMMUNICATION Control Signal Status D8104 Port 2 to Port 6 and D8204 Port 7 Special data registers D8104 and D8204 store a value to show that DSR and are on or off at port 2 through port 7 The data of D8104 and D8204 are updated at every END processing The control status of each port is allocated as shown below Bit 15 9 8 7 5 4 3 2 1 9 58104 jo o ojojojojo ojojo porum d Port6 Port 5 Port 4 Port 3 Port 2 D8104 D8204 2 bit Binary Value DTR DSR Description 00 OFF OFF Both DSR and DTR are off 4 12 FC5A EXPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION DSR Input Control Signal Option D8105 Port 2 to Port 6 and D8205 Port 7 Special data registers D8105 and D8205 are used to control data flow between the MicroSmart RS232C port 2 through port 7 and the remote terminal depending on the DSR data set ready signal sent from the remote terminal The DSR sig nal is an input to the MicroSmart to determine the status of the remote terminal The remote terminal informs the Micro Smart using DSR whether the remote terminal is ready for receiving data or is sending valid data The DSR control signal op
37. second MO is turned on MO ue iim Counter C2 current value is moved to D31 Movw S1 D1 REP D8012 hour data is moved to D20 NEN D8012 D20 MOVW S1 D1 REP D8013 minute data is moved to D21 D8013 D21 SOTU TXD S1 D1 D2 TXD3 is executed to send 73 byte data through the 5232 3 3 M1 DO port 3 to the printer SP SP SP P R 1 N T SP I 20h 20h 20h 2Dh 2Dh 2Dh 20h 50h 52h 49h 4Eh 54h 20h 54h E S T SP LF CR LF SP SP SP 45h 53h 54h 20h 2Dh 2Dh 2Dh ODh OAh ODh OAh 20h 20h 20h D20 Conversion BCD gt ASCII Digits 2 REP O1 D20 hour data is converted from BCD to ASCII and 2 digits are sent 48h 20h D21 Conversion BCD ASCII Digits 2 REP 01 M CR LF CR LF 4Dh ODh OAh ODh OAh SP SP SP C N i i i 20h 20h 20h 43h 4Eh 54h 32h 2Eh 2Eh 2Eh D31 Conversion BCD ASCII Digits 4 REP 01 CR LF SP SP SP D TP ODh OAh 20h 20h 20h 44h 30h 33h 30h 2bh 2Eh 2Eh Conversion BCD ASCII Digits 4 REP 01 CR LF CR LF ODh OAh ODh OAh D21 minute data is converted from BCD to ASCII and 2 dig its are sent I U NO D31 counter C2 data is converted from BCD to ASCII and 4 digits are sent W O D30 data is converted from BCD to ASCII and 4 digits are sent END FC5A EXPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION Communication Mode Information and RS232C Line Control Signals Special data registers are alloca
38. stem Setup Example Expansion RS232C Communication Module CPU Module FCSA SIF2 To Port 1 852326 LL WME jel Computer Link Cable 4C FC2A KC4C 3m 9 84 ft long To Port 3 RS232C The communication cable is prepared by the user referring to the diagram shown below For the wiring precautions see page 3 6 Note User programs cannot be downloaded and uploaded through the expansion RS232C communication module Cable Connection and Pinouts FC5A SIF2 Computer D sub 9 Terminal Shield Expansion RS232C Communication Module Communication Parameter Range Communication Mode Maintenance communication 10 to 2550 10 ms increments Default RECEIVE TIMEUR ims Receive timeout is disabled when O is selected D Device Number O to 31 Mode Selection Input Any input number Disabled 4 2 FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 EXPANSION RS232C COMMUNICATION Computer Link Communication through the Expansion RS232C Communication Module To perform the computer link communication using the expansion RS232C communication module a user program has to be downloaded through port 1 or 2 in the 1 1 computer link system as shown on page 4 2 because user programs cannot be downloaded or uploaded through the expansion RS232C communication module After downloading the user program to the CPU module the operating statuses of the CPU module can be monitored using WindLDR on th
39. t is turned on the selected commu nication parameters are enabled When communication parameters are changed without designating a mode selection input the changed communication parameters take effect immediately when the user program is downloaded 5 Click the OK button to save changes Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 3 4 EXPANSION RS232C COMMUNICATION The Communication Parameters dialog box closes and the Communication page becomes active 6 Click the OK button to save changes to the Function Area Settings The Function Area Settings dialog box closes and the ladder editing screen becomes active Next download the user program through port 1 or 2 to the CPU module 4 From the WindLDR menu bar select Online Download Program The Download Program Dialog appears FOBA D18R Download Program Dialog Transfer Made f Binary ASCII Download Button PLC Start Pragram Size 00064 PLC Stop Comm Settings vr Automatic stop before download Help v Automatic start after download Keep output during download Download with comment data 8 Click the Download button The user program is downloaded to the CPU module Note When downloading a user program all values and selections in the Function Area Settings are also downloaded to the CPU module 9 Connect the PC to communication port 3 through port 7 on the expansion RS232C communication module
40. t the communication parameters of the remote device See the user s manual for the remote device User Protocol Port 3 Baud Rate bps 1200 2400 4800 9600 19200 Baud Rate bps a00 v 38400 Data Bits Fl Data Bits 8 Parity Even Parity Even Odd None Stop Bits nh H Stop Bits 1 or 2 10 to 2540 10 ms increments Receive Timeout ms Receive timeout is disabled when or 2550 is selected Receive Timeout ms 500 E Cancel Default 6 Click the OK button to save changes The Communication Parameters dialog box closes and the Communication page becomes active 7 Click the OK button to save changes to the Function Area Settings The Function Area Settings dialog box closes and the ladder editing screen becomes active 8 Download the user program through communication port 1 or 2 RS232C on the CPU module For the ladder program to control the printer see page 4 10 4 8 FC5A ExPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION System Setup for Connecting a Printer Expansion RS232C Communication Module CPU Module FC5A SIF2 The communication cable is prepared by the user referring to the diagram shown below For the wiring precautions see page 3 6 Printer To Port 3 RS232C Cable Connection and Pinouts FC5A SIF2 Printer D sub 9 pin Terminai LP Desorption NC Connection NC No Connection 3
41. ted for communication mode information of port 1 through port 7 and RS232C line control signals for port 2 through port 7 While the MicroSmart is in the user communication mode special data registers can be used to enable or disable DSR and DTR control signal options for port 2 through port 7 The DSR and DTR control signal options cannot be used for port 1 The RTS signal line of port 2 through port 7 remains on In the maintenance communication mode DSR has no effect and DTR remain on Special Data Registers for Communication Mode Information and RS232C Line Control Signals Special data register D8026 is allocated for communication mode information of port 1 through port 7 Special data registers D8104 through D8106 and D8204 through D8206 are allocated for RS232C line control signals Data Register Function Data Register Value Updated R W E output control signal option R W Communication Mode Information D8026 Port 1 through Port 7 Communication mode information of port 1 through port 7 is stored to D8026 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 26 O OjOJO O O OjO O O O O O O Port 7 Port6 Port 5 Port 4 Port 3 Port 3 through Port 7 Port 1 00 Maintenance Communication O Maintenance Communication O1 User Communication 1 User Communication Port 2 000 Maintenance Communication 001 User Communication 010 Data Link Communication 011 Modem Communication 100 Modbu
42. tion can be used only for the user communication through the RS232C port 2 to port 7 The control status of each port is allocated as shown below Bit 15 14 13 12 11 10 9 o o o o o o o o o o o o o o o a O OO SESA Port 6 Port 5 Port 4 Port 3 Port 2 Bit 15 2 1 Port 7 Description 3 bit Binary Value 000 DSR is not used for data flow control When DSR control is not needed set O to D8105 D8205 When DSR is on the MicroSmart can transmit and receive data DSR signal 001 uL Transmit receive Impossible Impossible When DSR is off the MicroSmart can transmit and receive data DSR signal 010 signal off Transmit receive Impossible Impossible When DSR is on the MicroSmart can transmit data This function is usually called Busy Control and is used for controlling transmission to a remote terminal with a slow processing speed such as a printer When the remote terminal is busy data input to the remote terminal is restricted 011 DSR signal oe Transmit Impossible Impossible When DSR is off the MicroSmart can transmit data DSR signal 358 signal Transmit Impossible Impossible gt 101 Same as D8105 D8205 DSR is not used for data flow control Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 4 13 4 EXPANSION RS232C COMMUNICATION DTR Output Control Signal Option D8106 Port 2 to Port 6 and D8206 Po
43. unication Protocol Modem Communication 22 FC5A ExPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 2 MODULE SPECIFICATIONS Data Communication Processing Time The CPU module processes data communication with expansion RS232C communication modules in every scan One expansion RS232C communication module requires a communication processing time shown in the table below There fore when an expansion RS232C communication module sends or receives communication the scan time extends accord ingly CPU Module Maximum Delay in One Scan All in one Type CPU Module Approx 4 ms Slim Type CPU Module Approx 4 ms Note The above values are the maximum delay of scan time when one expansion RS232C communication module performs communication When multiple expansion RS232C communication modules perform communication at the same time the delay is multiplied by the quantity of the expansion RS232C communication modules Fi DEC FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL 2 3 2 MODULE SPECIFICATIONS Dimensions MicroSmart modules have the same profile for consistent mounting on a DIN rail 14 6 70 0 90 0 4 5 8 5 mm when the clamp is pulled out All dimensions in mm 2 4 FC5A ExPANSION RS232C COMMUNICATION MODULE UsER S MANUAL DEC 3 INSTALLATION AND WIRING Introduction This chapter describes precautions for installing the expansion RS232C communication module in connection wit
44. urn on the input to the RXD instruction again Number Stopped OFF M8170 User Communication Receive Instruction Cancel Flag Port 7 Cleared Slim CPU only 4 16 FC5A EXPANSION RS232C COMMUNICATION MODULE USER S MANUAL DEC 4 EXPANSION RS232C COMMUNICATION COMRF Communication Refresh The COMRF instruction refreshes the send and receive data in the expansion RS232C communica COMRF tion buffers for port 3 through port in real time The send data in the buffer are usually sent out in the END processing The receive data in the buffer are usually sent to MicroSmart operands in the END processing The COMRF can be used in any place in the ladder diagram where you want to execute the TXD instruction immediately or to update the received data in a period shorter than the scan time Note The COMREF instruction cannot be used in interrupt programs If used a user program execu tion error will result turning on special internal relay M8004 and the ERR LED on the CPU module Applicable CPU Modules FC5A C10R2 C FC5A C16R2 C FC5A C24R2 C FC5A D16RK1 RS1 FC5A D32K3 S3 X X X Example COMRF The following example demonstrates a program to execute COMRE instructions among other instructions Before executing the RXD instruction COMRF refreshes send and receive data of the expansion RS232C communication ports 51 1 2 100 1 498 BMOVW S1 NW D1 DO 100 D500 TXD 51 1 2 4 100 MO D502 After executing the TXD inst
45. user communication Set the same communication parameters for expansion communication port as the external Check Are the communication settings for the external device and expansion communication port the same Is the same data register designated as destination operand D2 transmit status repeatedly Are inputs to more than 5 TXD instructions on simul taneously Is duration of the busy signal at the remote terminal less than 5 sec Did you make sure of source 1 operand of the TXD instruction device Change the duplicate operand to another data register Correct the program to make sure that inputs to more than 5 TXD instructions do not go on simultaneously Make sure that the busy signal at the remote terminal does not exceed 5 sec Make sure that the transmit data designated as source 1 operand is correct Data is not received at all in the user communication Check Is the communication cable connected correctly Are the communication settings for the remote termi nal and expansion RS232C communication port the same Is the CPU module system program version applicable to the expansion RS232C communication module Is the correct port number designated in the RXD instruction Is the start input for the RXD instruction on Is the PWR LED on the CPU module on Set the same communication parameters for expansion RS232C communication port as the Make sure of correct wiring remote termin
Download Pdf Manuals
Related Search
Related Contents
TAFCO WINDOWS NU2-183V-I Installation Guide Grandstream Networks GXV3000 Wired handset Black Bedienungsanleitung 35900E Series II Dual Channel Interface User Manual PRODUCT DESIGN COMPENDIUM SRWF-1E86 User manual Thème Natal Copyright © All rights reserved.
Failed to retrieve file