Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
2.2 Module Dedicated Instruction
2.2.3 Serial communication
2-5
2
INSTRUCTION
TABLES
2.2.3 Serial communication
Classification Instruction name Argument Processing details
Executing
condition
Applicable
module
Page
On-demand
function
transmission
G_ONDEMAND
, , ,
Sends data using the on-demand
function of MC protocol.
5-66
GP_ONDEMAND
, , ,
Nonprocedural
protocol
communication
G_OUTPUT
, , ,
Sends the specified number of data.
5-70
GP_OUTPUT
, , ,
G_INPUT
, , ,
Reads the received data.
5-73
Bidirectional
protocol
communication
G_BIDOUT
, , ,
Sends the specified number of data.
5-76
GP_BIDOUT
, , ,
G_BIDIN
, , ,
Reads the received data.
5-79
GP_BIDIN
, , ,
Communication
status check
G_SPBUSY
,
Reads the data transmission/
reception status using the
instruction.
5-81
GP_SPBUSY
,
Receive data
clear
ZP_CSET
, , , ,
Clears receive data without stopping
transmission using the
nonprocedural protocol.
5-82
Data
transmission/
reception
Z_BUFRCVS
, ,
Receives data with an interrupt
program using the nonprocedural
protocol or bidirectional protocol.
5-85
G_PRR
, ,
Sends data by user frame according
to the specification in user frame
specification area for transmission
using the nonprocedural protocol.
5-87
GP_PRR
, ,
Initial setting ZP_CSET
, , , ,
Sets the unit (word/byte) of the
number of the data to be sent or
received.
5-91
Programmable
controller CPU
monitor
ZP_CSET
, , , ,
Registers and cancels the
programmable controller CPU
monitoring for using the
programmable controller CPU
monitoring function.
5-95
Flash ROM user
frame
registration/
reading
G_PUTE
, , ,
Registers a user frames to the flash
ROM.
5-103
GP_PUTE
, , ,
G_GETE
, , ,
Reads a user frames from the flash
ROM.
5-106
GP_GETE
, , ,
Mode switching ZP_UINI
, ,
Switches the mode, transmission
specification, and host station
number.
5-109
Pre-defined
protocol
communication
G_CPRTCL
, n1, n2, ,
Executes the protocols and
functional protocols written to the
flash ROM.
5-114
GP_CPRTCL
, n1, n2, ,
s1
s2
d
Serial
s1
s2
d
s1
s2
d
Serial
s1
s2
d
s
d1
d2
s1
s2
d
Serial
s1
s2
d
s
d1
d2
s
d1
d2
d
Serial
d
s1
s2
d1
d2
Serial
s
d
Serial
s
d
s
d
s1
s2
d1
d2
Serial
s1
s2
d1
d2
Serial
s1
s2
d
Serial
s1
s2
d
s1
s2
d
s1
s2
d
s
d
Serial
s
d
Serial
s
d