Dedicated Instructions; Dedicated Instruction List And Available Devices - Mitsubishi Melsec-L Series User Manual

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

Advertisement

12 DEDICATED INSTRUCTIONS

12

12.1 Dedicated Instruction List and Available Devices

Application
On-demand function
transmission
Predefined protocol
communication
Nonprocedural protocol
communication
Bidirectional protocol
communication
Communication status
confirmation
Receive data clear
12 - 1
Dedicated instructions are used to simplify programming when using intelligent function
module functions.
This chapter describes the LCPU dedicated instructions used for the C24.
(1) Dedicated instruction list
The following table lists the dedicated instructions explained in this chapter.
Dedicated
instruction
Sends data using the on-demand function of the MC
ONDEMAND
1
protocol.
Executes the protocol setting data written to the flash ROM
CPRTCL
using the predefined protocol support function of GX
Works2.
Sends data for the specified data count.
OUTPUT
1
Reads received data.
1
INPUT
Sends data for the designated data count.
1
BIDOUT
Reads received data.
BIDIN
1
Reads the status of data transmission/reception via a
SPBUSY
dedicated instruction.
Perform the receive data clear without stopping the
CSET
transmission processing during the nonprocedural protocol.
POINT
Do not change data values (control data, request data, etc.) designated by a
dedicated instruction until the execution of the dedicated instruction is completed.
1 To change the following values preset in the buffer memory for use of
dedicated instructions, use GX Works2 or execute the CSET instruction
(Initial setting) before starting data exchange. (Refer to User's Manual
(Application).)
• Word/byte units designation (address: 96
• Buffer memory head address designation for on-demand function
designation (address: A0
• Transmission buffer memory head address designation (address: A2
142
)
H
• Transmission buffer memory length designation (address: A3
• Receive buffer memory head address designation (address: A6
• Receive buffer memory length designation (address: A7
The dedicated instructions are executed based on the values preset in the
buffer memory at module startup or those that have been changed by the
CSET instruction (Initial setting).
12 DEDICATED INSTRUCTIONS
Description of function
/136
)
H
H
/140
)
H
H
Reference
Section 12.2
Section 12.3
Section 12.4
Section 12.5
Section 12.6
Section 12.7
Section 12.8
Section 12.9
/
H
/143
)
H
H
/146
)
H
H
/147
)
H
H
12 - 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents