EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #650 background imageLoading...
Page #650 background image
648
10 EXTERNAL DEVICE I/O INSTRUCTION
10.1 Serial Communication 2
10 EXTERNAL DEVICE I/O INSTRUCTION
10.1 Serial Communication 2
RS2
This instruction sends or receives data by non-protocol communication via serial ports of RS-232C or RS-485.
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 T, ST, C cannot be used.
Processing details
This instruction sends or receives data by non-protocol communication via built-in RS-485 port or serial ports of RS-232C or
RS-485 provided by add-on modules. This instruction specifies the head device storing the sent data from the CPU module,
amount of data, head device storing the received data and the maximum allowable amount of received data. For details, refer
to Serial communication manual.
Precautions
It is not permitted to use instructions for external device I/O, MODBUS communication, and inverter communication on the
same port.
While this instruction is being driven, the communication format cannot be changed. Set this instruction to OFF before
changing the communication format.
When using the header and terminator, set them before driving this instruction. Do not change the values of the header and
terminator while this instruction is being driven.
Ladder diagram Structured text
ENO:=RS2(EN,s,m,n1,n2,d);
Operand Description Range Data type Data type (label)
(s) Head device storing send data 16-bit signed binary/
character string
ANY16
(m) Number of send data 0 to 4096 16-bit unsigned binary ANY16_U
(d) Head device storing receive data 16-bit signed binary/
character string
ANY16
(n1) Amount of received data 0 to 4096 16-bit unsigned binary ANY16_U
(n2) Communication channel K1 to 4 16-bit unsigned binary ANY16_U
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s) 
*1

(m) 
(d) 
*1

(n1) 
(n2) 
(s) (m) (d) (n1) (n2)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals