Chapter 6 Communication Library Functions; List Of Supported Communication Library Functions; Communication Library Functions - Mitsubishi Electric MELSEC-Q Series User Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

CHAPTER 6
This chapter explains the communication library functions.
6.1

List of Supported Communication Library Functions

The following table lists the functions supported for the communication library.
Web function item
Function
Device Read
DevRead
Device Write
DevWrite
Remote RUN
RmtRun
Remote STOP
RmtStop
Data Request
ReqCmd
Proxy Setting
ProxySet
Proxy Reset
ProxyReset
6.2

Communication Library Functions

The following table lists the communication library functions.Web function item
Web function item
BSTR *p = DevRead (HostName, NetNo, PcNo, CpuTime, DevCode, DevNo, DevNum, PassWord, RetType)
Device Read
Argument
52
COMMUNICATION LIBRARY
FUNCTIONS
Overview
Reads from a bit device (such as X, Y, or M) in 16-point units.
Reads from a word device (such as D, R, T, or C) in one-point units.
Writes to a bit device (such as X, Y, or M) in 16-point units.
Writes to a word device (such as D, R, T, or C) in one-point units.
Requests a remote RUN operation to the CPU module.
Requests a remote STOP operation to the CPU module.
Sends a user-specified command (an application data (subheader + text) of
the MC protocol), and receives the result.
Specify the proxy server when connecting an Ethernet module via a proxy
server.
Resets the proxy setting.
HostName: Connection target
NetNo: Network No.
PcNo: PC No.
CpuTime: CPU monitoring timer
DevCode: Device code
DevNo: Head device
DevNum: Number of device
PassWord: Password
RetType: Execution result type (1: Actual data only; Other than 1: Normal
execution result)
*p: Pointer to the execution result character string
Function
Remarks
Corresponds to command 0401
(000) for QnA compatible 3E
frame.
Corresponds to command 1401
(000) for QnA compatible 3E
frame.
Corresponds to command 1001
(0000) for QnA compatible 3E
frame.
Corresponds to command 1002
(0000) for QnA compatible 3E
frame.
Input
Input
Input
Input
Input
Input
Input
Input
Input
Output

Advertisement

Table of Contents
loading

Table of Contents