Practical Program Example (Rs2 Instruction) - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
9.

Practical Program Example (RS2 Instruction)

9.1
Example of Printing Using RS2 Instruction (Using RS-232C Connection)
In this example, a printer with the RS-232C interface is connected to a PLC, and the data sent from the PLC
is printed.
1. System configuration
Use a communication cable suitable to the pin arrangement of the connector of the printer used.
Communication format
Align the communication format in the PLC with that in the printer used.
(The table below shows the communication format in the main unit.)
Data length
Parity
Stop bit
Baud rate
Header
Terminator
Control line (H/W)
Communication method (protocol)
CR, LF
F-76
ch1
Sending
R D
S D
FX
232-BD
3U-
8-bit
Even
2-bit
2400 bps
Not provided
Not provided
Standard/RS-232C, provided
Non-protocol method
Not provided
9 Practical Program Example (RS2 Instruction)
9.1 Example of Printing Using RS2 Instruction (Using RS-232C Connection)
+
FX
Series
3U

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents