background image

Q Corresponding Serial Communication Module
User's Manual (Basic)

-QJ71C24N
-QJ71C24N-R2
-QJ71C24N-R4
-QJ71C24
-QJ71C24-R2
-GX Configurator-SC (SW2D5C-QSCU-E)

Summary of Contents for GX Configurator-SC

Page 1: ...Q Corresponding Serial Communication Module User s Manual Basic QJ71C24N QJ71C24N R2 QJ71C24N R4 QJ71C24 QJ71C24 R2 GX Configurator SC SW2D5C QSCU E ...

Page 2: ......

Page 3: ...o incorrect output or malfunction When using the notification function the pager receiver may not be contacted due to the frequency transmission status from the system setup environment and error on the receiver side To ensure the safety of the programmable controller system install a call circuit with a lamp display or buzzer sound When connecting a peripheral with the CPU module or connecting an...

Page 4: ...h ROM Also this may cause failure and malfunction of the module Installation Precautions CAUTION Use the programmable controller in an environment that meets the general specifications in the user s manual for the CPU module used Failure to do so may result in electric shock fire malfunction or damage to or deterioration of the product To mount the module while pressing the module mounting lever l...

Page 5: ... wrong interface may cause failure to the module and external devices Tighten the terminal screws within the specified torque range Undertightening the terminal screws can cause short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction When disconnecting the cable from the module do not pull the cable by the cable part For the cab...

Page 6: ...screws Failure to do so may cause the module to fail or malfunction Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction Before handling the module touch a conducting object such as a grounded metal to discharge the static electricity from the human body Failure to do so may cause t...

Page 7: ... use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Me...

Page 8: ...subishi integrated FA Software MELSOFT Series Standardize the name from software package GPP function to Product name GX Developer Standardize the name from utility package QSCU to Product name GX Configurator SC Correction Conformation to the EMC Directive and Low Voltage Instruction About the Generic Terms and Abbreviations Product Configuration Program Examples Section 6 1 4 6 2 3 Section 7 2 3...

Page 9: ...tion 8 6 9 8 6 10 Section 10 1 10 2 Appendix 1 1 Addition Appendix 9 12 Feb 2005 SH NA 080006 I Correction Section 2 1 1 Section 3 1 Section 4 5 2 1 Chapter 9 Simultaneous execution of dedicated instructions Section 10 2 1 Aug 2005 SH NA 080006 J Correction SAFETY PRECAUTIONS Section 3 3 1 3 3 3 Section 8 2 2 Section 9 4 Appendix 5 Appendix 7 1 7 2 Feb 2006 SH NA 080006 K Correction Section 2 6 Se...

Page 10: ...r 9 Sections 9 1 9 2 1 9 2 2 9 3 1 9 4 9 4 5 9 6 1 9 6 3 10 2 to 10 8 11 1 1 11 1 2 11 1 5 11 1 6 11 2 1 11 3 11 3 1 to 11 3 3 and 11 3 5 to 11 3 22 Appendices 1 1 2 1 3 9 6 and 10 Partial addition Section 3 3 4 Chapter 8 Sections 9 4 9 9 6 7 11 3 4 and 11 3 6 Section number change Chapters 8 to 10 9 to 11 Sections 9 6 7 to 9 6 10 9 6 8 to 9 6 11 Sections 9 4 9 to 9 4 11 9 4 10 to 9 4 12 Section 1...

Page 11: ...ction number change Section 2 8 2 7 Jan 2016 SH NA 080006 S Correction Section 2 1 Dec 2016 SH NA 080006 T Correction ABOUT THE GENERIC TERMS AND ABBREVIATIONS DEFINITIONS AND DESCRIPTIONS OF TERMINOLOGY DISCONTINUED MODELS Section 2 7 6 1 1 9 2 2 11 2 Appendices 7 1 Japanese Manual Version SH 080001 AD This manual confers no industrial property rights or any rights of any other kind nor does it c...

Page 12: ...Applicable Systems 2 1 2 2 Combinations of Programmable Controller CPU and External Device and Available Functions 2 4 2 3 For Use in Multiple CPU System 2 8 2 4 Use with Basic Model QCPU 2 9 2 5 Use with Redundant CPUs 2 10 2 6 Use on MELSECNET H Remote I O Stations 2 12 2 7 Checking the Function Version Serial No and Software Version 2 16 3 SPECIFICATIONS 3 1 to 3 42 3 1 Performance Specificatio...

Page 13: ...5 1 to 5 6 5 1 Data Communication Functions 5 1 5 1 1 Accessing the programmable controller CPUs using the MC protocol 5 1 5 1 2 Message format and control procedure for data communication 5 2 5 1 3 Programmable controller CPU setting for performing data communication 5 2 5 1 4 Support of multiple CPU system or redundant system 5 3 5 1 5 Support for the QCPU remote password function 5 4 5 2 Utiliz...

Page 14: ... 3 8 1 1 Data communication procedure 8 3 8 1 2 Pre defined protocol system setting 8 5 8 1 3 Pre defined protocol monitor test 8 6 8 1 4 Protocol execution log storage function 8 7 8 1 5 Executing Condition of Predefined Protocol Communication 8 8 8 1 6 Programming Example 8 13 9 UTILITY PACKAGE GX Configurator SC 9 1 to 9 56 9 1 Functions Available with Utility Package 9 3 9 2 Installing and Uni...

Page 15: ... 10 7 10 4 G INPUT 10 11 10 5 G P BIDOUT 10 15 10 6 G P BIDIN 10 18 10 7 G P CPRTCL 10 21 10 7 1 Functional protocol 10 28 10 8 G P SPBUSY 10 29 10 9 ZP CSET Receive data clear 10 31 11 TROUBLESHOOTING 11 1 to 11 57 11 1 Checking the Status of the Serial Communication Module 11 1 11 1 1 Checking the LED ON status communications error status and switch setting status of the serial communication mod...

Page 16: ...leshooting on protocol setting data reading writing 11 56 11 3 23 The ERR LED is lit 11 57 APPENDICES App 1 to App 63 Appendix 1 Functional Improvements of the Q Series C24 App 1 Appendix 1 1 Comparison of Q series C24 GX Configurator SC GX Works2 App 1 Appendix 1 2 Precautions when updating the module from function version A to B App 7 Appendix 1 3 Precautions when replacing the QJ71C24 R2 with t...

Page 17: ...ing nonprocedural or bidirectional protocol App 42 Appendix 9 5 When sending data using nonprocedural or bidirectional protocol App 44 Appendix 9 6 When clearing received data App 46 Appendix 9 7 When sending data using user frames App 48 Appendix 9 8 When performing initial setting App 51 Appendix 9 9 When registering user frame App 53 Appendix 9 10 When reading user frame App 55 Appendix 9 11 Wh...

Page 18: ... to easily create data communication programs of the serial communication module sold separately SH 080393E 13JU46 GX Configurator SC Version 2 Operating Manual Pre defined protocol support function Details of the pre defined protocol support function specifications usage and protocol setting method of the serial communication module sold separately SH 080850ENG 13JU66 COMPLIANCE WITH THE EMC AND ...

Page 19: ... communication module a To learn about the startup procedure Section 4 2 describes the general procedures prior to starting the operation of the serial communication module b To learn about the connection with the external devices Section 4 4 describes the connection methods for each type of interface c To learn about processing required prior to operation of the serial communication module Sectio...

Page 20: ...troller CPU and the external devices is performed with a communication function using the non procedure protocol or the bidirectional protocol Chapter 6 explains details of the communication functions and programming using the non procedure protocol Chapter 7 explains details of the communication functions and programming using the bidirectional protocol c To learn how to transfer data between a p...

Page 21: ...t may be necessary to change the default values depending on system specifications This manual explains how to perform the initial settings in order to use each function of the utility package available for this module GX Configurator SC When changing a default value for sending and receiving data to from an opposite device first see the section describing the applicable function to verify the ini...

Page 22: ...5HCPU Process CPU A generic term for Q02PHCPU Q06PHCPU Q12PHCPU and Q25PHCPU Redundant CPU A generic term for Q12PRHCPU and Q25PRHCPU Universal model QCPU A generic term for the Q00UJCPU Q00UCPU Q01UCPU Q02UCPU Q03UDCPU Q03UDVCPU Q03UDECPU Q04UDHCPU Q04UDVCPU Q04UDEHCPU Q06UDHCPU Q06UDVCPU Q06UDEHCPU Q10UDHCPU Q10UDEHCPU Q13UDHCPU Q13UDVCPU Q13UDEHCPU Q20UDHCPU Q20UDEHCPU Q26UDHCPU Q26UDVCPU Q26UD...

Page 23: ...module Serial communication module MELSECNET 10 The abbreviation for MELSECNET 10 network system MELSECNET H The abbreviation for MELSECNET H network system ONDEMAND The abbreviation for G ONDEMAND or GP ONDEMAND Operating Manual Protocol FB support function GX Configurator SC Version 2 Operating Manual Protocol FB support function Operating Manual Pre defined protocol support function GX Configur...

Page 24: ... MX Component Active X control library for serial communication MELSOFT product MELSEC communication protocol MC protocol A communication procedure for the Q series serial communication modules or the Ethernet interface modules and a name of communication method for accessing to the programmable controller CPU from an opposite device This is called the MC protocol in this manual There are two comm...

Page 25: ...otocol for the QnA series serial communication modules QnA compatible 4C frame Format 5 QnA extension frame Format 5 User frame Data name when the fixed format portion of messages to be sent or received between a serial communication module and an external device is registered in the module and used for sending and receiving data The contents of a user frame data should conform to the specificatio...

Page 26: ...85 communication 2 QJ71C24N R2 or QJ71C24 R2 QJ71C24N R2 serial communication module or QJ71C24 R2 serial communication module 1 QJ71C24N R4 QJ71C24N R4 serial communication module 1 RS 422 485 plug in connector socket block 2 Terminal resistor 330 W for RS 422 communication 4 Terminal resistor 110 W for RS 485 communication 4 Plate terminal for connecting a braided shield cable 4 SW2D5C QSCU E GX...

Page 27: ...mable controller data collection change from the external devices See the MELSEC Communication Protocol Reference Manual Programmable controller monitoring and control from the external devices See the User s Manual Application Data receiving and sending in any formats that conform to the external device specifications See Section 1 2 2 3 and 4 Collection of measured data from a measuring device S...

Page 28: ...ices in each frame format of the MC protocol c Data communication can be performed using a program at the external device side that has been created for communicating data with conventional A QnA series computer link module serial communication modules d When an external device is a personal computer use separately sold communication support tools MX Component This allows a communication program f...

Page 29: ... to the size of the end data that is set for the Q series C24 c ASCII code data can be used for communication using the ASCII BIN conversion function d It is necessary to create a sequence program for communication control that is appropriate to the external device e Communication can be performed using a user frame by registering the fixed format portion of the head and tail sections of a message...

Page 30: ...ogramming is allowed data communication is performed in a sequence of data transmission and response receipt b Error check of received data can be performed using the sum check code while the occurrence of a reception error at an external device can be checked via an ACK NAK response c ASCII code data can be used for communication using the ASCII BIN conversion function ASCII BIN conversion Binary...

Page 31: ... target device such as programs for creating send packets and analyzing receive packets can be eliminated This can reduce the steps for creating programs b Writing registered protocol setting data to the flash ROM reduces the volume of the program to be written the programmable controller CPU The following is the procedure for the pre defined protocol communication 1 Use GX Configurator SC Pre def...

Page 32: ... or buffer memory The following is an example System example The QJ71C24N R2 R4 is connected to an inverter and reads the operating mode value from the inverter A packet with the inverter station No set in device D0 is sent and an operating mode value is stored in device D100 e With the debugging support function of GX Configurator SC Pre defined protocol support function programs for communicatio...

Page 33: ...gh combined use of the modem function 2 The user can select either one of the following timing choices at which to send the programmable controller CPU monitoring result to the external device Send notify every time the programmable controller CPU is monitored periodic transmission Send notify when the information read from the programmable controller CPU matches the conditions set by the user con...

Page 34: ...ogramming monitoring and testing for the programmable controller CPU can be performed By connecting multiple personal computers installed with GX Developer to the programmable controller CPU or Q series C24 at the same time operations such as programming and monitoring can be performed simultaneously by multiple operators Operating GX Developers using these simultaneous connections can improve pro...

Page 35: ... connected at the same time the two interfaces of the Q series C24 cannot perform an interlock operation POINT When GX Developer or a GOT is connected to the Q series C24 on a 1 1 one to one basis The switch setting for the interface connected to GX Developer or a GOT is not required for accessing or monitoring a QCPU If the switch setting is not performed the GX Developer connection mode will be ...

Page 36: ...iple CPU system the following forms of data communication can be performed with the Q series C24 1 It is possible to perform data communication using the non procedure bidirectional protocols from the control CPU 2 It is possible to read the buffer memory from non control CPUs Input output signals can be used as contacts 1 CPU No 1 2 CPU No 2 3 CPU No 3 4 CPU No 4 1 Module controlled by CPU No 1 2...

Page 37: ... depending on the QCPU to be accessed whether it is a control CPU or a non control CPU See the Reference Manual for the available functions and accessible range A module used for routing can access the following modules when accessing other stations CC Link IE Controller Network CC Link IE Field Network MELSECNET H MELSECNET 10 network module Q series C24 Ethernet interface module If there is a mo...

Page 38: ...he remote password function of the QCPU b If the Q series C24 is specified in the parameters of a QCPU as being subject to the remote password check the remote password can be unlocked canceled using either one of the methods below to allow data communication from the external device It is necessary to connect a line to the modem first When communicating using the MC protocol Use the dedicated com...

Page 39: ... 400 bps Chapter 4 Data transmission reception at low speed This function allows data communication with an external device at a transmission speed of 50 bps Clearing reception data by a dedicated instruction This function allows clearing reception data using the CSET instruction during data communication using the non procedure protocol It is possible to clear the data even when data is being tra...

Page 40: ... of changeable data to the user frame 04H 0AH E5H EBH Adding a reception function through the use of user frames This function allows reception of a message consisting of the head frame and any data field when receiving data by specifying the head frame The data length of the data field can be specified freely for each combination of user frames for reception set by the user Receiving 1 byte provi...

Page 41: ...protocol QnA compatible 4C 3C 2C frame only This function allows access to extended data register D65536 or higher and extended link register W10000 or higher Reference Manual Support for multiple CPU system This function allows access to the control non control CPUs specified by the user when performing the following forms of data communication with a multiple CPU system Communication using the M...

Page 42: ...sed with the Built in Ethernet port QCPU use the QJ71C24N R2 R4 with a serial number first five digits of 10042 and the function version B or later No restrictions on the High speed Universal model QCPU Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if ...

Page 43: ...CNET H remote I O station the number of modules and base units applicable to the C24 refer to the Q Corresponding MELSECNET H Network System Reference Manual Remote I O network 2 Support of the multiple CPU system When using the Q series C24 in a multiple CPU system refer to the QCPU User s Manual Multiple CPU System first 2 ...

Page 44: ...17T or later Multiple CPU system Q02U Q03UD Q04UDH Q0 6UDHCPU Single CPU system Version 8 48A or later Version 2 12N or later Multiple CPU system Q10UDH Q20UDHCPU Single CPU system Version 8 76E or later Version 2 17T or later Multiple CPU system Q13UDH Q26UDHCPU Single CPU system Version 8 62Q or later Version 2 12N or later Multiple CPU system Q03UDE Q04UDEH Q06UDEH Q13UDEH Q26UDEHCPU Single CPU...

Page 45: ...ng describes the system configurations and available functions when using the Q series C24 1 System configurations System configurations combinations of programmable controller CPU and external device for data communication are shown below a External device and Q series C24 with 1 1 system configuration b External device and Q series C24 with n 1 system configuration ...

Page 46: ...2 5 2 5 MELSEC Q 2 SYSTEM CONFIGURATION AND AVAILABLE FUNCTIONS c External device and Q series C24 with 1 n system configuration d External device and Q series C24 with m n system configuration ...

Page 47: ...ogram read write Programmable controller CPU status control remote RUN STOP etc On demand function Application Global function Reference Accessing the programmable controller of other stations in the CC Link IE Controller Network CC Link IE Field Network MELSECNET H MELSECNET 10 Ethernet Programmable controller CPU monitoring function Application b Communication using the non procedure protocol Av...

Page 48: ...em configuration Reference section 1 1 n 1 1 n m n Data transmission reception Chapter 8 Operating In general if data communication is performed using a system configuration of other than 1 1 connection mode the following points should be well noted Avoid simultaneous transmission Discard data received other than that addressed to the local station ...

Page 49: ...ing GX Developer 2 If the other stations to be accessed belong to the multiple CPU system the modules used for routing and QCPUs at the local station all the relay stations and the accessed station should be modules of function version B or later This has to hold in all cases of accessing the non control CPU of the module used for routing and the accessed station 1 Example 1 When accessing other s...

Page 50: ...cations using dedicated instructions Communications via public line etc modem function Remote password check 2 Transmission Control DC code control including Xon Xoff control DTR DSR control Communications protocol switching Independent linked operation of each interface Initial setting and monitoring testing of setting values by the utility package Connecting the GX Developer and GOT Available No...

Page 51: ...reate programs with the FROM TO instructions For sample program using the FROM TO instructions refer to the QnPRHCPU User s Manual Redundant System 4 GX Configurator SC a Connecting GX Configurator SC GX Configurator SC cannot be used for accessing a Redundant CPU via an intelligent function module on an extension base unit from GX Developer Therefore the pre defined protocol communication is not ...

Page 52: ...lect Not specified for Target system A system switching during data writing may cause the data not to be written to the flash ROM Change the operation mode of the Redundant CPU to Separate mode before writing to prevent such situation from occurring If a system switching has occurred during data writing write the data to the flash ROM again ...

Page 53: ... protocol Data reception by interrupt program Programmable controller CPU monitoring Programmable controller CPU monitoring function 2 Communications using the bidirectional protocol Data reception by interrupt program Communications using the pre defined protocol Communications using dedicated instructions 3 Communications via public line etc modem function Remote password check 4 Transmission Co...

Page 54: ... be accessed by the device memory read write function Note that the accessible devices and the ranges vary depending on the type of frames used for the data communication See the Reference Manual for a detailed explanation Device name Device symbol Device name Device symbol Special relay SM Link relay B Special register SD Data register D Input relay X Link register W Output relay Y Link special r...

Page 55: ...area of the buffer memory Appendix 9 6 BUFRCVS No method Data cannot be received using an interrupt program PRR Perform programming using the REMFR REMTO instruction and I O signal Appendix 9 7 CSET Initial setting Appendix 9 8 CSET Programmable controller CPU monitoring function No method Register delete the programmable controller CPU using the MC protocol or GX Configurator SC PUTE Perform prog...

Page 56: ...dule Set the transmission specification and the communication protocol for communication with the external device See Section 4 5 2 Remote password setting Perform settings for the remote password User s Manual Application POINT 1 Connect GX Developer to a MELECNET H remote I O station and set the parameters 2 Reset the MELECNET H remote I O station after changing the setting 4 When monitoring set...

Page 57: ...QSCU E 20C or later Automation initialization of modem Function version B or later whose first 5 digits of the serial No are 03043 Version 1 0 or later Versions prior to SW0D5C QSCU E 40E are not usable Callback Version 7 or later Remote password check Function version B Function version A or later whose first 5 digits of the serial No are 02092 Version 6 or later SW0D5C QSCU E 20C or later Non pr...

Page 58: ...tion to the flash ROM System registration to flash ROM available Function version B or later first 5 digits of the serial No are 11062 or greater The QJ71C24N R4 only System registration into the flash ROM can be performed Version 2 20W or later Pre defined protocol communication Execution of the protocol selected from the pre defined protocol library Function version B or later first 5 digits of ...

Page 59: ... on the rating plate front of the module or system monitor window in GX Developer a Checking on the rating plate The rating plate is located on the side of the Q series C24 b Checking on the front of the module The serial number and function version on the rating plate is printed on the front at the bottom of the module The following Q series C24 is not included QJ71C24 or QJ71C24 R2 ...

Page 60: ... displayed POINT The serial number displayed on the Product Information List screen of GX Developer may differ from that on the rating plate or on the front of the module The serial number on the rating plate or on the front of the module indicates the management information of the product The serial number displayed on the Product Information List screen indicates the functional information of th...

Page 61: ...re version of GX Configurator SC select Help and then Product information from GX Developer REMARKS The version indication for the GX Configurator SC has been changed as shown below from the SW0D5C QSCU E 40E upgrade product Previous product Upgrade and subsequent versions SW0D5C QSCU E 40E GX Configurator SC Version 1 10L Software version ...

Page 62: ...400 4800 9600 14400 19200 28800 38400 57600 115200 230400 bps Transmission speed 230400 bps is available for only CH1 Not available for CH2 Total transmission speed of two interfaces is available up to 230400 bps Total transmission speed of two interfaces is available up to 115200 bps when the communication data monitoring function is used QJ71C24 R2 50 300 600 1200 2400 4800 9600 14400 19200 2880...

Page 63: ...ntelli 32 points 3 Recommended cable RS 232 7 0 127 P HRV SV Outside diameter 8 5mm 0 33in or more Oki Electric Cable Co Ltd Applicable number is specified in RS 422 485 SPEV SB MPC 0 2 3P Outside diameter approx 6 5mm 0 26 in Mitsubishi Cable Industries LTD SPEV SB 0 2 3P Outside diameter approx 7 5mm 0 3 in Mitsubishi Cable Industries LTD 4 Applicable connector for external wiring D sub 9 pin ma...

Page 64: ...e Q series C24 CD terminal check enabled CD terminal check disabled Full duplex communication The Q series C24 performs send and receive processing when the CD DCD signal receive carrier detection is ON If the CD DCD signal is turned off during data communication the Q series C24 initializes the transmission sequence The Q series C24 performs send and receive processing regardless of the ON OFF st...

Page 65: ...l as described below When the communication system is full duplex communications if the Q series C24 ready X1E is ON the Q series C24 turns ON the RS RTS signal When the communication system is half duplex communications when the Q series C24 sends data to an external device it turns ON the RS RTS signal The RS RTS signal is not turned OFF even when the receive data cannot be stored in the Q serie...

Page 66: ...4 can be specified by turning ON OFF the corresponding bit in RS RTS and ER DTR signal status designation address 92H 132H 1 2 3 4 1 The RS RTS signal is controlled by the Q series C24 in the following cases Ignore setting contents When data is communicated with half duplex communication When communication time and the RS and CS signals are controlled by the modem function 2 The ER DTR signal is c...

Page 67: ...prime factor for data communication errors 3 2 2 RS 232 cable specification Use a 15 m 49 21 ft or shorter cable conforming to the RS 232 standard as the RS 232 cable Diameter Type Material Temperature rating AWG28 to 24 Stranded Copper 60 C or more Recommended cable Oki Electric Cable Co Ltd 7 0 127 P HRV SV Specify the number of pairs For 13 pairs 7 0 127 13P HRV SV ...

Page 68: ...resistor Connect the termination resistor according to section 4 2 2 3 Terminal a Terminal block QJ71C24N Use 1 25 3 for the solderless terminal to be attached on the terminal block Use the UL certified crimp on terminal For crimping the terminal use the tools recommended by crimp on terminal manufacturers Crimp on terminals with insulation sleeves cannot be used b Plug in socket block QJ71C24N R4...

Page 69: ...tric strength 500 V DC 1 minute Electrostatic capacitance 1 kHz 60nF km or less on average Characteristic impedance 100 kHz 110 10 Recommended conductor size 0 2 mm 2 to 0 75 mm 2 Diameter 22 to 16 AWG Type Stranded wire Material Copper wire Temperature rating 60 C or more Recommended cable SPEV SB MPC 0 2 3P MITSUBISHI CABLE INDUSTRIES Ltd SPEV SB 0 2 3P MITSUBISHI CABLE INDUSTRIES Ltd SPEV SB MP...

Page 70: ...ice erroneous data is not received REMARKS The following describes the case when a pull up or pull down resistor is not installed to the external device When no station is sending the send line becomes high impedance and noise etc may cause the send line to change and the external device to receive erroneous data In this case there is probably a parity error or framing error Therefore skip the err...

Page 71: ...the Q series C24 outputs the actual data after sending a mark for 2 characters or longer after the high impedance set by the operations described in 1 and 2 above is reset Transmission processing completion timing The following times are necessary as H W gate OFF time from the time that data transmission is completed until transmission processing is completed the state changes to the high impedanc...

Page 72: ...ding data Output control input must be turned OFF when not sending data The Q series C24 side automatically controls the output control input 2 When the Q series C24 is used if operation of the two interfaces is linked see Section 4 5 2 2 the time to send one character becomes the Q series C24 H W gate OFF time The Q series C24 turns OFF the gate after the one character send time SDA SDB RDA RDB Q...

Page 73: ...request command and response in the pre defined protocol communication proper communication with the other device can be performed by disabling the echo back 2 Setting method 1 Setting by GX Configurator SC Enable or disable the function on the CHn Transmission control and others system setting screen For details refer to Section 9 4 5 2 This function is set in sequence programs In the echo back e...

Page 74: ...o back enable disable setting must be done before sending data Any setting changed during transmission does not take effect MOV K1 D0 H1C2 D0 K1 T0 H0 Send command Set echo back to Disable Set the value in the echo back enable disable setting area address 450 1C2H Data transmission program ...

Page 75: ... by interrupt programs Monitoring the programmable controller CPUs programmable controller CPU monitoring function ASCII data transmission reception by ASCII BIN conversion Data transmission reception by specifying transparent code Communication using bidirectional protocol 1 Data transmission reception in any format Chapter 7 Data reception by interrupt programs User s Manual Application ASCII da...

Page 76: ...a communication by non procedure protocol Using user frames makes send receive data processing easy Data communication by pre defined protocol The protocol of the external device can be simply selected created or edited on the screen of GX Configurator SC Pre defined protocol support function This can eliminate some communication control programs appropriate to the external device reducing the ste...

Page 77: ...ds data with user frames using transmission schedule table CPRTCL Executes the protocol setting data written to the flash ROM by Pre defined protocol support function Chapter 10 Setting value registration reading PUTE Stores user frames in flash ROM of the Q series C24 writing User s Manual Application GETE Reads user frames stored in flash ROM of the Q series C24 Programmable controller CPU monit...

Page 78: ...ation by the pre defined protocol Section 9 4 9 CHn PLC CPU monitoring system setting Set the programmable controller CPU monitoring function Section 9 4 10 CHn Transmission user frame No designation system setting Set the user frame number to be transmitted etc Section 9 4 11 System setting default Reset the setting values in the buffer memory to their default values Section 9 4 12 Can be used on...

Page 79: ...rks MC Non Bi Pd Non procedure protocol receive data clear Clear the currently received data Section 9 7 Can be used only via online operation Abbreviations used in the Protocol column MC MC protocol Non Non procedure protocol Bi Bidirectional protocol Pd Pre defined protocol ...

Page 80: ...ion setting Section 4 5 2 CH1 Communication rate setting Switch 2 CH1 Communication protocol setting Switch 3 CH2 Transmission setting CH2 Communication rate setting Switch 4 CH2 Communication protocol setting Switch 5 Station number setting Interrupt pointer setting Performs setting for reading reception date with interrupt programs CPU side Interrupt pointer Start No Section 4 5 3 Interrupt poin...

Page 81: ...ompletion ON Abnormal completion Y8 CH2 Reception data read completion ON Data read completed X9 1 CH2 Transmission processing ON Transmission in progress Y9 CH2 Mode switching request ON Requesting switch Application XA 2 CH2 Reception data read request ON Requesting read Section 6 1 Section 7 1 Section 9 6 5 Section 9 6 6 YA Use prohibited XB 2 CH2 Reception abnormal detection ON Abnormal detect...

Page 82: ...tion reception data clear by buffer memory user frame use enable disable designation UINI instruction programmable controller CPU information clear While the mode switching X6 XD is ON do not issue a communication request to the target interface The communication processing of the Q series C24 is stopped while the mode switching X6 XD is ON 4 The Q series C24 ready indicates whether or not it is p...

Page 83: ... function modules is executed with a dedicated instruction It is not necessary to turn the signals on off by the sequence program except for the input output signals shown in the programming of each function reference page 2 When a program for a QnA series serial communication module is also utilized for the Q series C24 it is recommended to replace the instructions with the dedicated instructions...

Page 84: ...ol Bi Bidirectional protocol Pd Pre defined protocol 2 Meaning of symbols shown in the Protocol column The following symbols are assigned to protocols related to the setting values of a corresponding area and to areas used for controlled with user settings and indicate what kind of access is allowed to the area in question RW Area where it is possible to read write from to the programmable control...

Page 85: ...tor SC or by the CSET instruction for the sequence program 1 Initial settings for communication using the MC protocol Setting the unit of data length sent by the on demand function Word byte units designation addresses 150 96H 310 136H Setting the buffer memory used by the on demand function Buffer memory head address designation addresses 160 A0H 320 140H Transmission buffer memory length designa...

Page 86: ...mber of data bytes registered maximum 80 bytes 6 to 45 6H to 2DH User frame 0 No designation Other than 0 Registered data maximum 80 bytes 46 2EH For designation of modem function 1 Modem connection channel designation 0 RW Allowed Section 9 4 2 Section 9 4 3 Section 9 4 4 User s Manual Application 0 Non 1 CH1 2 CH2 47 2FH Notification execution designation 0 Do not execute 1 Execute 48 30H Number...

Page 87: ...bit 1 2 bit Sum check code b5 0 No 1 Yes Write during RUN b6 0 Prohibited 1 Allowed Setting modification b7 0 Prohibited 1 Allowed Communication rate b8 to b11 50 bps to 230400 bps For system b12 to b14 All 0 Transmission specifications after switching b15 designation 0 Match settings in GX Developer 1 Match settings in this area 146 92H 306 132H Signal setting RS and DTR signal status designation...

Page 88: ...1 400H CH2 800H RW Allowed Section 9 4 6 Reference Manual 161 A1H 321 141H Data length designation 0000H to 3400H 0 162 A2H 322 142H For designation of transmission area Transmission buffer memory head address designation 400H to 1AFFH 2600H to 3FFFH CH1 400H CH2 800H RW RW Chapter 6 Chapter 7 Section 9 4 5 Section 9 4 7 Section 9 7 163 A3H 323 143H Transmission buffer memory length designation 00...

Page 89: ...designation 1st 0000H No designation Other than 0000H Designated below RW Section 9 4 5 User s Manual Application Transparent code b0 to b7 00H to FFH Transparent code Additional code b8 to b15 01H to FFH Additional code 288 120H 448 1C0H Receive transparent code designation 0000H No designation Other than 0000H Designated below Transparent code b0 to b7 00H to FFH Transparent code Additional code...

Page 90: ...AFH 1199 Address 211H b7 542 21EH Number of registered default registration frames for system Section 9 6 10 User s Manual Application 543 21FH Use prohibited System area 544 220H For confirmation of flash ROM write result Flash ROM system parameters write result 0 RW Not allowed Section 9 6 10 0 Normal completion Other than 1 error code Abnormal completion 545 221H For confirmation of modem funct...

Page 91: ...r setting R Not allowed Section 4 5 2 Section 9 6 3 Section 11 1 5 0 GX Developer connection 1 MC protocol format 1 2 MC protocol format 2 3 MC protocol format 3 4 MC protocol format 4 5 MC protocol format 5 6 Non procedure protocol 7 Bidirectional protocol 8 For linked operation 9 Pre defined protocol 593 251H 609 261H Transmission setting status switch setting Section 4 5 2 Section 9 6 3 Section...

Page 92: ...5 to 1535 401H to 5FFH 2049 to 2559 801H to 9FFH Transmission data designation Data to be sent to an external device 1536 600H 2560 A00H Receive data count Number of data for which read is requested 0 No receive data 1 or more Number of receive data 1537 to 2047 601H to 7FFH 2561 to 3071 A01H to BFFH Receive data Data received from an external device 3072 to 6911 C00H to 1AFFH For user User free a...

Page 93: ... 1FCEH to 1FF6H For registration No 801FH 8183 to 8191 1FF7H to 1FFFH Use prohibited System area 8192 2000H System designation Flash ROM write allow prohibit designation 0 RW Not allowed Section 9 4 13 0 Write prohibited 1 Write allowed 8193 2001H For callback function Callback function designation 0H Auto 1H Callback connection during fixed Setting 4 3H Callback connection during designated numbe...

Page 94: ... start designation 0002H Monitoring Q series C24 is a set 1002H Monitoring stopped Q series C24 is set 100FH Monitor setting error Q series C24 is a set 0 RW Allowed User s Manual Application 8217 2019H 8473 2119H Data optional designation 0 Off 1 On Full stop designation b0 Timer 0 errors at occurrence stop designation b2 For system b1 b3 to b15 0 8218 201AH 8474 211AH Monitor buffer head address...

Page 95: ... 214DH For designation of programmable controller CPU monitoring function Number of registered word blocks designation It is possible to designate a maximum of 10 blocks in total 0 R Allowed User s Manual Application 0 No designation 1 to 10 Number of blocks of word devices 8270 204EH 8226 214EH Number of registered bit blocks designation 0 No designation 1 to 10 Number of blocks of bit devices 82...

Page 96: ...R 0 No designation 0BB8H to 0BD5H 8001H to 801FH Data No for connection 8425 to 8447 20E9H to 20FFH 8681 to 8703 21E9H to 21FFH Use prohibited System area 8448 2100H Use Prohibited System area 8449 2101H For callback function Data No for callback designation 1 0BB8H to 0BD5H 8001H to 801FH Data number for callback 0 R W Allowed Section 9 4 4 User s Manual Application 8450 2102H Data No for callbac...

Page 97: ...e password function Accumulated count of unlock process normal completion 0 or more Accumulated count of normal completion 0 RW Not allowed Section 5 1 5 Section 9 6 2 User s Manual Application 8956 22FCH Accumulated count of unlock process abnormal completion processing 0 or more Accumulated count of abnormal completion 8957 to 8958 22FDH to22FEH Use prohibited System area 8959 22FFH For the remo...

Page 98: ...end packet 1 to 16 Receive packet 65535 Unidentified Valid when the Setting type value is 0 0 R 16521 4089H Element No 1 to 32 Element No 65535 Unidentified Valid when the Setting type value is 0 0 R 16522 to 16527 408A H to 408FH Use prohibited System area 16528 4090H Checking protocol setting data Number of registered protocols 0 No registration 1 to 128 Number of registrations 0 R Not allowed C...

Page 99: ...Not allowed Section 8 1 4 16641 4101H 18433 4801H Protocol execution log write pointer 0 No log 1 to 32 Latest protocol execution log No 0 R 16642 4102H 18434 4802H Execution log 1 System area use prohibited 16643 4103 H 18435 4803H Protocol No 0 No log 1 to 128 Protocol No 201 to 207 Functional protocol No 0 R Not allowed Section 8 1 4 Operating Manual Pre defined protocol support function 16643 ...

Page 100: ...y 1 to 16 Matched packet No 0 R Not allowed 16680 4128H 18472 4828H Number of retries 0 No retry 1 to 10 Number of retries 0 R 16681 4129H 18473 4829H System area Use prohibited 16682 412AH 18474 482AH Start time and date 0 No log Upper 8 bits Month Lower 8 bits Last 2 digits of year 0 R Not allowed Section 8 1 4 Operating Manual Pre defined protocol support function 16683 412BH 18475 482BH 0 No l...

Page 101: ...area 20224 to 20479 4F00H to 4FFFH 20480 to 24575 5000H to 5FFFH Send receive area for pre defined protocol function Pre defined protocol function buffer 0 RW Not allowed Operating Manual Pre defined protocol support function 24576 to 32767 6000H to 7FFFH Use prohibited System area 1 Tables a and b on the following page list the assignment of block monitoring device areas No 1 to No 10 for the pro...

Page 102: ...H 8343 2097H 8352 20A0H 8361 20A9H Designation of data No for connection for conditional transmission and notification b CH2 side buffer memory address decimal hexadecimal N th block monitoring device Name 1 2 3 4 5 6 7 8 9 10 8528 2150H 8537 2159H 8546 2162H 8555 216BH 8564 2174H 8573 217DH 8582 2186H 8591 218FH 8600 2198H 8609 21A1H Monitoring device designation 8529 to 8530 2151H to 2152H 8538 ...

Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...

Page 104: ...he Q series C24 1 Do not drop the module or subject it to heavy impact since it is made of resin 2 Tighten the screws such as module fixing screws within the following ranges Screw location Tightening torque range Remarks RS 422 485 terminal block terminal screw M3 screw 0 42 to 0 58 N m RS 422 485 plug in connector socket terminal screw for QJ71C24N R4 M2 screw 0 20 to 0 25 N m RS 232 cable conne...

Page 105: ... in this manual When communication using the MC protocol is possible between the Q series C24 and the external device set the operation mode for MC protocol communication and perform a loopback test See Section 4 8 in this manual Set an operation mode for the data communication system between the Q series C24 and the external device See Section 4 5 2 in this manual A setting that automatically ref...

Page 106: ...32 interface RS232 interface for serial communication with external devices D Sub 9 pin 3 RS 422 485 interface RS422 485 interface for serial communication with external devices 2 piece terminal block 4 RS 422 485 interface RS422 485 interface for serial communication with external devices 2 piece plug in socket block 5 Serial number plate Indicates the serial No of the serial communication module...

Page 107: ...ing for MC command message to be received MC command message being received Valid Invalid Off SD Transmission status display Data being transmitted MC command message not transmitted Valid RD Reception status display Data being received MC command message not received 1 This LED comes on when an error occurs at Q series C24 hardware or during data communication 2 This LED displays the data communi...

Page 108: ...table crimp on terminals for the terminals b QJ71C24N R4 1 Use the RS 422 485 cable recommended in section 3 3 2 Be sure to strip the outer insulation layer by 7 mm before connecting the cable to the plug in socket block 2 When connecting the braided shield wire inside the RS 422 485 cable use the plate terminals included with the product The braided shield wire can be connected without the plate ...

Page 109: ...in this section Using modem functions b The connection cable FG signal and shield are connected as follows Connection on the Q series C24 side Notes Connection cable FG signal Connect to the Q series C24 connector housing Do not short the communication cable FG signal and the SG signal When the FG signal and the SG signal are connected inside the external device do not connect the FG signal to the...

Page 110: ...capable of turning on and off the CD DCD signal No 1 pin 1 Connection example 1 When wiring shown above DTR DSR control or DC code control may be performed 2 Connection example 2 When wiring shown above DC code control may be performed POINT If the programmable controller CPU and an external device cannot be communicated try to perform data communication as a connection test using the wiring conne...

Page 111: ... wiring as follows 1 Connect between the FG of both stations with the shield of the connection cable On the external device side however follow the instruction manual of the external device Be sure to use the plate terminals included with the product when connecting the braided shield wire to the QJ71C24N R4 2 Connect the FG of the Q series C24 side to the FG terminal at the power supply module of...

Page 112: ...ice according to the instruction manual of the external device The terminal resistor to connect to the Q series C24 When communications performed using RS 422 330 1 4 W resistor is connected When communications performed using RS 485 110 1 2 W resistor is connected How to discriminate between the terminating resistors d When connecting the terminal resistor of the QJ71C24N R4 to the RS 422 485 plu...

Page 113: ...d at the external device at both ends of the circuit a terminal resistor must be set or connected at the converter 2 When using the RS 232 to RS 422 converters to connect the external devices and the Q series C24 use a converter that is compatible with the external device and programmable controller CPU system configuration 1 1 1 n m n 3 Device connected to the Q series C24 RS 422 485 interface mu...

Page 114: ...ystem configuration Terminal resistor R R R SDA SDB RDA RDB SG FG SDA SDB RDA RDB SG FG External device C24 1 C24 2 C24n RS 422 485 cable RS 422 485 cable SDA SDB RDA RDB SG FG R R SDA SDB RDA RDB SG FG RS 422 485 cable Terminal resistor R SDA SDB RDA RDB SG FG External device 1 C24 1 RS 422 485 cable RS 422 485 cable SDA SDB RDA RDB SG FG R SDA SDB RDA RDB SG FG SDA SDB RDA RDB SG FG RS 422 485 c...

Page 115: ...SG FG External device 1 C24n RS 422 485 cable RS 422 485 cable SD RD SDA SDB RDA RDB SG FG R SD RD SDA SDB RDA RDB SG FG SD RD SD RD RS 232 RS 232 Linked operation External device 2 C24 1 C24 2 Linked operation R Terminal resistor R SDA SDB RDA RDB SG FG External device 1 C24 1 C24n RS 422 485 cable RS 422 485 cable SDA SDB RDA RDB SG FG R SDA SDB RDA RDB SG FG SDA SDB RDA RDB SG FG RS 422 485 cab...

Page 116: ... the Q series C24 Startup procedure PLC parameters I O assignment For screen display see the GX Developer Operating Manual Setting screen Display description Item name Setting for item Remarks I O assignment Type Select intelli Model name Enter the module model name to be mounted Example QJ71C24N Points Select 32 points Start XY Enter the start I O signal Hexadecimal for the target module Switch s...

Page 117: ...the following table Switch number Description Remarks Switch 1 b15 to b8 b7 to b0 See a and b CH1 Communication rate setting CH1 Transmission setting Switch 2 CH1 communication protocol setting See c Switch 3 b15 to b8 b7 to b0 See a and b CH2 Communication rate setting CH2 Transmission setting Switch 4 CH2 Communication protocol setting See c Switch 5 Station number setting See d For settings to ...

Page 118: ...s Even odd parity Odd Stop bit 1 Sum check code Yes Write during RUN Allowed Setting modifications Allowed Prohibited 1 Operation setting This sets whether to use each of the two Q series C24 interfaces for independent data communication or to use the two for linked data communication The setting and data flow for linked operation is explained in 2 2 Data bit setting This sets the bit length for o...

Page 119: ... written to the programmable controller CPU from an external device while the programmable controller CPU is running When write during RUN is prohibited disabled the data is not written and an NAK message is returned if the external device requests the programmable controller CPU to write data while it is running For an explanation of the functions available in this setting check in the write allo...

Page 120: ...cted 3 Set 00H to the interface for which GX Developer connection is set in the communication protocol setting The serial communication module will operate at the communication speed set on GX Developer c Communication protocol setting CH1 side switch 2 CH2 side switch 4 Set number Description Remarks 0H GX Developer connection For connection to MELSOFT products GX Developer communication rate and...

Page 121: ... from GX Developer if there is to be no communication if the cables are not to be connected at the interface Communication protocol setting Set any of 0H to 7H or 9H Transmission setting communication rate setting Set all to OFF 2 The setting and data flow in linked operation a Set the related switches as follows when two Q series C24 interfaces are in linked operation Switch number Settings Setti...

Page 122: ...rotocol non procedure protocol 5 When communicating data using the modem function POINT When two interfaces are in linked operation the transmission time for one character becomes equal to the hardware gate off time of the Q series C24 c The data flow in linked operation is as follows 1 Two interfaces operate linked together using functions defined with the communication protocol setting on the CH...

Page 123: ...terface The header information is also sent during m n connection Operation of the accessed station The accessed station processes the request contained in the command message adds the header information to a response message and sends it using the interface that received the command message REMARKS The following describes the header information that is added by the Q series C24 to a message in li...

Page 124: ...ing communication using the non procedural bidirectional protocol By performing this setting an interrupt program starts when data is received from an external communicating device and the reading of data received by the programmable controller CPU becomes possible Startup procedure PLC parameters PLC system setting Interrupt pointer setting For display screen see the GX Developer Operating Manual...

Page 125: ...n intelligent module unit side 1 Assign control numbers SI on the Q series C24 side to the interrupt pointers Ixx used in the sequence program 2 Set the start SI No 0 of the interrupt control numbers 3 The interfaces for data reception corresponding to the interrupt control numbers are as follows SI No 0 for interface on the CH1 side SI No 1 for interface on the CH2 side ...

Page 126: ...between the Q series C24 and the programmable controller CPU of the mounting station This section explains the Auto refresh settings of the data mentioned in 2 above Setting purpose The auto refresh settings are defined to automatically store the information stored in the buffer memory of the Q series C24 in devices designated by the programmable controller CPU By this setting the users can see th...

Page 127: ...ata storage area 4 notification execution data No 236H Data storage area 5 notification execution data No 23AH Accumulated count of unlock process normal completion 22FBH Accumulated count of unlock process abnormal completion 22FCH Accumulated count of lock process based on circuit disconnection 22FFH CH1 CH2 communication protocol status 1 252H 262H Section 4 5 2 Section 9 6 3 Section 11 1 Trans...

Page 128: ...fresh for required information only 2 Writing auto refresh settings to QCPU and saving them in a file a Writing auto refresh settings to QCPU Use online programmable controller write function of GX Configurator SC or GX Developer b Saving in a file Use the file storage function shown in the file items in the parameter module selection screen shown in Section 9 3 2 of GX Configurator SC POINT 1 The...

Page 129: ...l station test check the specifications of the devices used before defining various settings and reconnecting cables For the interface that is not used for communication no cable connection define the switch settings in GX Developer as follows for the setting method see Section 4 5 2 Communication protocol setting any of 0H to 7H or 9H Transmission settings and communication rate settings all set ...

Page 130: ...on CH1 side is lit approximately 2 seconds 2 The test is completed normally when the ERR LED turns off 3 The test is completed with error when the ERR LED turns on Check the error description in one of the following screens The Monitor test others screen of GX Configurator SC see Section 9 6 10 The buffer memory monitor screen of GX Developer see the GX Developer Manual for the operation method Wh...

Page 131: ...module and test again If there is no error in the mounting status of module please consult your local Mitsubishi representative 2 Perform the ending procedure for ROM RAM switch test 1 Follow the procedure in Section 4 7 2 to perform an individual loopback test operation 2 Perform the following procedure to end the test and start data communication with an external device Set the switch settings o...

Page 132: ...ansmission specification for data communication with an external device Procedure 3 Performing the individual station loopback test 1 Set the programmable controller CPU to STOP status 2 Restart the programmable controller CPU station or reset the CPU The test starts automatically in about one second 3 For the Q series C24 perform the following tests in sequence and repeat them one test cycle take...

Page 133: ...ity Examine the power supply capacity Module is not mounted correctly Reinstall the module properly Error occurrence in the base unit extension cable CPU module or the Q series C24 Check each module and remove the cause of the error Reconnect the cable correctly Reinstall the module correctly b5 to b13 b14 CH2 ERR CH2 side communication error Reconnect the cable correctly Examine the test wiring c...

Page 134: ...Parity bit Yes odd Stop bit 1 bit Sum check code No Write during RUN Allowed Setting modification Prohibited Communication rate setting 9600 bps Switch 2 0001H Communication protocol setting MC protocol format 1 Switch 3 0000H Switch 4 0000H Switch 5 0000H Station number setting 0 station Procedure 3 Performing a loopback test 1 Set the programmable controller CPU to STOP status and turn the power...

Page 135: ...wo characters hexadecimal Designate the number of characters 1 to 254 of return data to be sent immediately afterward Designate with a text string consisting of 0 to 9 and A to F capital letter In case of format 1 Two characters hexadecimal Character A part Becomes the same data Header data to be sent by the programmable controller Character B part S T X E T X 02H 30H 30H 46H 46H 30H 35H41H42H 43H...

Page 136: ...w perform inspection according to the inspection items listed in the User s Manual of the programmable controller CPU module in order to always use the system in the optimal condition The Q series C24 inspection items 1 Check if the terminal resistors and cables are connected securely 2 Verify that the module fixing screws and the terminal block installation screws are securely tightened POINT Be ...

Page 137: ... Configurator SC Step 2 Save the system setting data read to the specified file using the Save file function of GX Configurator SC 1 Step 3 Turn the power supply to the Q series C24 off Step 4 Dismount the cables and the module itself Step 5 Replace the module and start up the module according to 4 2 Settings and Procedures Prior to Operation Step 6 Read the data saved in Step 2 back into the syst...

Page 138: ...4 35 4 35 MELSEC Q 4 SETTINGS AND PROCEDURES PRIOR TO OPERATION MEMO ...

Page 139: ...ol is provided in Section 3 4 With the exception of the on demand function described below the Q series C24 sends and receives data based on commands from the external devices Thus the programmable controller CPU side does not require sequence programs for data communication 1 Data read write This function reads and writes data from to the programmable controller CPU device memory of the local sta...

Page 140: ...ccessing the programmable controller using these conventional modules The external device side can access the Q series programmable controller with a program used for accessing the programmable controller via a conventional module Example E N Q H L H L H L H L 0 0 0 1 Q R 0 X 0 0 0 0 4 0 0 2 2 7 05H 30H 30H 30H 31H 51H 52H 30H 58H 30H 30H 30H 30H 34H 30H 30H 32H 37H 32H S T X H L H L 0 0 0 1 1 2 3...

Page 141: ...mple When multiple CPU No 1 is specified Frame ID No 46H 05H Self station No Command Sub command Device code Head device Number of device points Sum check code 38H 30H 33H 30H 33H 45H 30H 30H 30H 30H 30H 30H 34H 30H 31H 30H 30H 30H 31H 58H 2AH 30H 30H 30H 30H 34H 30H 30H 30H 30H 35H H F L 8 H 0 L 7 H 0 L 0 H 0 L 0 H 0 L 0 H 0 L 1 H 0 L 1 X L 0 L 5 PC No 0 0 H 0 0 4 H 0 0 0 4 3 0 0 0 E N Q Station ...

Page 142: ...e subject to the remote password checking The remote password is checked for validity of access to a programmable controller Data communication using the MC protocol Access to the programmable controller using GX Developer The remote password is not checked in data communication using the non procedure bi directional or pre defined protocol c Remote password to be checked The check is performed ag...

Page 143: ...ccurs at the unlock processing by the user external device after the line is connected The Q series C24 automatically disconnects the line if more remote password disagreements occur than the number of times designated by this value 2 Remote password mismatch notification accumulated count designation Designate the number of times before notification when remote password disagreements occur at the...

Page 144: ...e password mismatch notification count designation 8204 200CH Remote password mismatch notification accumulated count designation 8205 200DH Accumulated count of unlock process normal completion 8955 22FBH Accumulated count of unlock process abnormal completion 8956 22FCH Accumulated count of lock process based on circuit disconnection 8959 22FFH 5 2 Utilizing the MX Component When an external dev...

Page 145: ...ns with the user frames described in the User s Manual Application This chapter explains the basic transmission and reception methods when performing data communication using the non procedure protocol Follow the procedure described in this chapter to create sequence programs for sending and receiving data for the programmable controller CPU For details on the additional functions listed below for...

Page 146: ...by the receive data count Receives fixed length messages Reception by a timeout of the no reception monitoring time timer 0 Receives a message of which the receive complete code and receive data count have not been determined For a specification of the non reception monitoring time timer 0 refer to the User s Manual Application Programmable controller CPU 1 Reception data read request Receiving ar...

Page 147: ... receive complete code can be changed to match the specifications of the external device An arbitrary 1 character 1 byte code within the 00H to FFH range can be designated d The Q series C24 issues a receive data read request to the programmable controller CPU as follows according to the set value of the receive end code 1 When receive complete code not changed Default value 0D0AH CR LF is added t...

Page 148: ...eception monitoring time timer 0 if the received complete code and the received data count are not decided For the non procedure protocol at the non reception monitoring time format see the User s Manual Application 2 CR is included as 1 byte of data included in the message 2 When the receive complete code is changed and an arbitrary code is designated 00 H designated User defined receive complete...

Page 149: ...C24 it reads data up to the received data count received from the external device c The received data count default value is set to 511 words However it can be changed within the size of the receive data storage area depending on the data contents exchanged with the external device POINT 1 When the receive complete code and received data count are set to GX Configurator SC both become valid In thi...

Page 150: ...e receive data count in order to read the receive data for the programmable controller CPU By default the receive area is assigned to addresses 600H to 7FFH CH1 side and A00H to BFFH CH2 side Buffer memory Receive data count Receive data CH1 address 600H 601H 7FFH Default Writes the receive data storage count when the programmable controller CPU is requested to read the receive data Stores the arb...

Page 151: ...r definable area address 400H to 1AFFH 2600H to 3FFFH b When changing the position and size of the receive area in the buffer memory if any of the functions below are used concurrently make sure that the addresses of the receive area do not overlap with the buffer memory addresses assigned for storing transmission receive data with the functions 1 MC protocol buffer memory read write function 2 MC...

Page 152: ... 1 The OS area of the Q series C24 shown in the above diagram is the memory 8448 bytes that temporarily stores the data to be received while a request for the reading of the receive data is being made to the programmable controller CPU The user cannot read the receive data in the OS area When the sequence program finishes reading the receive data in the buffer memory in response to the read reques...

Page 153: ...ata read request X3 Sequence program Read data count 100 words 2 Data reception when the receive data storage area is smaller than the receive data length Since the following control is performed data link processing is required in the sequence program 1 Reception using the complete code Example When the receive area for the CH1 side interface is located at addresses 600H to 7FFH default values an...

Page 154: ...unt instead Receive data storage area Data length received from external device Example When 550 words of data is received through the CH1 interface in three parts when the CH1 interface receive area consists of addresses 600H to 7FFH default value External device Reception data read request X3 511 words Sequence program INPUT INPUT 39 words INPUT 472 words 78 words 433 words 117 words 1st data 2n...

Page 155: ...eption This section explains the sequence program for data reception For details on the INPUT instruction for data reception see Chapter 10 1 When the completion device is off execute the INPUT instruction If the INPUT instruction is executed when the completion device is on data may not be received properly ...

Page 156: ...data specified by the received data count or data containing the receive complete code is received from the external device the reception data read request X3 turns ON 3 After the control data for the INPUT instruction is stored in the device the sequence program executes the INPUT instruction and reads the receive data Before executing the INPUT instruction check that the INPUT instruction comple...

Page 157: ... 1 0 n 10 1 other than 0 n 10 Q series C24 D 0 D 1 D 2 D 3 D10 D m Interface number Reception result Receive data count Allowable receive data count Receive data Receive data For abnormal completion D 0 D 1 D 2 D 3 D10 D x Interface number Reception result Receive data count Allowable receive data count Receive data Receive data Buffer memory Data reception result Receive data count Receive data A...

Page 158: ... 2 The SPBUSY instruction is used to read the execution status when using a dedicated instruction See Chapter 10 3 More than one INPUT instruction cannot be executed simultaneously Execute the next INPUT instruction only after the execution of the first INPUT instruction is completed 4 When the communication data count is set in word units and if the received data count is an odd byte when request...

Page 159: ... The Q series C24 stops data transmission and terminates the dedicated instruction for transmission abnormally The transmission completed signal does not go ON If a reception data clear request is executed during data reception the data received up to that point are cleared 1 Receive data clear processing The Q series C24 performs the following procession when the receive data clear is performed T...

Page 160: ...ssible Clear Procedure When the CH1 side interface is used 1 While none of receiving sending and receive data clearing is being performed with the TO instruction 1 is written to Receive data clear request address A8H 2 Receive data clear processing is performed for the Q series C24 s OS area See Section 6 1 2 3 When receive data clear processing is completed receive data clear request address A8H ...

Page 161: ...PROTOCOL Q series C24 Receive data clear request address A8H Programmable controller CPU Program TO instruction Write 1 to address A8H 0 1 0 Send request execution disabled Receive data clear processing 2 Dedicated instruction for sending execution disabled too 3 1 ...

Page 162: ... example program for clearing received data with the FROM TO instructions while send receive processing is performed using dedicated instructions OUTPUT INPUT 1 Add the dotted line portion to the sequence program when the function version A Q series C24 is used Carry out communications when M19 is ON ...

Page 163: ...irmation using the sequence program a Detecting the occurrence of a reception error 1 The following device and input signals turn ON INPUT instruction complete device 1 Reception abnormal detection X4 XB ERR occurrence XE XF 2 The reception error code can be checked using the INPUT instruction control data S1 1 Or it can be checked by reading the data reception result address 258H 268H For details...

Page 164: ...onfirm the error code GX Configurator SC monitor function See Section 9 6 5 GX Developer buffer memory monitor function monitors addresses 258H 268H 3 Receive data when a reception error occurs a Storing receive data The receive data for which an error was detected is discarded and only the normally received data is stored in the Q series C24 Thus there may be missing data among the data that has ...

Page 165: ...area Programmable controller CPU Q series C24 ready X1E Reception data read request X3 Reception abnormal detection X4 INPUT instruction INPUT instruction complete device INPUT instruction complete device 1 normal completion abnormal completion Receive data count address 600H Receive data addresses 601H to INPUT Receive data Data reception 1 scan ERR LED lights up Reception abnormal detection data...

Page 166: ... changed even after data communication has started if the timing is as shown in the chart below The following describes the procedure for changing setting values for data reception via the non procedure protocol after the start of data communication and for the resumption of data reception processing Specifically the module restrictions are explained along with the timing and procedure for changin...

Page 167: ...tion abnormal detection X4 XB to turn ON turn ON the reception data read completion Y1 Y8 after performing the following Read the receive data Change the setting values for the receive complete code and the received data count Example When reading data received in the CH1 side interface External device side Data 1 Data 2 Programmable controller CPU side X3 Reception data read completion Received d...

Page 168: ... 10 0AH 00H 3 Transmission data ETX H 03H 48H 41H 03H External device A STX 1 2 OUTPUT instruction Q series C24 Transmission data count Transmission data Programmable controller CPU OUTPUT instruction completion device OUTPUT instruction OUTPUT Transmission instruction Contents CH1 CH2 Control timing 1 Transmission data is stored in the device designated with the OUTPUT instruction 2 Control data ...

Page 169: ... the data count that are transmitted from the programmable controller CPU to the external device via the Q series C24 By default the transmission area is assigned to addresses 400H to 5FFH CH1 side and 800H to 9FFH CH2 side Buffer memory Transmission data count CH1 side address 400H 401H 5FFH Default setting The unit of transmission data count words bytes is in accordance with the word byte units ...

Page 170: ...position and size of the receive area in the buffer memory if any of the functions below are used concurrently make sure that the addresses of the transmission area do not overlap with the buffer memory addresses assigned for storing transmission receive data with the functions 1 MC protocol buffer memory read write function 2 MC protocol on demand function 3 Non procedure protocol transmission re...

Page 171: ...ffer memory Transmission data count In accordance with the word byte units designation Word units 5 Bytes units 10 Transmission data designation Sequentially store the transmission data to low address L H next address L H in the order of transmission 6 2 3 Sequence program for transmission data A sequence program for transmission data is explained below For details on the OUTPUT instruction used f...

Page 172: ...ation address 401H to 1 Starts the local station programmable controller CPU The setting values for GX Developer are stored in the Q series C24 2 Inputs the user data transmission command signal 3 Executes the OUTPUT instruction after storing the transmission data and the control data for the OUTPUT instruction in the device Data is sent when the OUTPUT instruction is executed 4 When the Q series ...

Page 173: ...st to the Q series C24 are all executed by the programmable controller CPU The completion flag is reset by an external command Interface number Transmission result Transmission data count 0001H 0000H D 0 D 1 D 2 D11 D15 From buffer memory address 257H Buffer memory Data transmission result Transmission data count designation Transmission data designation Address 257H 400H 401H 5FFH 4241H 0A0DH 000...

Page 174: ... the sequence program a Detecting a transmission error 1 The following device and input signal turn ON OUTPUT instruction complete device 1 ERR occurrence XE XF 2 The transmission error code can be checked using the OUTPUT instruction control data S1 1 Or it can be checked by reading the data transmission result address 257H 267H For details on how to check the error code contents and corrective a...

Page 175: ...5 The ERR LED is turned off with the ERR LED OFF function See Section 9 6 11 3 Confirming the error code Use one of the following to confirm the error code GX Configurator SC monitor function See Section 9 6 5 GX Developer buffer memory monitor function monitors addresses 257H 267H POINT When a transmission error occurs the programmable controller CPU may not transmit all the designated data It is...

Page 176: ...thing is transmitted from the Q series C24 to the external device through the RS 422 485 interface a framing error may be generated by the noise etc in the external device Send an arbitrary code to identify the head of the send data from the Q series C24 to the external device Before data communication check the Q series C24 interface specifications 3 Data communications with external device over ...

Page 177: ...ption message may be missing data when an error occurs To assure the correct transmission and reception of data it is recommended that a normal error response message is received and a response message reception timeout check is conducted for data transmitted between the programmable controller CPU and the external equipment and that measures be taken when an error message is received or when an e...

Page 178: ...grammable controller protocol can communicate with the programmable controller CPUs using the bidirectional protocol This chapter explains the basic transmission and reception methods when performing data communication using the bidirectional protocol Follow the procedure described in this chapter to create sequence programs for sending and receiving data for the programmable controller CPU Regard...

Page 179: ...s recognized using the data length information contained in the message messages of any size can be sent from the external device Sequence program 3 Read BIDIN instructions External device 1 Arbitrary data 00H to FFH 4 2 2 Read request 00H to FFH Buffer memory Receive area Q series C24 When normal ENQ Data length Data area Sum check code Arbitrary data When abnormal Ignored Error code NAK ACK Prog...

Page 180: ...loper messages are not checked using the sum check codes 2 If the message has normally been received the reception data read request X3 XA turns ON If an error has been detected when receiving the message the Q series C24 sends an abnormal end response NAK message to the external device The reception data read request will not be sent to the programmable controller CPU The reception abnormal detec...

Page 181: ...a length receive data count and data area received from an external device The receive area is allocated to addresses 600H to 7FFH CH1 side and A00H to BFFH CH2 side at initial setting Buffer memory Receive area Receive data count Receive data CH1 address 600H 601H 7FFH Default The units of data length word byte is in accordance with the word byte units designation in GX Configurator SC Data lengt...

Page 182: ...ser definable area address 400H to 1AFFH 2600H to 3FFFH b When changing the position and size of the receive area in the buffer memory if any of the functions below are used concurrently make sure that the addresses of the receive area do not overlap with the buffer memory addresses assigned for storing transmission receive data with the functions 1 MC protocol buffer memory read write function 2 ...

Page 183: ...e data length unit is in bytes 00H is stored in the higher byte of the last data storage position in the receive area when the data length of the message is an even byte 3 Contents of receive data The contents of receive data including the receive data as indicated in Section 7 2 2 are explained below a Control codes The types of control codes are listed in the table below Signal name Code hexadec...

Page 184: ...nds this value as is from the lower byte L c Data portion This consists of an array of original one byte data to be transmitted to the external device side which can handle 00H to FFH code data 1 For data communication from the external device to the Q series C24 If the receive data portion is normal the Q series C24 takes the codes as is and stores them in the receive data storage area in sequenc...

Page 185: ... is received the succeeding data received will be ignored up to the control code that follows See a The following example shows the contents of a sum check code in the message 2 For data communication from the Q series C24 to the external device The sum check code to be transmitted is calculated and added by the Q series C24 When No sum check is specified no sum check code is transmitted E N Q A B...

Page 186: ...e codes specified by the user The error codes 0022H to 005FH that are not used by the Q series C24 can be used The Q series C24 stores the received error codes as a completion status in the control code for the BIDOUT instruction They are also stored in the data transmission result address 257H 2 For data communication from the Q series C24 to the external device The error codes are added by the Q...

Page 187: ...n Receive data count address 600H Receive data address 601H to 7FFH Receive data One scan Response transmission Data reception Q series C24 ready X1E BIDIN OFF m n 1 Start the local station programmable controller The values specified with GX Developer are stored in the Q series C24 2 When data is received from the external device the reception data read request X3 turns ON 3 After the control dat...

Page 188: ...or 1 scan With the normal completion the receive data within the allowable receive data count user designated is read from the receive data storage area in the buffer memory Interface number Reception result Receive data count Allowable receive data count Receive data Receive data D 0 D 1 D 2 D 3 D10 D m When the received data count is larger than the allowable received data count only the data up...

Page 189: ...rogram Accordingly use one or the other of the above programs to read the data received 2 The SPBUSY instruction is used to read the execution status when using a dedicated instruction See Chapter 10 3 More than one BIDIN instruction cannot be executed simultaneously Execute the next BIDIN instruction only after the execution of the first BIDIN instruction is completed 4 If the communication data ...

Page 190: ...nversion was detected Received the data length that was too long to store in the receiving area Section 7 1 2 Simultaneous transmissions occurred Section 7 3 1 Confirmation using the sequence program a Detecting the occurrence of a reception error 1 ERR occurrence is on 2 The receive error code is confirmed and read in data reception result address 258H 268H For details on how to check the error c...

Page 191: ...r occurs 1 All of the receive data for which an error was detected is ignored and a response message indicating an abnormal completion NAK message is sent to the external device When an error is detected during message reception the Q series C24 does not issue a reception data read request to the programmable controller CPU 2 The receive area in the buffer memory will contain the data received nor...

Page 192: ...tion CH1 CH2 Control timing Send instruction Contents BIDOUT 1 Data such as control data and transmission data are stored in the device designated with the BIDOUT instruction and then the BIDOUT instruction is executed 2 The transmission data count and transmission data are written into the transmission area of the buffer memory 3 The Q series C24 sends data by adding the control code ENQ at the b...

Page 193: ...that are transmitted from the programmable controller CPU to the external device via the Q series C24 By default the transmission area is assigned to addresses 400H to 5FFH CH1 side and 800H to 9FFH CH2 side 400H 401H 5FFH CH1 side address Default to Buffer memory Transmission area Transmission data count designation Transmission data designation The unit of transmission data count words bytes is ...

Page 194: ...ng the position and size of the receive area in the buffer memory if any of the functions below are used concurrently make sure that the addresses of the transmission area do not overlap with the buffer memory addresses assigned for storing transmission receive data with the functions 1 MC protocol buffer memory read write function 2 MC protocol on demand function 3 Non procedure protocol transmis...

Page 195: ...area Example When ABCDEFG123 is sent H L 02H 77H 33H 32H 31H 47H 46H 45H 44H 43H 42H 41H 00H 05H 3 2 1 G F E D C B A H L ENQ Sum check code 5 00H 05H B 42H D 44H F 46H 1 31H 3 33H A 41H C 43H E 45H G 47H 2 32H Transmission data count designation Transmission data designation Transmission area buffer memory Q series C24 External device Receive data response message ACK 06H Normal completion 0005H D...

Page 196: ...ion data from D11 In case of the CH1 side Create control data from D0 Processing for normal completion Processing for abnormal completion retransmission etc Q series C24 ready X1E Transmission instruction BIDOUT instruction BIDOUT instruction complete device BIDOUT instruction complete device 1 Normal completion abnormal completion Transmission data count address 400H Transmission data address 401...

Page 197: ...rmally due to the reception of an NAK message the complete device 1 abnormal completion signal turns ON and the error code is stored in the control data completion status S1 1 Program example When Q series C24 I O signals are from X Y00 to X Y1F Transmission command is converted to pulse Transmission data is stored Designate the number of the interface CH that will send the data Clear the transmis...

Page 198: ... designation Address 257H 400H 401H 5FFH Q series C24 4241H 0A0DH 0001H 0005H D 0 D 1 D 2 D11 D15 4241H 0A0DH For abnormal completion Interface number Transmission result Transmission data count Transmission data to to to to to other than 0000H POINT 1 The SPBUSY instruction is used to read the execution status when using a dedicated instruction See Chapter 10 2 More than one BIDOUT instruction ca...

Page 199: ...ssion data count that exceeded the transmission area size Section 7 2 2 Simultaneous transmissions occurred Section 7 3 1 Confirmation using the sequence program a Detecting a transmission error 1 he following device and input signal turn ON BIDOUT instruction complete device 1 ERR occurrence XE XF 2 The transmission error code can be checked using the BIDOUT instruction control data S1 1 Or it ca...

Page 200: ...he ERR LED lights up See Chapter 11 2 Confirmation using GX Configurator SC The monitor function is used to check for errors See Sections 9 6 3 and 9 6 6 The ERR LED is turned off with the ERR LED OFF function See Section 9 6 11 3 Confirming the error code Use one of the following to confirm the error code GX Configurator SC monitor function See Section 9 6 6 GX Developer buffer memory monitor fun...

Page 201: ...plete Posts normal end or abnormal end according to whether or not the programmable controller CPU received a response message through the buffer memory Transmits a response message 2 2 after data reception 2 1 is complete Posts the receive data and receive result to the programmable controller CPU through the buffer memory Transmission data Invalid Receive data Valid 0100H Posts a simultaneous tr...

Page 202: ... Time check timer 1 1 2 2 1 1 1 2 2 POINT When the entire message of 2 1 was received while transmitting the message of 1 1 in the illustration The Q series C24 sets Receive read request X3 X4 of 2 1 to ON after sending all of 1 1 2 Transmission invalid reception valid External device Arbitrary data E N Q Sum check code Arbitrary data E N Q Sum check code A C K 2 1 1 1 2 2 Ignores the receive data...

Page 203: ...24 performs message transmission and message reception processing as described below During message transmission processing time check by timer 1 response monitoring time is performed 1 Message transmission 1 1 in the illustration If the Q series C24 receives a terminate transmission request DC3 received DR DSR signal OFF from the external device during message transmission it terminates data tran...

Page 204: ...S 232 interface 2 As a data transmission procedure data transmission from the external device or the Q series C24 should be performed after a response for the immediately preceding data transmission has been received 3 The external device and programmable controller CPU must agree so that the units of the data length word count byte count in the message to be transmitted and received is the same T...

Page 205: ...ved thereafter 5 External device time out check When checking time out up to reception of the response message at the external device during data transmission from external device to the Q series C24 make the time out time the time shown below or longer Programmable controller CPU maximum scan time 2 100 ms 6 External device framing error When nothing is transmitted from the Q series C24 to the ex...

Page 206: ...g GX Configurator SC Pre defined protocol support function with a protocol appropriate to the external device Protocols can be selected from the pre defined protocol library offered or can be created and edited arbitrarily Since registered setting data are written to a flash ROM the program volume in a programmable controller CPU can be reduced 1 Data communication using the pre defined protocol 8...

Page 207: ...dundant CPU C Controller module MELSECNET H remote I O station 2 Numbers of protocols and packets that can be registered The following are the maximum numbers of protocols and packets that can be registered Protocols Up to 128 Packets Up to 256 Once a protocol is registered a packet determined for each protocol is registered to the packet data area Because of this the available number of protocols...

Page 208: ...procedure taken in GX Configurator SC Pre defined protocol function data can be exchanged with an external device Step 1 Register the protocol of the external device In the Add protocol dialog box select Select from pre defined protocol library or Add editable protocol and set necessary data Step 2 Specify the send or receive data storage area Specify the send or receive data storage area Specify ...

Page 209: ...rror completion flag ON Error code is stored CPRTCL execution command Pre defined protocol ready With a dedicated instruction CPRTCL execute the protocol that was written to the flash ROM Step 5 Confirm the protocol execution in the protocol execution log In the Protocol execution log list information of the executed protocol such as protocol name start and end times and dates execution result can...

Page 210: ...d protocol For information on how to display the setting screen refer to Section 9 4 9 Setting screen Setting item Item Description Execution log options The condition for registering protocol execution logs can be specified Error logs Failed protocol execution logs are stored All logs The execution status and log of all protocols are stored Setting procedure 1 Select Error logs or All logs for Ex...

Page 211: ...f X1D can be confirmed Section 8 1 5 Protocol cancellation The cancel status of the pre defined protocol can be confirmed Operating Manual Pre defined protocol support function Execution status The protocol execution status can be confirmed Section 8 1 4 Pre defined protocol function error code An error code for the pre defined protocol function can be confirmed Section 11 2 1 Execution log option...

Page 212: ...ned protocol support function b Checking the buffer memory The logs can be checked in the Execution log storage area address 4102H to 4701H CH1 4802H to 4E01H CH2 For details refer to Section 3 9 POINT Do not perform the above two methods at the same time The latest execution logs are not in the buffer memory while they are being updated in GX Configurator SC Pre defined protocol support function ...

Page 213: ...defined protocol ready X1D is off Refer to Section 10 7 1 This signal turns on only when the communication protocol setting is set to predefined protocol 1 ON OFF timing of Predefined protocol ready X1D After the protocol setting data is written to a flash ROM X1D turns off while checking the written data X1D turns on when the written data are normal OFF Performed by the QJ71C24N R2 R4 Performed b...

Page 214: ... CH2 is the predefined protocol mode OFF ON Y2 Y9 X6 XD X1D Mode switching request Mode switching Predefined protocol ready CH1 and CH2 are other than predefined protocol mode CH1 or CH2 is the predefined protocol mode Communication protocol before change CH1 or CH2 is the predefined protocol mode Communication protocol after change CH1 or CH2 is the predefined protocol mode Y2 Y9 X6 XD X1D ON ON ...

Page 215: ...H2 are other than the predefined protocol mode Y2 Y9 X6 XD X1D ON OFF Mode switching request Mode switching Predefined protocol ready CH1 or CH2 is the predefined protocol mode CH1 and CH2 are other than predefined protocol mode 1 Based on either of the following condition the protocol setting data written to the flash ROM are normal or the protocol setting data are not written to the flash ROM ...

Page 216: ...XD Predefined protocol ready X1D CH1 or CH2 is in predefined protocol mode Communication not possible Setting processing CH1 and CH2 are not in predefined protocol mode Communication protocol before change CH1 or CH2 is the predefined protocol mode Communication protocol after change CH1 or CH2 is the predefined protocol mode OFF OFF ON ON OFF ON ON ON Sequence program UINI instruction Completion ...

Page 217: ...e OFF OFF ON ON OFF ON ON OFF Sequence program UINI instruction Completion device Completion status indication device QJ71C24N R2 R4 Mode switching signal X6 XD Predefined protocol ready X1D When failed When completed One scan Execution of UINI END processing END processing END processing END processing ON CH1 and CH2 are not in predefined protocol mode Communication not possible Setting processin...

Page 218: ...l communication module QJ71C24N and Mitsubishi inverter FREQROL A700 described as inverter or FR A700 hereafter as a connection target device are used in this setting example 1 System configuration wiring example The system configuration and wiring example are as follows a System configuration example The QJ71C24N to be used should be mounted on the slot 0 on the base unit and connected to the ext...

Page 219: ...peration mode value in CPU device D201 Manufacturer Mitsubishi Electric Device name FR A700 Protocol name H7B RD Operation Mode b Storage devices for send receive data buffer memory assignment Specify the device memory of a CPU module and buffer memory as the data storage areas as listed in the table below and send receive data Packet name Element name Packet type Data storage area specification H...

Page 220: ...he I O assignment setting the types and the I O signal range of each module mounted on a base unit are set 1 On the project window on GX Developer double click PLC Parameter 2 Click the I O assignment tab 3 Set the following items on the slot where the QJ71C24N has been mounted Setting screen Display details Item Description Type Select Intelli Model name Select QJ71C24N Points Select 32 points St...

Page 221: ...utton Display details Item Setting value Setting details Input format HEX Set the input format to hexadecimal Switch 1 Switch 2 Switch 3 07DE CH2 Communication rate setting 19200bps CH2 Transmission setting Operation setting Independent Data bit 8 Parity bit Exist Even odd parity Even Stop bit 2 Sum check code Disable Online change Enable Setting modifications Allowed Switch 4 0009 CH2 Communicati...

Page 222: ...1 From the menu bar select File New 2 The Add protocol screen is displayed Select the following protocol and click the OK button 3 The Protocol setting screen is displayed Click the cell under Packet setting displayed in red of Packet Name H7B RD Operation Mode Click 4 The Packet setting screen is displayed Click the cell under Element setting displayed in red on the Element No 2 Click ...

Page 223: ...has been completed Click the Close button 7 The Protocol setting screen is displayed Repeat the steps 3 to 6 described above to configure the packet setting of Packet name NOR RD Data 4 Digits Data and ERR NAK Response In Data storage area enter the following values Packet name Element No Element name Data storage area specification NOR RD Data 4 Digits Data 2 Inverter Station Number Enter D200 3 ...

Page 224: ...EFINED PROTOCOL c Writing data to module 1 Select Module read write Write to module Select the following module and click the Execute button 2 The following confirmation message is displayed when writing the protocol setting data to the module is completed ...

Page 225: ...RTCL instruction execution command M1 Status display device at completion D300 Inverter Station Number designation device M101 Normal completion flag D10 Execution result storing device for the CPRTCL instruction M102 Error completion flag D12 Execution protocol number designation device D100 Error code storing device M0 Completion device Stores set values in the Send data storage area Protocol No...

Page 226: ...tion buffer memory address 40E2H 40F2H and can be set on the intelligent function module utility The following are registration conditions 0 th bit is off 0 Error logs of failed protocol executions are stored 0 th bit is on 1 Execution states and logs of all protocols are stored In the default setting only error logs of failed protocol executions are displayed To display all the protocol logs the ...

Page 227: ...s and monitoring of the Q series C24 by using dedicated screens without having to consider the I O signals or buffer memory The utility package can also be used together with GX Simulator SWnD5 LLT E 2 Protocol FB support function The protocol FB support function automatically generates the FB function block for communication that supports data communication processing and traces the network that ...

Page 228: ...the protocol selection screen and writing the data to the flash ROM Furthermore the debugging for the pre defined protocol communication debug support function is also available The Pre defined protocol support function can reduce the programming man hours and the volume of the program that is to be written to a programmable controller CPU This function is used with the pre defined protocol For de...

Page 229: ...nge the set value for data communication using the pre defined protocol Section 9 4 9 CHn PLC CPU monitoring system setting Set the programmable controller CPU monitoring function Section 9 4 10 CHn Transmission user frame No designation system setting Set the user frame number to be transmitted etc Section 9 4 11 System setting default Reset the setting values in the buffer memory to their defaul...

Page 230: ...e displayed inappropriately while using the Intelligent function module utility If this occurs close the Intelligent function module utility GX Developer program comments etc and other applications and then start Intelligent function module utility again from GX Developer 4 To start the intelligent function module utility a In GX Developer select QCPU Q mode for PLC series and specify a project If...

Page 231: ...H Q26UDEHCPU 4096 2048 CPU modules other than the above Not supported Not supported MELSECNET H remote I O station 512 256 For example if multiple intelligent function modules are installed to the MELSECNET H remote I O station configure the settings in GX Configurator so that the number of parameter settings for all the intelligent function modules does not exceed the limit of the MELSECNET H rem...

Page 232: ...the number of parameter settings in Auto refresh setting This one row is counted as one setting Blank rows are not counted Count up all the setting items on this screen and add the total to the number of settings for other intelligent function modules to get a grand total ...

Page 233: ...mate Enterprise 5 WindowsR XP Home Professional 5 Windows 2000 Professional Windows NTR Workstation 4 0 Windows Millennium Edition Windows 98 Windows 95 1 Install GX Configurator SC in GX Developer Version 4 or later in the same language GX Developer English version and GX Configurator SC Japanese version or GX Developer Japanese version and GX Configurator SC English version cannot be used in com...

Page 234: ...MHz or more 128MB or more Windows VistaR PentiumR 1GHz or more 1GB or more WindowsR 7 PentiumR 1GHz or more 1GB or more 32 bit version 2GB or more 64 bit version 2 Instructions for operating system a The functions cannot be used When using any of the following functions this product may not operate properly Activating the application with Windows compatible mode Simplified user switch over Remote ...

Page 235: ...enu bar When used via offline operation Select the module type and module model name See Sections 9 4 1 to 9 4 11 The various setting values to be registered in the Q series C24 s flash ROM can be saved in a file of the personal computer via offline operation Use online operation to write system setting values to the Q series C24 Flash ROM settings screen See Section 9 4 To each setting screen POI...

Page 236: ... online operation Monitor Test screen Select a module to be monitored tested Monitor Test See Section 9 4 See Section 9 6 2 When setting auto refresh POINT 1 When the setting operation is complete in each system setting screen register the system setting data in the flash ROM then restart the programmable controller CPU to resume data transmission 2 With the Q series C24 monitoring testing and rea...

Page 237: ...t Select in the Flash ROM setting screen See Section 9 4 Select a target intelligent function module screen See Section 9 3 1 Change the setting values in the corresponding system setting sub screens See Sections 9 4 1 to 9 4 11 This operation is allowed only in the Flash ROM setting screen See Section 9 3 3 Go to 1 setting via online operation Read the data from the file Load file YES offline ope...

Page 238: ...rohibited Select in the Monitor screen See Section 9 4 13 Have you changed all the applicable setting values Designate the setting value for the item to be changed then click on the Execute test button The setting value will be written to the Q series C24 s flash ROM 1 To write all the new setting values to the flash ROM at once click on the Write to module button after all the applicable setting ...

Page 239: ...tart Setting screen Explanation of items 1 Activation of other screens The following screens can be displayed from the intelligent function module utility screen a Flash ROM setting screen Tools Flash ROM setting Module type Module model Name Select b Auto refresh setting screen Start I O No 1 Module type Module model name Auto refresh c Select monitor test module screen Online Monitor Test 1 Ente...

Page 240: ...any data are modified a dialog asking for file saving will appear Save parameters Saves the parameter file Delete parameters Deletes the parameter file Exit Close this screen b Online menu Monitor Test Activates the Select monitor test module screen Read from PLC Reads intelligent function module parameters from the CPU module Write to PLC Writes intelligent function module parameters to the CPU m...

Page 241: ...ogrammable controller CPU in GX Developer Online Transfer setup Perform Write to PLC for the intelligent function module parameters in a multiple CPU system only to the control CPU of the Q series C24 c Use GX Developer to perform Read from PLC Write to PLC operations for the intelligent function module parameters at the remote I O station GX Configurator SC can not be used 3 Checking the required...

Page 242: ...s the entry in the cell 2 Operation Command Buttons Current value display Displays the current value of the item selected Make text file Creates a file containing the screen data in text file format Start monitor Starts monitoring of the current value field Stop monitor Stops monitoring of the current value field Execute test Registers the system setting data of the selected item in the flash ROM ...

Page 243: ...e module enabled only via online operation or save it to a file 3 Data file to be created with utility package The following data or files that are created with the utility package can be also handled in GX Developer Figure 9 1 shows respective data or files are handled in which operation Intelligent function module parameter a This represents the data created in Auto refresh setting and they are ...

Page 244: ...ROM setting screen or Monitor Test screen of the utility Flash ROM setting screen Load file Save file Monitor Test screen Load file Save file 5 This operation can be executed from the Monitor Test screen of the utility Monitor Test screen Read from module Write to module Make text file a Clicking Make text file on the Auto refresh setting or Monitor Test screen creates a text file This feature is ...

Page 245: ...ule Monitor Test Monitor screen Startup from the system monitor GX Developer Version 6 or later GX Developer Diagnostics System Monitor Select the Q series C24 by installation status Diagnostics Monitor screen Offline operation Tools Flash ROM setting Flash ROM setting screen Setting screen Screen displayed during online operation 1 Screen displayed during offline operation 1 The selection menus f...

Page 246: ...Section 9 4 12 Can be used only via online operation Flash ROM write allow prohibit setting Section 9 4 13 POINT 1 The ASCII codes are listed in Appendix 4 and GX Configurator SC s Help function Use the list as a reference 2 The values set in the respective setting screens explained in Section 9 4 can be written to the Q series C24 module via online operation only or saved to a file 3 Perform the ...

Page 247: ...ting procedure Online operation Monitor screen User frame Offline operation Flash ROM setting screen User frame Setting screen Setting item Item Buffer memory address Reference section User frame 1 to 200 CH1 CH2 User s Manual Application REMARKS Use code to specify hexadecimal numbers in the control code registration field if QSCU is used for registering a user frame Example To register the 5 byt...

Page 248: ...a for user modem initialization Offline operation Flash ROM setting screen Data for user modem initialization Setting screen Setting item Item Buffer memory address Reference section CH1 CH2 Data for user initialization 1 to 30 User control data User s Manual Application Initialization command REMARKS Use code to specify a field to register if GX Configurator SC is used for data for modem initiali...

Page 249: ...es Operating procedure Online operation Monitor screen Data for modem connection Offline operation Flash ROM setting screen Data for modem connection Setting screen Setting items Item Buffer memory address Reference section CH1 CH2 Data for modem connection 1 to 30 Pager receiver designation User s Manual Application Telephone number External line dialing Line types Wait time for message transmiss...

Page 250: ...H Initialization connection timeout designation units s 32H Number of initialization retries designation 33H Data No for initialization designation 34H Data No for connection designation 35H GX Developer connection designation 36H No communication interval time designation units min 37H RS CS control yes no designation 38H Modem initialization time DR signal valid invalid designation 2008H Wait ti...

Page 251: ...unication with external devices register system setting values for the transmission control method monitoring time and buffer memory assignment Operating procedure Online operation Monitor screen CH Transmission control system setting Offline operation Flash ROM setting screen CH Transmission control system setting Setting screen ...

Page 252: ...tion RTS RS designation 92H 132H Section 3 2 1 DTR ER designation Transmission control start free area 2012H 2112H User s Manual Application Transmission control end free area 2013H 2113H Send Recv data monitoring designation 2018H 2118H User s Manual Application Action for buffer full 2019H 2119H Stop by Timer 0 error 2019H 2119H Monitor buffer head address 201AH 211AH Monitor buffer size 201BH 2...

Page 253: ...en CH MC protocol system setting Setting screen Setting items Item Buffer memory address Reference section CH1 CH2 On demand function designation Buffer memory head address designation A0H 140H User s Manual Application Data length designation A1H 141H On demand user frame designation First frame No designation 1st A9H 149H First frame No designation 2nd AAH 14AH Last frame No designation 1st ABH ...

Page 254: ... A4H 144H Chapter 6 Receive complete code designation A5H 145H Receive user frame designation User frame use enable disable designation ADH 14DH User s Manual Application First frame No designation 1st to 4th AEH to B1H 14EH to 151H Last frame No designation 1st to 4th B2H to B5H 152H to 155H User frame receive format designation 1st to 4th 2020H to 2023H 2120H to 2123H Exclusive format 1 received...

Page 255: ...ol register system setting values Operating procedure Online operation Monitor screen CH Bidirectional system setting Offline operation Flash ROM setting screen CH Bidirectional system setting Setting screen Setting item Item Buffer memory address Reference section CH1 CH2 Simultaneously transmission data valid invalid designation 9BH 13BH Section 7 3 ...

Page 256: ...fined protocol register system setting values Operating procedure Online operation Monitor screen CH Pre defined protocol system setting Offline operation Flash ROM setting screen CH Pre defined protocol system setting Setting screen Setting item Item Buffer memory address Reference section CH1 CH2 Execution log options 40E2H 40F2H Section 8 1 2 ...

Page 257: ... monitoring system setting Purpose Register system setting values to use the programmable controller CPU monitoring function Operating procedure Online operation Monitor screen CH Monitoring system setting Offline operation Flash ROM setting screen CH Monitoring system setting Setting screen ...

Page 258: ...tered bit blocks designation 204EH 214EH PLC CPU abnormal monitoring designation 204FH 214FH No 1 block monitoring device Monitoring device designation 2050H 2150H Head device No designation 2051H to 2052H 2151H to 2152H Read point designation 2053H 2153H Condition agreement transmission Monitoring condition designation 2054H 2154H Monitoring condition value designation 2055H 2155H Transmission po...

Page 259: ...h the non procedure protocol using the user frame Operating procedure Online operation Monitor screen CH Output frame system setting Offline operation Flash ROM setting screen CH Output frame system setting Setting screen Setting item Item Buffer memory address Reference section CH1 CH2 Output frame No designation 1st to 100th BAH to 11DH 15AH to 1BDH User s Manual Application ...

Page 260: ...ow prohibit to Allowed Procedure 4 In the Monitor screen select Write request for System setting write Procedure 5 Click on Execute test The setting values in the flash ROM will return to their default values When confirming the processing results in GX Configurator SC perform Read from module Items subject to this operation in the Monitor screen 9 4 13 Flash ROM write allow prohibit setting This ...

Page 261: ...gs are used to automatically store information stored in the Q series C24 s buffer memory into a specified device of the programmable controller CPU By setting the auto refresh the read and write processing of the Q series C24 s buffer memories on the program are not necessary For details see Section 4 6 ...

Page 262: ...lation status Diagnostics Monitor screen Monitor Test screen Monitor Test items The following selection menus for monitor test operation will be displayed Function Reference section containing explanation ERR occurrence Section 9 6 11 ERR clear request Communication error information error code information X Y monitor test Section 9 6 1 Modem function monitor test Section 9 6 2 Transmission contro...

Page 263: ...ce section CH1 CH2 X00 CH1 Transmission normal completion Section 3 8 X01 CH1 Transmission abnormal completion X02 CH1 Transmission processing in progress X03 CH1 Reception data read request X04 CH1 Reception abnormal detection X06 CH1 Mode switching X0E CH1 ERR Occurrence X1A CH1 Global signal X07 CH2 Transmission normal completion X08 CH2 Transmission abnormal completion to to Y18 Flash ROM writ...

Page 264: ...s for connection 223H Number of data registrations for initialization 226H Number of notification execution 229H Data storage area 1 notification execution data No 22AH Data storage area 2 notification execution data No 22EH Data storage area 3 notification execution data No 232H Data storage area 4 notification execution data No 236H Data storage area 5 notification execution data No 23AH X10 Mod...

Page 265: ... time DR signal valid invalid designation 2008H Wait time of notification units s 200AH Circuit disconnect wait time PLC CPU watch use units s 200EH Remote password mismatch notification count designation 200CH Remote password mismatch notification accumulated count designation 200DH Accumulated count of unlock process normal completion 22FBH Accumulated count of unlock process abnormal completion...

Page 266: ...mpletion 22FCH Accumulated count of lock process based on circuit disconnection 22FFH Callback permit accumulated count 22F0H Callback denial accumulated count 22F1H Auto callback connection permit accumulated count 22F2H Auto callback connection denial accumulated count 22F3H Accumulated count of callback receive procedure cancel 22F4H Operation procedure Step 1 Display the Modem function monitor...

Page 267: ...en CH Transmission control monitor test Monitor Test screen Monitor Test items Item Buffer memory address Reference section CH1 CH2 RS 232 control signal status RTS RS 254H 264H Section 4 4 1 DSR DR DTR ER CD CS CTS RI CI Communication protocol status 252H 262H Section 4 5 2 Transmission status Operation setting 253H 263H Data bit Parity bit enable disable Even odd parity Stop bit Sum check code W...

Page 268: ...ignation 96H 136H User s Manual Application RTS RS designation 92H 132H Section 3 2 1 DTR ER designation 92H 132H Transmission control start free area 2012H 2112H User s Manual Application Transmission control end free area 2013H 2113H Send Recv data monitoring designation 2018H 2118H User s Manual Application Action for buffer full 2019H 2119H Stop by Timer 0 error 2019H 2119H Monitor buffer head...

Page 269: ...ILITY PACKAGE GX Configurator SC 9 6 4 MC protocol monitor Purpose Monitor the status and setting values of the data communication using the MC protocol Operating procedure Monitor screen CH MC protocol monitor Monitor screen ...

Page 270: ... completion X08 CH2 Transmission abnormal completion X02 CH1 Transmission processing in progress X09 CH2 Transmission processing in progress X1A CH1 Global signal X1B CH2 Global signal Y00 CH1 Transmission request Y07 CH2 Transmission request On demand function designation Buffer memory head address designation A0H 140H Data length designation A1H 141H On demand user frame designation First frame ...

Page 271: ... monitor test Purpose Monitor the status and setting values of the data transmission using the non procedure protocol The test operation for the receive data clear is explained in Section 9 7 Operating procedure Monitor screen CH Non procedure monitor test Monitor Test screen ...

Page 272: ...tion abnormal detection Y00 CH1 Transmission request Y07 CH2 Transmission request Y01 CH1 Reception data read completion Y08 CH2 Reception data read completion Received data count designation A4H 144H Receive complete code designation A5H 145H Receive user frame designation User frame use enable disable designation ADH 14DH User s Manual Application First frame No designation 1st to 4th AEH to B1H...

Page 273: ...Data reception result 258H 268H X00 CH1 Transmission normal completion X07 CH2 Transmission normal completion Chapter 7 X01 CH1 Transmission abnormal completion X08 CH2 Transmission abnormal completion X02 CH1 Transmission processing in progress X09 CH2 Transmission processing in progress X03 CH1 Reception data read request X0A CH2 Reception data read request Y00 CH1 Transmission request Y07 CH2 T...

Page 274: ...Monitor Test screen Monitor Test items Item Buffer memory address Reference section CH1 CH2 X1D Pre defined protocol ready Section 8 1 5 Protocol cancellation 4040H 4050H Operating Manual Pre defined protocol support function Execution status 4041H 4051H Section 8 1 3 and 8 1 4 Pre defined protocol function error code 4042H 4052H Section 11 2 1 Execution log options 40E2H 40F2H Section 8 1 3 and 8...

Page 275: ...E GX Configurator SC 9 6 8 PLC CPU monitoring monitor Purpose Monitor the operating status and setting values of the programmable controller CPU monitoring function Operating procedure Monitor screen CH Monitoring monitor Monitor screen ...

Page 276: ... 2146H Number of registered word blocks designation 204DH 214DH Number of registered bit blocks designation 204EH 214EH PLC CPU abnormal monitoring designation 204FH 214FH No 1 block monitoring device Monitoring device designation 2050H 2150H Head device No designation 2051H to 2052H 2151H to 2152H Read point designation 2053H 2153H Condition agreement transmission Monitoring condition designation...

Page 277: ...alue of output frame number used when transmitting data with the non procedure protocol using the user frame Operating procedure Monitor screen CH Output frame monitor Monitor screen Monitor item Item Buffer memory address Reference section CH1 CH2 Output frame No designation 1st to 100th BAH to 11DH 15AH to 1BDH User s Manual Application ...

Page 278: ...test others Purpose Monitor the result of access to the flash ROM the data communication status of each interface and the result of the intelligent function module switch settings using GX Developer Operating procedure Monitor screen Monitor test others Monitor Test screen ...

Page 279: ...PRO status P S status C N status NAK status ACK status NEU LED status ERR LED status Communication error clear request for CH2 and to turn LED off 1H CH1 Communication protocol setting No error 203H CH1 Transmission speed setting error CH1 Mode switching error of setting change prohibit time CH2 Communication protocol setting No error 203H CH2 Transmission speed setting error CH2 Mode switching er...

Page 280: ...communication error information and error codes 1 CH ERR clear request on Monitor Test screen This is used to turn off the CH ERR LED of the Q series C24 and to initialize clear the error codes stored in the CH side buffer memory Refer to Section 11 1 2 1 for the buffer memory where the error codes are stored Operation procedure 1 Display the Monitor Test screen 2 Select Clear request for CH ERR c...

Page 281: ...an be confirmed on the Monitor test others screen Operation procedure 1 Display the Monitor test others screen 2 Select any of Request 1 to 3 for Communication error clear request for CH and to turn LED off Setting range Target of LED off communication error information initialization Request 1 SIO PRO P S C N NAK ERR LED 1 Request 2 SD WAIT ACK NEU LED Request 3 All of Requests 1 and 2 1 The ERR ...

Page 282: ...re monitor test screen See Section 9 6 5 Procedure 2 Set Clear request issued for Receive data clear request Procedure 3 Click on Execute test The received data will be cleared POINT Clear the received data when transmission reception are not in progress with the external device Executing a receive data clear while the data transmission is in progress causes the Q series C24 to stop the data trans...

Page 283: ...col support function Section 10 7 Communication status confirmation SPBUSY Reads the status of data transmission reception via a dedicated instruction Section 10 8 Receive data clear CSET Perform the receive data clear without stopping the transmission processing during the non procedure protocol Section 10 9 POINT The user should not change data values control data request data etc designated by ...

Page 284: ... V B T ST C D W R ZR K H 1 Word device bit designation can be used as bit data Word device bit designation is done by designating Word device Bit No Designation of bit numbers is done in hexadecimal For example bit 10 of D0 is designated as D0 A However there can be no bit designation for timers T retentive timers ST and counters C 2 Available devices are given in each of the Constant field 10 ...

Page 285: ...r D Bit device number to be turned on at completion of execution System Bit The file register per local device and program cannot be used as the set data Control data Device Item Set data Setting range Set by 3 S1 0 Transmission channel Set transmission channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User S1 1 Transmission result Result read by an ONDEMAND instruction is stored 0 Normal Othe...

Page 286: ...taneous execution ONDEMAND The next instruction will be ignored until the active instruction has been completed However simultaneous execution is available when channels to be used are not the same CSET Dedicated instructions simultaneous execution error 7FF0H occurs in the dedicated instruction attempted later However simultaneous execution is available when channels to be used are not the same P...

Page 287: ...ND processing Operation during execution of an ONDEMAND instruction Sequence program ONDEMAND instruction Completion device Status display device at completion END processing END processing Execution of ONDEMAND instruction Completion of reading user frame by ONDEMAND instruction ON ON Abnormal completion Normal completion One scan OFF OFF END processing END processing Error 1 When a dedicated ins...

Page 288: ...a to D10 to D11 Reset the normal completion flag Set the transmission ready flag On demand transmission execution Normal completion Reset the abnormal completion flag Abnormal completion Reset the transmission ready flag POINT 1 The status of communication via dedicated instructions can be read using the SPBUSY instruction 2 Designate the storage capacity of transmission data stored in D10 to D11 ...

Page 289: ...ned on at completion of execution System Bit The file register per local device and program cannot be used as the set data Control data Device Item Set data Setting range Set by 3 S1 0 Transmission channel Set transmission channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User S1 1 Transmission result Transmission result by an OUTPUT instruction are stored 0 Normal Other than 0 Error code 1 Sy...

Page 290: ... of simultaneous execution OUTPUT The next instruction will be ignored until the active instruction has been completed However simultaneous execution is available when channels to be used are not the same INPUT PRR Dedicated instructions simultaneous execution error 7FF0H occurs in the dedicated instruction attempted later However simultaneous execution is available when channels to be used are no...

Page 291: ...END processing Operation during execution of an OUTPUT instruction OUTPUT instruction Execution of OUTPUT instruction Completion of transmission by the OUTPUT instruction ON ON OFF OFF END processing END processing END processing END processing Sequence program Completion device Status display device at completion Abnormal completion Normal completion One scan Error 1 When a dedicated instruction ...

Page 292: ...smission data count in word units Designate K10 when the unit is bytes Clear the transmission result storage device to 0 Transmission data is stored The transmission data stored in the designated device is sent After the OUTPUT instruction is executed the user designated transmission complete signal M0 turns ON for one scan Storing the transmission data and writing the transmission data count in t...

Page 293: ...vice name D1 Head number of the devices in which receive data is stored System D2 Bit device number to be turned on at completion of execution System Bit The file register per local device and program cannot be used as the set data Control data Device Item Set data Setting range Set by 3 S 0 Receive channel Set receive channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User S 1 Reception result...

Page 294: ...tion during execution of the INPUT instruction or executing the INPUT instruction during execution of another instruction in the same channel Instruction 1 Availability of simultaneous execution Handling of simultaneous execution OUTPUT PRR INPUT The next instruction will be ignored until the active instruction has been completed However simultaneous execution is available when channels to be used...

Page 295: ...ff at the next END processing Operation during execution of an INPUT instruction Sequence program Completion device Status display device at completion END processing END processing Abnormal completion Normal completion One scan END processing END processing Reception data read request X3 Reception abnormal detection X4 INPUT instruction ON ON OFF OFF Error 1 When a dedicated instruction is comple...

Page 296: ...ores data received via the non procedure protocol in D10 and later When the input output signals of the Q series C24 are from X Y00 to X Y1F 1 When the completion device is off execute the INPUT instruction If the INPUT instruction is executed when the completion device is on data may not be received properly ...

Page 297: ...ce number to be turned on at completion of execution System Bit The file register per local device and program cannot be used as the set data Control data Device Item Set data Setting range Set by 3 S1 0 Transmission channel Set transmission channel 1 Channel 1 CH1 side 2 Channel 2 CH2 side 1 2 User S1 1 Transmission result Transmission result by a BIDOUT instruction are stored 0 Normal Other than...

Page 298: ...ecution is available when channels to be used are not the same PUTE GETE BUFRCVS SPBUSY UINI Dedicated instructions simultaneous execution error 7FF0H occurs in the dedicated instruction attempted later Available Not available 1 Because the dedicated instructions listed below use a different communication protocol from that for the BIDOUT instruction they are not used in the same channel ONDEMAND ...

Page 299: ...al Hardware Design Maintenance and Inspection 7000H or more Section 11 2 Program example The following example shows a program that sends any data stored in D11 to D15 using the bidirectional protocol When the input output signals of the Q series C24 are from X Y00 to X Y1F Transmission command is converted to pulse Transmission data is stored Designate the number of the interface CH that will sen...

Page 300: ...h control data is stored User system Device name D1 Head number of the devices in which receive data is stored System D2 Bit device number to be turned on at completion of execution System Bit The file register per local device and program cannot be used as the set data Control data Device Item Set data Setting range Set by 2 S 0 Receive channel Set receive channel 1 Channel 1 CH1 side 2 Channel 2...

Page 301: ...me channel Instruction 1 Availability of simultaneous execution Handling of simultaneous execution BIDOUT BIDIN The next instruction will be ignored until the active instruction has been completed However simultaneous execution is available when channels to be used are not the same CSET Dedicated instructions simultaneous execution error 7FF0H occurs in the dedicated instruction attempted later Ho...

Page 302: ...ors the error flag SM0 turns on and the error code is stored in SD0 See one of the following manuals according to the error code and check and correct the error Error code 4FFFH or less QCPU User s Manual Hardware Design Maintenance and Inspection Program example The following example shows a program that receives any data using the bidirectional protocol and stores that data in D10 or later When ...

Page 303: ...PRTCL Command Executing condition Instruction code Command Un n1 n2 n1 n2 S D Un Set data Set data Description Set by Data type Un Start I O signal of the module 00 to FE Upper 2 digits when I O signals are expressed in 3 digit User BIN16 bit n1 Channel to communicate with other devices 1 Channel 1 CH1 side 2 Channel 2 CH2 side User BIN16 bit Device name n2 Number of consecutive protocol execution...

Page 304: ...receive the matched receive packet number is stored When the communication type is Send only 0 is stored If the error occurs to the first protocol executed 0 is stored When the functional protocol is executed 0 is stored 4 0 1 to 16 System S 17 When the communication type of the 8th protocol executed is Receive only or Send receive the matched receive packet number is stored When the communication...

Page 305: ...another instruction in the same channel Instruction 1 Availability of simultaneous execution Processing of simultaneous execution CPRTCL The next instruction will be ignored until the active instruction is completed However simultaneous execution is available when channels to be used are not the same PUTE GETE SPBUSY UINI Dedicated instructions simultaneous execution error 7FF0H occurs in the dedi...

Page 306: ... scan where the CPRTCL instruction is completed and turns OFF at the next END processing ON ON OFF OFF END END END END Operation during execution of the CPRTCL instruction Sequence program CPRTCL instruction Completion device Execution of CPRTCL instruction Completion of sending by CPRTCL instruction Error completion Normal completion One scan Status display device at completion POINT The followin...

Page 307: ...tion result S 0 In case of operation errors Error flag SM0 turns ON and the error code is stored in SD0 Refer to the following according to the error code and check and correct the error Error code 4FFFH or less QCPU User s Manual Hardware Design Maintenance and Inspection 7000H or later Section 11 2 Program example For the program example of the CPRTCL instruction refer to Section 8 1 6 ...

Page 308: ...ils and the error code is stored in the execution result S 0 When executing multiple protocols consecutively if the cancellation is requested to the nth protocol the nth protocol is ended forcibly and the protocols after the nth protocol are not executed b Operation of QJ71C24N R2 R4 If the cancellation is requested when protocols are not executed the cancellation is completed in no operation If t...

Page 309: ...t I O number of the QJ71C24N R2 R4 is 0000 Devices used by program example Device Purpose M100 Cancellation request command flag M101 Cancellation request flag M110 Turns ON during execution of the CPRTCL instruction U0 G16448 Cancellation designation area Cancellation request Set a flag for cancellation request Cancellation completed Reset a flag for cancellation request ...

Page 310: ...signal ON DTR ON c in this section 205 Turns ER DTR signal OFF DTR OFF 206 Turns RS RTS signal ON RS ON 207 Turns RS RTS signal OFF RS OFF 1 Character strings that are stored to the protocol name of the protocol execution log when functional protocols are executed a Receive data clear Receive data in the OS area are cleared b Send Receive data monitoring start stop Start or stop of send receive da...

Page 311: ...s started and 0 when the processing is completed The processing of each instruction is completed when the completion flag of each instruction is turned from on to off D 0 b15 to b4 b3b2b1b0 Stores the execution status of ONDEMAND OUTPUT PRR and BIDOUT instructions directed to channel 1 Stores the execution status of INPUT and BIDIN instructions directed to channel 1 Stores the execution status of ...

Page 312: ...d check and correct the error Error code 4FFFH or less QCPU User s Manual Hardware Design Maintenance and Inspection 7000H or more Section 11 2 Program example The following example shows a program that reads the communication status of a target module When input output signals of the Q series C24 are from X Y00 to X Y1F The function reads the communication status of a target module and stores it ...

Page 313: ...data User System Device name D1 Dummy Device name D2 Head number of the bit device at the self station that turns on for one scan at the completion of the instruction D2 1 also turns on at an abnormal completion System Bit Each of file registers for local device and program cannot be used as the setting data Control data Device Item Set data Setting range Set by S2 0 Execution type Select 0 0 User...

Page 314: ... attempted later However simultaneous execution is available when channels to be used are not the same OUTPUT PRR BIDOUT BIDIN INPUT the right column When instructions are executed in order of INPUT CSET Dedicated instructions simultaneous execution error 7FF0H occurs in the CSET instruction However simultaneous execution is available when channels to be used are not the same When instructions are...

Page 315: ...t abnormal completion It turns on at the END processing of the scan at which the CSET instruction is completed and turns off at the next END processing Operation at execution of CSET instruction Scan Sequence program Q series C24 At abnormal completion End processing Scan Scan CSET instruction Complete device Complete device 1 Execution of instruction Setting processing End processing End processi...

Page 316: ...that clears reception data on the Q series C24 side When the input output signals of the Q series C24 are X Y00 to X Y1F Set the execution type Set the request type reception data clear Execute the reception data clear Normal completion Abnormal completion Reset the complete flag by external command 3 ...

Page 317: ... status of the serial communication module This section explains how to check the status of communication between the Q series C24 and external devices the transmission status of the Q series C24 and the switch setting status of the Q series C24 When a communication problem occurs check the error status using one of the following procedures 1 Checking the module status and error codes in the detai...

Page 318: ...F is turned off Status of I O Address Verify Displays whether or not the module for which the user set the parameters matches the module installed Remote password setting status Displays the setting status of the remote password Present Error Displays the error code of the latest error occurrence Error Display Displays the error codes for any errors that have occurred in any of the functions being...

Page 319: ...C N NAK ACK For system Buffer memory address 201H b15 b7 b6 b5 b4 b3 b2 b1 b0 to Information of CH1 side 1 LED ON error 0 LED OFF no error b8 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 SD WAIT SIO PRO P S NEU C N NAK ACK For system Buffer memory address 202H b15 b7 b6 b5 b4 b3 b2 b1 b0 to Information of CH2 side 1 0 1 0 b14 b13 b8 CH2 ERR CH1 ERR 2 H W SW Information Parameter The switch information of the Q...

Page 320: ...ansmission Normal completion transmission OFF 7 ACK Normal completion status Normal completion transmission Abnormal completion transmission OFF 8 NEU Neutral status Waiting to receive command Neutral Command reception 2 9 CH2 ERR Error occurrence status on CH2 side Switch setting error Mode switching error Transmission error Reception error On demand error Flash ROM write error Flash ROM write co...

Page 321: ...er CPU can check the aforementioned LED ON status and communications error status and initialize any error information using read write to the buffer memory of the Q series C24 and input output signals Initialize the error information according to Section 11 1 2 d NAK to NEU No 6 to 8 turn on off depending on the status e SD WAIT turns on when data cannot be sent to the external device by the tran...

Page 322: ...R LED and initializing the error codes By making the CH ERR clear request on the Monitor Test screen the ERR LED of the Q series C24 turns off and the stored error codes are initialized b When initializing the communication error information By making the CH LED off Communication error clear request on the Monitor test others screen the LEDs ERR NEU of the Q series C24 turn off and the communicati...

Page 323: ...tus on CH1 side address 201H Communication error clear request for CH2 and to turn LED off address 1H LED ON status and communication error status on CH2 side address 202H 2 Example of a program for turning off displayed LEDs The following shows an example of a program that issues an initialization request for all the communication error information of CH1 and CH2 Input output signals X Y00 to X Y...

Page 324: ...orrective action according to Section 11 2 2 When data is communicated using the non procedure or bidirectional protocol Reads LED and communication error information from address 201H Reads switch setting error description from address 203H Reads data transmission reception results from address 257H to 258H Writes initialization request such as for displayed LED to address 0H Requests initializat...

Page 325: ...ent when the NAK message is sent back to the external device are stored in the following areas When communicating with an A compatible 1C frame the error codes differ from the transmission error code To check error codes transmitted by the programmable controller CPU incorporate the following program in case of the interface on the CH1 side Read command Reads transmission error codes from address ...

Page 326: ...ol signal status address 254H 264H The status of the RS 232 signals is stored as follows REMARKS 1 For more details on signals for RS 232 see Section 3 2 1 2 Signals output from the Q series C24 side RS RTS and ER DTR are controlled by the operating system OS of the Q series C24 They cannot be directly controlled by the sequence program 3 There is a maximum delay of 100 ms in signal status stored ...

Page 327: ...tion status 6 1 6 is repeated afterward Values 7 to 9 are stored when mode switching or initialization of transmission sequence is performed E N Q Station number HL Request to CPU Response from CPU ACK or NAK Message wait Request from an external device External device Q series C24 Stored value 1 0 3 4 5 6 2 REMARKS When the target interface is not set to use the MC protocol 0 is stored in the tra...

Page 328: ...or and mode switching error status address 203H b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Buffer memory address 203H Ignore including b2 and b6 Mode switching request was issued when the setting modification allow prohibit was set to prohibit 1 Error 0 Normal 1 0 1 0 1 0 1 0 1 0 1 0 1 0 Linked operation setting error see Section 4 5 2 2 CH2 CH2 CH2 CH1 CH1 CH1 Communication protocol nu...

Page 329: ... CH1 side from addresses 250H to 251H Reads communication protocol setting and transmission setting description on CH2 from addresses 260H to 261H Restarts the Q series C24 after checking the error code and resetting switches b15b14b13b12b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 Error description 1 Communication protocol number setting error Setting station number of the Q series C24 0 CH1 side D0 D1 D...

Page 330: ...y areas 1 Station No instruction setting address 24FH b0 Station No 0 to 31 b15 Buffer memory address 24FH to 2 Communication protocol status address 252H 262H b0 Mode number currently operating Buffer memory address 252H 262H Information on the CH2 side Information on the CH1 side 0 to 9 0 to 7 9 b15 to 3 Transmission status address 253H 263H b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 ...

Page 331: ...cation rate error D0 D1 CH1 side D2 D3 D4 Setting communication protocol number 6 transmission setting description CH2 side Setting communication protocol number 1 transmission setting description While the CH1 side is set to the non procedure protocol and the CH2 side is set to the MC protocol format 1 this indicates the communication rate setting error on the CH1 side 0 0 0 0 0 0 0 0 0 0 0 0 0 1...

Page 332: ...ing the following may occur Accessible device range is narrowed Error code 7140H Some of commands and or devices cannot be used Error code 7142H 714DH In the above case execute the programmable controller CPU information clear request POINT If initial access is made at startup of the access target CPU or while the network is unstable the programmable controller CPU information may not be correctly...

Page 333: ...clear processing 1 After completing clear processing turns OFF the interlock signal for communication stop 1 Interlock signal for communication stop 1 1 Create a program in which data communication processing will not be performed while the interlock signal for communication stop M100 is ON 5 Precautions a Execute the programmable controller CPU information clear after communication with the exter...

Page 334: ...the QCPU User s Manual Hardware Design Maintenance and Inspection and take corrective action If this error occurs during CPRTCL instruction execution identify the CPU error and correct the CPU device No that is specified in the Non conversion or Conversion variable data storage area 7101H System error The OS of the Q series C24 detected some error 1 7102H 7103H Programmable controller access error...

Page 335: ...nd restart data communications Stop the CPU and restart data communications 714BH System error The OS of the Q series C24 detected some error 1 714CH 714DH Unusable command error An unusable command is issued to the access target CPU C N Check and correct the external device transmit message and restart data communications If no error is found in the command clear the programmable controller CPU i...

Page 336: ...ified by the corresponding command was designated PRO Check and correct the external device transmit message and restart data communications 7170H A compatible 1C frame error Number of access points exceeded the range PRO Check and correct the external device transmit message and restart data communications 7171H A device that cannot be designated was designated PRO 7172H Written number of monitor...

Page 337: ...e set time CHn ERR Increase the Response monitoring time timer 1 value Default 5 seconds If an error has occurred in the CPU refer to the QCPU Q mode User s Manual Maintenance and Inspection and take corrective actions 7D15H CPU response monitoring timeout error CPU response monitoring time has timed out during reception Data received from the device could not be stored into the CPU within the set...

Page 338: ... exceeds the range for double word data change the element to Non conversion variable 7D20H Data length setting error data quantity setting error The value set in the data length storage area or the data quantity storage area is out of range CHn ERR Check the maximum allowable data length and specify the maximum length or less in the data length storage area Check the maximum allowable data quanti...

Page 339: ...ng data transmission Mode switching was executed during data transmission CHn ERR Make arrangements between the target device and programmable controller CPU so that mode switching is not executed during data transmission 7E4EH System error The OS of the Q series C24 detected some error 1 7E4FH Device point count error Access point count is incorrect PRO Check and correct the external device trans...

Page 340: ...lue of programmable controller CPU monitoring function is out of range Correct the setting value of the programmable controller CPU monitoring function 7E63H Transmission measure setting error Setting of transmission measure of the programmable controller CPU monitoring is incorrect Correct the setting value of the transmission measure 7E64H Registration point range error The total number of word ...

Page 341: ...s data was completed Increase the transmission time by performing handshake with the external device etc Multiple requests was simultaneously issued for one channel Perform handshake with the request source external device 7F02H to 7F06H System error The OS of the Q series C24 detected some error 1 7F20H ASCII BIN conversion error An ASCII code that cannot be converted to binary code was received ...

Page 342: ...nits set by the Q series C24 to byte units Increase the receiving area of the Q series C24 7F26H Command error Another command was received before an unlock processing while the remote password is registered CHn ERR Perform the communication after the unlock processing is normally completed 7F30H System error The OS of the Q series C24 detected some error 1 7F31H Simultaneous transmission error Th...

Page 343: ... multidrop was connected data was transmitted simultaneously by multiple devices P S Match the Q series C24 and external device settings Clear the error information according to the ERR clear request YE YF In addition when communicating data with the non procedure protocol execute the INPUT instruction and read and discard the unnecessary data Measure the noise When connecting the multidrop remove...

Page 344: ... module 7FC9H to 7FCFH System error The OS of the Q series C24 detected some error 1 7FD0H to 7FE5H Refer to the error code list for use of the modem function and take corrective action Refer to Section 11 2 3 7FE6H Processing disabled Remote passwords do not match Check the remote password and communicate again 7FE7H The remote password is not registered The remote password processing command was...

Page 345: ...e error 1 7FFFH B000H to BFFFH Errors detected by the CC Link module Take corrective action by referring to the CC Link Master Local Module User s Manual C000H to CFFFH Errors detected by the Ethernet module Take corrective action by referring to the Ethernet Interface Module User s Manual D000H to DFFFH Errors detected by the CC Link IE Field Network module Take corrective action by referring to ...

Page 346: ...t data was received before the Q series C24 received all the preceding data SIO Decrease the transmission rate and restart data communications 06H Character area error Designation method error in part of a message A command that does not exist was designated The number of processing points is outside the range for the command A device that does not exist was designated PRO Check and correct the ex...

Page 347: ...0H to 10H 42H to the NAK code and returns the NAK code to the external device and stores the error code equivalent to QnA compatible 2C 3C 4C frame error code to buffer memory address 25AH CH1 or 26AH CH2 The exact error contents can be checked by reading the value stored to the buffer memory See Section 11 2 1 for a detailed description of the error codes ...

Page 348: ...the pager receiver designation Section 3 4 4 7FD7H Recheck the dialing number of the external line 7FD8H System error The OS of the Q series C24 detected some error 1 7FD9H Modern function error External destination is connected to network or modem has not been initialized CHn ERR After the modem has been initialized connect to the network if the external destination is not connected to the networ...

Page 349: ...ata for connection Recheck the message length of the message for notification Section 3 4 4 7FE5H There is an error in the designation of the no communication interval time Designate the no communication interval time in the range of 0 to 120 Section 3 3 6 7FE8H The number of remote password mismatch exceeded the value designated at the address 200DH Clear the Accumulated count of unlock process a...

Page 350: ... turned ON Section 11 3 12 Communications are intermittently established and lost Section 11 3 13 Data that cannot be decoded was transmitted and received Section 11 3 14 Whether the cause of the communications error is in the Q series C24 or the external device is unknown Section 11 3 15 Cannot communicate via modem 1 Cannot communicate via modem Section 11 3 16 Cannot communicate with ISDN sub a...

Page 351: ...If the reception error is detected before the head data of the command message in the set format is received the received data will be disregarded When communicating using non procedure protocol If the Q series C24 detects a reception error the reception abnormal detection X4 XB turns ON Perform procedures such as detection of reception error or clearing received data as required by following the ...

Page 352: ... series C24 and external device loopback test the minimum parameters file must be written to the CPU beforehand Power module 5 V current capacity is insufficient Calculate the 5 V current drain of each installed module If the current capacity is insufficient check power module selection Note Whether or not the current capacity is insufficient can be checked by disconnecting the expansion base and ...

Page 353: ...e the external device OPEN statement to check if the opened port and the cable connection port are matched External device transmission control signals are not turned ON Connect the wiring so that the DR DSR CS CTS and other transmission control signals are ready Note Since the control signal specifications depend on the device connect the wiring by seeing the instruction manual of the device used...

Page 354: ...e The Q series C24 skips all the messages transmitted until the header byte set for each protocol and format for example ENQ 05H for format 1 is received The Q series C24 station No switch setting and message station No designation do not match Check the Q series C24 station No setting and message station No designation Use the communication monitoring function to check the message from the extern...

Page 355: ... the CS CTS signal the Q series C24 cannot transmit data to the external device While the CS CTS signal is OFF the Q series C24 does not transmit data to the external device It must be ON when the external device is ready to receive data Due to transmission control DTR or DC control the external device cannot receive data Wait until the external device is ready to receive data When the waiting tim...

Page 356: ...n monitoring function to check the message from the external device The end code was not received or fixed length data was not received Check if the end code set at the Q series C24 and the end code transmitted from the external device are the same Check if the external device transmitted the fixed length designated at the Q series C24 Check if the trailer frame was transmitted during communicatio...

Page 357: ...rror in each element setting item Code type Data length Data flow Calculating range etc The Q series C24 has not received the expected packet Using the circuit trace the communication data monitoring function of GX Configurator SC Pre defined protocol support function check for the data being transmitted from the external device When proper data are being transmitted from the external device take ...

Page 358: ...K is transmitted is stored to the Q series C24 buffer memory shown below it can also be checked at the Q series C24 Error code storage buffer memory address CH1 side 25AH CH2 side 26AH 11 3 8 Communication error C N Symptom Cause Corrective action MC Bidirectional Non procedure Pre defined Communication error signal C N turned on The Q series C24 cannot be installed in the CPU Change to a CPU to w...

Page 359: ...t cannot be transmitted during RUN sequence program parameters etc was transmitted or Disable write during RUN is set Stop the CPU and restart data communications Set the Enable disable write during RUN switch to Enable by command 11 3 9 Communication error P S Symptom Cause Corrective action MC Bidirectional Non procedure Pre defined Communication error signal P S turned on Data does not match th...

Page 360: ...ation monitoring function to check the message from the external device Note Only the data 0 to 9 and A to F can be handled as character area data during communications using an MC protocol ASCII mode Therefore when transmitting a character string as data convert the ASCII code of each character string to 2 byte binary code Examples Transmitting the character G The ASCII code for the character G i...

Page 361: ... and provide an ample programmable controller CPU read processing time Note The non procedure protocol stores the data received up to first the end code received or fixed length data to the non procedure receive buffer memory and turns on the Read Request signal to the programmable controller CPU If the next data is sent while the Read Request signal is ON the data is temporarily stored to the OS ...

Page 362: ...ntents Note When the ERR LED is turned on an error code is stored in the following buffer memory Error cause Error code storage buffer memory Address Name CH1 CH2 Switch setting error 203H Switch setting error and mode switching error status Mode switching error On demand execution error 256H 266H On demand execution result Data transmission error 257H 267H Data transmission result Data receive er...

Page 363: ...mat of the external device Check the packet format of the external device and correct the protocol setting 1 When a conversion variable exists in the receive packet check for an error in the setting of Conversion Sign character Number of decimals Delimiter or Number of digits 2 When an error check code exists in the receive packet check for an error in the setting of Processing method Code type Da...

Page 364: ...a address 256H 266H Data transmission error Data transmission result area address 257H 267H Data reception error Data reception result area address 258H 268H Modem function error Modem function error code area address 221H MC protocol transmission error MC protocol transmission error code address 25AH 26AH Monitoring device error Programmable controller CPU monitoring function execution result add...

Page 365: ...FF timing of each signal is matched See User s Manual Application Requested processing of the next transmission before the processing of the current transmission is completed Requested processing of the next reception before the processing of the current reception is completed Make sure to obtain handshake in the sequence program Communication via modem is disrupted Since communication via modem m...

Page 366: ...econds See the User s Manual Application If response messages still cannot be received after changing the setting value check the communication protocol setting of the corresponding interface the ON status of the displayed LED and the connection cable c When the first part of a response message cannot be received Increase the setting value of the message wait time the default value is 0 ms See the...

Page 367: ... and the setting of the other side is data length 8 bits and without parity the number of transmission receive bits will be the same and the data will sent and receive without generating an error Data does not match the parity bit setting Transmission rate settings do not match Match the Q series C24 and external device transmission rates With a multidrop link the terminal resistor is not connecte...

Page 368: ...programmable controller CPU There must not be any errors that stop programmable controller CPU operation Note The following methods are available for testing if normal communications are possible with the Q series C24 alone 1 With one the Q series C24 set CH1 and CH2 to the non procedure protocol and connect the wiring the same as for the self loopback test and transmit data from one channel and r...

Page 369: ...llback reception waiting and connect There is an error in the GX Developer side s modem settings Set the modem s settings on Auto Reception Callback connections from the GX Developer are refused by the Q series C24 There s an error in the GX Developer s connection system Check the GX Developer s connection system Correct the Q series C24 s settings There is an error in the connection system s tele...

Page 370: ...pating the causes 11 3 19 Condition agreement transmission is not performed normally Symptom Cause Corrective action MC Non procedure protocol Bidirectional protocol Pre defined Does not operate in the cycle time designated in condition agreement transmission setting The setting value of the condition agreement transmission is incorrect Review the condition agreement transmission setting The cycle...

Page 371: ...ries C24 is mounted on an extension base unit of the Q12PRH Q25PRHCPU the communication path set in GX Developer is incorrect Directly connect the CPU or change the communication path so that it is routed through an intelligent function module on the main base unit Refer to Section 2 5 In Transfer Setup of GX Developer select Not specified for Target system Refer to Section 2 5 The data written to...

Page 372: ...ondition for element placement are satisfied in the packet setting or not If any elements of 1 and 2 are in the same packet 1 must be placed before 2 1 Conversion variable fixed number of data fixed number of digits 1 to 10 no sign character Conversion variable fixed number of data fixed number of digits 1 to 10 variable decimal point Conversion variable fixed number of data variable number of dig...

Page 373: ...se according to Section 11 1 1 Switch settings of the Q series C24 are incorrect Review the switch settings of the Q series C24 The communication protocol mode is set to Pre defined protocol mode and linked operation is set for two interfaces For communication in the pre defined protocol mode change the setting to separate operations The Q series C24 is powered off while data are written to the fl...

Page 374: ...W10000 or higher 1 Access to extended data register D65536 or higher or extended link register W10000 or higher 1 Reading writing from to the buffer memory of the Q series C24 Reading writing from to the buffer memory of intelligent function modules Reading writing from to sequence program files Monitoring the programmable controller CPUs programmable controller CPU monitoring function Transmissio...

Page 375: ...and EBH 1 Communication via public network etc modem function Automatic initialization of modem 1 Remote password check Callback 4 1 Transmission control DC code control including Xon Xoff control DTR DSR control Mode switching Switch to GX Developer connection mode Independent linked operation of each interface Support for 230400 bps Data transmission reception at low speed transmission speed 50 ...

Page 376: ...rted in the Q series C24 of function version A 3 The Q series C24 of function version A is capable of setting one pair of transparent code and additional code per interface for both transmission and reception 4 This function can be used when connecting with GX Developer 5 This function is available in GX Developer Version 6 or later 6 GX Developer can only be connected to the CH1 side in case of t...

Page 377: ...PLC CPU watch use Remote password mismatch notification count designation Remote password mismatch notification accumulated count designation Auto modem initialization designation Callback function designation Callback denial notification accumulated count designation Data No for callback designation 1 to 10 Transmission control and other monitoring tests RS 232 control signal status CS CTS Sectio...

Page 378: ...cution log options Section 8 1 2 9 4 9 Monitor test others Station No Instruction setting Section 9 6 10 Communication error clear request for CH and to turn LED off Section 9 6 10 Section 9 6 11 PLC CPU information clear request Section 9 6 10 Section 11 1 7 Auto refresh setting Accumulated count of unlock process normal completion Section 4 6 Accumulated count of unlock process normal completion...

Page 379: ...on 1 31H or later Reception area user setting area C00H to 1AFFH Reception area user setting area 2 2600H to 3FFFH For transmitting data Transmission area 400H to 5FFH 800H to 9FFH Transmission area user setting area C00H to 1AFFH Transmission area user setting area 2 2600H to 3FFFH For confirmation of communication protocol execution status Protocol execution status 4041H 4051H Version 1 40S or l...

Page 380: ...een changed however the performance and response time is different When utilizing any existing program be sure to check the operation in advance and if necessary adjust the communication timing The following are examples of communication timing adjustment a When communicating with MC protocol Increase the message wait time Especially in the case of Sequence scan time Message wait time an adjustmen...

Page 381: ...odules Function Q series C24 QC24N QC24 UC24 C24 S8 Communication using MC protocol Communication in QnA compatible 3C frame Communication with ASCII code 7 8 Communication in QnA compatible 4C frame 8 Communication in QnA compatible 2C frame 8 Communication in A compatible 1C frame Communication in QnA compatible 4C frame Communication with binary code 7 8 Read write of QCPU device memory Batch r...

Page 382: ...Data transmission rate bps 230400 maximum 6 115200 maximum 19200 maximum 19200 maximum 19200 maximum Function exists possible Function exists possible specification is different depends on the function version see Appendix 1 No function impossible 1 Access is possible only within the range of an AnACPU device 2 A multiple block batch read write function can be used for the local station QCPU to wh...

Page 383: ... which has been performed in the QC24 N can also be performed by the Q series C24 The following explains how to use programs designed for QC24 N during data communication using the Q series C24 1 The communication programs directed to the QC24 N on the external device side and the communication programs on the QnACPU self station side to which the QC24 N is mounted can be used for the Q series C24...

Page 384: ...er CPU module of the multidrop connection However there are frame restrictions when data communication is performed See the Reference Manual 2 Replacing the QnACPU module with a QCPU The wiring used by the QC24 N can be used as is POINT The functional use is the same except for the functions added by the Q series C24 to the conventional module However with the introduction of high speed QCPUs ther...

Page 385: ...jor differences in the following points For programmable controller CPU side create a new program according to the explanation in the section of the function used Differences between UC24 C24 S8 and the Q series C24 Initial setting items and the setting method of addresses and special application areas of the buffer memory Input output signals for handshake Dedicated instructions of the programmab...

Page 386: ...s the programmable controller CPU from the external device 3 When it is necessary to access other stations on other MELSECNET 10 data communication must be performed in a QnA compatible 3C 4C frame Create a new program for the external device side according to the Reference Manual 4 It is not possible to access other stations via the MELSECNET II B d Transmitting data to the external device by the...

Page 387: ...d by the UC24 will become user frames in the Q series C24 4 Data communication using the bidirectional protocol a Setting to add a sum check code to a message The setting to add a sum check code to a message has been changed It is set during switch setting operation by GX Developer b Data transmission reception 1 The same data transmission reception as used by UC24 C24 S8 can be performed 2 Create...

Page 388: ...ify this when an A compatible 1C frame is used Alternatively it is necessary to change the message frame so that it has a data order different from that of the MC protocol Station number Designate the number of device to which data is sent Local station number Designate the number of the device that sends data 2 Perform the data communication according to the User s Manual Application c Processing...

Page 389: ...tion to the End processing of the sequence scan at the completion of the Output instruction execution ms St Scan time Dle Data length of 1 byte at data transmission number of bits Cr Communication rate bps Ds Number of bytes of transmission data T1 QJ71C24N R2 R4 T1 3 0 QJ71C24 R2 T1 4 86 1 This stands for the time range of processing Tp Calculation example Estimate the time required to process th...

Page 390: ...on when receiving 100 bytes of data using the non procedure protocol with the QJ71C24N Unit ms Scan time 10 ms 10 0 09 100 7 0 26 00 ms 2 When only using CH1 of the Q series C24 and when processing only 30 bytes of data received the time until the reception data read request X3 comes on is displayed after the Q series C24 receives data from the network 3 When DX3 direct mode is used the Q series C...

Page 391: ...ed BIDOUT 28 6 47 0 30 5 47 1 32 6 49 6 40 bytes BIDIN 26 4 29 1 27 6 29 9 29 8 31 7 40 bytes PUTE 881 9 881 9 884 4 884 4 871 4 899 5 40 bytes GETE 1 1 1 1 1 5 1 5 3 1 3 2 40 bytes SPBUSY 0 1 0 1 0 2 0 2 0 3 0 3 CSET 1 0 1 2 1 6 1 7 3 4 3 9 Transmission receipt buffer setting BUFRCVS 0 3 0 3 0 5 0 5 19200 bps 40 bytes UINI 416 1 417 5 418 3 CPRTCL Instruction processing time varies by external de...

Page 392: ... by the user MSD LSD 0 1 2 3 4 5 6 7 000 001 010 011 100 101 110 111 0 1 2 3 4 5 0000 0001 0010 0011 0100 0101 NUL SOH STX ETX EOT ENQ DLE DC1 DC2 DC3 DC4 NAK SP 0 1 2 3 4 5 A B C D E P Q R S T U a b c d e p q r s t u 6 7 8 9 A 0110 0111 1000 1001 1010 ACK BEL BS HT LF SYN ETB CAN EM SUB 6 7 8 9 F G H I J V W X Y Z f g h i j v w x y z B C D E F 1011 1100 1101 1110 1111 VT FF CR SO SI ESC FS GS RS ...

Page 393: ... QJ71C24 are almost the same as those of the QJ71C24N except for the model name part and serial number plate 1 R1 Bending radius near terminal block Outside cable diameter 4 2 R2 Bending radius near connector Outside cable diameter 4 3 r1 Bending radius near crimp contact Connectable as long as not bended extremely ...

Page 394: ... as those of the QJ71C24N R2 except for the model name part and serial number plate 1 R2 Bending radius near connector Outside cable diameter 4 3 QJ71C24N R4 1 R3 Bending radius near the plug in socket block Outside cable diameter 4 2 r2 Bending radius near the wire connection Connectable as long as not bended extremely ...

Page 395: ...nicate data using data communication functions with the MC non procedure or bidirectional protocol The converters covered in this Appendix are as follows Manufacturer Model name Recommended product Contact EL Engineering Ltd EL LINE II Funato cho 7 16 Nakagawa ku Nagoya 454 0805 Tel 052 361 2290 Fax 052 363 1050 System Sacom Co Ltd KS 1 KS 10P KS 485 www sacom co jp The recommended products have b...

Page 396: ...eck according to the explanation in Section 3 2 1 1 DC code control or DTR DSR control becomes possible for transmission control Connection example 2 The CD terminal check setting should be set to No check according to the explanation in Section 3 2 1 1 DC code control or DTR DSR control becomes possible for transmission control ...

Page 397: ...App 24 App 24 MELSEC Q APPENDICES Connection example 3 Connection example 4 ...

Page 398: ...ting systems programming languages and functions are supported depending on the version of MX Component used 1 Support for a wide range of communication paths to programmable controllers MX Component supports a wide range of communication paths to programmable controllers It is possible to construct systems according to the needs of the users 2 Dramatic improvement of application development effic...

Page 399: ...perating manual for MX Component 4 Support for a wide variety of programming languages MX Component supports the following programming languages It allows the user to develop a wide range of customized applications Programming language Development software Visual Basic Visual C Visual C Microsoft Visual Studio VBScript Text editors and commercially available HTML tools VBA Microsoft Access Microso...

Page 400: ...d corrective action OnDeviceStatus Announces event Open Opens a communication line ReadBuffer Read data from buffer memory ReadDeviceBlock Read devices in bulk 4 byte data ReadDeviceBlock2 Read devices in bulk 2 byte data ReadDeviceRandom Read devices randomly 4 byte data ReadDeviceRandom2 Read devices randomly 2 byte data SetClockData Write clock data to programmable controller CPU SetCpuStatus R...

Page 401: ...M PC AT compatible personal computer to the programmable controller by following the wizard Some types of controls are set only by programs without using the wizard The wizard allows the user to perform the settings required for the communication such as logical station number connected module type and programmable controller to be connected 2 Paste the ACT control icon onto the form and assign th...

Page 402: ...ET 2003 is used Private Sub Command1_Click ByVal sender As System Object ByVal e As System EventArgs Handles Command1 Click Connection Dim rtn As Integer Get LogicalstationNumber AxActEasyIF1 ActLogicalStationNumber Val Text1 Text Connection rtn AxActEasyIF1 Open If rtn 0 Then MsgBox The connection was successful Else MsgBox Connection Error Hex rtn End If End Sub R Command1 or Button1 Connect to ...

Page 403: ...ect ByVal e As System EventArgs Handles Command3 Click Disconnection Dim rtn As Integer Disconnection rtn AxActEasyIF1 Close If rtn 0 Then MsgBox The disconnection was successful Else MsgBox Disconnection Error Hex rtn End If End Sub 2 When Visual C NET 2003 is used Connection private System Void button1_Click System Object sender System EventArgs e int iRet Get LogicalstationNumber axActEasyIF1 A...

Page 404: ...f data to display the results for iNumber 0 iNumber 5 iNumber lpszarrData iNumber sData iNumber ToString szReadData String Join lpszarrData MessageBox Show String Format D0 D4 0 szReadData else MessageBox Show String Format Read Error 0x 0 x8 HEX __box iRet Disconnection private System Void button3_Click System Object sender System EventArgs e int iRet Disconnection iRet axActEasyIF1 Close if iRet...

Page 405: ...ox Connection Error Hex rtn End If End Sub Private Sub Command2_Click Read Dim rtn As Long Dim idata 5 As Integer D0 D4 are read rtn ActEasyIF1 ReadDeviceBlock2 D0 5 idata 0 If rtn 0 Then MsgBox D0 D5 idata 0 idata 1 idata 2 idata 3 idata 4 Else MsgBox Read Error Hex rtn End If End Sub Private Sub Command3_Click Disconnection Dim rtn As Long Disconnection rtn ActEasyIF1 Close If rtn 0 Then MsgBox ...

Page 406: ...lLogicalStationNumber Connection lRet m_actEasyIf Open if lRet 0 MessageBox The connection was successful else szMessage Format Connection Error x lRet MessageBox szMessage Read void CVCDlg OnRead long lRet short sData 5 CString szMessage D0 D4 are read lRet m_actEasyIf ReadDeviceBlock2 D0 5 sData if lRet 0 szMessage Format D0 D5 d d d d d sData 0 sData 1 sData 2 sData 3 sData 4 MessageBox szMessa...

Page 407: ...NDICES Disconnection void CVCDlg OnClose long lRet CString szMessage Disconnection lRet m_actEasyIf Close if lRet 0 MessageBox The disconnection was successful else szMessage Format Disconnection Error x lRet MessageBox szMessage ...

Page 408: ...communications with non procedure protocol use the receive data clear request shown in 6 1 4 and display the sequence program example if clearing the receive data from external device If the Q series C24 input output signal is X Y000 to X Y01F The following I O signals X and internal relays M are used in the program ...

Page 409: ...6 MELSEC Q APPENDICES POINT When a function version A for the Q series C24 is used add the partial circuit with a mark of 1 shown in the program example in Section 6 1 4 3 Communications are possible when M19 is ON ...

Page 410: ...m configuration used in the program examples of this section is shown below 1 It is assumed that the QJ71C24N is mounted on Slot 0 of the base unit and the starting I O No is 0 2 Set the network parameters of the remote master station as below 1 Network type MNET H Remote master 2 Starting I O No 0000H 3 Network No 1 4 Total stations 1 5 Mode Online 6 Network range assignment XY setting 7 Refresh ...

Page 411: ...lty cable condition or noise interference Also the multipliers of 4 and 3 should only be considered as a guideline 3 REMFR REMTO instruction Perform programming so that the next instruction is executed after the REMFR REMTO instruction is executed and then completed The completion of the REMFR REMTO instruction can be confirmed by the completion device POINT 1 After the execution of the REMFR REMT...

Page 412: ...rite command X1020 X1021 Read write command pulse signal M10 M11 Completion device for REMFR REMTO instruction M100 to 103 Normal abnormal completion flag for REMFR REMTO instruction M200 to 203 Read from word byte units designation area D0 Write to word byte units designation area D1 2 Program examples a Read from buffer memory b Write to buffer memory Read command Changes the read command into p...

Page 413: ...emand function D2 Data length designation for on demand function D3 On demand execution result D8 LED ON status and communication error status on CH1 side D9 b Intelligent function module switch settings Refer to Section 4 5 2 Switch No Bit Description Setting value Position Designated value Switch 1 b0 OFF Transmission setting Operation setting Independent 07E2H b1 ON Data bit 8 bits b2 OFF Parit...

Page 414: ...on demand function Data length for on demand function Transfers the setting value to the on demand function designation area of the buffer memory Sets the on demand data transmission flag Abnormal completion of REMTO instruction Turns ON the transmission request signal Resets the on demand data transmission flag Normal completion of on demand data transmission Turns OFF the transmission request si...

Page 415: ...to 105 Normal abnormal completion flag for REMFR instruction M200 to 203 Normal abnormal completion of receive M300 M301 Received data count D0 Received data when 5 word data are received D1 to D5 Data reception result D8000 b Intelligent function module switch settings Refer to Section 4 5 2 Switch No Bit Description Setting value Position Designated value Switch 1 b0 OFF Transmission setting Ope...

Page 416: ...read request signal into pulses Reads the received data count from the communication area of the buffer memory to D1 Received data acquisition command Abnormal completion of REMFR instruction Reads data as many as the received data count from the communication area of the buffer memory to D1 Normal reception completion Abnormal completion of REMFR instruction Turns ON the receive read completion s...

Page 417: ...ransmission M300 M301 Transmission data count D10 Transmission data 5 words D11 to D15 Data transmission result D20 b Intelligent function module switch settings Refer to Section 4 5 2 Switch No Bit Description Setting value Position Designated value Switch 1 b0 OFF Transmission setting Operation setting Independent 07C0H b1 OFF Data bit 7 bits b2 OFF Parity bit No b3 OFF Even odd parity Odd b4 OF...

Page 418: ...he transmission data count Transfers the setting value to the communication area of the buffer memory Turns ON the transmission request signal Abnormal completion of REMTO instruction Normal completion of transmission Turns OFF the transmission request signal Abnormal completion of transmission Transmission result acquisition instruction Reads the data transmission result of the buffer memory to D...

Page 419: ...ng execution status judgment command M22 Completion device for REMFR REMTO instruction M100 to 103 Normal abnormal completion flag for REMFR REMTO instruction M200 M201 Receive data clear request area information D0 Clear request D1 b Intelligent function module switch settings Refer to Section 4 5 2 Switch No Bit Description Setting value Position Designated value Switch 1 b0 OFF Transmission set...

Page 420: ... of the buffer memory Sets the receive clearing flag Sets the completion check flag Receive clear processing execution status acquisition command Abnormal completion of REMTO instruction Reads data of the receive data clear request area of the buffer memory to D0 Receive clear processing execution status judgment command Abnormal completion of REMFR instruction Resets the receive clear acceptance ...

Page 421: ...tion flag for REMFR REMTO instruction M200 to 203 Normal abnormal completion of transmission M300 M301 Transmission data count D0 Transmission data D1 D2 CR LF output designation D5 Output head pointer designation D6 Output count designation D7 Output frame No designation D8 to D12 Data transmission result D20 b Intelligent function module switch settings Refer to Section 4 5 2 Switch No Bit Descr...

Page 422: ... designation 0200H 183 B7H CR LF output designation 0 184 B8H Output head pointer designation 1 185 B9H Output count designation 5 186 BAH First output frame No designation 03F2H 187 BBH Second output frame No designation 03F3H 188 BCH Third output frame No designation 8001H 189 BDH Fourth output frame No designation 8000H 190 BEH Fifth output frame No designation 041BH 6912 1B00H For registration...

Page 423: ...head pointer Sets the output count First output frame No designation Second output frame No designation Third output frame No designation Fourth output frame No designation Fifth output frame No designation Transfers the setting values to the transmission user frame designation area of the buffer memory Turns ON the transmission request signal Abnormal completion of REMTO instruction Normal comple...

Page 424: ...REMTO instruction M200 to 203 Word byte units designation D0 Buffer memory head address designation for on demand function D1 Buffer memory length designation for on demand function D2 Transmission buffer memory head address designation D3 Transmission buffer memory length designation D4 Receive buffer memory head address designation D5 Receive buffer memory length designation D6 b Buffer memory s...

Page 425: ...f the buffer memory Initial setting command 2 Abnormal completion of REMTO instruction Sets 400H to the buffer memory head address for on demand transmission Sets 0H to the buffer memory length for on demand transmission Sets 0C00H to the transmission buffer memory head address Sets 400H to the transmission buffer memory length Transfers the setting values to the on demand function designation and...

Page 426: ... a Devices used Registration command X1028 Registration command pulse signal M10 Registration command 2 M11 Registration flag M12 Registration result acquisition command M13 Completion device for REMFR REMTO instruction M100 to 105 Normal abnormal completion flag for REMFR REMTO instruction M200 to 203 Registration instruction D0 Frame No D1 Registration result D2 Number of data bytes registered D...

Page 427: ...a of the buffer memory registration instruction and frame No Registration instruction 2 Abnormal completion of REMTO instruction Transfers the setting values to the flash ROM access area of the buffer memory number of registered data bytes and later Sets the registration flag Abnormal completion of REMTO instruction Turns ON the flash ROM write request signal Registration result acquisition comman...

Page 428: ...M10 Read flag M11 Registration result acquisition command M12 Number of data byte registered acquisition command M13 User frame acquisition command M14 Completion device for REMFR REMTO instruction M100 to 107 Normal abnormal completion flag for REMFR REMTO instruction M200 to 204 Read instruction D0 Frame No D1 Read result D2 Number of data bytes registered D3 User frame D4 or later Number of reg...

Page 429: ...lt from the flash ROM access area of the buffer memory to D2 No of data byte registered acquisition command Abnormal completion of REMFR instruction Turns OFF the flash ROM read request signal Sets the read flag Reads the number of registered data bytes from the flash ROM access area of the buffer memory to D3 Converts the number of registered data bytes into the word units Adds 1 word when the nu...

Page 430: ...ed to the flash ROM of the QJ71C24N when the delete command X1030 turns ON a Devices used Delete command X1030 Delete command pulse signal M10 Delete flag M11 Delete result acquisition command M12 Completion device for REMFR REMTO instruction M100 to 103 Normal abnormal completion flag for REMFR REMTO instruction M200 to 202 Delete instruction D0 Frame No D1 Delete result D2 b Buffer memory settin...

Page 431: ... the frame No Transfers the setting values to the flash ROM access area of the buffer memory Sets the delete flag Abnormal completion of REMTO instruction Turns ON the flash ROM write request signal Delete result acquisition command Reads the delete result from the flash ROM access area of the buffer memory to D2 Normal completion of REMFR instruction Abnormal completion of REMFR instruction Turns...

Page 432: ... command M21 CH2 mode switching completion M22 CH2 receive processing M23 CH2 send processing M24 REMFR REMTO instruction completion device M100 to 107 REMFR REMTO instruction abnormal completion flag M200 to 205 Switching mode No designation D0 D10 Transmission specifications after switching designation D1 D11 Switch setting error and mode switching error status D2 D12 b Buffer memory settings us...

Page 433: ...e CH1 mode switching request Resets the CH1 mode switching request CH1 mode switching completed Transfers the mode switching error status Starts the change processing of CH2 Reexamines the modifications REMFR instruction abnormally completed Sets the switching mode No designation Sets the transmission specifications after switching designation Transfers the set values to the mode switching designa...

Page 434: ...App 61 App 61 MELSEC Q APPENDICES Resets the changing flag Sets the change completion flag Reexamines the modifications REMFR instruction abnormally completed ...

Page 435: ...Intelligent module side Start I O number Input format Hexadecimal Start SI number 0 fixed Input format Decimal Recording sheet 2 Remote password setting GX Developer setting screen Data item name Set data Setting value Remarks Remote password settings Password settings Password Input format Character strings Password active module settings Model name QJ71C24 CMO Input format Selection Start XY Inp...

Page 436: ...ck code No Yes b6 Write during RUN Prohibit Allow b7 Setting modification Prohibit Allow 2 Communication rate setting Enter check marks in the CH1 and CH2 fields CH1 CH2 Setting value Communication speed unit bps FH 50 0H 300 1H 600 2H 1200 3H 2400 4H 4800 5H 9600 6H 14400 7H 19200 8H 28800 9H 38400 AH 57600 BH 115200 CH 230400 3 Communication protocol setting Enter check marks in the CH1 and CH2 ...

Page 437: ... 1 E Echo back 3 12 ERR LED 11 6 Error code table 11 18 External dimensions App 20 F Full duplex communications 7 24 Functions available with utility package 9 3 G GX Configurator SC 2 3 9 1 GX Configurator SC function list 3 17 GX Developer 2 3 H H W gate OFF time 3 9 How to detect reception error bidirectional 7 13 How to detect reception error non procedure 6 19 How to detect transmission error...

Page 438: ...eived data count 6 22 Receiving methods bidirectional 7 2 Receiving methods non procedure 6 2 ROM RAM switch tests 4 26 RS 232 interface specification 3 3 RS 422 485 interface specification 3 7 RUN LED 11 36 Remote password check 1 11 5 4 S Serial communication module 1 1 Setting for GX Developer 4 13 Settings and procedures prior to operation 4 2 Simultaneous transmissions 7 24 SIO 11 45 SPBUSY 1...

Page 439: ...WARRANTY ...

Page 440: ...nd Windows XP are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries The company names system names and product names mentioned in this manual are either registered trademarks or trademarks of their respective companies In some cases trademark symbols such as TM or R are not specified in this manual VS VIEW Copyright c 2001 ComponentOne ...

Page 441: ......

Page 442: ...without notice When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN ...

Reviews: