MELSEC-Q/L Serial Communication ModuleUser's Manual (Application)-QJ71C24N-QJ71C24N-R2-QJ71C24N-R4-QJ71C24-QJ71C24-R2-LJ71C24-LJ71C24-R2
8[Wiring Precautions]CAUTION● Use applicable solderless terminals and tighten them within the specified torque range.If any spade solderless terminal
983) If it is being made possible to change the callback destination GX Developer (Setting 2 (BH) or Setting 5 (3H))• Select the callback destination
99CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications4) If the maximum number of callback destination GX Developer is limited to 10 modu
1005) If line connections from GX Developer are made with "Auto (Callback: during fixed/Callback: during designated number)" as the connecti
101CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 SpecificationsRemarkI If the GX Configurator-SC's "Callback function designation"
1023.3.5 List of I/O signals for the modem functionThe I/O signals with the programmable controller CPU for the modem function are described.Refer to
103CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications*1 Cannot be used for the QJ71C24N-R4. (Signal for the modem function.)*2 Cannot b
104(2) Function and description of each I/O signalThe descriptions hereafter show an example in which I/O numbers of the Q series C24 are assigned to
105CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications3.3.6 Buffer memoryThe buffer memory that can be used with the modem function is d
10657 to 127 (39H to 7FH) (Use prohibited) System area128 (80H)For programmable controller CPU information clear*1Programmable controller CPU informat
107CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications553 (229H)Notification status confirmation*2*3Number of notification executions0:
9[Startup and Maintenance Precautions][Startup and Maintenance Precautions]WARNING● Do not touch any terminal while power is on. Doing so will cause e
108*1 Only the QJ71C24N (-R2/R4) are usable. (System area when using QJ71C24 (-R2))*2 Only the Q series C24 is usable. (System area when using the L s
109CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 SpecificationsDo not write data in the system area of the buffer memory.If data is written in th
110(2) Details of the buffer memory (for modern function)(a) Modem connection channel designation area (address 46 (2EH))The interface on the Q series
111CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(g) Data number for initialization designation area (address 52 (34H))• The regist
112RemarkThe overview of the RS/CS controls are described.1) When transmitting data● The Q series C24 detects the modem/TA data reception capability f
113CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(o) Data registration status for connection storage area (address 548 to 549 (224H
114(r) Number of notification execution storage area (address 553 (229H))• Stores the number of execution of the Q series C24 notification (message tr
115CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(u) For user frame registration: User frame designation area (address 6913 to 6952
116(3) Details of buffer memory (for the remote password function)Each of the areas described below is valid when the Q series C24 performs the remote
117CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(4) Details of buffer memory (for the callback function)The areas shown below are
10[Operating Precautions][Disposal Precautions]CAUTION● When changing data and operating status, and modifying program of the running programmable con
118(c) Data No. for Callback designation area (Addresses 8449 to 8458 (2101H to 210AH))• This specifies the connection data registration No. where the
119CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(h) Accumulated count of callback receive procedure cancel storage area (Address 8
1203.3.7 Precautions when using the modem functionPrecautions when using the modem function to perform data communication with an external device via
121CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(6) Initial SettingsThe connection data used for modem functions can be registered
122(c) When the number of times remote password mismatch occurs is large• When the number of times notification of a remote password mismatch is recei
123CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(9) Number of modules for which the remote password check can be setA maximum of e
124(12)An example of what to do on the programmable controller CPU side for improper access from the external deviceThe following is an example of per
125CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 SpecificationsWhen the number of times a remote password mismatch occurred exceeds the notificat
1263.4 Start-up of the Modem FunctionThis section explains the start-up procedures, processing methods and programming when the modem function of the
127CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function*1 Page 76, Section 3.2, Page 82, Section 3.3, User's m
11CONDITIONS OF USE FOR THE PRODUCT(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;i) where any problem,
128(2) Procedure when executing data communications*1 Page 148, Section 3.4.6*2 Page 154, Section 3.4.7*3 Page 161, Section 3.4.8012353***Line disc
129CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(3) If notification is made*1 Page 154, Section 3.4.7012363Line d
130(4) If accessing the QCPU from GX Developer*1 Page 86, Section 3.3.3*2 Page 92, Section 3.3.40123453**Q Series C24GX Developer (Line connection s
131CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function3.4.2 Initial settings of the serial communication moduleThis sect
132(2) Initial settings by GX Configurator-SC (set in the setting screen for modem function system)(a) Perform initial settings on the interface side
133CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(b) All transmissions using the modem function are transmitted in
1343.4.3 Register/read/delete of the initialization dataThe section explains the register/read/delete of the data for initialization such as initializ
135CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(5) Registration contents at shipment• The data for initialization
136(6) Procedures for register/read/delete of the initialization data(a) For the flash ROM in the Q series C24Register/read/delete operations are exec
137CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(b) For the buffer memory of the Q series C24• The initialization
12INTRODUCTIONThank you for purchasing the Mitsubishi MELSEC-Q or -L series programmable controllers.This manual explains the functions and programmin
138• The following shows an example of a sequence program used to write the initialization data (registration).• Example of writing the initialization
139CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function3.4.4 Register/read/delete of the data for connectionThis section
140(5) Procedures for register/read/delete of the data for connection(a) For the flash ROM in the Q series C24Register/read/delete operations are exec
141CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(b) For the buffer memory of the Q series C24• The connection data
142(Data for connection area): 44 bytes(Notifying message area): 36 bytes (Designated when performing notification)Data name Designated/stored value a
143CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function• An example of a sequence program used for writing (registering)
1443.4.5 Initialization of modem/TA (terminal adapter)This section explains the initialization of the modem/TA connected to the Q series C24, used for
145CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function2) Output count designation area (address: 185/345 (B9H/159H)): Th
146(5) If the modem/TA is initialized by a sequence program(a) I/O signals used in initializationThe initialization request signal (Y10), initializati
147CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(b) Modem/TA initialization program exampleAn example of the modem
13COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES(1) Method of ensuring complianceTo ensure that Mitsubishi programmable controllers maintain EMC and L
1483.4.6 Line connectionThis section explains the connection (dialing) with the partner devices for the purpose of data communication with external de
149CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(3) I/O signals used in line connectionConnection request signal (
150When performing the initialization and the line connection from the Q series C24 side simultaneously*1 Page 144, Section 3.4.5(OFF)30000(OFF)Y11X1
151CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem FunctionWhen initiating the line connection from the partner device after
152(5) Line connection program exampleAn example of a line connection program is shown below.(a) Example of initiating line connection from the Q seri
153CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(b) Example of simultaneous execution of initialization and line c
1543.4.7 Data communication and notificationThis section explains the cautions for data communication with the partner device using modem function and
155CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem FunctionRemarkThis section explains the general procedure for non procedur
156(ON)(OFF)(OFF)Y11X10X12Y12X14X10X12Y12X14*ConnectionrequestInitializationcompletionConnection inprogressDisconnectionrequestDisconnectioncompletion
157CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(b) When notifying to pager receiver• Initial setting by GX Config
CONTENTS14CONTENTSSAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
158When abnormal completion(OFF)(ON)003000100(OFF)(OFF)X10X12X15X16Y14*Dial(Error code)Retry (In the case of three times)(Dialing)Initializationcomple
159CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(3) Precautions for performing data communication and notification
160(4) Program for notification exampleAn example of program for notification is shown below.*1*1 When the initialization and connection data have bee
161CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function3.4.8 Line disconnectionThis section explains the line disconnecti
162● Line disconnection processing can be conducted from either device as long as the connection is in progress.● The line disconnection processing di
163CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.4 Start-up of the Modem Function(3) Program example for line disconnectionA program example for li
1643.5 Sample ProgramsThis section shows sample programs to test the connection with the remote station's programmable controller CPU to which Q
165CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample Programs3.5.1 Sample program for data communication-1(1) Sample program system configurat
166Access possibleData communications possibleData transmission possibleLine disconnect possible<Status confirmation><Modem initialization, l
167CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample Programs[Modem initialization, line connection processing][Data transmission processing][
153.4 Start-up of the Modem Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1263.4.1 Start-up p
168[Line disconnection processing]Modem disconnection request signal is setWhen the modem disconnection completion signal is ON, the error code is rea
169CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample Programs(3) Sample program for a connection receiving station side (QJ71C24-R2 2))After t
170Set the transmission dataExecute reading of receive dataAccess possibleData transmission possible<Status confirmation><Data transmission p
171CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample Programs3.5.2 Sample program for data communication-2(1) Sample program on the connection
172Accessible flag is turned ONModem initialization enabled flag is turned ONLine connectable flag with the remote station is turned ONExchangeable fl
173CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample ProgramsP3P2P1Write the data for initializationSet the telephone numberSet the external l
174P52P51P4Connection request execution flag is setSets the transmission channel to CH1Set the number of transmission dataTransmission normal completi
175CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample ProgramsLine disconnection processing subroutine(Line disconnection from local station)Re
176(2) Sample program on the connection reception station sideThe modem initialization and data communication by the non procedure protocol are execut
177CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample ProgramsAccessible flag is turned ONModem initialization enabled flag is turned ONExchang
16CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION 2209.1 User Frame Types and Contents During Communication . . . . . .
178P51P3P1Set the transmission dataSets the initialization commandWrite the data for initializationModem initialization processing subroutineInitializ
179CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample Programs• Sets the data setting completion flag for reading the receive data• Receive d
1803.5.3 Sample program for notificationModem initialization and notification are executed by commands from the user.Before executing this program, pe
181CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample ProgramsP1Accessible flag is turned ON Converts the initialization command into pulseConv
182P6P3P2Set the telephone numberSet the external line dialing number (0)Set the line type (tone)Set the messageSet the message lengthWrite the data f
183CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.5 Sample ProgramsMemo
184CHAPTER 4 RECEIVING DATA WITH AN INTERRUPT PROGRAMIn data communication between the Q series C24 and the external device, an interrupt program can
185CHAPTER 4 RECEIVING DATA WITH AN INTERRUPT PROGRAM44.1 Settings for Receiving Data Using an Interrupt Program4.1 Settings for Receiving Data Using
1864.2 Interrupt Program Startup TimingThe following explains the startup timing for interrupt program when performing data reception with an interrup
187CHAPTER 4 RECEIVING DATA WITH AN INTERRUPT PROGRAM44.3 Reception Control Method Using an Interrupt Program4.3 Reception Control Method Using an Int
1712.3 Handling Transparent Codes and Additional Codes during Non Procedure Protocol Data Communication. . . . . . . . . . . . . . . . . . . . . . . .
1884.4 ProgrammingThis section explains the programming when data reception is performed with an interrupt program during communication using the non
189CHAPTER 4 RECEIVING DATA WITH AN INTERRUPT PROGRAM44.4 Programming● When data reception is performed with an interrupt program, the dedicated BUFRC
1904.4.2 Precautions when receiving data with an interrupt programThe following shows the precautionary notes when receiving data with an interrupt pr
191CHAPTER 4 RECEIVING DATA WITH AN INTERRUPT PROGRAM44.4 Programming(6) After the power supply turns from OFF to ON or the programmable controller CP
192CHAPTER 5 CHANGING SEND AND RECEIVE DATA LENGTH UNITS TO BYTE UNITS (WORD/BYTES UNITS SETTING)The word units are used for the data length (count) o
193CHAPTER 5 CHANGING SEND AND RECEIVE DATA LENGTH UNITS TO BYTE UNITS (WORD/BYTES UNITS SETTING)5 Memo
194CHAPTER 6 CHANGING THE DATA COMMUNICATIONS MONITORING TIMESThe monitoring times are timers used by the Q series C24 to monitor the receiving interv
195CHAPTER 6 CHANGING THE DATA COMMUNICATIONS MONITORING TIMES66.1 No-reception Monitoring Time (timer 0) Setting6.1 No-reception Monitoring Time (tim
196• Data communications using user frames• When designating the last frame, an arbitrary part of data in the area starting from the start of the rece
197CHAPTER 6 CHANGING THE DATA COMMUNICATIONS MONITORING TIMES66.1 No-reception Monitoring Time (timer 0) Setting(2) Changing the no-reception monitor
1815.5 Switching the Mode from an External Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35615.5.1 Mode switching p
1986.2 Response Monitoring Time (timer 1) SettingThe response monitoring time (timer 1) clears the receive wait state of the device that receives the
199CHAPTER 6 CHANGING THE DATA COMMUNICATIONS MONITORING TIMES66.2 Response Monitoring Time (timer 1) Setting(2) Changing the response monitoring time
2006.3 Transmission Monitoring Time (timer 2) SettingThe transmission monitoring time (timer 2) clears the wait state when the Q series C24 that is to
201CHAPTER 6 CHANGING THE DATA COMMUNICATIONS MONITORING TIMES66.3 Transmission Monitoring Time (timer 2) Setting• Data communications using non proce
2026.4 Message Wait Time SettingThe message wait time is used during data communications using a MC protocol.It is the time for an external device tha
203CHAPTER 7 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROL7 CHAPTER 7 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROLThe transmission
2047.1 Control Contents of DTR/DSR (ER/DR) Signal ControlThis control uses the RS-232 interface DTR/DSR signals to inform the external device whether
205CHAPTER 7 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROL77.1 Control Contents of DTR/DSR (ER/DR) Signal Control(b) Specification of free OS
2067.2 Control Contents of DC Code ControlThis control uses the Q series C24 transmission control data to inform the external device whether or not lo
207CHAPTER 7 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROL77.2 Control Contents of DC Code Control(a) Q Series C24 DC1/DC3 transmission contr
1917.7.2 Control data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39817
208(2) DC2/DC4 transmission control, DC2/DC4 reception controlThe Q series C24 encloses the send data from the local station in the DC2 and DC4 codes
209CHAPTER 7 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROL77.2 Control Contents of DC Code Control(3) The transmission control method and cha
2107.3 Precautions when Using the Transmission Control FunctionsThe following describes the precautions to be observed when using the Q series C24 tra
211CHAPTER 7 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROL77.3 Precautions when Using the Transmission Control Functions(6) Handling of ER (D
212CHAPTER 8 DATA COMMUNICATIONS USING HALF-DUPLEX COMMUNICATIONSFor data communications between the Q series C24 and an external device using the RS-
213CHAPTER 8 DATA COMMUNICATIONS USING HALF-DUPLEX COMMUNICATIONS88.2 Data Transmission and Reception Timing8.2 Data Transmission and Reception Timing
214(b) When Q series C24 is designated "non-priority"The contents of steps 4 and 5 below are different from those of Page 213, Section 8.2 (
215CHAPTER 8 DATA COMMUNICATIONS USING HALF-DUPLEX COMMUNICATIONS88.2 Data Transmission and Reception Timing(2) Timing when data is transmitted from t
216(b) When Q series C24 is designated "non-priority"The contents of steps 4 and 5 below are different from those of Page 215, Section 8.2 (
217CHAPTER 8 DATA COMMUNICATIONS USING HALF-DUPLEX COMMUNICATIONS88.3 Changing the Communication System8.3 Changing the Communication SystemTo change
20RELEVANT MANUALSThe specifications and usage of special functions can be checked in this manual.In addition, use the following manuals according to
2188.4 Connector Connections for Half-duplex CommunicationsThe following explains the functions of the connector that connects the Q series C24 and ex
219CHAPTER 8 DATA COMMUNICATIONS USING HALF-DUPLEX COMMUNICATIONS88.5 Half-duplex Communications Precautions8.5 Half-duplex Communications Precautions
220CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATIONUser frames are used to register some, or all, of the messages exchang
221CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.1 User Frame Types and Contents During Communication9.1.1 User fram
222(4) Variable data"Variable data" is the generic term for the following data.These variable data can be handled as part of a user frame.•
223CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.1 User Frame Types and Contents During Communication(b) Variable da
224(Calculation range when transmitting data)(Calculation range when receiving data)[Range 1]• When transmitting: Calculation includes everything from
225CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.1 User Frame Types and Contents During Communication[Range 3]• When
2261) Q series C24 processing corresponding to register codes FFH and 00HThe following uses an example to describe the processing performed by the Q s
227CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.1 User Frame Types and Contents During CommunicationFor register co
21MANUAL'S USE AND STRUCTURE(1) How to use this manualThis manual describes the use of special functions for the Q series C24 (QJ71C24N, QJ71C24N
228• How to calculate the two's complement sum check codeThe lower 1 byte of the value obtained by adding the subject data as binary data is conv
229CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.1 User Frame Types and Contents During Communication(In the case of
2309.1.2 Default registration frame (read only)This frame is registered to the Q series C24 in advance and can be used in the same way as the other us
231CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.2 Transmission/Reception Processing Using User Frame Register Data9
232RemarkWith a multidrop link, the user frame includes data that identifies which station transmitted the message to the external device to facilitat
233CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.2 Transmission/Reception Processing Using User Frame Register Data(
234RemarkWith a multidrop link, if the receive user frame inherent to each Q series C24 is connected to the link in advance, the Q series C24 of a giv
235CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.3 Precautions when Registering, Reading, Deleting and Using User Fr
236(2) Precautions when using user frames(a) To send/receive data using the user frames, it is necessary to set the user frame number to be used in th
237CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.4 Register/Read/Delete User Frames9.4 Register/Read/Delete User Fra
22(h) To use the function that performs the data communication in ASCII code with the external deviceChapter 13 describes the handling of binary code
238(3) Buffer memory to useRead/write from programmable controller CPU: Always performed, : Performed as required, : Unnecessary(a) Registration da
239CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.4 Register/Read/Delete User Frames(b) User frame storage area (Addr
2409.4.1 Registering user framesThe following shows an example of a sequence program when registering user frames in the Q series C24 flash ROM.For de
241CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION99.4 Register/Read/Delete User Frames9.4.2 Reading user framesThe foll
2429.4.3 Deleting user framesThe following shows an example of a sequence program when deleting user frames registered in the Q series C24 flash ROM.F
243CHAPTER 10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES1010.1 User Frame Data Communications FunctionCHAPTER 10 ON-DEMAND DATA COMMUNICATIONS US
24410.2 User Frame Types and RegistrationData communications using user frames can be performed by registering the user frames to the Q series C24 fro
245CHAPTER 10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES1010.3 User Frame On-Demand Data Transmission and Buffer Memory Used• On-demand data list
24610.4 On-Demand Function Control Procedure During User Frame UseThe following uses examples to explain the control procedure when using the on-deman
247CHAPTER 10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES1010.4 On-Demand Function Control Procedure During User Frame Use[Control procedure]03H 4
23GENERIC TERMS AND ABBREVIATIONSIn this manual, the following generic terms and abbreviations are used to explain the serial communication module and
24810.4.2 Data communications using the binary codeThe following shows the control procedure when performing switch settings via GX Developer and regi
249CHAPTER 10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES1010.4 On-Demand Function Control Procedure During User Frame Use[Control procedure]17H 0
25010.5 Example of an On-Demand Data Transmission Program Using User FramesThe following shows an example of a sequence program when sending on-demand
251CHAPTER 10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES1010.5 Example of an On-Demand Data Transmission Program Using User Frames(3) Program exa
252CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMESRegistering the fixed format portion of the message transmitted/received by the opposite device and
253CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.1 Overview of Data Communication Procedure11.1 Overview of Data Communication ProcedureThe fol
25411.2 Data ReceptionIn data reception using the user frame, the reception method on the Q series C24 side includes format 0 and format 1.This sectio
255CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception*1 User frames for reception• The user frame for data reception can set up to
256(1) Reception with the first frame (combination 1-A to C) (reception using Format-0)(a) Reception of combination (1-A)• In this method, any data se
257CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception(c) Reception of combination (1-C)• In this method, start of data transmission
24(2) Abbreviations for dedicated instructions(3) Generic terms and abbreviations for the manuals(4) OthersTerm DescriptionBIDIN Abbreviation for G.BI
258By specifying a user frame, in which only NAK (15H) is registered, as the first frame and also specifying exclusive format-1 received data count fo
259CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception(3) Reception without the first frame (combination 2-A, 2-B) (reception using
260(b) Reception of combination (2-B)• In this method, a user frame is used as the last frame in place of the non procedure protocol data receive comp
261CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data ReceptionRemarkThe following shows the difference in how reception data for each recept
26211.2.2 Timing for start/completion of data receptionThis section explains the reading of reception data based on the user frame and other factors (
263CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception[Combination without the first frame]*1 The reception processing via the recei
264[Combination with the first frame] Timing patterns for reception start and receive complete (read)When data is received using Format-1, the Q serie
265CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception[Combination without the first frame] Timing patterns for reception start and
26611.2.3 Receive procedureThe following shows the receive procedure when a message, including data with the same arrangement as the specified user fr
267CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception11.2.4 User frame setting for reception(1) About user frame setting for recept
25TERMSThe following table lists the definitions and descriptions of terminology used in this manual.Term DescriptionA compatible 1C frame(Formats 1 t
268(2) Initial settings via GX Configurator-SC ("Non procedure system setting" screen)This section explains the buffer memory when setting v
269CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception[How to specify the first frame No. and the last frame No.]Set the frame numbe
270(c) User frame receive format designation (address: 2020H to 2023H/2120H to 2123H)In data reception using a user frame, specify the reception metho
271CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.2 Data Reception(3) Examples of registering a receive user frameThe following are examples of
272(b) When the first frame is not specifiedIn the example, the following three combinations are registered for the receive user frame.[Setting condit
273CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program11.3 Receive ProgramThis section shows examples of the sequence program to re
274*1 Indicates the settings of the user frame No. to which the first and last frame Nos. are specified in the programs.8227 (2023H) User frame receiv
275CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program(1) Example of a sequence program when setting is done using the GX Configura
276(2) Example of a sequence program when setting is not done using the GX Configurator-SCFor details on the INPUT instruction, refer to the User&apos
277CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program*2 Page 267, Section 11.2.4Sets to CH1 for reception channelSets normal comp
26QnA compatible 4C frame(Format 5)One of the message formats for the serial communication modules, which is used to perform ASCII data communication
27811.3.2 Application example for data reception using a combination that specifies the first frameIn the description of this program example, conditi
279CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program(a) When receiving with a combination of the first frame, arbitrary data and
280(b) When receiving with a combination of the first frame and arbitrary data (reception using Format-0)(1234H)02H41H 3BH30H 31H 32H 33H 02H 41H 42H
281CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program(c) When receiving with user frame only (reception using Format-0)Q;ETXSTX02H
282(d) When receiving with first frame only (reception using Format-1)06HACKX83M0M1ONONADHAEHAFHB0HB1HB2HB3HB4HB5H120H121H25BH600H2020H2021H2022H2023H
283CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program(e) When receiving with a combination of the first frame and arbitrary data (
28411.3.3 Application example for data reception using a combination that does not specify the first frameIn the description of this program example,
285CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.3 Receive Program(a) When receiving using arbitrary data and last frame combination. (receptio
28611.4 Data TransmissionThis section explains the arrangement of the transmission data and transmission procedure when transmitting data using a user
287CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.4 Data TransmissionHandling of the Q series C24 send data● The data of the user frame and the
27CHAPTER 1 OVERVIEW11.1 OverviewCHAPTER 1 OVERVIEW1.1 OverviewThis manual explains special functions of the MELSEC-Q/L series C24.When applying the f
28811.4.2 Transmission procedureThe following describes the transmission procedure when a message containing user frames is transmitted to the externa
289CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.4 Data Transmission11.4.3 Settings for transmission user framesThese settings are required for
290Sending data in the following sequence*1 When sending data that is written in the transmission area, use 8000H as a temporary user frame number. (
291CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.4 Data Transmission(b) Transmission user frame designationThe following explains application o
292• Output count designation area (addresses: B9H/159H)Write the output count of the user frames to be sent from the position designate in the output
293CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.5 Transmission Program11.5 Transmission ProgramThe following are examples of a sequence progra
294(1) Sequence program example when setting is done with GX Configurator-SCFor further details on the PRR instruction, see Page 369, CHAPTER 17.;Q0AH
295CHAPTER 11 DATA COMMUNICATIONS USING USER FRAMES1111.5 Transmission Program(2) Sequence program example when setting is not done with GX Configurat
296CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODESTransparent codes and additional codes are used during data communication with an external device
297CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.1 Handling the Transparent Code and Additional Code Data(3) During data communication using t
1SAFETY PRECAUTIONS(Read these precautions before using this product.)Before using this product, please read this manual and the relevant manuals care
28(b) The programmable controller CPU monitoring function can be used in communication using MC protocol or non procedure protocol.(c) Using the progr
29812.2 Registering Transparent Codes and Additional CodesTo control transparent codes and additional codes for data to be sent/received with the non
299CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.3 Handling Transparent Codes and Additional Codes during Non Procedure Protocol Data Communic
300(b) When transparent code/additional code data set for transmission is detected during data transmission, the additional code designation data is a
301CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.3 Handling Transparent Codes and Additional Codes during Non Procedure Protocol Data Communic
302When ASCII-BIN conversion is not performedWhen ASCII-BIN conversion is performed10H 02H 3AH BCH12HDLE(H) (L)(0002H)(0212H)(BC3AH)00H , 02H02H , 12H
303CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.3 Handling Transparent Codes and Additional Codes during Non Procedure Protocol Data Communic
30412.4 Example of Data Communication Using the Non Procedure ProtocolThis section shows examples of data communication using the non procedure protoc
305CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.4 Example of Data Communication Using the Non Procedure Protocol12.4.1 Example of data recept
306(2) Receiving based on the completed data countAdditional code: 10H (DLE), transparent code: 02H (STX),Completed data count: Six words or 12 bytesW
307CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.4 Example of Data Communication Using the Non Procedure Protocol12.4.2 Example of data transm
29CHAPTER 1 OVERVIEW11.1 Overview(c) When a remote password is set in the QCPU with the GX Developer, the following access from the external device to
308• Additional code: 10H (DLE), transparent code: 02H (STX) (1st group), Additional code: 10H (DLE), transparent code: 03H (ETX) (2nd group)0123BAOUT
309CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.5 Handling Transparent Codes and Additional Codes During Bidirectional Protocol Data Communic
310(c) Data having an additional code that is added or deleted cannot be included in the data length, nor will it be used for the sum check code.When
311CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.5 Handling Transparent Codes and Additional Codes During Bidirectional Protocol Data Communic
312The following example shows the data arrangement when data is sent and received. (The communication section of the response message is omitted.)(Wh
313CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.6 Example of Data Communication Using the Bidirectional Protocol12.6 Example of Data Communic
31412.6.1 Example of data receptionThe following shows an example of storing receive data in the data register.(1) When the receive transparent code d
315CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.6 Example of Data Communication Using the Bidirectional Protocol● When the receive transparen
316(2) When the receive transparent code designation is set to Enable and the ASCII-BIN conversion is set to EnableAdditional code: 10H (DLE), transpa
317CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES1212.6 Example of Data Communication Using the Bidirectional Protocol12.6.2 Example of data transm
30(4) Controlling data communication in accordance with the external device ( Page 203, CHAPTER 7)(a) The Q series C24 controls data communication wi
318(2) When the send transparent code designation is set to Enabled and the ASCII-BIN conversion is set to EnabledAdditional code: 10H (DLE), transpar
319CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.1 ASCII-BIN ConversionCHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVE
32013.2 Settings for ASCII-BIN ConversionIn order to convert data to be sent/received via the non procedure protocol and bidirectional protocol from b
321CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.3 Performing ASCII-BIN Conversion for Data Communicated via Non Procedure Proto
322• Even if ASCII-BIN conversion is "enabled," it is possible to transmit data without converting the data in any user frame portion or buf
323CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.4 Example of Data Communication Using the Non Procedure Protocol13.4 Example of
32413.4.1 Example of data receptionThe following shows an example of data reception:(1) Reception using the receive complete codeComplete code: 9H (th
325CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.4 Example of Data Communication Using the Non Procedure Protocol(2) Reception b
326(3) Example of reception using user frames02HSTX51HQ0AH;3BH030H131H232H46H 35HA41HF542HC43HBETX03HDEH00H 44HE45HD46H939HFX83M0M1ONONADHAEHAFHB0HB1H
327CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.4 Example of Data Communication Using the Non Procedure Protocol13.4.2 Example
31CHAPTER 1 OVERVIEW11.1 Overview(6) Sending/receiving data in a message format tailored to the external device ( Page 220, CHAPTER 9 to Page 252, CH
328(2) Example of transmission by user frame*PRRB6HB7H0HB8H1HB9H5HBAH3F2HBBH3F3HBCHC001HBDHBEHBFHX50ONON8000H441BH0H400H00H , 02H121H1H401H(1234H)12
329CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.5 Performing ASCII-BIN Conversion for Data Communicated via the Bidirectional P
330(d) Conversion of error code• At transmission: The Q series C24 converts an error code for a detected error to 4-digit ASCII code data (hexadecimal
331CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.6 Example of Data Communication Using the Bidirectional Protocol13.6 Example of
33213.6.1 Example of data receptionThe following shows an example of data reception when ASCII-BIN conversion is enabled.When the receive transparent
333CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)1313.6 Example of Data Communication Using the Bidirectional Protocol13.6.2 Example
334CHAPTER 14 DATA COMMUNICATIONS USING EXTERNAL DEVICE AND PROGRAMMABLE CONTROLLER CPU M : N CONFIGURATIONAlways read this chapter when communicating
335CHAPTER 14 DATA COMMUNICATIONS USING EXTERNAL DEVICE AND PROGRAMMABLE CONTROLLER CPU M : NCONFIGURATION1414.1 Data Communications Precautions(3) Th
33614.2 External Devices Interlock ConditionsWhen using a multidrop line to communicate data between external devices and the programmable controller
337CHAPTER 14 DATA COMMUNICATIONS USING EXTERNAL DEVICE AND PROGRAMMABLE CONTROLLER CPU M : NCONFIGURATION1414.2 External Devices Interlock Conditions
32The following table lists which special functions are available for the main data communication functions of the Q series C24.: Available, : Not a
338(2) When message structure different from that of control procedure format frames can be used(a) Change the head data of each message to other arbi
339CHAPTER 14 DATA COMMUNICATIONS USING EXTERNAL DEVICE AND PROGRAMMABLE CONTROLLER CPU M : NCONFIGURATION1414.3 Examples of Procedure for Data Commun
3401. When the system starts, the external device with the lowest station No. (1BH) is given the line usage right.2. The external device that obtained
341CHAPTER 14 DATA COMMUNICATIONS USING EXTERNAL DEVICE AND PROGRAMMABLE CONTROLLER CPU M : NCONFIGURATION1414.3 Examples of Procedure for Data Commun
34214.3.2 Data communications between programmable controller CPU and external devices by designating a master station and slave stationsOne of the ex
343CHAPTER 14 DATA COMMUNICATIONS USING EXTERNAL DEVICE AND PROGRAMMABLE CONTROLLER CPU M : NCONFIGURATION1414.3 Examples of Procedure for Data Commun
3446. The master station that received the communications complete report transmits a response to the slave station that transmitted the communication
345CHAPTER 15 SWITCHING THE MODE AFTER STARTING15 CHAPTER 15 SWITCHING THE MODE AFTER STARTINGThis function forcefully switches the current communicat
346(2) Mode switching from programmable controller CPU(a) Regardless of the current communication protocol of the connected interface, the external de
347CHAPTER 15 SWITCHING THE MODE AFTER STARTING1515.1 Mode Switching Operation and Contents that can be Changed15.1 Mode Switching Operation and Conte
33CHAPTER 1 OVERVIEW11.2 Functions Added/Changed for the QJ71C24N (-R2/R4) and QJ71C24 (-R2)1.2 Functions Added/Changed for the QJ71C24N (-R2/R4) and
34815.1.2 Operation for mode switchingThe following describes the Q series C24 operation for mode switching.(1) Processing currently in execution(a) I
349CHAPTER 15 SWITCHING THE MODE AFTER STARTING1515.2 Mode Switching Precautions15.2 Mode Switching Precautions(1) Set-up between the external device
35015.3 I/O Signals for Handshake with Programmable Controller CPU and Buffer MemoryThis section describes the I/O signals for handshake and the buffe
351CHAPTER 15 SWITCHING THE MODE AFTER STARTING1515.3 I/O Signals for Handshake with Programmable Controller CPU and Buffer Memory(a) Switching mode N
352[For the Q series C24]*1 All items in the table should be set to OFF for the interface which "GX Developer connection" is set in the swit
353CHAPTER 15 SWITCHING THE MODE AFTER STARTING1515.3 I/O Signals for Handshake with Programmable Controller CPU and Buffer MemoryRemarkThe programmab
35415.4 Switching the Mode from the Programmable Controller CPUThis section shows how the Q series C24 mode is switched from the programmable controll
355CHAPTER 15 SWITCHING THE MODE AFTER STARTING1515.4 Switching the Mode from the Programmable Controller CPU15.4.2 Mode switching sample programThe f
35615.5 Switching the Mode from an External DeviceThis section shows how the Q series C24 mode is switched from an external device.15.5.1 Mode switchi
357CHAPTER 15 SWITCHING THE MODE AFTER STARTING1515.5 Switching the Mode from an External Device15.5.2 Mode switching sample programThe following show
34CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTIONThis chapter explains the programmable controller CPU monitoring function with wh
358CHAPTER 16 USING COMMUNICATION DATA MONITORING FUNCTIONThe following describes the QJ71C24N (-R2/R4) and LJ71C24(-R2) communication data monitoring
359CHAPTER 16 USING COMMUNICATION DATA MONITORING FUNCTION1616.1 Communication Data Monitoring Function16.1.2 Communication data monitoring operationT
360(2) During monitoring(a) After monitoring starts, data of reception, transmission, receiving error, and signal change are stored from the head addr
361CHAPTER 16 USING COMMUNICATION DATA MONITORING FUNCTION1616.1 Communication Data Monitoring Function(3) Monitor stopMonitoring stops if any of the
36216.2 Communication Data Monitoring Function SettingsSettings for the communication data monitoring function can be configured on the "Transmis
363CHAPTER 16 USING COMMUNICATION DATA MONITORING FUNCTION1616.2 Communication Data Monitoring Function Settings(2) Buffer memory for communication da
364(e) Monitor data pointer storage area (Address: according to monitor buffer head address setting (Default: 2600H/3300H))• The oldest data position
365CHAPTER 16 USING COMMUNICATION DATA MONITORING FUNCTION1616.2 Communication Data Monitoring Function Settings(g) The monitor data area (Default add
36616.3 Communication Data Monitoring ExampleThe following is an example of the data monitoring of nonprocedural protocol communication.(1) System con
367CHAPTER 16 USING COMMUNICATION DATA MONITORING FUNCTION1616.3 Communication Data Monitoring Example(c) Sample programMonitor data area is cleared t
35CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.1 Overview(2) Simplifying the device monitoring procedureWhen device monitorin
368(3) Confirming monitor data by GX DeveloperThe monitor data area for CH1 (Address: 2602H to 32FFH) is monitored on the buffer memory batch monitori
369CHAPTER 17 DEDICATED INSTRUCTIONS1717.1 Dedicated Instruction List and Available DevicesCHAPTER 17 DEDICATED INSTRUCTIONSDedicated instructions are
370(2) Available devicesThe following devices are available for the dedicated instructions:*1 Word device bit designation can be used as bit data. Wor
371CHAPTER 17 DEDICATED INSTRUCTIONS1717.2 Z.BUFRCVS17.2 Z.BUFRCVSThis instruction is used to receive data by an interrupt program through non procedu
37217.2.3 Functions(1) This instruction stores data received from an external device to a designated device.(2) This instruction can identify the addr
373CHAPTER 17 DEDICATED INSTRUCTIONS1717.2 Z.BUFRCVS17.2.5 Precaution when using the BUFRCVS instruction(1) Use the BUFRCVS instruction when receiving
37417.2.6 Program exampleAn interrupt program that reads receive data.(Setting)• Interrupt pointer setting with GX Developer• Interrupt program start
375CHAPTER 17 DEDICATED INSTRUCTIONS1717.3 ZP.CSET (Programmable Controller CPU Monitoring Register/Cancel)17.3 ZP.CSET (Programmable Controller CPU M
37617.3.2 Control data(1) Registering the programmable controller CPU monitoringDevice Item Setting data Setting range Set by(S2)+0 Execution type Des
377CHAPTER 17 DEDICATED INSTRUCTIONS1717.3 ZP.CSET (Programmable Controller CPU Monitoring Register/Cancel)*1 For the LJ71C24(-R2), notification funct
362.2 About the Programmable Controller CPU Monitoring FunctionThis section explains the programmable controller CPU monitoring function.2.2.1 Data re
378(2) Canceling the programmable controller CPU monitoringRemark● For information about errors caused by incorrect data designated by the user, see t
379CHAPTER 17 DEDICATED INSTRUCTIONS1717.3 ZP.CSET (Programmable Controller CPU Monitoring Register/Cancel)17.3.3 Functions(1) To register the program
380(7) When the programmable controller CPU monitoring registration is performed, the corresponding interface data communication protocol setting is o
381CHAPTER 17 DEDICATED INSTRUCTIONS1717.3 ZP.CSET (Programmable Controller CPU Monitoring Register/Cancel)17.3.4 Errors(1) When the dedicated instruc
38217.3.5 Program example(1) A program that registers the programmable controller CPU monitoringThe following example shows how to register the progra
383CHAPTER 17 DEDICATED INSTRUCTIONS1717.3 ZP.CSET (Programmable Controller CPU Monitoring Register/Cancel)(2) A program that cancels the programmable
38417.4 ZP.CSET (Initial Settings)With this instruction, the unit of transmission/reception data (word/byte) and data communication areas can be set.*
385CHAPTER 17 DEDICATED INSTRUCTIONS1717.4 ZP.CSET (Initial Settings)17.4.2 Control dataRemark● For information about errors caused by incorrect desig
38617.4.3 Functions(1) This instruction changes the current values of the settings below to transmit/receive data using the following communication pr
387CHAPTER 17 DEDICATED INSTRUCTIONS1717.4 ZP.CSET (Initial Settings)(4) Whether the CSET instruction is being executed or has been completed normally
37CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function2.2.2 Programmable
38817.4.4 ErrorsWhen the dedicated instruction is completed abnormally, the error flag (SM0) turns on and the error code is stored in SD0.See the foll
389CHAPTER 17 DEDICATED INSTRUCTIONS1717.5 G(P).GETE17.5 G(P).GETEThis instruction reads out a user frame.17.5.1 Setting dataThe file registers of eac
39017.5.2 Control dataRemark● For information about errors caused by incorrect data designated by the user, see Page 392, Section 17.5.4.● The "S
391CHAPTER 17 DEDICATED INSTRUCTIONS1717.5 G(P).GETE(2) Simultaneous execution of dedicated instructionsThe following table lists the handling for whe
39217.5.4 ErrorsWhen the dedicated instruction is completed with an error, the complete status display device at completion ((D)+1), turns on and the
393CHAPTER 17 DEDICATED INSTRUCTIONS1717.6 G(P).PRR17.6 G(P).PRRIn non procedure protocol communication, this instruction transmits data using a user
39417.6.2 Control dataRemark● For information about errors caused by incorrect data designated by the user, see Page 396, Section 17.6.4.● The "S
395CHAPTER 17 DEDICATED INSTRUCTIONS1717.6 G(P).PRR17.6.3 Functions(1) This instruction transmits the user frame data using the non procedure protocol
396(b) Status display device at completionTurns on and off depending on the completion status of the PRR instruction.• Normal completion: Stays off an
397CHAPTER 17 DEDICATED INSTRUCTIONS1717.6 G(P).PRR17.6.5 Program exampleA program that sends arbitrary data and the first to fifth user frames regist
2When using the MELSEC-Q series serial communication module[Design Precautions]WARNING● For the operation status of each station at communication erro
38(4) The word and bit devices that can be designated as the monitoring targets and the device codes that are used to register the monitoring devices
39817.7 G(P).PUTEThis instruction registers a user frame.17.7.1 Setting dataThe file registers of each of the local device and the program cannot be u
399CHAPTER 17 DEDICATED INSTRUCTIONS1717.7 G(P).PUTERemark● For information about errors caused by incorrect data designated by the user, see the desc
400(4) Simultaneous execution of dedicated instructionsThe following table lists the handling for when executing another instruction during execution
401CHAPTER 17 DEDICATED INSTRUCTIONS1717.7 G(P).PUTE17.7.4 ErrorsWhen the dedicated instruction is completed with an error, the status display device
40217.8 ZP.UINIThis instruction can change the mode, transmission specifications and station number of the Q series C24.It is applicable to the QJ71C2
403CHAPTER 17 DEDICATED INSTRUCTIONS1717.8 ZP.UINI(1) (S)+3 (CH1 transmission specifications setting) and (S)+5 (CH2 transmission specifications setti
404(2) (S)+4 (CH1 communication protocol setting) and (S)+6 (CH2 communication protocol setting)For details of the CH transmission specifications set
405CHAPTER 17 DEDICATED INSTRUCTIONS1717.8 ZP.UINI17.8.3 Functions(1) This instruction changes the transmission specifications, communication protocol
406[Operation when the UINI instruction is executed]17.8.4 ErrorsWhen the dedicated instruction is completed with an error, the status display device
407CHAPTER 17 DEDICATED INSTRUCTIONS1717.8 ZP.UINI17.8.5 Program exampleThe settings of the Q series C24 installed in the position of I/O No. X/Y00 to
39CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function2.2.3 Timing for pr
408*1 Perform programming so that data communication processing is not executed while the interlock signal for communication stop (M100) is ON.Clears
409CHAPTER 17 DEDICATED INSTRUCTIONS1717.8 ZP.UINI17.8.6 Precautions(1) Execute the UINI instruction after stopping all data communications with the o
410(6) Do not use the UINI instruction and mode switching request signal (Y2/Y9) together to execute mode switching.(7) To use the current communicati
411APPENDIXAAppendix 1 Specification Comparison between the Q Series C24 and L series C24 APPENDIXAppendix 1 Specification Comparison between the Q Se
412Memo
I4478413INDEXAAction for buffer full . . . . . . . . . . . . . . . . . . . . . . . 363Additional codes . . . . . . . . . . . . . . . . . . . . . . . .
414On-demand data list . . . . . . . . . . . . . . . . . . . . . . 244On-demand function control procedure (ASCII code) . . . . . . . . . . . . . . .
415REVISIONS*The manual number is given on the bottom left of the back cover.Print date *Manual number RevisionDec., 1999 SH (NA)-080007-A First editi
416Japanese manual version SH-080002-T 2014 MITSUBISHI ELECTRIC CORPORATIONJan., 2010 SH(NA)-080007-M[Additional model]LJ71C24, LJ71C24-R2[Partial co
417WARRANTYPlease confirm the following product warranty details before using this product.1. Gratis Warranty Term and Gratis Warranty RangeIf any fau
40(3) To monitor the programmable controller CPU, the Q series C24 reads monitoring information (device information, programmable controller CPU statu
418TRADEMARKSMicrosoft, Windows, Windows Vista, Windows NT, Windows XP, Windows Server, Visio, Excel, PowerPoint, Visual Basic, Visual C++, and Access
SH(NA)-080007-O(1412)MEEMODEL: QJ71C24-U-OU-EMODEL CODE: 13JL87Specifications subject to change without notice.When exported from Japan, this manual d
41CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function2.2.4 Timings of tr
42(b) Two transmission methods of the monitoring results are available for the condition agreement transmission for device monitoring. These include e
43CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function(d) In device monit
442.2.5 Transmission methods of monitoring results and transmission data to the external deviceThe following explain the method of transmitting the pr
45CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function(d) When sending th
46(2) Data transmission to the external device while performing communication using the non procedure protocol(a) The device information and CPU infor
47CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function(d) The user frame
3[Design Precautions][Installation Precautions]CAUTION● Do not install the control lines or communication cables together with the main circuit lines
48(f) Device information and programmable controller CPU status information are sent using the data arrangement shown below.The ASCII-BIN conversion d
49CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function• When data for bit
50(When ASCII-BIN conversion is not performed)The total number of bytes for the device data section is the number of device points 2.(When ASCII-BIN
51CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function• When user frame N
52• When user frame No. B081H is designatedInformation on monitoring results for all blocks are sent as follows:Results are sent in the following orde
53CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function(When ASCII-BIN con
54(When ASCII-BIN conversion is not performed)The total number of bytes for the device data section is the number of device points 2.When the word/b
55CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function(When ASCII-BIN con
56(3) Notification to the interface side using the modem function(a) The notification message (text string data) contained in the user registered data
57CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.2 About the Programmable Controller CPU Monitoring Function2.2.6 Execution seq
4[Wiring Precautions]CAUTION● When turning on the power and operating the module after installation and wiring are completed, always attach the termin
582.3 Settings for Using the Programmable Controller CPU Monitoring FunctionThis section describes system settings required for constant cycle transmi
59CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.3 Settings for Using the Programmable Controller CPU Monitoring Function: Set
60(2) Setting items and requirement when performing communication using the non procedure protocol: Setting required, : Setting not requiredWhile us
61CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.3 Settings for Using the Programmable Controller CPU Monitoring Function(3) Co
62(g) Monitoring device, head device No., read point (Number of registered points)When performing device data monitoring or transmission, designate th
63CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.3 Settings for Using the Programmable Controller CPU Monitoring Function(4) Se
642.3.2 How to register and cancel the programmable controller CPU monitoring functionThe following describes the method for registering and canceling
65CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.3 Settings for Using the Programmable Controller CPU Monitoring Function(a) Ex
66(b) Example of a program for executing programmable controller CPU monitoring cancellationThis example shows a program that cancels programmable con
67CHAPTER 2 USING THE PROGRAMMABLE CONTROLLER CPU MONITORING FUNCTION22.4 Precautionary Notes for Using the Programmable Controller CPU Monitoring Fun
5[Startup and Maintenance Precautions][Operating Precautions][Disposal Precautions]CAUTION● Do not disassemble or modify the modules. Doing so may cau
68(7) The following describes how the Q series C24 operates when the programmable controller CPU monitoring result information cannot be sent to the e
69CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.1 OverviewCHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTIONThis chapter explains the overview and how
703.1.1 FeaturesThe following explains the features of the modem function.(1) Interface that can use the modem function(a) The modem function can be u
71CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.1 Overview(3) Communication between a remote external device and programmable controller CPU(a) Dat
72(4) Notification to the pager receiver(a) In order to notify to the pager receiver of the programmable controller system maintenance information, th
73CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.1 Overview(6) Remote password checkIf the remote password check has been set for the Q series C24 i
743.1.2 Function listThe following lists the overview of the modem function:Function OverviewModem/TA initializationInitializes the modem/TA using the
75CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.1 Overview3.1.3 Comparisons with related devicesThe following lists the comparison with the related
763.2 System ConfigurationThis section describes system configurations when the modem function is used to call a pager receiver or to perform data com
77CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.2 System Configuration(3) Connection example with a Q series C24 via cellular phone*1*1 The public
6When using the MELSEC-L series serial communication module[Design Precautions][Design Precautions][Installation Precautions]WARNING● For the operatio
783.2.2 System configuration when using the notification functionThe following describes the system configuration example when calling the pager recei
79CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.2 System Configuration3.2.3 System configuration when connecting GX DeveloperThe following describe
803.2.4 Precautions for system configurationsThe following describes the precautionary items when configuring the system to perform data communication
81CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.2 System Configuration(6) Connectable lines(a) The connections can be made with the following lines
823.3 SpecificationsThis section explains the transmission specification on the Q series C24 side, connectable modems/TA's (terminal adapter), I/
83CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications3.3.2 Specification of connectable modems/TAs (terminal adapters)The following tabl
84(b) Precautions for selecting a modem• When using a cellular phoneA modem with the error correction function of MNP class-10 is recommended. However
85CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(2) Specification and precautions for the connectable TA's (terminal adapters)
863.3.3 Compatibility with the QCPU remote password functionThis section explains the Q series C24 data communication for the QCPU remote password fun
87CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications● The remote password unlock and lock processing can be performed only for the Q se
7[Installation Precautions][Wiring Precautions]CAUTION● Use the programmable controller in an environment that meets the general specifications in the
88(2) Remote password check processing performed by the Q series C24(a) Communication in which a remote password check is performed1) When the followi
89CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(c) Stations that can be accessed when the remote password check is performed• If t
90(4) How to set the remote passwordOn the screen below for setting parameters (remote password) using GX Developer, set the remote password in the QC
91CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(5) Setting from GX Configurator-SCWhen the Q series C24 performs a remote password
923.3.4 Compatibility with the callback functionThe following describes the Q Series C24 callback function that can be used when accessing the QCPU fr
93CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(2) Data communications procedureHere, the procedure for data communications when u
94(c) If you are making a line connection to the GX Developer by the following connection system, select "callback reception waiting" as the
95CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(e) Set the settings related to the callback function in the following areas of GX
96(4) Setting and monitoring by GX Configurator-SC for use of the callback function(a) Setting, monitoring / test itemsCarry out setting, monitoring a
97CHAPTER 3 COMMUNICATIONS BY THE MODEM FUNCTION33.3 Specifications(b) Callback function designation and callback operation outlineHere the setting va
Komentarze do niniejszej Instrukcji