2-12
Sample Ladder Programming for Mitsubishi Electric PLC FX series
This section provides an example of programming to monitor Safety Input terminal
data of a G9SP-series Controller from a Mitsubishi Electric Standard PLC FX
series.
z RS-232C Serial Communications Sequence
The G9SP-series Controller returns a response to the command sent from the
tandard PLC.
Standard PLC
G9SP-series Controller
Sent command
Reception response
Receive processing
after 300 ms
Send/Receive processing
Initialization
Send processing
Receive processing
Send processing
Sent command
Reception response
Send/Receive processing
Receive processing
Send processing
Receive processing
after 300 ms
z Mitsubishi Electric Standard PLC FX series Memory Allocations
Start address End address Contents Description
D100 D108 RS-232C send command Data sent by the Standard PLC to the
G9SP-series Controller
D200 D298 RS-232C reception response Data received by the Standard PLC from
the G9SP-series Controller
D330 D336 Checksum calculation work area Work area for RS-232C communications.
Used to calculate the check-sum
X100 X11F G9SP communications reception data
(written to G9SP-series Controller)
Data written to G9SP-series Controller from
Standard PLC. Stored in the communica-
tions reception data of the G9SP-series
Controller.
Y200 Y21F G9SP communications transmission
data (read from the G9SP-series Con-
troller)
Communications data sent from the G9SP-
series Controller is read.
Y220 Y24F G9SP Safety Input terminal data (read
from the G9SP-series Controller)
Safety Input terminal data of the G9SP-
series Controller is read.