Reuse Of Existing Programs; Reuse Of Ans Series Programs - Mitsubishi MELSEC-AnS Series Handbook

Transition communications
Table of Contents

Advertisement

2
SERIAL COMMUNICATION MODULE REPLACEMENT

2.6 Reuse of Existing Programs

2.6.1 Reuse of AnS series programs

Data communications between the CPU module and external devices and between CPU modules that
have been performed by the AnS series computer link modules can also be performed using the L
series serial communication modules.
The following summarizes how to utilize AnS series computer link module programs for the L series
serial communication modules after module replacement.
Item
Initial setting
Communication using
dedicated protocol
(MC protocol
communication)
Nonprocedural
communication
(Nonprocedural protocol
communication)
Bidirectional
communication
(Bidirectional protocol
communication)
Transmission using printer
function
Others
2
- 20
Device
[Initial settings using the utility package]
Make initial settings using the utility package (GX Configurator-
SC).
[Deleting the initial setting program]
CPU module
Delete the initial setting program.
[Setting the sum check code of the bidirectional protocol]
To add sum check codes to the messages in bidirectional
protocol communications, configure switch settings in PLC
parameters using GX Developer .
[Access to another station]
When accessing other station's CPU module via MELSECNET/
H, set "Valid module during other station access" in network
CPU module
parameters using GX Developer.
[Data transmission by the on-demand function]
Change to a sequence program that uses the dedicated
instruction (ONDEMAND).
[Accessing the CPU module]
The applicable commands, accessible device ranges, and
Communication
access to another station are restricted.
target device
[Access to another station]
Another station cannot be accessed via the data link system
(MELSECNET(II), MELSECNET/B).
[Transmission/reception of data]
CPU module
Change to a sequence program that uses the dedicated
instructions (INPUT, OUTPUT).
[Transmission of data]
When receiving data by the receive end code on the CPU
Communication
module side, transmit the end code data (default: CR+LF
target device
(codes: 0D
, 0A
H
the CPU module.
[Transmission/reception of data]
CPU module
Change to a sequence program that uses the dedicated
instructions (BIDIN, BIDOUT).
[Printing messages on a printer]
When messages
CPU module
transmission program using user frames of the L series serial
communication module.
Delete programs that use the regular printer function.
[Assignment of I/O signals]
There is no compatibility in the I/O signal (X/Y) assignments
CPU module
between the AnS and L series.
Check the I/O signals (X/Y) in use, and correct the program.
[Assignment of buffer memory areas]
CPU module and
There is no compatibility in the buffer memory area
communication
assignments between the AnS and L series.
target device
Check the target buffer memory areas of the data to be read/
written and their addresses, and correct the program.
Precautions
*1*2
)) at the end of the data to be transmitted to
H
*3
*4
were being printed on a printer, create a
*5
Remarks
Refer to the MELSEC-L Serial
Communication Module User's
Manual (Basic).
• Refer to the GX Developer
Operating Manual.
• Refer to the MELSEC-L Serial
Communication Module
User's Manual (Basic).
• Refer to the MELSEC-Q/L
MELSEC Communication
Protocol Reference Manual.
Refer to the MELSEC-L Serial
Communication Module User's
Manual (Basic).
Refer to the MELSEC-Q/L Serial
Communication Module User's
Manual (Application).
Refer to the MELSEC-L Serial
Communication Module User's
Manual (Basic).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-qnas seriesMelsec l series

Table of Contents