5.10.11 Parameter Setting I ........................................................................5-174 5.10.12 Parameter Setting II .......................................................................5-176 5.10.13 Reading the Present Position/Speed of an Axis .............................5-179 5.10.14 State of an Axis...............................................................................5-181 5.10.15 Setting the Present Position of an Axis ...........................................5-183 5.10.16 Setting the Polarities of Input Terminals .........................................5-185 5.10.17 Electronic Gear Motion ...................................................................5-188 5.10.18 Electronic Cam Motion ...................................................................5-190 5.10.19 Reading a Cam Point .....................................................................5-194 5.10.20 Writing a Cam Point .......................................................................5-196 5.10.21 Calculating a Synchronization Ratio ...............................................5-198 5.10.22 Creating a Cam Curve ....................................................................5-200 5.10.23 Updating a Cam Curve ...................................................................5-203 5.11 Multiaxial Motion Control Function Blocks .............................................5-205 5.11.1 Setting the Parameters of G-code Motion ......................................5-205 5.11.2 Executing G-code Motion ...............................................................5-207 5.11.3 Stopping G-code Motion .................................................................5-210 5.11.4 Reading an M-code ........................................................................5-212 5.11.5 Multiaxial Absolute Linear Interpolation ..........................................5-215 5.11.6 Multiaxial Relative Linear Interpolation ...........................................5-217 5.11.7 Stopping Multiaxial Linear Interpolation ..........................................5-219 5.12 Network Function Blocks .......................................................................5-221 5.12.1 Starting/Stopping a Servo Drive .....................................................5-221 5.12.2 Resetting a Servo Drive .................................................................5-222 5.12.3 Writing the Value of a Parameter into a Servo Drive ......................5-224 5.12.4 Reading the Value of a Parameter from a Servo Drive ...................5-226 5.12.5 Instructing a Servo Drive to Return Home ......................................5-229 5.12.6 Initializing a Servo Drive .................................................................5-232 5.12.7 Instructing a Servo Drive to Capture Values ...................................5-235 5.12.8 Setting an Ethernet IP Address ......................................................5-237 5.13 Other Motion Control Function Blocks ...................................................5-239 5.13.1 Backing a Main Program up onto an SD Card ...............................5-239 5.13.2 Backing the Values in Devices up onto an SD Card .......................5-240 5.13.3 Restoring the Values in Devices in an SD Card .............................5-242 5.13.4 High-speed Counter .......................................................................5-244 5.13.5 High-speed Timer ...........................................................................5-246 5.13.6 Setting High-speed Comparison .....................................................5-248 5.13.7 Resetting High-speed Comparison .................................................5-251 iii