F-45
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
7 Practical Program Example (RS Instruction)
7.1 Example of Printing Using RS Instruction (Using RS-232C Connection)
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
7. Practical Program Example (RS Instruction)
7.1 Example of Printing Using RS Instruction (Using RS-232C Connection)
In this example, a printer with an RS-232C interface is connected to a PLC, and data sent from the PLC is
printed.
1. System configuration
Use a communication cable suitable to the pin arrangement of the printer connector.
(For representative wiring, refer to Chapter 4.)
2. 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 8-bit
Parity Even
Stop bit 2-bit
Baud rate 2400 bps
Header Not provided
Terminator Not provided
Control line (hardware) Not provided
Communication method (protocol) Non-protocol method
FX
2N-
232-BD FX
2N
Series
Sending
+