Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual page 254

Controller module
Hide thumbs Also See for MELSEC iQ-R C R12CCPU-V:
Table of Contents

Advertisement

Sending data to target devices
The following shows the communication example when sending data.
Target device
Serial communication module
User program
Input/output signal of serial communica-
tion module
Send normal completion
(X0/X7)
Send request (Y0/Y7)
: The send data is stored in the buffer memory for sending by using the C Controller module dedicated function
(CCPU_ToBuf).
: The send request (Y0/Y7) turns ON by using the C Controller module dedicated function (CCPU_Y_Out_BitEx). The data
is sent to the target device.
: The send normal completion (X0/X7) is monitored by using the C Controller module dedicated function
(CCPU_X_In_BitEx). Wait until the signal turns ON.
: The send request (Y0/Y7) turns OFF by using the C Controller module dedicated function (CCPU_Y_Out_BitEx).
: The send normal completion (X0/X7) turns OFF.
APPX
252
Appendix 13 Communication Examples Using Serial Communication Module
Data send
Send data
Send
storage
request ON
Ò
Ó
Data send
completion
start
Õ
Ô
Send request
OFF
Ö

Advertisement

Table of Contents
loading

Table of Contents