Initial Setting - Mitsubishi Electric MELSEC-L Special Instructions Manual

Melsec-q/l structured programming manual
Hide thumbs Also See for MELSEC-L:
Table of Contents

Advertisement

Initial setting

ZP_CSET
Serial Modem
Structured ladder/FBD
ZP_CSET
EN
ENO
Un*
s1
s2
The following instruction can go in the dotted squares.
ZP_CSET
■Executing condition
Instruction
ZP_CSET
■Argument
Input/output
argument
Input argument
Output argument
Setting
Internal device
*1
data
Bit
(s1)
(s2)
(d1)
(d2)
*1 Local devices and file registers per program cannot be used as setting data.
Processing details
This instruction changes the setting values for sending/receiving data using communication protocols.
5 MODULE DEDICATED INSTRUCTION
72
5.3 Serial Communication Instruction
ST
ENO:=
ZP_CSET
d1
d2
Executing condition
Name
Description
EN
Executing condition
Un*
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/
O number in three digits)
s1
Reception channel number
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
s2
Variable that stores control data
ENO
Execution result
d1
Dummy
d2
Variable that turns ON upon completion of the
instruction
d2[1] also turns ON at the time of error completion.
R, ZR
Word
(EN, Un*, s1, s2, d1, d2);
J\
Bit
Word
Data type
Bit
String
ANY16
Array of ANY16 [0..111]
Bit
ANY16
Array of bit [0..1]
U\G
Zn
Constant
K, H
Others

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q

Table of Contents