Mitsubishi Electronics AJ65BT-D75P2-S3 Universal Remote User Manual


 
6 - 16
MELSEC-
A
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
(b) Remote registers (RWw, RWr)
The contents of RWrn to RWrn+15 are read to D200 to D215, and the
contents of D100 to D115 are written to RWwm to RWwm+15 and used.
(Cyclic transmission)
PLC CPU
Master module
D75P2
Remote register
RWwm
RWwm+15
Device D
D100
D115
1E0
H
Address
1EF
H
Remote register
RWwm
RWwm+15
Remote register
RWrn
RWrn+15
Device D
D200
D215
2E0
H
Address
2EF
H
Remote register
RWrn
RWrn+15
[2] Program basic format
The basic format for creating a program is shown below.
The program is created with the following arrangement.
POINT
(1) The program for master module initialization is not required since the
initialization is set in the CC-Link network parameters.
(2) The program for remote input/output read/write setting is not required since the
setting is made in the CC-Link refresh parameters.
(1) Confirmation of D75P2 data link state
(2) Positioning control operation program
(Refer to Section 6.4.2)
(1) Create a program that detects the D75P2 data link state and establishes an
interlock.
D75P2 data link normal
D75P2 data link error
Read D75P2 data link state
Program for D75P2 error
(2) Create a positioning control operation program.
For details, refer to section "6.4.2 Positioning control operation program".