Mitsubishi Electric SW2D5C QSCU E v2 Operating Manual
![Mitsubishi Electric SW2D5C QSCU E manual cover](/images/fc802f8aa9890c48952490af/thumbs/thumb175x175.webp)
![English English](/static/img/blank.webp)
GX Configurator-SC Version 2 Operating Manual (Pre-defined protocol support function)
-SW2D5C-QSCU-E
A - 1 A - 1
SAFETY PRECAUTIONS (Always read these instructions before using this equipment.)
Before using this product, please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly. The instructions given in this manual are concerned with this product. For the safety instructions of the programmable controller system, please read the CPU module user's manual. In this manual, the safety instructions are ranked as " ! WARNING" and " ! CAUTION".
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury. Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
Note that the ! CAUTION level may lead to a serious consequence according to the circumstances. Always follow the instructions of both levels because they are important to personal safety. Please save this manual to make it accessible when required and always forward it to the end user. [Startup/Maintenance Precautions]
! CAUTION Before starting online operations such as a communication test, consider the operation of the
connected device and fully ensure safety.
! WARNING
! CAUTION
A - 2 A - 2
CONDITIONS OF USE FOR THE PRODUCT (1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident; and ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries. MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT. ("Prohibited Application") Prohibited Applications include, but not limited to, the use of the PRODUCT in; Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User.
Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the PRODUCTs are required. For details, please contact the Mitsubishi representative in your region.
A - 3 A - 3
REVISIONS
* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision Jun., 2009 SH (NA)-080850ENG-A First printing Jan., 2010 SH (NA)-080850ENG-B Model Addition
L02CPU, L26CPU-BT
Partial corrections
About Manuals, Generic Terms and Abbreviations Used in This Manual, Chapter 1, Section 1.1, Section 3.2, Section 4.1, Section 4.2, Section 8.3.3, Section 8.3.6, Section 9.1, Section 9.3.3, Section 10.1 to 10.3, Chapter 11, Section 11.1 to 11.3, Section 11.3.1, Section 11.3.2, Section 11.4, Chapter 13, Section 13.1 to 13.3, Section 13.4.1 to 13.4.3, Appendix 1, Appendix 2.1 to 2.3, Appendix 3, Appendix 4.1 to 4.4, Appendix 5
Partial additions
CONDITIONS OF USE FOR THE PRODUCT
Sep., 2010 SH (NA)-080850ENG-C Partial corrections
Generic Terms and Abbreviations Used in This Manual, Chapter 2, Section 3.2, Section 4.2, Section 9.3.3, Section 10.1
Partial additions
Section 3.3
Japanese Manual Version SH-080817-D
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
2009 MITSUBISHI ELECTRIC CORPORATION
A - 4 A - 4
INTRODUCTION
Thank you for choosing the Mitsubishi MELSOFT series Integrated FA software. Read this manual and make sure you understand the functions and performance of MELSEC series programmable controller thoroughly in advance to ensure correct use. Please make this manual available to the end user.
CONTENTS
SAFETY PRECAUTIONS..............................................................................................................................A- 1 CONDITIONS OF USE FOR THE PRODUCT .............................................................................................A- 2 REVISIONS....................................................................................................................................................A- 3 INTRODUCTION............................................................................................................................................A- 4 CONTENTS....................................................................................................................................................A- 4 About Manuals ...............................................................................................................................................A- 7 How to Use This Manual................................................................................................................................A- 8 Generic Terms and Abbreviations Used in This Manual ..............................................................................A- 9
1. OVERVIEW 1- 1 to 1- 6
1.1 Features .................................................................................................................................................. 1- 3
2. OPERATING ENVIRONMENT 2- 1 to 2- 2
3. FUNCTION LIST 3- 1 to 3- 2
3.1 Function List ............................................................................................................................................ 3- 1 3.2 Applicable CPUs and Modules............................................................................................................... 3- 2 3.3 Applicable versions of relevant products...............................................................................................3- 3
4. PRE-DEFINED PROTOCOL SUPPORT FUNCTION OPERATING PROCEDURE 4- 1 to 4- 3
4.1 Procedure for Setting through Writing..................................................................................................... 4- 1 4.2 Procedure for Debugging......................................................................................................................... 4- 2
5. SCREEN DISPLAY 5- 1 to 5- 3
5.1 Screen Display ......................................................................................................................................... 5- 1 5.2 Menu List .................................................................................................................................................. 5- 2 5.3 Toolbar...................................................................................................................................................... 5- 3 5.4 Status Bar................................................................................................................................................. 5- 3
6. STARTING PRE-DEFINED PROTOCOL SUPPORT FUNCTION 6- 1 to 6- 2
7. ENDING OF PRE-DEFINED PROTOCOL SUPPORT FUNCTION 7- 1 to 7- 2
A - 5 A - 5
8. PROTOCOL SETTING FUNCTION 8- 1 to 8- 14
8.1 File Operation........................................................................................................................................... 8- 1 8.1.1 Creating new files.............................................................................................................................. 8- 1 8.1.2 Opening files...................................................................................................................................... 8- 2 8.1.3 Closing files ....................................................................................................................................... 8- 3 8.1.4 Saving files ........................................................................................................................................ 8- 3
8.2 Communication Type of Protocols .......................................................................................................... 8- 4 8.3 Protocol Edit Operation............................................................................................................................ 8- 5
8.3.1 Adding protocols................................................................................................................................ 8- 7 8.3.2 Changing to editable protocols ......................................................................................................... 8- 8 8.3.3 Protocol detailed setting.................................................................................................................... 8- 9 8.3.4 Setting send/receive parameters in a batch..................................................................................... 8-12 8.3.5 Deleting protocols/packets................................................................................................................ 8-13 8.3.6 Copying and pasting protocols/packets............................................................................................ 8-14
9. PACKET SETTING FUNCTION 9- 1 to 9- 39
9.1 Packet elements....................................................................................................................................... 9- 6 9.2 Packet Edit Operation .............................................................................................................................. 9-25
9.2.1 Adding new elements........................................................................................................................ 9-25 9.2.2 Changing element types ................................................................................................................... 9-26
9.3 Element Setting........................................................................................................................................ 9-27 9.3.1 Setting of Header/Static Data/Terminator ....................................................................................... 9-27 9.3.2 Setting of Length .............................................................................................................................. 9-29 9.3.3 Setting of Non-conversion variable................................................................................................... 9-30 9.3.4 Setting of Conversion variable.......................................................................................................... 9-33 9.3.5 Setting of Check code....................................................................................................................... 9-35 9.3.6 Setting of Non-verified reception ...................................................................................................... 9-36
9.4 Device Batch Setting................................................................................................................................ 9-37 9.5 Setting Device List ................................................................................................................................... 9-39
10. WRITING/READING DATA TO/FROM MODULE 10- 1 to 10- 6
10.1 Writing Data to Module ........................................................................................................................ 10- 1 10.2 Reading Data from Module.................................................................................................................. 10- 3 10.3 Verifying Data with Module .................................................................................................................. 10- 4
11. DEBUGGING SUPPORT FUNCTIONS 11- 1 to 11- 15
11.1 Selecting Module for Debugging ......................................................................................................... 11- 2 11.2 Protocol Execution Log Display........................................................................................................... 11- 3 11.3 Circuit Trace ......................................................................................................................................... 11- 6
11.3.1 Starting the circuit trace ................................................................................................................ 11- 6 11.3.2 Circuit trace option ........................................................................................................................ 11- 9 11.3.3 Opening the circuit trace file ......................................................................................................... 11-11 11.3.4 Saving the circuit trace file ............................................................................................................ 11-11
11.4 State Monitor ........................................................................................................................................ 11-12
A - 6 A - 6
12. PRINT 12- 1 to 12- 5
12.1 Start ...................................................................................................................................................... 12- 1 12.2 Print Examples ..................................................................................................................................... 12- 2
13. SETTINGS FOR Q SERIES C24N / L SERIES C24 MODULE 13- 1 to 13- 36
13.1 I/O Signals of Programmable Controller CPU .................................................................................... 13- 1 13.2 Pre-defined Protocol Ready (X1D)...................................................................................................... 13- 2 13.3 List of Applications and Assignments of Buffer Memory .................................................................... 13- 7 13.4 Dedicated Instruction ........................................................................................................................... 13-17
13.4.1 Dedicated instructions and available devices .............................................................................. 13-17 13.4.2 G(P). CPRTCL .............................................................................................................................. 13-18 13.4.3 Functional protocol........................................................................................................................ 13-25
13.5 Programming example......................................................................................................................... 13-27 13.5.1 System configuration/wiring example........................................................................................... 13-27 13.5.2 Communication data ..................................................................................................................... 13-28 13.5.3 Communication settings................................................................................................................ 13-29
APPENDICES App- 1 to App- 26
Appendix 1 Help Function..........................................................................................................................App- 1 Appendix 2 Operation Image of Each Communication Type of Protocol.................................................App- 2
Appendix 2.1 In case where communication type is Send only ..........................................................App- 2 Appendix 2.2 In case where communication type is Receive only .....................................................App- 3 Appendix 2.3 In case where communication type is Send & receive .................................................App- 5
Appendix 3 Verification Operation of Receive Packet ..............................................................................App- 7 Appendix 4 Data Examples of Packet Elements.......................................................................................App- 8
Appendix 4.1 Length ..............................................................................................................................App- 8 Appendix 4.2 Non-conversion variable..................................................................................................App-10 Appendix 4.3 Conversion variable .........................................................................................................App-12 Appendix 4.4 Check code ......................................................................................................................App-15 Appendix 4.5 Non-verified reception......................................................................................................App-24
Appendix 5 Functions Modified from the Previous Version......................................................................App-25
INDEX Index- 1 to Index- 2
A - 7 A - 7
About Manuals
The following lists the manuals relevant to this software package. These manuals are separately available if necessary.
Related Manuals
Manual Name Manual Number (Model Code)
Q Corresponding Serial Communication Module User's Manual (Basic) Explains the outline, applicable system configuration, specifications, pre-operation procedure, basic data
communication method with the other device, maintenance, inspection, and troubleshooting for use of
the module.
(Sold separately)
SH-080006 (13JL86)
MELSEC-L Serial Communication Module User's Manual (Basic) Explains the specifications and usage of the module's special functions, the settings for use of the
special functions, and the method of data communication with the other device.
(Sold separately)
SH-080894ENG (13JZ40)
MELSEC-Q/L Communication Module User's Manual (Application) Explains the specifications and usage of the module's special functions, the settings for use of the
special functions, and the method of data communication with the other device.
(Sold separately)
SH-080007 (13JL87)
MELSEC-Q/L MELSEC Communication Protocol Reference Manual Explains how the other device performs read, write, etc. of PLC CPU data by making communication in
the MC protocol using the serial communication module/Ethernet module.
(Sold separately)
SH-080008 (13JF89)
GX Developer Version 8 Operating Manual (Startup) Explains the system configuration, installation method, and startup method of GX Developer.
(Sold separately)
SH-080372E (13JU40)
GX Developer Version 8 Operating Manual Explains the program creation method, printout method, monitor method, debugging method, etc. using
GX Developer.
(Sold separately)
SH-080373E (13JU41)
GX Developer Version 8 Operating Manual (Function Block) Explains the function block creation method, printout method, etc. using GX Developer.
(Sold separately)
SH-080376E (13JU44)
GX Configurator-SC Version 2 Operating Manual (Protocol FB support function) Explains the features, usage, and .setting method of each parameter of the protocol FB support function
which supports the creation of programs for data communication by modules.
(Sold separately)
SH-080393E (13JU46)
REMARK
The manuals are available separately in printed form as options. Please place an order with the manual number (model code) in the above table.
A - 8 A - 8
How to Use This Manual The symbols used in this manual and their definitions and examples will be explained.
Symbol Description Example
[ ] Menu name of the menu bar [File] << >> Tab name of the dialog box <
" " Item name of the dialog box "Name"
Command button of the dialog box Setting Button
PURPOSE
Purpose of the operation that is explained in the corresponding chapter, section or item.
BASIC OPERATION
Operation performed until the screen for actually achieving the purpose is displayed.
DISPLAY/SETTING SCREEN
Screen used to make setting and/or provide a display for the purpose.
DISPLAY/SETTING DETAILS
Explains the display/setting screen items.
Explains the especially noted items of the explanation, functions desired to be known, etc.
REMARK
Gives information useful as the knowledge related to the explanation.
A - 9 A - 9
Generic Terms and Abbreviations Used in This Manual
In this manual, the following generic terms and abbreviations are used to represent the GX Configurator-SC software package and PLC CPU modules. The module/package name is given when the target model name must be pointed out explicitly.
Generic Term/Abbreviation Description
GX Configurator-SC Generic product name of the model names SWnD5C-QSCU-E and SWnD5C-QSCU- EA. (n means Version 2 or later.)
Pre-defined protocol support function
Means the pre-defined protocol support function of GX Configurator-SC.
C24 Generic term for the QJ71C24, QJ71C24-R2, QJ71C24N, QJ71C24N-R2, QJ71C24N-R4, LJ71C24 and LJ71C24-R2.
Q Series C24N Generic term for QJ71C24N, QLJ71C24N-R2 and QLJ71C24N-R4. L Series C24 Generic term for LJ71C24 and LJ71C24-R2. Intelligent function module utility Utility in GX Configurator-SC.
Windows R 7
Generic term for the following: Microsoft R Windows R 7 Starter Operating System, Microsoft R Windows R 7 Home Premium Operating System, Microsoft R Windows R 7 Professional Operating System, Microsoft R Windows R 7 Ultimate Operating System, Microsoft R Windows R 7 Enterprise Operating System
Windows Vista R
Generic term for the following: Microsoft R Windows Vista R Home Basic Operating System, Microsoft R Windows Vista R Home Premium Operating System, Microsoft R Windows Vista R Business Operating System, Microsoft R Windows Vista R Ultimate Operating System, Microsoft R Windows Vista R Enterprise Operating System
Windows R XP Generic term for the following: Microsoft R Windows R XP Professional Operating System, Microsoft R Windows R XP Home Edition Operating System
GX Developer Generic product name of the product model names SWnD5C-GPPW-E, SWnD5C- GPPW-EA, SWnD5C-GPPW-EV and SWnD5C-GPPW-EVA. (n means Version 8 or later.)
QCPU (Q mode)
Generic term for the Q00J, Q00UJ, Q00, Q00U, Q01, Q01U, Q02(H), Q02PH, Q02U, Q03UD, Q03UDE, Q04UDH, Q04UDEH, Q06H, Q06PH, Q06UDH, Q06UDEH, Q10UDH, Q10UDEH, Q12H, Q12PH, Q12PRH, Q13UDH, Q13UDEH, Q20UDH, Q20UDEH, Q25H, Q25PH, Q25PRH, Q26UDH, and Q26UDEHCPU.
Redundant CPU Generic term for the Q12PRH and Q25PRHCPU. LCPU Generic term for L02CPU and L26CPU-BT.
A - 10 A - 10
MEMO
1 - 1 1 - 1
MELSOFT1 OVERVIEW
1 OVERVIEW
GX Configurator-SC Version 2 (hereafter abbreviated to GX Configurator-SC) is the software added into GX Developer for use. Conventionally, to perform the protocol communication with other devices such as a bar-code reader using a non procedural protocol of Q/L series serial communication modules, communication processing programs used to have to be created in ladder language. On the pre-defined protocol support function of GX Configurator-SC, the protocol setting can be configured just by writing pre-defined send/receive protocols to a flash ROM mounted on a Q series C24N / L series C24 module. The protocol communication with other devices can be easily performed only with the creation of a ladder program for protocol execution. The communication debugging functions necessary for system startup is also provided.
GX Configurator-SC
Pre-defined protocol support function
Debugging support function
Q series C24N / L series C24
RS-232 or RS-422/485
Protocol setting
Other devices Temperature controller, bar-code reader etc.
Protocol execution log display Circuit trace State monitor
1
1 - 2 1 - 2
MELSOFT1 OVERVIEW
STEP 1 : Select a manufacturer, type, and protocol name of a device to
be connected.
STEP 2 : Write the selected protocols to a module.
STEP 3 : Create a startup ladder program
Debugging support functions
In the pre-defined protocol support function, protocol means the procedure to communicate with other devices and consists of the following information.
Packet element (Packet format) Packet data Communication type
Protocols can be selected from the pre-defined protocol library or created/edited arbitrarily.
1
1 - 3 1 - 3
MELSOFT1 OVERVIEW
1.1 Features
(1) Easy to communicate with other devices
The use of transmission/receive protocols reduces the execution steps of ladder programs and enables the protocol communication with other devices easily!!
The protocol communication is available only by selecting pre-registered transmission/receive protocols, writing them to a flash ROM mounted on a Q series C24N / L series C24 module, and creating a easy ladder program using the dedicated instruction which is for starting up protocols. In comparison with the communication using a non procedural protocol, man- hours of user application creation are reduced, because the Q series C24N / L series C24 module generates transmission packets and analyzes receive packets, and ladder programs to generate and analyze packets are no longer required.
Program for defining the communication format
Program for defining the transmit command Program for processing the data transmission
QCPU/LCPU
QCPU/LCPU
Existing ladder programs (using the non procedural communication)
Q series C24N / L series C24
Sending
Receiving
Other devices
Using this function...
Ladder programs using the pre-defined protocol support function
Dedicated instruction for starting up protocols
Q series C24N / L series C24
Protocol setting data
Sending
Receiving
Other devices
Program for processing the data receiving Program for checking the receive data
1 - 4 1 - 4
MELSOFT1 OVERVIEW
(2) Easy to create and edit protocols
New send/receive protocols can be created easily!!
Protocols for the communication with other devices can easily be created and edited. This enables data communication with other devices for which standard protocols are not provided. In addition, the list of the packet format and data of protocols can be displayed on the screen and confirmed in a comparison with protocols described in the manual of other devices.
1 - 5 1 - 5
MELSOFT1 OVERVIEW
(3) Incorporation of CPU devices and buffer memory in packets
Devices to be incorporated in a packet can be registered using variables!!
When sending data, a user stores system-dependent variable elements, such as the channel number, as variables in CPU devices and buffer memory. The Q series C24N / L series C24 module automatically adds them to the specified positions in a send packet and sends it. When receiving data, the Q series C24N / L series C24 module automatically transfers the data necessary such as read data to CPU devices and buffer memory.
< System example >
RS-232
CH.2
SDA
SG
SDB (FG)
RDA
(FG)
RDB
RS-422 /485
CH1.
CH2.CH1.
2
1
3
4
5
6
7
QJ71C24NQCPU
D0
D100
Sets the channel number to CPU device D0
1
D0
D100
1
FREQROL-A700
Stores the current value to CPU device D100
CPU device
Current value
Terminator Check code Request Header
Response Current valueHeader Check code Terminator
1 - 6 1 - 6
MELSOFT1 OVERVIEW
(4) Communication debugging support
Reduced debugging work for system construction!!
The following communication debugging functions which are necessary for system construction are available. Packet data on the line can be confirmed without any other tools.
(a) Protocol execution log display
The protocol name, start time and date, end time and date, and result etc. of protocols executed by Q series C24N / L series C24 modules can be monitored.
(b) Circuit trace The transmission/receive packet data and communication signal wire condition between Q series C24N / L series C24 modules and device controllers can be traced.
(c) State monitor The error status, communication signal wire condition, operation switch setting status, and execution status of communication protocols etc. of the C24 module can be monitored.
2 - 1 2 - 1
MELSOFT2 OPERATING ENVIRONMENT
2 OPERATING ENVIRONMENT
This chapter explains the operating environment of the personal computer that uses GX Configurator-CS (the pre-defined protocol support function).
Item Peripheral device
Installation (add-in) target GX Developer Version 8.78G (English version) or later*1*2 Computer Windows R -based personal computer
CPU Required memory
Refer to the following table "Operating system and performance required for personal computer".
For installation 65MB or more Hard disk space For operation 20MB or more Display 800 600 dots or more resolution*3
Operating system
Microsoft R Windows R 95 Operating System (English version) Microsoft R Windows R 98 Operating System (English version) Microsoft R Windows R Millennium Edition Operating System (English version) Microsoft R Windows NT R Workstation Operating System Version 4.0 (English version) Microsoft R Windows R 2000 Professional Operating System (English version) Microsoft R Windows R XP Professional Operating System (English version) Microsoft R Windows R XP Home Edition Operating System (English version) Microsoft R Windows Vista R Home Basic Operating System (English version) Microsoft R Windows Vista R Home Premium Operating System (English version) Microsoft R Windows Vista R Business Operating System (English version) Microsoft R Windows Vista R Ultimate Operating System (English version) Microsoft R Windows Vista R Enterprise Operating System (English version) Microsoft R Windows R 7 Starter Operating System (English version) Microsoft R Windows R 7 Home Premium Operating System (English version) Microsoft R Windows R 7 Professional Operating System (English version) Microsoft R Windows R 7 Ultimate Operating System (English version) Microsoft R Windows R 7 Enterprise Operating System (English version)
Essential software package GX Configurator-SC Version 2.20W or later is required.
*1: To use LCPU and L Series C24, use GX Developer Version 8.89T or later. *2: To install GX Configurator-SC to a Windows R 7-based personal computer, use GX Developer Version 8.91V or later. *3: Resolution of 1024 768 dots or more is recommended for Windows Vista R or Windows R 7.
For precautions in installation of GX Configurator-SC for each operating system, refer to Method of installing the MELSOFT Series included in the utility package. For Windows Vista R and Windows R 7, refer to the technical bulletin: Installation procedure, precautions, and corrective actions for problems regarding Windows Vista-based personal computer and Products compatible with Windows 7 and precautions for installation, as additional information.
2
2 - 2 2 - 2
MELSOFT2 OPERATING ENVIRONMENT
Operating system and performance required for personal computer Performance required for personal computer
Operating system CPU Required memory
Windows R 95 (Service Pack 1 or later) Pentium R 300MHz or more 64MB or more Windows R 98 Pentium R 300MHz or more 64MB or more Windows R Me Pentium R 300MHz or more 64MB or more Windows NT R 4.0 Workstation (Service Pack 3 or later) Pentium R 300MHz or more 64MB or more Windows R 2000 Professional Pentium R 300MHz or more 64MB or more Windows R XP Professional Pentium R 300MHz or more 128MB or more Windows R XP Home Edition Pentium R 300MHz or more 128MB or more Windows Vista R Home Basic Pentium R 1GHz or more 1GB or more Windows Vista R Home Premium Pentium R 1GHz or more 1GB or more Windows Vista R Business Pentium R 1GHz or more 1GB or more Windows Vista R Ultimate Pentium R 1GHz or more 1GB or more Windows Vista R Enterprise Pentium R 1GHz or more 1GB or more
Windows R 7 Starter Pentium R 1GHz or more 1GB or more
Windows R 7 Home Premium Pentium R 1GHz or more 1GB or more
Windows R 7 Professional Pentium R 1GHz or more 1GB or more
Windows R 7 Ultimate Pentium R 1GHz or more 1GB or more
Windows R 7 Enterprise Pentium R 1GHz or more 1GB or more
When Windows R XP, Windows Vista R or Windows R 7 is used, the following new functions cannot be used. If any of the following new functions is used, this product may not operate normally.
Start of application in Windows R compatible mode Fast user switching Remote desktop Big fonts (Details setting of Screen properties)
Additionally, 64-bit Windows R XP, Windows Vista R and Windows R 7 are not available. In Windows Vista R and Windows R 7, log in as a user having User authority or higher.
When Windows R 7 is used, the following new functions cannot be used. Windows XP Mode Windows Touch
2
3 - 1 3 - 1
MELSOFT3 FUNCTION LIST
3 FUNCTION LIST
This chapter explains the functions and menu of the pre-defined protocol support function.
3.1 Function List
The functions of the pre-defined protocol support function are listed below. (1) Pre-defined protocol support function
Function Function outline Reference Section
Protocol setting Sets protocols of a module used in the pre-defined protocol support function.
Chapter 8
Packet setting Displays the packet element list and launches setting functions for configurable elements.
Chapter 9
Element setting Sets a variety of data to packet elements. Section 9.3
Device batch setting
Sets devices used in protocols all at once. In addition, displays the list of devices being used.
Section 9.4 Section 9.5
Writing data to module Writes the setting data on the Protocol setting screen to a selected module.
Section 10.1
Reading data from module
Reads data of the protocol settings written in a selected module and displays data on the Protocol setting screen.
Section 10.2
Verifying data with module
Verifies the protocol setting being opened with that read from a selected module.
Section 10.3
(2) Debugging support function
Function Function outline Reference Section
Traces the transmission/receive packet data and communication signal wire condition.
Section 11.3 Circuit trace
Save/read of trace data Saves/reads the data obtained by the circuit trace.
Section 11.3.4
State monitor Monitors the error status, communication signal wire, etc. of the QJ71C24(-R2/R4).
Section 11.4
Protocol execution log display
Displays the protocol execution logs and protocol execution results of a module to which the protocol setting is set.
Section 11.2
3
3 - 2 3 - 2
MELSOFT3 FUNCTION LIST
3.2 Applicable CPUs and Modules
CPUs and modules applicable to the pre-defined protocol support function are shown below. (1) Applicable CPU
QCPU (Q mode) excluding Redundant CPU, and LCPU
(2) Applicable modules The following table shows the modules to which the pre-defined protocol support function can be applied and their function range.
Applicable modules and function ranges
Debugging support function Applicable module
Pre-defined protocol support function Circuit trace State monitor
Protocol execution log display
QJ71C24, QJ71C24-R2 Q series C24 modules QJ71C24N*1, QJ71C24N-R2*1,
QJ71C24N-R4*1
LCPU LJ71C24, LJ71C24-R2 *1: Use a function version B module with a serial number of which the first five digits
are 10122 or higher.
3
3 - 3 3 - 3
MELSOFT3 FUNCTION LIST
3.3 Applicable versions of relevant products
The following table shows versions of modules and software applicable to the functions.
Applicable version
Function GX Configurator-SC
GX Developer
QJ71C24N, QJ71C24N-R2, QJ71C24N-R4
QJ71C24, QJ71C24-R2
State monitor Circuit trace
Debugging support function
Protocol execution log display
Writing data to module
Reading data from module
Protocol setting
Select from pre-defined protocol library Setting editable protocol
Copying/pasting protocol
Packet setting
Element setting
Device batch setting
Setting device list
Pre-defined protocol support function
Verify data with module
Version 2.20W or later
Version 8.78G or later
Function version B module with a serial number of
which the first five digits are 10122
or higher*1
: Applicable (Without restrictions by product version) : Not applicable *1: For the following settings of Element setting, use a function version B module with a serial number of which the first five
digits are 11062 or higher. A protocol setting data error may occur when any of the following data are set and written to the Q series C24N with the serial number of which first five digits are 10122. For Conversion variable (Refer to Section 9.3.4): Sign (Signed), Sign character, Number of decimals (other than No decimal point), or Delimiter (other than No delimiter)
For Non-verified reception (Refer to Section 9.3.6): Data length (variable number of characters)
Applicable version Function GX
Configurator-SC GX Developer
LJ71C24N, LJ71C24N-R2
State monitor Circuit trace
Debugging support function
Protocol execution log display Writing data to module
Reading data from module
Protocol setting
Packet setting
Setting device list
Pre-defined protocol support function
Verify data with module
Version 2.21X or later
Version 8.89T or
later
: Applicable (Without restrictions by product version)
3 - 4 3 - 4
MELSOFT3 FUNCTION LIST
MEMO
4 - 1 4 - 1
MELSOFT
4 PRE-DEFINED PROTOCOL SUPPORT FUNCTION OPERATING PROCEDURE
4 PRE-DEFINED PROTOCOL SUPPORT FUNCTION OPERATING PROCEDURE
4.1 Procedure from Setting through Writing
This section explains the operating procedure for writing protocols to a module with the pre-defined protocol support function, using the actual screen as an example.
(1) Open the Protocol setting screen.
Operation: [File] [New] (Refer to Section 8.1.1.) or [File] [Open] (Refer to Section 8.1.2.)
(2) Add a protocol to be used.
Operation: [Edit] [Add protocol] (Refer to Section 8.3.1.)
The Add protocol screen is displayed. Select either of Select from pre-defined protocol library or Add editable protocol.
For Select from pre-defined protocol library, a protocol can be selected from the pre-defined protocol library. For Add editable protocol, desired packet elements can be set. (Refer to Chapter 9.)
(3) Open the Write to module screen.
(4) Write the protocol setting to a
specified module (Q series C24N / L series C24 module).
Operation: [Module read/write] [Write to module] (Refer to Section 10.1.)
The Module write screen is displayed.
Operation:
Select a module to which the protocol setting is to be written and click the Execute button.
The protocol setting is registered to a flash ROM mounted on a Q series C24N / L series C24 module.
The protocol setting can be read from a specified module (Q series C24N / L series C24 module) as well. For details, refer to Section 10.2.
4
4 - 2 4 - 2
MELSOFT
4 PRE-DEFINED PROTOCOL SUPPORT FUNCTION OPERATING PROCEDURE
4.2 Procedure for Debugging
The following chart shows the procedure for the operation check with other devices (the procedure for debugging).
Check whether data are stored in specified CPU devices and intelligent function module devices (buffer memory)
*1: When a number of protocols is specified in the dedicated instruction, the execution result can be checked by each protocol in the protocol execution log. *2: Methods for checking an error factor
(1) Identify an error factor by an error code. (2) Check the following items when a transmission monitoring timeout error occurs.
1) Cable connection (whether a cable looses.) 2) Whether the transmission is stopped due to the DTR control
(3) Check the following items when a receive wait timeout error occurs. 1) Cable connection (whether a cable looses.) 2) Whether the transmission from other devices is stopped due to the DTR control 3) The circuit trace result
Whether the transmission from other devices is stopped Whether the data missing occurs due to the receive error Whether the data (packets) sent from other devices include errors
Start debugging
Start the circuit trace with GX Configurator-SC
Execute protocols, whose operation is to be checked, using the dedicated instruction (CPRTCL instruction)
Stop the circuit trace with GX Configurator-SC when the dedicated instruction is completed
*1
Check whether any errors occur with the execution result in the control data of dedicated instruction or with the system monitor of GX Developer
Refer to the Q Corresponding Serial Communication Module Users Manual (Basic) , MELSEC-L Serial Communication Module Users Manual (Basic) or GX Developer Version 8 Operating Manual
Refer to section 11.3.1
Refer to section 13.4.1
Refer to section 11.3.1
Are any errors occurring? Yes
No
No
Yes
Are data stored?
Completed
Refer to section 11.3.1
Correct errors according to the error information and the circuit trace result
Refer to section 9.3
Recheck devices specified in "Data storage area specification" on the Element setting screens for Non-conversion variable and Conversion variable in GX Configurator-SC
*2
4
4 - 3 4 - 3
MELSOFT
4 PRE-DEFINED PROTOCOL SUPPORT FUNCTION OPERATING PROCEDURE
MEMO
5 - 1 5 - 1
MELSOFT5 SCREEN DISPLAY
5 SCREEN DISPLAY
This chapter explains the screen display and names of the pre-defined protocol support function.
5.1 Screen Display
The basic screen display of the pre-defined protocol support function is shown below.
Status bar
Edit screen
Main menuToolbar
The following table indicates the names and functions.
Name Function
Main menu Select the menu item. Toolbar Click the selected button to execute the function.
Edit screen Protocol setting, the trace screen etc. are available.
Status bar Displays status of various items.
5
5 - 2 5 - 2
MELSOFT5 SCREEN DISPLAY
5.2 Menu List
The following table indicates a menu list of the pre-defined protocol support fu