Creation
of User Programs
7-2
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
Description
①
Reading from unit
memories UM (input
control area)
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
②
Servo control
Outputs the requests for the servo on and servo off controls to the operation
memories (such as internal relay area WR).
③
Start enabled control
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.
④
Various control
programs (such as
position control, JOG
operation, home return)
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).
⑤
Writing to unit
memories UM (output
control area)
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
Summary of Contents for AFP7MC16EC
Page 1: ......
Page 19: ...1 Unit Functions and Restrictions ...
Page 28: ...Unit Functions and Restrictions 1 10 ...
Page 29: ...2 Names and Functions of Parts ...
Page 33: ...3 Installation and Wiring ...
Page 47: ...4 Basic Procedure ...
Page 75: ...5 Settings of FP7 MC Unit Using CMI Tool ...
Page 97: ...6 Data Transfer to MC Unit and Test Operation ...
Page 122: ...Data Transfer to MC Unit and Test Operation 6 26 ...
Page 123: ...7 Creation of User Programs ...
Page 131: ...8 Automatic Operation Position Control ...
Page 143: ...8 2 Interpolation Control 8 13 ...
Page 193: ...9 Automatic Operation Synchronous Control ...
Page 251: ...10 Manual Operation JOG Operation ...
Page 257: ...10 2 Changing Speed During JOG Operation 10 7 MEMO ...
Page 263: ...11 Manual Operation Home Return ...
Page 277: ...12 Stop Functions ...
Page 286: ...Stop Functions 12 10 ...
Page 287: ...13 Supplementary Functions ...
Page 336: ...Supplementary Functions 13 50 ...
Page 337: ...14 CMTimeChart Monitor ...
Page 338: ...CMTimeChart Monitor 14 2 14 1 Overview of Function ...
Page 365: ...15 Troubleshooting ...
Page 396: ...Troubleshooting 15 32 ...
Page 397: ...16 Specifications ...
Page 500: ...Specifications 16 104 16 13Dimensions AFP7MC16EC AFP7MC32EC AFP7MC64EC 90 28 80 4 Unit mm ...
Page 502: ......
Page 503: ......
Page 504: ......