Mitsubishi Electronics AJ65BT-D75P2-S3 Universal Remote User Manual


 
6 - 4
MELSEC-
A
6 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
[3] Program basic format
The basic format for creating a program is shown below.
The program is created with the following arrangement.
(1) Master station initialization (Refer to [4])
(Parameter settings, start of data link)
(2) Reading of remote input (RX)
(3) Confirmation of D75P2 data link state
(4) Positioning control operation program
(5) Writing of remote output (RY)
(1) Create a program that instructs CC-Link refreshing and then starts the data link
after the parameters are set. (Refer to [4])
(2) Create the following program, and read RXn0 to RX(n+7)F into X100 to X17F.
Module error (master module)
Module ready (master module)
Local station data link state (master module)
Changeover to bank 0
Read
'
RXn0 to RX(n+7)F
'
to
'
X100 to X17F
'
(3) 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
(4) Create a positioning control operation program.
For details, refer to section "6.4.2 Positioning control operation program".