Transmission Program - Mitsubishi MELSEC L Series User Manual

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

Advertisement

11.5 Transmission Program

Item
Word/byte units designation
Send transparent code designation
ASCII-BIN conversion designation
Transmission frame No. designation 1st
Transmission frame No. designation 2nd
Transmission frame No. designation 3rd
Transmission frame No. designation 4th
Transmission frame No. designation 5th
11 - 41
The following are examples of a sequence program when the user frame (four) and
transmission area data are transmitted.
In the description of the sample programs, data transmission using user frames is
described for the following conditions case:
1) The Q series C24 I/O signals
The Q series C24 installed at QCPU I/O signal addresses X/Y80 to X/Y9F.
2) The Q series C24 interface used in data communications with the external
device
The Q series C24 CH1 RS-232 interface
3) Switch setting using GX Developer
Set the following setting values on the "intelligent functional module switch
setting" screen.
Setting item
CH1 Transmission setting
Switch 1
CH1 Communication rate setting
Switch 2
CH1 Communication protocol setting
CH2 Transmission setting
Switch 3
CH2 Communication rate setting
Switch 4
CH2 Communication protocol setting
Switch 5
Station No. setting
4) Data to be registered on the GX Configurator-SC's "Transmission control and
others system setting" screen and the "Non procedure system settings"
screen for data communication via user frames
Change the default values for the items listed in the table below. Use default
settings for other items.
In example (2), the transmission frame No. is not registered using the GX
Configurator-SC. (It is registered using a sequence program.)
Set contents
Byte
No
Disable
3F2
H
3F3
H
8001
H
8000
H
41B
H
11 DATA COMMUNICATIONS USING USER FRAMES
Setting value
Set according to the
external device
0006
0000
0000
0001
Buffer memory address to store
registration value
96
H
11F
H
121
H
BA
H
BB
H
BC
H
BD
H
BE
H
Remarks
Non procedure protocol
H
H
Not used
H
Q series C24 station number
H
(used in the user frame)
Remarks
Additional code: 10
(DLE)
H
Transparent code: 02
(STX)
H
Refer to the illustration provided
in (1) of this section.
11 - 41

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents