Appendix 4 Dedicated Instructions; Dedicated Instruction List - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Appendix 4
Dedicated instructions are used to simplify programming when using intelligent function module functions.
For details, refer to the following manual.
 MELSEC iQ-R Programming Manual (Instructions, Standard Functions/Function Blocks)

Dedicated instruction list

List of dedicated instruction
The following table lists the dedicated instructions explained.
Purpose
On-demand function
transmission
Predefined protocol function
Nonprocedural protocol
communication
Bidirectional protocol
communication
Communication status
confirmation
Data transmission/reception
Receive data clear
Programmable controller CPU
monitoring function
Setting the units of send/receive
data quantity
User frame registration to flash
ROM (registration/reading of
user frame)
Mode switching
*1 To change the following setting values of the buffer memory used by the dedicated instructions, use Engineering tool or execute the
CSET instruction (initial setting) before starting data communication. (MELSEC iQ-R Programming Manual (Instructions, Standard
Functions/Function Blocks)))
'Word/byte units designation' (Un\G150/310)
'Buffer memory start address designation' (Un\G160/321)
'Send buffer memory start address designation' (Un\G162/322)
'Send buffer memory length designation' (Un\G163/323)
'Receiving buffer memory start address designation' (Un\G166/326)
'Receive buffer memory length designation' (Un\G167/327)
The dedicated instructions are executed base on the setting values of the buffer memory at the module startup or those which were
changed by the CSET instruction (initial setting).
Precautions
Do not change data (control data, request data, etc.) designated by a dedicated instruction until the execution of that
instruction is completed.
APPENDICES APPENDIX
520

Appendix 4 Dedicated Instructions

Dedicated Instructions
Dedicated
Function overview
instruction
*1
ONDEMAND
Sends data using the on-demand function of MC protocol.
CPRTCL
Executes the protocol setting data registered using the Predefined protocol support function of
Engineering tool.
*1
OUTPUT
Transmits data for the designated data count.
*1
INPUT
Reads received data.
*1
BIDOUT
Transmits data for the designated data count.
*1
BIDIN
Reads received data.
SPBUSY
Reads the status of data transmission/reception using the dedicated instruction.
*1
BUFRCVS
Receives data by an interrupt program using nonprocedural or bidirectional protocol communication.
*1
PRR
Transmits data with the user frame according to the contents defined in the send user frame designation
area in data communications using the nonprocedural protocol.
CSET
Performs the receive data clear without stopping the transmission processing in data communications
using the nonprocedural protocol.
Registers/cancels programmable controller CPU monitoring in order to use the programmable controller
CPU monitoring functions.
Sets the unit (word/byte) of data quantity to be sent and received.
PUTE
Registers a user frame.
GETE
Reads a user frame.
UINI
Changes the mode, transmission specifications, and host station No. of C24.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents