On-Demand Function Control Procedure During User Frame Use; Data Communication Using The Ascii Code - Mitsubishi MELSEC L Series User Manual

Communication module
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

10.4 On-Demand Function Control Procedure During User Frame Use

10.4.1 Data communication using the ASCII code

10 - 4
The following uses examples to explain the control procedure when using the on-
demand function to frame to transmit on-demand data to an external device by user
frame.
The following shows the control procedure when performing switch settings via GX
Developer and registration via GX Configurator-SC.
(1) Switch settings via GX Developer
1) Set the "Communication protocol setting" to any one of the "MC
protocol (formats 1 to 4) ".
2) Set the "Station number" to "0".
(2) Registration via GX Configurator-SC
Register as follows when transmitting a user frame, user selected transmission
data ( 1) or a combination of user frames.
1) "User frame registration" screen
User frame No.
02
(
2)
H
3EB
(1003)
H
401
(1025)
H
2) "Transmission control and others system setting" screen, "MC protocol
system setting" screen
• Set the "Word/byte units designation" to word units.
• Set the "On-demand user frame designation" items to the following:
First frame No. 1st: 02
First frame No. 2nd: 3EB
Last frame No. 1st: 401
Last frame No. 2nd: 0
1 Use the ONDEMAND instruction to designate the transmission data to
two words (1234
10 ON-DEMAND DATA COMMUNICATIONS USING USER FRAMES
User frame
(Registration code)
02
H
F9
, 00
, 00
, FF
, FF
, 00
H
H
H
H
H
03
, FF
, F1
H
H
H
H
H
H
(No specification)
H
, 5678
).
H
H
Contents of user frame
registration
STX to host station No. data code
matched to QnA compatible 3C
H
frame format 1
QnA compatible 3C frame format
1 corresponding ETX, sum check
code data code
10 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q seriesQj71c24Qj71c24-r2Lj71c24-r2Lj71c24Qj71c24n ... Show all

Table of Contents