background image

 
 

 

6 - 29                                                                                                                                                       6 - 29 

MELSEC-Q

6   DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL 

 

6.2.4 How to detect transmission errors 

This section explains how to detect errors that may occur when sending data to the 
external device. 
 
The following items are considered as the primary causes of errors that may occur 
during data transmission. 

 

Cause of reception error 

Reference section 

A timeout occurred for the transmission monitoring time (timer 2). 

User's Manual (Application) 

Designated number of transmission data was larger than the size that could be stored in the 
transmission area. 

Section 6.2.2 

 

(1)   Confirmation using the sequence program 

 

(a)   Detecting a transmission error 

 

1)   The following device and input signal turn ON. 

•  OUTPUT instruction complete 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: 
257

H

/267

H

). 

For details on how to check the error code contents and corrective 
actions, see Chapter 11. 

 

(b)   How to turn off the ERR LED and clear the error code (see Section 11.1.2)  

 

1)   To turn off only the ERR LED, write "1" to the LED off, Communication 

error clear request (address: 0

H

/1

H

). 

2)   To turn off the ERR LED and clear the error code, turn ON the ERR. 

clear request (YE/YF). 

(Example)  To perform the ERR LED OFF and the error code clear on the 

CH1 side 

 

OUTPUT instruction
Complete 1

 

 

Содержание MELSEC QJ71C24

Страница 1: ......

Страница 2: ......

Страница 3: ...for each station The communication error may result in an accident due to 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...

Страница 4: ...unction of the module Installation Precautions CAUTION Use the programmable controller in an environment that meets the general specifications contained in the user s manual of the CPU module to use Using this programmable controller in an environment outside the range of the general specifications may cause electric shock fire malfunction and damage to or deterioration of the product While pressi...

Страница 5: ...ernal devices Tighten the terminal screws within the range of specified torque If the terminal screws are loose it may result in short circuits or malfunction If the screws are tightened too much it may cause damage to the screw and or the module resulting in fallout short circuits or malfunction When removing the communication cable or power supply cable from the module do not pull the cable When...

Страница 6: ...tion of the module If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damages to the screws and or the module resulting in the module falling out short circuits or malfunction Always make sure to touch the grounded metal to discharge the electricity charged in the body etc before touching the module Failure to ...

Страница 7: ...e of the PRODUCT in y 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 y 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 y Aircraft or Aerospace...

Страница 8: ...tsubishi 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 ...

Страница 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...

Страница 10: ... 1 11 3 11 3 1 to 11 3 3 and 11 3 5 to 11 3 22 Appendixes 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 11 3 4 11 3 5 Sections 11 3 5 to 11 3 20 11 3 7 to 11 3 22 Apr 2011 SH NA 080006 P Correction SAFETY PR...

Страница 11: ...nations of Programmable Controller CPU and External Device and Available Functions 2 5 2 3 For Use in Multiple CPU System 2 9 2 4 Use with Basic Model QCPU 2 10 2 5 Use with Redundant CPUs 2 11 2 6 Use on MELSECNET H Remote I O Stations 2 13 2 7 Use with C Controller Module 2 17 2 8 Checking the Function Version Serial No and Software Version 2 18 3 SPECIFICATIONS 3 1 to 3 42 3 1 Performance Speci...

Страница 12: ...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...

Страница 13: ...Protocol 8 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 executioin 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 Install...

Страница 14: ... 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 module 11 1 11 1 2 Initializing error information of the serial ...

Страница 15: ... 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 the QJ71C24N R2 R4 App 7 Appendix 2 QnA A Series Module App 8 Appendix 2 1 Functional Comparison with the Q series C24 and the QnA A Series Modules App 8 Appendix 2 2 Using Programs Design...

Страница 16: ...ata 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 When deleting user frame App 57 Appendix 9 12 When changing the communication protocol and transmission setting App 59 Appendix 10 Setting Value Recording Sheet App 62 INDEX ...

Страница 17: ...port function This manual explains the function and usage of the protocol FB support function that supports the creation of the data communication program of the module and set up of each parameter sold separately SH 080393E 13JU46 GX Configurator SC Version 2 Operating Manual Pre defined protocol support function This manual explains the pre defined protocol support function and usage and the pro...

Страница 18: ... 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...

Страница 19: ...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...

Страница 20: ...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...

Страница 21: ...EHCPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU Q100UDEHCPU Basic model QCPU Generic term for Q00JCPU Q00CPU Q01CPU High Performance model QCPU Generic term for Q02CPU Q02HCPU Q06HCPU Q12HCPU Q25HCPU Process CPU Generic term for Q02PHCPU Q06PHCPU Q12PHCPU Q25PHCPU Redundant CPU Generic term for Q12PRHCPU Q25PRHCPU Universal model QCPU Generic term for Q00UJCPU Q00UCPU Q01UCPU Q02UCPU Q03UDCPU Q04UDHCPU Q06...

Страница 22: ...on with each external device thermal regulator barcode reader etc can be set easily the steps for creating transmission control programs appropriate to the external device can be reduced Also the volume of the programs written to a programmable controller CPU can be reduced because protocol setting data are written to a flash ROM The debugging support function allows monitoring and analysis of com...

Страница 23: ...A conversion modules High speed counter module Ethernet interface module Computer link module and serial communication module Switch setting Generic term for intelligent function module switch setting UINI Abbreviation for ZP UINI User s Manual Application or Application MELSEC Q L Serial Communication Module User s Manual Application User s Manual Basic or Basic Q Corresponding Serial Communicati...

Страница 24: ...ication method for accessing to the programmable controller CPU from an opposite device This is called the MC protocol in this manual There are two communication methods one uses ASCII code data and the other uses binary code data Details are explained in the Reference Manual Message send function Printer function This function registers character data messages to be sent to external devices mainl...

Страница 25: ...explained in the Reference Manual QnA compatible 4C frame Format 5 One of the message formats for the serial communication module for performing communication using the MC protocol and binary code data This is the same message format as the communication frame using the protocol for the QnA series serial communication modules QnA compatible 4C frame Format 5 QnA extension frame Format 5 Details ar...

Страница 26: ...85 communication 2 QJ71C24N R2 or QJ71C24 R2 QJ71C24N R2 serial communication module or QJ71C24 R2 serial communication module 1 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 QJ71C24N R4 Plate terminal for connecting a braided shield cable 4 SW2D5C QSCU E GX...

Страница 27: ... Programmable 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 ...

Страница 28: ... 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 for the external device to be created regardless of MC protocol s transmitting receiving procedure ...

Страница 29: ...ion using the ASCII BIN conversion function ASCII BIN conversion Binary data Q series C24 Binary data ASCII data QJ71E71 RUN INIT OPEN SD ERR COM ERR RD 10BASE T 12V 12G 10BASE RS 232 MODE RUN ERR USER BAT BOOT CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 RS 232 USB Q25HCPU POWER MELSEC PULL MITSUBISHI QJ71C24 d It is necessary to create a sequence program for communication c...

Страница 30: ...um check code while the occurrence of a reception error at an external device can be checked via an ACK NAK response ENQ Sum check code Any data ACK Data length NAK Error code Sending completed normally Sending completed abnormally QJ71E71 RUN INIT OPEN SD ERR COM ERR RD 10BASE T 12V 12G 10BASE RS 232 MODE RUN ERR USER BAT BOOT CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 RS ...

Страница 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...

Страница 32: ... the inverter station No set in device D0 is sent and an operating mode value is stored in device D100 RS 232 CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 QJ71C24N CPU D0 D100 D0 D100 FREQROL A700 Device Inverter station No Header Inverter station No Check code Terminator Operating mode value Inverter station No is set in device D0 Operating mode value is stored in device D10...

Страница 33: ...able controller CPU monitoring function can be used in communication using the MC or non procedure protocol Data Notification message Modem QJ71E71 RUN INIT OPEN SD ERR COM ERR RD 10BASE T 12V 12G 10BASE RS 232 MODE RUN ERR USER BAT BOOT CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 RS 232 USB Q25HCPU POWER MELSEC PULL MITSUBISHI QJ71C24 QJ71E71 RUN INIT OPEN SD ERR COM ERR RD...

Страница 34: ...operations such as monitoring the programmable controller CPU can be performed Operations such as monitoring the programmable controller CPU can be performed by setting the communication protocol of the Q series C24 interface to which a GOT is connected to 0 with the switch setting using a GX Developer c Simultaneous connection of GX Developer and GOT It is possible to connect a PC with GX Develop...

Страница 35: ... CPU No 1 2 Module controlled by CPU No 2 External device Communication through GX Developer Communication using MC protocol Setting from GX Developer Peripheral device 1 2 1 1 2 3 4 C24 Q series C24 control CPU Q series C24 non control CPUs b When a Q series C24 CPU of function version B is used in a multiple CPU system the following forms of data communication can be performed with the Q series ...

Страница 36: ...le to access the control CPU and non control CPUs of the station to be accessed even if the relay station and the accessed station are multiple CPU systems Example The QnA compatible 4C frame should be performed for access to non control CPUs when communicating using the MC protocol However the available functions differ depending on the QCPU to be accessed whether it is a control CPU or a non con...

Страница 37: ...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...

Страница 38: ...series C24 The programmable controller CPU information is information about the access target CPU type used in MC protocol communications Section 11 1 7 Transmission of the programmable controller CPU monitoring information through combined use of the modem function When the programmable controller CPU monitoring function is active this function sends the monitoring information of the programmable...

Страница 39: ...ication Reference Manual Communication data monitoring function This function allows the monitoring of communication data transmitted on the communication network of the Q series C24 and an external device User s Manual Application Operating Manual Protocol FB support function UINI instruction The UINI instruction allows change of the mode transmission specifications and host station No of the Q s...

Страница 40: ... power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Applicable CPU module Base unit 2 CPU type CPU model No of modules 1 Main base unit Extension base unit Q00JCPU Up to 8 Q00CPU Basic model QCPU Q01CPU Up to 24 Q02CPU Q02HCPU Q06HCPU Q12HCPU High Perform...

Страница 41: ...module 6 Q12DCCPU V Up to 64 4 Applicable N A 1 Limited within the range of I O points for the CPU module 2 Can be installed to any I O slot of a base unit 3 Use a QJ71C24N R2 R4 of function version B or later whose serial No first five digits is 10042 or later 4 Use a Q series C24 of function version B or later 5 For safety CPUs extension base units are not connectable 6 Pre defined protocol comm...

Страница 42: ...xtension base unit of remote I O station QJ72LP25 25 QJ72LP25G QJ72LP25GE QJ72BR15 Up to 64 Applicable N A 1 Limited within the range of I O points for the network module 2 Can be installed to any I O slot of a base unit REMARKS The Basic model QCPU module or C Controller module cannot create the MELSECNET H remote I O network Pre defined protocol communication is not available for MELSECNET H rem...

Страница 43: ... Multiple CPU system Version 8 76E or later Version 2 17T or later Single CPU system Q02U Q03UD Q04UDH Q0 6UDHCPU Multiple CPU system Version 8 48A or later Version 2 12N or later Single CPU system Q10UDH Q20UDHCPU Multiple CPU system Version 8 76E or later Version 2 17T or later Single CPU system Q13UDH Q26UDHCPU Multiple CPU system Version 8 62Q or later Version 2 12N or later Single CPU system ...

Страница 44: ...own below a External device and Q series C24 with 1 1 system configuration RS 232 422 QJ71E71 RUN INIT OPEN SD ERR COM ERR RD 10BASE T 12V 12G 10BASE RS 232 MODE RUN ERR USER BAT BOOT CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 RS 232 USB Q25HCPU POWER MELSEC PULL MITSUBISHI QJ71C24 b External device and Q series C24 with n 1 system configuration RS 485 QJ71E71 RUN INIT OPEN...

Страница 45: ...R BAT BOOT CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 RS 232 USB Q25HCPU POWER MELSEC PULL MITSUBISHI QJ71C24 QJ71E71 RUN INIT OPEN SD ERR COM ERR RD 10BASE T 12V 12G 10BASE RS 232 MODE RUN ERR USER BAT BOOT CH 2 SDA SG SDB FG RDA FG RDB RS 422 485 CH1 CH2 CH1 2 1 3 4 5 6 7 RS 232 USB Q25HCPU POWER MELSEC PULL MITSUBISHI QJ71C24 QJ71E71 RUN INIT OPEN SD ERR COM ERR RD 10BAS...

Страница 46: ... write Programmable controller CPU status control remote RUN STOP etc Reference On demand function Application Global function Accessing the programmable controller of other stations in the CC Link IE Controller Network CC Link IE Field Network MELSECNET H MELSECNET 10 Ethernet Reference Programmable controller CPU monitoring function Application b Communication using the non procedure protocol Av...

Страница 47: ...uration Function 1 1 n 1 1 n m n Reference section Chapter 8 Data transmission reception 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 ...

Страница 48: ...ing GX Developer Communication using GX Developer Communication using MC protocol External device Q series C24 of function version B Multiple CPU system 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 ...

Страница 49: ...ications using dedicated instructions Communications via public line etc modem function Remote password check 2 DC code control including Xon Xoff control Transmission 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 N...

Страница 50: ...reate programs with the FROM TO instructions For sample program using the FROM TO instructions refer to 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 avai...

Страница 51: ...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 ...

Страница 52: ...Communications using the MC protocol 1 Programmable controller CPU monitoring Programmable controller CPU monitoring function 2 Communications using non procedure 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 usin...

Страница 53: ... 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...

Страница 54: ...area of the buffer memory Appendix 9 6 BUFRCVS No method Data cannot be received using an interrupt program PRR Appendix 9 7 CSET Initial setting Perform programming using the REMFR REMTO instruction and I O signal 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 Appendix 9 9...

Страница 55: ...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...

Страница 56: ...e functions parameter setting and use of interrupt programs For details refer to the C Controller Module User s Manual Hardware Design Function Explanation 2 Access from GX Developer to a programmable controller CPU on another station A programmable controller CPU on another station is not accessible via the Q series C24 controlled by a C Controller module For details refer to the C Controller Mod...

Страница 57: ...ommunication via modem function Callback Function version B or later whose first 5 digits of the serial No are 03043 Version 7 or later Version 1 0 or later Versions prior to SW0D5C QSCU E 40E are not usable 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 procedure and non recepti...

Страница 58: ...ystem 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 Version 1 31H or later Execution of the protocol selected from the pre defined protocol library Version 2 18U or later Execution of the created or edited protocol Function versi...

Страница 59: ...he side face of the Q series C24 Serial No Upper 5 digits Function version Relevant regulation standards b Checking on the front of the module The serial No on the rating plate is also indicated on the front of the module lower part It is not indicated on the front of the module if the Q series C24 is QJ71C24 or QJ71C24 R2 Serial No 100119000000000 B REMARKS Serial No labelling on the front of the...

Страница 60: ...y Since the Q series C24 does not support the production number display is displayed POINT The serial No displayed in the Product Information List of GX Developer may be different from the one on the rating plate and the front of the module The serial No on the raging plate and the front of the module indicates the management information on the product The serial No in the Product Information List...

Страница 61: ...re version of GX Configurator SC select Help and then Product information from GX Developer Software version 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 ...

Страница 62: ... 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 28800 38400 57600 11520...

Страница 63: ...ntelli 32 points 3 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 Recommended cable 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...

Страница 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...

Страница 65: ...S RTS signal as shown 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 ...

Страница 66: ...24 can be specified by turning ON OFF the corresponding bit in RS and 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 control...

Страница 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 ...

Страница 68: ...external device 2 RDA RDB signals These are signals for the Q series C24 to receive data from the external device 2 Terminating 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...

Страница 69: ...c 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 AWG22 to AWG16 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 MPC...

Страница 70: ...RDA RDB POINT When there is a pull up or pull down resistor at the external device 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 thi...

Страница 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...

Страница 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 SDA SDB RDA RDB Q series C24 SDA SDB RDA RDB Q series C24 Receive data Send data SDA SDB RDA RDB Output control input External device or converter Receive data Send data Output control input Receive data Send data Output control input 2 When the Q series C24...

Страница 73: ...ta which has been programmed for non procedure protocol communication 2 When the same message format is used for 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...

Страница 74: ...2 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 POINT The echo back enable disable setting must be done before sending data Any setting changed during transmission does not take effect ...

Страница 75: ...rammable controller CPU monitoring function ASCII data transmission reception by ASCII BIN conversion Communication using non procedure protocol 2 Data transmission reception by specifying transparent code User s Manual Application Data transmission reception in any format Chapter 7 Data reception by interrupt programs ASCII data transmission reception by ASCII BIN conversion Communication using b...

Страница 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...

Страница 77: ...ule table User s Manual Application For data communication CPRTCL Executes the protocol setting data written to the flash ROM by Pre defined protocol support function Chapter 10 PUTE Stores user frames in flash ROM of the Q series C24 writing Setting value registration reading GETE Reads user frames stored in flash ROM of the Q series C24 Performs programmable controller CPU monitoring registratio...

Страница 78: ...ing Set the programmable controller CPU monitoring function Section 9 4 10 System setting CHn Transmission user frame No designation system setting Set the user frame number to be transmitted etc Section 9 4 11 Can be used via online operation Can be used via offline operation System setting default Reset the setting values in the buffer memory to their default values Section 9 4 12 System setting...

Страница 79: ...ion page Remarks 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 ...

Страница 80: ... Communication rate setting Switch 2 CH1 Communication protocol setting CH2 Transmission setting Switch 3 CH2 Communication rate setting Switch 4 CH2 Communication protocol setting Switch setting Switch 5 Station number setting Section 4 5 2 Interrupt pointer Start No CPU side Interrupt pointer No of units Start I O No Interrupt pointer setting Performs setting for reading reception date with inte...

Страница 81: ...ception data read completion ON Data read completed X9 1 CH2 Transmission processing ON Transmission in progress Section 9 6 4 Section 9 6 5 Section 9 6 6 Y9 CH2 Mode switching request ON Requesting switch Application XA 2 CH2 Reception data read request ON Requesting read YA XB 2 CH2 Reception abnormal detection ON Abnormal detection Section 6 1 Section 7 1 Section 9 6 5 Section 9 6 6 YB XC For s...

Страница 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...

Страница 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...

Страница 84: ... 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 controller C...

Страница 85: ...rator 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 desig...

Страница 86: ... 0 No designation Other than 0 Registered data maximum 80 bytes 0 RW Not allowed Section 9 4 1 Section 9 4 2 Section 9 4 12 Section 9 4 13 Modem connection channel designation 46 2EH 0 Non 1 CH1 2 CH2 Notification execution designation 47 2FH 0 Do not execute 1 Execute 0 Number of connection retries designation 48 30H 1 to 5 Number of retries 3 Connection retry interval designation 49 31H 90 to 30...

Страница 87: ...ohibited 1 Allowed Communication rate b8 to b11 50 bps to 230400 bps For system b12 to b14 All 0 145 91H 305 131H For designation of mode switching Transmission specifications after switching b15 designation 0 Match settings in GX Developer 1 Match settings in this area 0 RW Not allowed Section 4 5 2 User s Manual Application 146 92H 306 132H Signal setting RS and DTR signal status designation 0 O...

Страница 88: ...esignation of on demand function Data length designation 0000H to 3400H 0 RW Section 9 4 6 Reference Manual 162 A2H 322 142H Transmission buffer memory head address designation 400H to 1AFFH 2600H to 3FFFH CH1 400H CH2 800H 163 A3H 323 143H For designation of transmission area Transmission buffer memory length designation 0001H to 1A00H 200H RW Received data count designation 164 A4H 324 144H 0001...

Страница 89: ... below 287 11FH 447 1BFH Transparent code b0 to b7 00H to FFH Transparent code Additional code b8 to b15 00H to FFH Additional code Receive transparent code designation 0000H No designation Other than 0000H Designated below 288 120H 448 1C0H For designation of transparent code Transparent code b0 to b7 00H to FFH Transparent code Additional code b8 to b15 00H to FFH Additional code Section 9 4 5 U...

Страница 90: ...istered default registration frames for system Depen ds on registra tion status R Not allowed Section 9 6 10 User s Manual Application 543 21FH Use prohibited System area Flash ROM system parameters write result 544 220H For confirmation of flash ROM write result 0 Normal completion Other than 1 error code Abnormal completion RW Not allowed Section 9 6 10 Modem function error code error code when ...

Страница 91: ...t 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 Section 4 5 2 Section 9 6 3 Section 11 1 5 Transmission setting status switch setting Operation setting b0 Data bit b1 Parity bit b2 Odd even parity b3 Stop bit b4 Sum check code b5 Write during RUN b6 Setting modification b7 0 Ind...

Страница 92: ...t to an external device Receive data count Number of data for which read is requested 1536 600H 2560 A00H 0 No receive data 1 or more Number of receive data Receive data 1537 to 2047 601H to 7FFH 2561 to 3071 A01H to BFFH Transmission receive area Data received from an external device 0 RW 2 Not allowed Chapter 6 Chapter 7 Section 9 4 5 Section 9 4 7 3072 to 6911 C00H to 1AFFH For user User free a...

Страница 93: ... 4 4 Not allowed Refer to left description 8183 to 8191 1FF7H to1FFFH Use prohibited System area Flash ROM write allow prohibit designation 8192 2000H System designation 0 Write prohibited 1 Write allowed 0 RW Not allowed Section 9 4 13 8193 2001H Callback function designation 0H Auto 1H Callback connection during fixed Setting 4 3H Callback connection during designated number Setting 5 7H Callbac...

Страница 94: ...eries C24 is a set 1002H Monitoring stopped Q series C24 is set 100FH Monitor setting error Q series C24 is a set 0 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 designation 400H to 1AFDH 2600H to 3FFDH CH1 2600H CH2 3300H 3 8219 201BH 8...

Страница 95: ...tered word blocks designation 8269 204DH 8225 214DH 0 No designation 1 to 10 Number of blocks of word devices Number of registered bit blocks designation 8270 204EH 8226 214EH 0 No designation 1 to 10 Number of blocks of bit devices It is possible to designate a maximum of 10 blocks in total Programmable controller CPU abnormal monitoring designation 8271 204FH 8527 214FH 0 Do not monitor 1 Monito...

Страница 96: ...H to 801FH Data No for connection 0 R Allowed User s Manual Application 8425 to 8447 20E9H to 20FFH 8681 to 8703 21E9H to 21FFH Use prohibited System area 8448 2100H Use Prohibited System area 8449 2101H Data No for callback designation 1 0BB8H to 0BD5H 8001H to 801FH Data number for callback 8450 2102H Data No for callback designation 2 8451 2103H Data No for callback designation 3 8452 2104H Dat...

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

Страница 98: ... Setting type value is 0 0 R 16521 4089H Protocol setting data error information Element No 1 to 32 Element No 65535 Unidentified Valid when the Setting type value is 0 0 R Not allowed Section 11 2 1 16522 to 16527 408A H to 408FH Use prohibited System area 16528 4090H Number of registered protocols 0 No registration 1 to 128 Number of registrations 0 R Chapter 8 16529 to 16536 4091H to 4098H Chec...

Страница 99: ...execution log write pointer 0 No log 1 to 32 Latest protocol execution log No 0 R Not allowed Section 8 1 4 16642 4102H 18434 4802H 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 16643 to 16659 4104H to 4113H 18436 to 18451 4804H to 4813H Checking protocol execution logs Execution log 1 External device model 0 Pro...

Страница 100: ... Section 8 1 4 Operating Manual Pre defined protocol support function Section 16681 4129H 18473 4829H System area Use prohibited 16682 412AH 18474 482AH 0 No log Upper 8 bits Month Lower 8 bits Last 2 digits of year Month 01H to 12H Year 00H to99H last 2digits b15 b8 b7 b0 to to 0 R 16683 412BH 18475 482BH 0 No log Upper 8 bits Hour Lower 8 bits Day Day 01H to 31H b15 b8 b7 b0 Hour 00H to 23H to t...

Страница 101: ... Not allowed Section 8 1 4 Operating Manual Pre defined protocol support function 18178 to 18429 4702H to 47FDH 19970 to 20223 4E02H to 4EFFH 20224 to 20479 4F00H to 4FFFH Use prohibited System area 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 3...

Страница 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 1 2 3 4 5 6 7 8 9 10 Name 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 ...

Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...

Страница 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...

Страница 105: ... 4 7 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...

Страница 106: ...1C24 R2 is almost the same as that of the QJ71C24N R2 except for the model name part and serial number plate Name Contents 1 Display LED Display LED For details see 1 2 RS 232 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 RS4...

Страница 107: ...ansmitted CH1 RD Reception status display Data being received Data not received Valid NEU 3 Neutral status on the CH2 side display 2 Waiting 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 CH2 RD Reception status display Data being received MC command message not recei...

Страница 108: ... 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 terminal Four plate terminals are included to connect the FG terminals of both stations See section 4 4 2 6 3 Wh...

Страница 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 Connection cable shield Connect to the external device FG terminal or the Q series C24 connector housing Do not short the communication cable FG signal and the SG signal When the...

Страница 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...

Страница 111: ...lly POINT 1 When an RS 232 to RS 422 converter is used at a terminal station on the line a terminal resistor must be connected and set at the converter 2 When connecting the external device s and serial communication module s with RS 232 to RS 422 converter s the converters must support the system configurations 1 1 1 n and m n 3 To the RS 422 485 interface of the serial communication module an RS...

Страница 112: ... 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...

Страница 113: ...ce 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 330 Ω 110 Ω Brown Orange Orange Brown Brown Brown d When connecting the terminal ...

Страница 114: ...RS 422 converters or similar device is used 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 t...

Страница 115: ...DA 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 c External device and Q series C24 with n 1 multidrop system configuration 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...

Страница 116: ... 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 2 Connection example 2 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...

Страница 117: ...he 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 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 setting Set the co...

Страница 118: ...a according to the following table Switch number Description Remarks b15 to b8 b7 to b0 Switch 1 CH1 Communication rate setting CH1 Transmission setting See a and b Switch 2 CH1 communication protocol setting See c b15 to b8 b7 to b0 Switch 3 CH2 Communication rate setting CH2 Transmission setting See a and b Switch 4 CH2 Communication protocol setting See c Switch 5 Station number setting See d F...

Страница 119: ...ty 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 one character in...

Страница 120: ... 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...

Страница 121: ...cted 3 Set 00H to the interface for which GX Developer connection is set in the communication protocol setting Serial communication module will operate at the communication speed set on the 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...

Страница 122: ...ettings and connect the cables Make the following switch settings from the 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 serie...

Страница 123: ...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...

Страница 124: ...interface The header information is also sent during m n connection b 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 i...

Страница 125: ...ring 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 Manua...

Страница 126: ...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 ...

Страница 127: ...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...

Страница 128: ...n 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 Section 9 6 2 User s Manual Application CH1 CH2 communication protocol status 1 252H 262H Transmission status 1 253H 263H RS 232 control...

Страница 129: ...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...

Страница 130: ...heck 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 to OFF 6 If an e...

Страница 131: ...the NEU LED 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 operati...

Страница 132: ... of module and test again If there is no error in the mounting status of module consult your nearest dealer or branch office 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 on G...

Страница 133: ...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...

Страница 134: ...mine the power supply capacity Module is not mounted correctly Reinstall the module properly b4 C N 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 b15 CH1 ERR CH1 side communication error Reconnect the ...

Страница 135: ... 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 powe...

Страница 136: ...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...

Страница 137: ...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 ...

Страница 138: ... 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...

Страница 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...

Страница 140: ...en accessing 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...

Страница 141: ...xample 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 Statio...

Страница 142: ... 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 aga...

Страница 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...

Страница 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...

Страница 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...

Страница 146: ...ived data count for receiving fixed length messages The receive complete code and received data count used for data reception can be changed to any setting values chosen by the user using GX Configurator SC Programmable controller CPU 1 Reception data read request Receiving area buffer memory Receive data Receive data count 10 STX D F H 02H 48H 46H 44H B 42H 0AH A 41H G 47H E 45H C 43H ETX 03H 00H...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 151: ...efinable 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 pr...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 160: ...ible 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 be...

Страница 161: ...clear processing 2 Dedicated instruction for sending execution disabled too 3 1 Example The following is an example program for clearing received data with the FROM TO instructions while send receive processing is performed using dedicated instructions OUTPUT INPUT 1 1 1 OUTPUT in exection INPUT in exection 1 Add the dotted line portion to the sequence program when the function version A Q Series ...

Страница 162: ...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...

Страница 163: ...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 ...

Страница 164: ...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...

Страница 165: ... 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...

Страница 166: ...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...

Страница 167: ... 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 ...

Страница 168: ... 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 ...

Страница 169: ...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...

Страница 170: ...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...

Страница 171: ...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 ...

Страница 172: ...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...

Страница 173: ... 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...

Страница 174: ...6 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 ...

Страница 175: ...g 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 computer ...

Страница 176: ...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...

Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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 shown in the table below Signal name Code hexadeci...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 190: ... s Manual Application 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 199: ...sion 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 The 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...

Страница 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...

Страница 201: ...te 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 trans...

Страница 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...

Страница 203: ... 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 transm...

Страница 204: ...RS 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 ...

Страница 205: ...d 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 exte...

Страница 206: ...ume in a programmable controller CPU can be reduced 1 Data communication using the pre defined protocol QJ71C24N R2 R4 External device Using non procedure protocol communication Enomous amounts of sequence programs must be created Executable with one dedicated instruction Using pre defined protocol communication Sendcom manddefinitionprogram Datatransmissionprocessingprogram Communication format d...

Страница 207: ...otocols 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 is 127 or less when 1 The number of registered packets reached the maximum 25...

Страница 208: ...rocedure 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 t...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 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 ...

Страница 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...

Страница 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...

Страница 219: ... FREQROL A700 CPU Device Check code D300 Inverter station number Header Check code Operation mode value Store the operation mode value in the CPU device D201 Terminator Header Terminator 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 m...

Страница 220: ... 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 Star...

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

Страница 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 ...

Страница 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 2 Inverter Station Number Enter D200 NOR RD Data 4 Digits Data 3 ...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 227: ...ngs 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 the 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...

Страница 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...

Страница 229: ...4 9 CHn PLC CPU monitoring system setting Set the programmable controller CPU monitoring function Section 9 4 10 System setting CHn Transmission user frame No designation system setting Set the user frame number to be transmitted etc Section 9 4 11 Can be used via online operation Can be used via offline operation System setting default Reset the setting values in the buffer memory to their defaul...

Страница 230: ... function module utility Insufficient system resource may cause the screen to be 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 utili...

Страница 231: ... Q10UDEH Q13UDEH Q20UDEH Q26UDEH Q50UDEH Q100UDEHCPU 4096 2048 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 remote I O station Calcu...

Страница 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 ...

Страница 233: ...ome Basic Operating System English version MicrosoftR Windows VistaR Home Premium Operating System English version MicrosoftR Windows VistaR Business Operating System English version MicrosoftR Windows VistaR Ultimate Operating System English version MicrosoftR Windows VistaR Enterprise Operating System English version MicrosoftR WindowsR 7 Starter Operating System English version MicrosoftR Windo...

Страница 234: ...r more WindowsR XP PentiumR 300MHz or more 128MB or more Windows VistaR PentiumR 1GHz or more 1GB or more WindowsR 7 PentiumR 1GHz or more 1GB or more POINT The functions shown below are not available for WindowsR XP Windows VistaR and WindowsR 7 If any of the following functions is attempted this product may not operate normally Start of application in WindowsR compatible mode Fast user switching...

Страница 235: ...the menu 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 PC 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 POINT POINT T...

Страница 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...

Страница 237: ...art 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 o...

Страница 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 ...

Страница 239: ... Start Setting screen Explanation of items 1 Activation of other screens 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 Enter ...

Страница 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...

Страница 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...

Страница 242: ... 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 1...

Страница 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 ...

Страница 244: ...e 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 useful for documentation of users CH 2 QCPU Q25HCPU MODE RUN ERR USER BAT BOOT RS 232 USB QJ71C24N B 1 2 4 B A A 3 5 GX Developer ...

Страница 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...

Страница 246: ...Section 9 4 12 Flash ROM write allow prohibit setting Section 9 4 13 Can be used only via online operation 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 ...

Страница 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 CH1 CH2 User frame 1 to 200 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...

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

Страница 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 Buffer memory address Item CH1 CH2 Reference section Pager receiver designation Telephone number External line dialing Line types Wait time for message transmission units s Message Data for modem connection 1 to 30 Commen...

Страница 250: ...n 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 time of notification units s...

Страница 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 ...

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

Страница 253: ...en CH MC protocol system setting Setting screen Setting items Buffer memory address Item CH1 CH2 Reference section Buffer memory head address designation A0H 140H On demand function designation Data length designation A1H 141H First frame No designation 1st A9H 149H First frame No designation 2nd AAH 14AH Last frame No designation 1st ABH 14BH On demand user frame designation Last frame No designa...

Страница 254: ... A4H 144H Receive complete code designation A5H 145H Chapter 6 User frame use enable disable designation ADH 14DH 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 Receive user frame designation Exclusive format 1 received data count 1st to 4th 202...

Страница 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 Buffer memory address Item CH1 CH2 Reference section Simultaneously transmission data valid invalid designation 9BH 13BH Section 7 3 ...

Страница 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 Buffer memory address Item CH1 CH2 Reference section Execution log options 40E2H 40F2H Section 8 1 2 ...

Страница 257: ...g 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 ...

Страница 258: ...on 204EH 214EH PLC CPU abnormal monitoring designation 204FH 214FH Monitoring device designation 2050H 2150H Head device No designation 2051H to 2052H 2151H to 2152H Read point designation 2053H 2153H Monitoring condition designation 2054H 2154H Monitoring condition value designation 2055H 2155H Transmission pointer designation 2056H 2156H Output count designation 2057H 2157H No 1 block monitoring...

Страница 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 Buffer memory address Item CH1 CH2 Reference section Output frame No designation 1st to 100th BAH to 11DH 15AH to 1BDH User s Manual Application ...

Страница 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 ...

Страница 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 ...

Страница 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 ERR clear request Communication error information error code information Section 9 6 11 X Y monitor test Section 9 6 1 Modem function monitor test Section 9 6 2 Transmission contro...

Страница 263: ... Reference section X00 CH1 Transmission normal completion 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 write request Y1...

Страница 264: ...er 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 Modem initialization completi...

Страница 265: ...lid 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 22FCH Accumulated count o...

Страница 266: ... 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 User s Manual Application Operation procedure Step 1 Display the Modem function monitor...

Страница 267: ...en CH Transmission control monitor test Monitor Test screen Monitor Test items Buffer memory address Item CH1 CH2 Reference section RTS RS DSR DR DTR ER CD CS CTS RS 232 control signal status RI CI 254H 264H Section 4 4 1 Communication protocol status 252H 262H Operation setting Data bit Parity bit enable disable Even odd parity Stop bit Sum check code Write during RUM Transmission status Setting ...

Страница 268: ...ignation 96H 136H User s Manual Application RTS RS designation 92H 132H DTR ER designation 92H 132H Section 3 2 1 Transmission control start free area 2012H 2112H Transmission control end free area 2013H 2113H User s Manual Application Send Recv data monitoring designation 2018H 2118H Action for buffer full 2019H 2119H Stop by Timer 0 error 2019H 2119H Monitor buffer head address 201AH 211AH Monit...

Страница 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 ...

Страница 270: ...sion 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 Buffer memory head address designation A0H 140H On demand function designation Data length designation A1H 141H Chapter 11 Reference Manual First frame No designation 1st A9H 149H First...

Страница 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 ...

Страница 272: ...mal 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 Chapter 6 User frame use enable disable designation ADH 14DH First frame No designation 1st to 4th AEH to B1H 14EH to 151H Last frame No designation 1st to 4th B2H to...

Страница 273: ...ion result 258H 268H Chapter 11 X00 CH1 Transmission normal completion X07 CH2 Transmission normal completion 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 Transmissio...

Страница 274: ...Monitor Test screen Monitor Test items Buffer memory address Item CH1 CH2 Reference section 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...

Страница 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 ...

Страница 276: ...d word blocks designation 204DH 214DH Number of registered bit blocks designation 204EH 214EH PLC CPU abnormal monitoring designation 204FH 214FH Monitoring device designation 2050H 2150H Head device No designation 2051H to 2052H 2151H to 2152H Read point designation 2053H 2153H Monitoring condition designation 2054H 2154H Monitoring condition value designation 2055H 2155H Transmission pointer des...

Страница 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 Buffer memory address Item CH1 CH2 Reference section Output frame No designation 1st to 100th BAH to 11DH 15AH to 1BDH User s Manual Application ...

Страница 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 ...

Страница 279: ...s C N status NAK status ACK status NEU LED status CH2 ERR LED status 202H Communication error clear request for CH2 and to turn LED off 1H CH1 Communication protocol setting No error CH1 Transmission speed setting error CH1 Mode switching error of setting change prohibit time 203H CH2 Communication protocol setting No error CH2 Transmission speed setting error CH2 Mode switching error of setting c...

Страница 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...

Страница 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 ...

Страница 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...

Страница 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 ...

Страница 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 ...

Страница 285: ...a 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...

Страница 286: ...neous 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 PUT...

Страница 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...

Страница 288: ...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 by an SPBUSY instruction 2 Designate the storage capacity of transmission data stored in D10 to D11 in the program e...

Страница 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...

Страница 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 CSET Dedicated instructions simultaneous execution error 7FF0H occurs in the dedicated instruction attempted later However simultaneous execution is available when channels to be used ar...

Страница 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 ...

Страница 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...

Страница 293: ...ber of the devices in which receive data is stored System Device name Set data 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...

Страница 294: ...on 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 a...

Страница 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...

Страница 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 ...

Страница 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...

Страница 298: ...cution 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 Since the dedicated instructions shown below use a different communication protocol from that for the BIDOUT instruction they are not used in the same channel ONDEMAND OUTP...

Страница 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...

Страница 300: ... data is stored User system D1 Head number of the devices in which receive data is stored System Device name Set data 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...

Страница 301: ... 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 Howe...

Страница 302: ...errors 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 Th...

Страница 303: ...PRTCL Command Executing condition Instruction code Command Un n1 n2 n1 n2 S D Un 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 executions 1 to 8 ...

Страница 304: ...er 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 S 17 Verification match receive packet number y 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 type is Send...

Страница 305: ...er instruction in the same channel Instruction 1 Availability of simultaneous execution Processing of simultaneous execution CPRTCL y 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 y Dedicated instructions simultaneous execution error 7FF0H occurs in the dedic...

Страница 306: ...he 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 follow...

Страница 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 ...

Страница 308: ...ed instruction CPRTCL instruction y The operation fails and the error code is stored in the execution result S 0 y 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 y If the cancellation is requested when protocols are not exe...

Страница 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 ...

Страница 310: ...ER DTR signal ON DTR ON 205 Turns ER DTR signal OFF DTR OFF 206 Turns RS RTS signal ON RS ON 207 Turns RS RTS signal OFF RS OFF c in this section 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 rec...

Страница 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 ...

Страница 312: ... error code and 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 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 in a device ...

Страница 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...

Страница 314: ...he dedicated instruction attempted later However simultaneous execution is available when channels to be used are not the same 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...

Страница 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...

Страница 316: ...s reception data on the Q series C24 side It is assumed that 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 OFF 10 CH1 ERR Error occurrence status on CH1 side Switch setting error Mode switching error Transmission error Reception error On de...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 325: ... 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 When checking 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 addres...

Страница 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 ...

Страница 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...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 332: ...g problems may occur Accessible device range is narrowed Error code 7140H Some of commands and or devices cannot be used Error code 7142H 714DH etc 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 ac...

Страница 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...

Страница 334: ...rror detected by the CPU Refer to Appendix of 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 7102H System error The OS of the Q series C24 detected some erro...

Страница 335: ...tart data communications Stop the CPU and restart data communications 714BH 714CH System error The OS of the Q series C24 detected some error 1 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 informa...

Страница 336: ...ified by the corresponding command was designated PRO Check and correct the external device transmit message and restart data communications 7170H Number of access points exceeded the range PRO 7171H A device that cannot be designated was designated PRO 7172H A compatible 1C frame error Written number of monitoring points is incorrect For example 0 was designated PRO Check and correct the external...

Страница 337: ... Response monitoring time timer 1 value Default 5 seconds If an error has occurred in the CPU refer to the troubleshooting section of 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...

Страница 338: ...t 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 quant...

Страница 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...

Страница 340: ...value 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 Registration point word...

Страница 341: ...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 An ASCII code that cannot be converted to binary code was received Check and correct the external device transmit message and restart data communications An odd number of bytes of data was received during data communications using ASCII BIN conversion W...

Страница 342: ...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 The Q series C24 and an external device started transmitting simultaneously Process by agreement wi...

Страница 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...

Страница 344: ...e 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 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 received on the in...

Страница 345: ...of the Q series C24 detected some error 1 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 correcti...

Страница 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 07H Character error Rece...

Страница 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 ...

Страница 348: ... data number for connection CHn ERR Recheck the dialing number of the external line Section 3 4 4 7FD8H System error The OS of the Q series C24 detected some error 1 7FD9H External destination is connected to network or modem has not been initialized After the modem has been initialized connect to the network if the external destination is not connected to the network or report it Section 3 4 6 Se...

Страница 349: ... 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 abnormal completion processing ...

Страница 350: ...ished and lost Section 11 3 13 Data that cannot be decoded was transmitted and received Section 11 3 14 Communication errors occurred check according to Section 11 1 1 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 Section 11 3 16 Cannot communicate via modem 1 Cannot communicate with ISDN sub addr...

Страница 351: ... 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 ex...

Страница 352: ...back 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 installing only the Q series C24 to ...

Страница 353: ...le 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 RD does not blink even through an external device is transmitting a message...

Страница 354: ...eived 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 external device Note When the station No designation is local station after the header byte set for each protocol and format is received the Q series C24 ...

Страница 355: ... 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 Although a transmission request was made SD does not blink 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...

Страница 356: ...ength 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 communications by user frame Use the communication monitoring function to check the message from the external device Not...

Страница 357: ...on 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 action according to Section 11 3 12 or 11 3 13 The Q series C24 has cleared the data received before the protocol execution In Protocol detailed setting of GX Configurator SC Pre de...

Страница 358: ...s 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 Communication error signal NAK turned on 11 3 8 Communication error C N Symptom Cause Corrective action MC Bidirectional Non procedure Pre defined The Q series C24 cannot be installed in the CPU Change to a CPU to which the Q series C24 can be installed PC...

Страница 359: ...tion error signal C N turned on A command that cannot be transmitted during RUN sequence program parameters etc was transmitted or Disable write during RUN is set 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 Data does not match the parity bit setting Check the Q series C...

Страница 360: ...ssage 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 is 47H and is transmitted as the two bytes...

Страница 361: ...ller 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 receive buffer When the OS receive buffer...

Страница 362: ...he ERR LED is turned on an error code is stored in the following buffer memory Error code storage buffer memory Address Error cause CH1 CH2 Name Switch setting error Mode switching error 203H Switch setting error and mode switching error status On demand execution error 256H 266H On demand execution result Data transmission error 257H 267H Data transmission result Data receive error 258H 268H Data...

Страница 363: ...nal 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 Data length Data flow Complement calculation or Calculating range...

Страница 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...

Страница 365: ...lication 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 may be disrupted due to low line quality or instantaneous ...

Страница 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...

Страница 367: ...ng 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 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 connected correctly Check if the terminal resistor 110 or 330 in ...

Страница 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...

Страница 369: ...llback signals from the Q Series C24 There is an error in the GX Developer side s modem settings Set the modem s settings on Auto Reception 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 Callback connections from the GX Developer are refused by the Q Series C24 There is an error in the connection system s tele...

Страница 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 The setting value of the condition agreement transmission is incorrect Review the condition agreement transmission setting Does not operate in the cycle time designated in condition agreement transmission setting The cycle...

Страница 371: ...e Q series 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 Q series ...

Страница 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...

Страница 373: ... 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 ERR LED is lit The Q series C24 is powered off while data are written to the fl...

Страница 374: ... of device memory 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 Transmission...

Страница 375: ...nd EBH 1 Communication via public network etc modem function Automatic initialization of modem 1 Remote password check Callback 4 1 DC code control including Xon Xoff control Transmission 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 b...

Страница 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...

Страница 377: ...count designation Remote password mismatch notification accumulated count designation Auto modem initialization designation Callback function designation Callback denial notification accumulated count designation Modem function system setting Data No for callback designation 1 to 10 Section 9 4 4 Section 9 6 2 Transmission control and other monitoring tests RS 232 control signal status CS CTS RTS ...

Страница 378: ...ecution log options Section 8 1 2 9 4 9 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 Monitor test others PLC CPU information clear request Section 9 6 10 Section 11 1 7 Accumulated count of unlock process normal completion Accumulated count of unlock process normal completion Accumulated count of lock proce...

Страница 379: ...ting area C00H to 1AFFH For received data Reception area user setting area 2 2600H to 3FFFH Transmission area 400H to 5FFH 800H to 9FFH Transmission area user setting area C00H to 1AFFH For transmitting data Transmission area user setting area 2 2600H to 3FFFH Version 1 31H or later Protocol execution status 4041H 4051H Version 1 40S or later Predefined protocol function error code 4042H 4052H Ver...

Страница 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...

Страница 381: ...on Q series C24 QC24N QC24 UC24 C24 S8 Communication using MC protocol Communication in QnA compatible 3C frame 7 8 Communication in QnA compatible 4C frame 8 Communication in QnA compatible 2C frame 8 Communication in A compatible 1C frame Communication with ASCII code Communication in QnA compatible 4C frame Communication with binary code 7 8 Read write of QCPU device memory Batch read write of ...

Страница 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...

Страница 383: ...U which has been performed by 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 Ho...

Страница 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...

Страница 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...

Страница 386: ...al and access 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 d...

Страница 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...

Страница 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...

Страница 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 Sequence program Transmission command Output instruction Out...

Страница 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...

Страница 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...

Страница 392: ... user 0 1 2 3 4 5 6 7 MSD LSD 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 US K L ...

Страница 393: ...N except for the model name part and serial number plate R1 1 98 3 86 r1 3 R2 Outside cable diameter 4 10 2 Unit mm in 4 0 16 90 3 54 4 5 0 18 23 0 91 27 4 1 08 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 ...

Страница 394: ... 90 3 54 4 5 0 18 4 0 16 R2 98 3 86 1 Unit mm in Outside cable diameter 4 10 27 4 1 08 23 0 91 1 R2 Bending radius near connector Outside cable diameter 4 3 QJ71C24N R4 98 3 86 R3 1 r2 2 Unit mm in 27 4 1 08 23 0 91 90 3 54 11 5 4 0 16 0 45 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 extre...

Страница 395: ... Tel 052 361 2290 Fax 052 363 1050 System Sacom Co Ltd KS 1 KS 10P KS 485 http www sacom co jp The recommended products have been verified and satisfy our criteria When using any of these products use it so that it conforms to the recommended product s specifications standards 1 Combination between available converters and interfaces Q series C24 side connection interface System configuration with...

Страница 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 ...

Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...

Страница 398: ...aths operating 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 Ethernet communication Modem communication ME...

Страница 399: ...ized applications Programming language Development software Visual BasicR MicrosoftR Visual BasicR 6 0 MicrosoftR Visual BasicR NET 2003 MicrosoftR Visual Studio 2005 Visual BasicR MicrosoftR Visual Studio 2008 Visual BasicR Visual C R MicrosoftR Visual C R 6 0 MicrosoftR Visual C R NET 2003 MicrosoftR Visual Studio 2005 Visual C R MicrosoftR Visual Studio 2008 Visual C R VBScript Text editors and...

Страница 400: ...iteDeviceRandom Randomly writes data to devices LONG type ReadDeviceRandom2 Randomly reads data from devices SHORT type INT type WriteDeviceRandom2 Randomly writes data to devices SHORT type INT type SetDevice Sets one device LONG type GetDevice Acquires the data of one device LONG type SetDevice2 Sets one device SHORT type INT type GetDevice2 Acquires data of one device SHORT type INT type ReadBu...

Страница 401: ...BM 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 t...

Страница 402: ...control ActEasy IF ACT control for utility setting type b Program example For each development software the program examples are described below 1 Visual BasicR NET 2003 2 Visual C R NET 2003 3 Visual BasicR 6 0 4 Visual C R 6 0 1 When Visual BasicR NET 2003 is used Private Sub Command1_Click ByVal sender As System Object ByVal e As System EventArgs Handles Command1 Click Connection Dim rtn As Int...

Страница 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...

Страница 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...

Страница 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 ...

Страница 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...

Страница 407: ...NDIXES 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 ...

Страница 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 ...

Страница 409: ... 36 MELSEC Q APPENDIXES POINT When a function version A for the Q Series C24 is used add the partial circuit shown with 1 shown in the program example in Section 6 1 4 3 Communications are possible when M19 is ON ...

Страница 410: ...loper MELSECNET H remote I O net network No 1 QJ71LP21 25 Remote master station 2 Control target QJ71C24N 1 QJ72LP25 25 Remote I O station Station No 1 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 shown below 1 Network type MNET H Remote master 2 Starting I O No 0000H 3 Network No 1...

Страница 411: ...the timer constant K Baton pass status T0 T2 More than sequence scan time 4 Cyclic transmission status Parameter communication status T1 T3 T4 More than sequence scan time 3 Reason Not to stop the control even if the network detects an instantaneous error due to a faulty cable condition or noise interference Also the multipliers of 4 and 3 should only be considered as a guideline 3 REMFR REMTO ins...

Страница 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 Read command Changes the read command into pulses Abnormal completion...

Страница 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 Bit Switch No Position Designated value Description Setting value b0 OFF Operation setting Independent b1 ON Data bit 8 bits b2 OFF Parity bit No b3 OFF Even odd parity Odd ...

Страница 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...

Страница 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 Bit Switch No Position Designated value Description Setting value b0 OFF Operation setting Independent b1 ...

Страница 416: ...fer memory to D1 Normal reception completion Abnormal completion of REMFR instruction Turns ON the receive read completion signal Abnormal reception completion Reception result acquisition command Reads the data reception result of the buffer memory to D8000 Normal completion of REMFR instruction Abnormal completion of REMFR instruction Turns ON the receive read completion signal Turns OFF the rec...

Страница 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 Bit Switch No Position Designated value Description Setting value b0 OFF Operation setting Independent b1 OFF Data bit 7 bits b2 OFF Parity bit No b3 OFF Even odd parity Odd b4 OFF Stop bit 1 bit b5 OFF Sum check co...

Страница 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...

Страница 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 Bit Switch No Position Designated value Description Setting value b0 OFF Operation setting Indepen...

Страница 420: ...l 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 flag Resets the receive clearing flag Resets the completion check flag Sets the communication disable flag Receive clear processing execution status acqu...

Страница 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 Bit Switch No Posit...

Страница 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 Registered data ...

Страница 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...

Страница 424: ...EMTO 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 se...

Страница 425: ...to the receive buffer memory head address Sets 200H to the receive buffer memory length Transfers the setting value to the receive area designation area of the buffer memory Initial setting completion Abnormal completion of REMTO instruction Initial setting command Setting of word byte units designation Setting of on demand function designation and transmission area designation Setting of receive ...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 434: ...App 61 App 61 MELSEC Q APPENDIXES Resets the changing flag Sets the change completion flag Reexamines the modifications REMFR instruction abnormally completed ...

Страница 435: ...function module interrupt pointer setting Intelligent module side Start SI number 0 fixed Input format Decimal Recording sheet 2 Remote password setting Set data GX Developer setting screen Data item name Setting value Remarks Password settings Password Input format Character strings Model name QJ71C24 CMO Input format Selection Remote password settings Password active module settings Start XY Inp...

Страница 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 ...

Страница 437: ...cho 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 A 20 2 4 9 1 GX Configurator SC function list 3 17 GX Developer A 20 2 4 H H W gate OFF time 3 9 How to detect reception error bidirectional 7 13 How to detect reception error non procedure 6 18 How to detect transmission e...

Страница 438: ...ived data count 6 21 Receiving methods bidirectional 7 2 Receiving methods non procedure 6 2 ROM RAM switch tests 4 27 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 14 Settings and procedures prior to operation 4 2 Simultaneous transmissions 7 24 SIO 11 45 SPBUSY 10...

Страница 439: ...e been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as f...

Страница 440: ...ration in the United States and other countries Ethernet is a trademark of Xerox Corporation Other company names and product names used in this document are trademarks or registered trademarks of respective companies VS VIEW Copyright c 2001 ComponentOne LLC VS FlexGrid Pro Copyright c 2000 VideoSoft Corporation SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080006 P ...

Страница 441: ......

Страница 442: ......

Отзывы: