Message Format And Control Procedure For Data Communication; Plc Cpu Setting For Performing Data Communication - Mitsubishi QJ71C24/-R2 User Manual

Melsec system q programmable logic controllers, serial communication modules gx configurator-sc
Hide thumbs Also See for QJ71C24/-R2:
Table of Contents

Advertisement

5 DATA COMMUNICATION USING THE MELSEC COMMUNICATION
PROTOCOL

5.1.2 Message format and control procedure for data communication

5

5.1.3 PLC CPU setting for performing data communication

5 - 2
(4) Monitoring the PLC CPU
This function monitors the operating status of the PLC CPU and the data in the
device memory.
The PLC CPU status and the device memory data can be sent to the external
device at fixed intervals, when an error occurs in the machine equipment, or
when certain conditions are satisfied.
This function reduces the data read processing load on the external device side.
(5) Sending data from the PLC CPU to the external device
A function for requesting data transmission from the PLC CPU to the external
device is called the on-demand function.
Urgent data that must be forwarded to the external device can be sent as on-
demand data to the external device by starting up from the PLC CPU.
The data communication functions using the MC protocol correspond to the data
communication functions using the dedicated protocol for the conventional products
listed below.
• A series computer link module
• QnA series serial communication module
Therefore, the message format and control procedure are the same as when
accessing the PLC using these conventional modules.
The external device side can access the Q series PLC with a program used for
accessing the PLC via a conventional module.
(Example)
E
N
Head device
Q
H L H L
0 0 0 1 Q R 0 X 0 0 0 0 4 0
05
30
30
30
31
51
52
30
58
30
30
30
30
34
30
H
H
H
H
H
H
H
H
H
H
H
H
H
H
(Command message for A compatible 1C frame)
POINT
The following manual is available for performing data communication using the MC
protocol.
MELSEC Communication Protocol Reference Manual (sold separately)
Data communication using the MC protocol is achieved by performing the GX
Developer settings indicated below on a PC, performing the system settings by the GX
Configurator-SC, and registering the settings to the PLC.
(1) Settings using the GX Developer (Required)
Perform the I/O assignments and switch settings indicated in Section 4.5 and
write the parameters to the PLC CPU where the Q series C24 is installed.
S
No. of device
points
T
2 characters
(hexadecimal)
X
H
L
H
L
H L H L
0
2
7
0 0 0 1 1 2 3 4
2
30
32
37
32
02
30
30
30
31
31
H
H
H
H
H
H
H
H
H
H
(Response for A compatible 1C frame)
MELSEC-Q
E
Data for the number
of device points
T
Number of device
X
points × 4 characters
H
L
A
B C D
9
8
32
33
34
41
42
43
44
03
39
38
H
H
H
H
H
H
H
H
H
H
H
5 - 2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24nSh-080007Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2 ... Show all

Table of Contents