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


 
5.3 Serial Communication
5.3.10 CSET instruction (initial setting)
5-93
ZP_CSET
5
MODULE DEDICATED
INSTRUCTION
ZP_CSET
Program Example
The following program changes the send buffer area of the CH1 side interface.
(For the Q series C24 whose I/O signals are X/Y00 to X/Y1F)
Sets send buffer to C00H to FFFH.
Sets receive buffer to 600H to 7FFH.
[Structured ladder/FBD]
Clears D0 to D111
to 0
Sets execution
type
Sets request type
Sets word/byte
unit to word
Sets on-demand
start address
Sets on-demand
buffer size
Sets send buffer
start address
Sets send buffer
size
Sets receive buffer
start address
Sets receive buffer
size
Performs
initialization
Turns normal
completion flag ON
Turns error
completion flag ON