Creation of User Programs
7.1 How to Create User Programs
7.1.1 Basic Configuration of Program
The user programs which control FP7 MC Unit are created by the tool software "FPWIN GR7".
• To support the multi-axis control through network, for FP7 MC Unit, main input and output
signals required for the control are allocated to the unit memories (input control area/output
control area).
• For various controls, the processes of reading flags from unit memories (input control area)
and writing operation results to unit memories (output control area) are created as programs.
They are executed to transfer data between units at the time of I/O refresh.
• As exceptions, the "link establishment flag (X0)" for storing the link establishment of network
and "system stop request (Y0)" for stopping the whole system are allocated to the area of
I/O signals (XY).
Configuration of program
Item
Reading from unit
①
memories UM (input
control area)
②
Servo control
③
Start enabled control
Various control
④
programs (such as
position control, JOG
operation, home return)
Writing to unit
⑤
memories UM (output
control area)
7-2
Description
Reads information required for confirming states from the unit memories (input
control area) to an arbitrary operation memories (such as internal relay area
WR).
Example) Connection confirmation flag, servo lock flag, busy flag, error
annunciation flag
Outputs the requests for the servo on and servo off controls to the operation
memories (such as internal relay area WR).
Checks the states of read flags if each control (such as position control, JOG
operation, home return) can be started, and outputs the start enabled states to
internal relays.
Checks the results of start enabled controls, and outputs the start requests for
position control, JOG operation or home return to the operation memories (such
as internal relays).
Writes the results of the operation memories (such as internal relay area) in
which the above operation results are reflected to the unit memories (output
control area).
Example) Startup of positioning, JOG operation, or home return, stop control