PMC Axis Control - en
PMC Axis Control - en
Table of contents
1 Overview ······························································································· 6
2
4.12.6 Example ··············································································································66
4.13 Torque control ············································································································· 67
4.13.1 Function block name ·····························································································67
4.13.2 Function··············································································································67
4.13.3 Format ················································································································67
4.13.4 Parameters ··········································································································68
4.13.5 Related CNC parameters ·······················································································69
4.13.6 Related signals ·····································································································69
4.13.7 Example ··············································································································70
4.14 Auxiliary function········································································································· 71
4.14.1 Function block name ·····························································································71
4.14.2 Function··············································································································71
4.14.3 Format ················································································································71
4.14.4 Parameters ··········································································································72
4.14.5 Related CNC parameters ·······················································································72
4.14.6 Related signals ·····································································································73
4.14.7 Example ··············································································································73
4.15 Machine coordinate system selection············································································· 74
4.15.1 Function block name ·····························································································74
4.15.2 Function··············································································································74
4.15.3 Format ················································································································74
4.15.4 Parameters ··········································································································75
4.15.5 Related CNC parameters ·······················································································76
4.15.6 Example ··············································································································76
4.16 Cutting feed – sec/block specification ············································································ 77
4.16.1 Function block name ·····························································································77
4.16.2 Function··············································································································77
4.16.3 Format ················································································································77
4.16.4 Parameters ··········································································································78
4.16.5 Related CNC parameters ·······················································································79
4.16.6 Related signals ·····································································································79
4.16.7 Example ··············································································································80
4.17 Reset PMC axis control································································································· 81
4.17.1 Function block name ·····························································································81
4.17.2 Function··············································································································81
4.17.3 Format ················································································································81
4.17.4 Parameters ··········································································································81
4.17.5 External variables ································································································82
4.17.6 Example ··············································································································82
3
5.3.4 Parameters ··········································································································96
5.3.5 Error information ·································································································97
5.3.6 Signals used inside function block ···········································································97
5.3.7 Related CNC parameters ·······················································································98
5.3.8 Related signals ·····································································································98
5.3.9 Example ··············································································································99
5.4 Point positioning (linear axis)······················································································ 100
5.4.1 Function block name ··························································································· 100
5.4.2 Function············································································································ 100
5.4.3 Format ·············································································································· 101
5.4.4 Parameters ········································································································ 102
5.4.5 Error information ······························································································· 103
5.4.6 Signals used inside function block ········································································· 103
5.4.7 Related CNC parameters ····················································································· 104
5.4.8 Related signals ··································································································· 104
5.4.9 Example ············································································································ 105
5.5 Point positioning (rotary axis) ····················································································· 106
5.5.1 Function block name ··························································································· 106
5.5.2 Function············································································································ 106
5.5.3 Format ·············································································································· 107
5.5.4 Parameters ········································································································ 108
5.5.5 Error information ······························································································· 109
5.5.6 Signals used inside function block ········································································· 109
5.5.7 Related CNC parameters ····················································································· 110
5.5.8 Related signals ··································································································· 110
5.5.9 Example ············································································································ 111
5.6 Reference position return – reference position number ···················································113
5.6.1 Function block name ··························································································· 113
5.6.2 Function············································································································ 113
5.6.3 Format ·············································································································· 113
5.6.4 Parameters ········································································································ 114
5.6.5 Error information ······························································································· 115
5.6.6 Signals used inside function block ········································································· 115
5.6.7 Related CNC parameters ····················································································· 116
5.6.8 Related signals ··································································································· 116
5.6.9 Example ············································································································ 117
5.7 Reference position return – reference position setting ····················································118
5.7.1 Function block name ··························································································· 118
5.7.2 Function············································································································ 118
5.7.3 Format ·············································································································· 118
5.7.4 Parameters ········································································································ 119
5.7.5 Signals used inside function block ········································································· 119
5.7.6 Related CNC parameters ····················································································· 120
5.7.7 Related signals ··································································································· 120
5.7.8 Example ············································································································ 121
5.8 Positioning – absolute specification (linear axis) ··························································· 122
5.8.1 Function block name ··························································································· 122
5.8.2 Function············································································································ 122
5.8.3 Format ·············································································································· 122
5.8.4 Parameters ········································································································ 123
5.8.5 Error information ······························································································· 124
5.8.6 Signals used inside function block ········································································· 124
5.8.7 Related CNC parameters ····················································································· 125
5.8.8 Related signals ··································································································· 125
5.8.9 Example ············································································································ 126
5.9 Positioning – absolute specification (rotary axis)··························································· 127
5.9.1 Function block name ··························································································· 127
5.9.2 Function············································································································ 127
5.9.3 Format ·············································································································· 128
5.9.4 Parameters ········································································································ 129
5.9.5 Error information ······························································································· 130
5.9.6 Signals used inside function block ········································································· 130
5.9.7 Related CNC parameters ····················································································· 131
5.9.8 Related signals ··································································································· 131
5.9.9 Example ············································································································ 132
4
5.10 Positioning – incremental specification ········································································ 133
5.10.1 Function block name ··························································································· 133
5.10.2 Function············································································································ 133
5.10.3 Format ·············································································································· 133
5.10.4 Parameters ········································································································ 134
5.10.5 Signals used inside function block ········································································· 134
5.10.6 Related CNC parameters ····················································································· 135
5.10.7 Related signals ··································································································· 135
5.10.8 Example ············································································································ 136
5.11 Speed control ············································································································ 137
5.11.1 Function block name ··························································································· 137
5.11.2 Function············································································································ 137
5.11.3 Format ·············································································································· 138
5.11.4 Parameters ········································································································ 139
5.11.5 Error information ······························································································· 140
5.11.6 Signals used inside function block ········································································· 140
5.11.7 Related CNC parameters ····················································································· 141
5.11.8 Related signals ··································································································· 142
5.11.9 Example ············································································································ 143
5.12 Positioning (skip) – absolute specification (linear axis) ·················································· 144
5.12.1 Function block name ··························································································· 144
5.12.2 Function············································································································ 144
5.12.3 Format ·············································································································· 145
5.12.4 Parameters ········································································································ 146
5.12.5 Error information ······························································································· 147
5.12.6 Signals used inside function block ········································································· 147
5.12.7 Related CNC parameters ····················································································· 148
5.12.8 Related signals ··································································································· 148
5.12.9 Example ············································································································ 149
5.13 Positioning (skip) – absolute specification (rotary axis) ·················································· 150
5.13.1 Function block name ··························································································· 150
5.13.2 Function············································································································ 150
5.13.3 Format ·············································································································· 151
5.13.4 Parameters ········································································································ 152
5.13.5 Error information ······························································································· 153
5.13.6 Signals used inside function block ········································································· 153
5.13.7 Related CNC parameters ····················································································· 154
5.13.8 Related signals ··································································································· 154
5.13.9 Example ············································································································ 155
5.14 Positioning (skip) – incremental specification ······························································· 157
5.14.1 Function block name ··························································································· 157
5.14.2 Function············································································································ 157
5.14.3 Format ·············································································································· 157
5.14.4 Parameters ········································································································ 158
5.14.5 Signals used inside function block ········································································· 158
5.14.6 Related CNC parameters ····················································································· 159
5.14.7 Related signals ··································································································· 159
5.14.8 Example ············································································································ 160
5.15 Data setting by teaching ····························································································· 161
5.15.1 Function block name ··························································································· 161
5.15.2 Function············································································································ 161
5.15.3 Format ·············································································································· 162
5.15.4 Parameters ········································································································ 163
5.15.5 Error information ······························································································· 164
5.15.6 Signals used inside function block ········································································· 164
5.15.7 Related CNC parameters ····················································································· 165
5.15.8 Related signals ··································································································· 165
5.15.9 Example ············································································································ 165
5
1 Overview
This document describes the specifications of PMC Function Library for PMC axis control, and how to integrate
its functions.
PMC axis control is a function that controls any axis, which is independent from control of CNC, using PMC
signals. A PMC axis can move independently from other axes under control of CNC, and can be used for
controlling peripheral devices such as turrets, palettes, and index tables. Sample programs using functional
instruction AXCTL are provided to help your programming to control PMC axis.
This library provides function blocks that can be integrated to your ladder program by FANUC LADDER-III.
6
3 PMC Function Library for PMC Axis Control
PMC Function Library is a function block library which provides sample programs for PMC axis control.
This library contains function blocks of basic PMC axis control functions for each PMC axis control command,
and ones of peripheral equipment control, using each group from 1 to 4.
PMC_AXIS_CONTROL.FLL
Note
1 The option “Function Block function” is required to use function block function.
2 The option “Axis control by PMC” is required to use PMC axis control function.
3 For more details, please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of
your CNC model.
7
3.1 List of function blocks for PMC axis control
PMC_AXIS_CONTROL.FLL contains two types of function block:
- Function blocks of basic PMC axis control functions for each PMC axis control command
- Function blocks of peripheral equipment control
8
Size of
No. Function block name Description
instance
PFL0_4TH_REF_POS_RETURN_01 Executes the fourth reference position return via
PFL0_4TH_REF_POS_RETURN_02 intermediate position (axis control command: 0AH)
12 26 byte
PFL0_4TH_REF_POS_RETURN_03 (the same action as “G28 P4” of CNC, which execute
PFL0_4TH_REF_POS_RETURN_04 reference position return from intermediate position)
PFL0_EXT_PLS_SYNC_POS_CODER_01
PFL0_EXT_PLS_SYNC_POS_CODER_02 Executes synchronous operation with position coder
13 32 byte
PFL0_EXT_PLS_SYNC_POS_CODER_03 (axis control command: 0BH)
PFL0_EXT_PLS_SYNC_POS_CODER_04
PFL0_EXT_PLS_SYNC_1ST_HNDL_01
PFL0_EXT_PLS_SYNC_1ST_HNDL_02 Executes synchronous operation with the first manual
14 26 byte
PFL0_EXT_PLS_SYNC_1ST_HNDL_03 handle (axis control command: 0DH)
PFL0_EXT_PLS_SYNC_1ST_HNDL_04
PFL0_EXT_PLS_SYNC_2ND_HNDL_01
PFL0_EXT_PLS_SYNC_2ND_HNDL_02 Executes synchronous operation with the second
15 26 byte
PFL0_EXT_PLS_SYNC_2ND_HNDL_03 manual handle (axis control command: 0EH)
PFL0_EXT_PLS_SYNC_2ND_HNDL_04
PFL0_EXT_PLS_SYNC_3RD_HNDL_01
PFL0_EXT_PLS_SYNC_3RD_HNDL_02 Executes synchronous operation with the third manual
16 26 byte
PFL0_EXT_PLS_SYNC_3RD_HNDL_03 handle (axis control command: 0FH)
PFL0_EXT_PLS_SYNC_3RD_HNDL_04
PFL0_SPEED_COMMAND_01
PFL0_SPEED_COMMAND_02 Executes continuous feed of rotary axis by speed
17 26 byte
PFL0_SPEED_COMMAND_03 command (axis control command: 10H)
PFL0_SPEED_COMMAND_04
PFL0_TORQUE_CONTROL_01
PFL0_TORQUE_CONTROL_02 Executes continuous feed by torque control (axis control
18 34 byte
PFL0_TORQUE_CONTROL_03 command: 11H)
PFL0_TORQUE_CONTROL_04
PFL0_AUXILIARY_FUNCTION1_01
PFL0_AUXILIARY_FUNCTION1_02 Executes the same action as auxiliary function (M code
19 28 byte
PFL0_AUXILIARY_FUNCTION1_03 function) of CNC (axis control command: 12H)
PFL0_AUXILIARY_FUNCTION1_04
PFL0_AUXILIARY_FUNCTION2_01
PFL0_AUXILIARY_FUNCTION2_02 Executes the same action as auxiliary function (M code
20 28 byte
PFL0_AUXILIARY_FUNCTION2_03 function) of CNC (axis control command: 14H)
PFL0_AUXILIARY_FUNCTION2_04
PFL0_AUXILIARY_FUNCTION3_01
PFL0_AUXILIARY_FUNCTION3_02 Executes the same action as auxiliary function (M code
21 28 byte
PFL0_AUXILIARY_FUNCTION3_03 function) of CNC (axis control command: 15H)
PFL0_AUXILIARY_FUNCTION3_04
PFL0_MACHINE_POS_SELECT_01 Executes rapid traverse to specified absolute position in
PFL0_MACHINE_POS_SELECT_02 the machine coordinate system (axis control command:
22 34 byte
PFL0_MACHINE_POS_SELECT_03 20H)
PFL0_MACHINE_POS_SELECT_04 (the same action as “G53” of CNC)
PFL0_CUTTING_FEED_SEC_BLK_01
PFL0_CUTTING_FEED_SEC_BLK_02 Executes cutting feed for specified period of time (axis
23 34 byte
PFL0_CUTTING_FEED_SEC_BLK_03 control command: 21H)
PFL0_CUTTING_FEED_SEC_BLK_04
PFL0_PMC_AXCTL_RESET_01
PFL0_PMC_AXCTL_RESET_02 Resets PMC axis control command in action or
24 2 byte
PFL0_PMC_AXCTL_RESET_03 suspended in buffer
PFL0_PMC_AXCTL_RESET_04
9
Note
1 Function blocks for PMC axis control are provided as samples for each of the group 1 to 4. Their names have a
number 01-04 at the tail, which indicates the group they use.
2 Function blocks of No.2 to 24 uses the function block of No.1 inside them to perform PMC axis control.
3 Size of instance is the data size in byte that each instance of the function block occupies.
4 The option “Manual handle feed 1-unit” is required to use the first manual handle device.
5 The option “Manual handle feed 2/3-units” is required to use the second or the third manual handle device.
10
Size of
No. Function block name Description
instance
PFL1_POSITIONING_SKIP_ABS_LA_01 Positioning (Skip) – absolute specification (linear axis)
PFL1_POSITIONING_SKIP_ABS_LA_02 Move axis to the specified absolute position. If the skip
12 85 byte
PFL1_POSITIONING_SKIP_ABS_LA_03 signal is detected while the axis moves, the axis stops
PFL1_POSITIONING_SKIP_ABS_LA_04 immediately.
PFL1_POSITIONING_SKIP_ABS_RA_01 Positioning (Skip) – absolute specification (rotary axis)
PFL1_POSITIONING_SKIP_ABS_RA_02 Move axis to the specified absolute position. If the skip
13 93 byte
PFL1_POSITIONING_SKIP_ABS_RA_03 signal is detected while the axis moves, the axis stops
PFL1_POSITIONING_SKIP_ABS_RA_04 immediately.
PFL1_POSITIONING_SKIP_INC_01 Positioning (Skip) – incremental specification
PFL1_POSITIONING_SKIP_INC_02 Move axis for the specified distance. If the skip signal is
14 43 byte
PFL1_POSITIONING_SKIP_INC_03 detected while the axis moves, the axis stops
PFL1_POSITIONING_SKIP_INC_04 immediately.
PFL1_DATA_SETTING_BY_TEACH_01
Data setting by teaching
PFL1_DATA_SETTING_BY_TEACH_02
15 93 byte Set the current absolute position as the position of the
PFL1_DATA_SETTING_BY_TEACH_03
specified point in the point data table.
PFL1_DATA_SETTING_BY_TEACH_04
Note
1 Function blocks for PMC axis control are provided as samples for each of the group 1 to 4. Their names have a
number 01-04 at the tail, which indicates the group they use.
2 Size of instance is the data size in byte that each instance of each the function block occupies.
11
3.2 Definition of symbols for external variables
The function blocks for PMC axis control in the library PMC_AXIS_CONTROL.FLL uses the following
signals as external variables. You have to define these global symbols before you use these function blocks.
- Error signal of axis control operation
- Reset signal for axis control command
The following global symbol needs to be defined to the error information address above:
These signals are usually assigned to the address of R area, or you can use automatic address assignment
function to assign their addresses.
12
3.3 CNC parameters
The function blocks in this library uses PMC axis control function, which requires the following CNC parameter
to be properly set before you use the function blocks.
For the CNC parameters related to each function block, please refer to the following detailed explanations of
each function.
Note
1 For details of CNC parameter related to PMC axis control, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Setting 1 to CNC parameter EAC (No.3137#7) enables PMC axis status display screen, on which you can check
the status of PMC axis control function.
Table 3.4.1 (a) Signals related to PMC Function Library for PMC axis control
Signal name Symbol Address (group 1) Description
Axis control command signal EC0g~EC6g G143.0 – G143.6 A part of axis control block data signals.
Axis control feedrate signal EIF0g~EIF15g G144 – G145 A part of axis control block data signals.
Axis control data signal EID0g~EID31g G146 – G149 A part of axis control block data signals.
Axis control command read EBUFg G142.7 Signal to direct CNC to read a command
signal data block of PMC axis control.
Axis control command read EBSYg F130.7 Signal to notify that CNC has read a
completion signals command data block of PMC axis control
and has stored it into the input buffer.
Reset signal ECLRg G142.6 Signal to reset PMC axis control
command.
Note
Table above describes the address for group 1 only. For the addresses of other groups, please refer to
“CONNECTION MANUAL (FUNCTION)” of your CNC.
13
3.4.2 Signals for PMC axis control function handled by ladder program
The signals related to PMC axis control, other than introduced in “3.4.1 Signals handled by function blocks for
PMC axis control”, shall be handled by ladder program.
The following table lists the main signals that shall be handled by ladder program. There are some more
signals related to PMC axis control, which may be controlled by ladder program if necessary.
Table 3.4.2 (b) Main PMC axis control signals controlled by ladder program
Signal name Symbol Address (group 1) Description
Controlled axis selection EAX1~EAX8 G136.0~G136.7 Signal to enable PMC axis control
signals (Note 1)
Axis control temporary stop ESTPg G142.5 Signal to stop the axis temporarily before
signal completion of a block. (Note 2)
Block stop signal ESBKg G142.3 Signal to stop command processing after
completion of current command. (Note 2)
Block stop disable signal EMSBKg G143.7 Signal to disable ESKBg signal. (Note 2)
Rapid traverse override signals EROV1, EROV2 G150.0, G150.1 Signals of rapid traverse override.
(Note 3)
Dry run signal EDRN G150.7 Signal to apply dry run. (Note 3)
Manual rapid traverse ERT G150.6 Signal to select dry run or rapid traverse.
selection signal (Note 3)
Skip signal ESKIP X4.6 Signal to apply skip. (Note 3)
Note
1 Only the signals of first axis to eighth axis are described.
2 Only the signal of group 1 is described.
3 Only the signal of first path is described.
4 For the details of each signal, or for related signals that are not listed in the table above, please refer to the
chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
14
3.5 How to use PMC Function Library
PMC Function Library for PMC axis control is provided as a function block library.
This library is contained in the installation CD of FANUC LADDER-III, with the name
“PMC_AXIS_CONTROL.FLL”. You can copy the file to your hard disk drive or network drive to use it.
The function blocks in this library can be integrated to your ladder program by the following steps:
1) Open your ladder program, or create a new program, into which the function block will be integrated.
2) Set “PMC_AXIS_CONTROL.FLL” as a function block library to be referred by the ladder program.
3) After function blocks are displayed in the program list, drag & drop a function block you use.
4) Connect proper signals and circuits to the input and output of the function block.
15
- Press “Detail” button in “Function Block” tab, and enter the path of the PMC Function Library file
“PMC_AXIS_CONTROL.FLL”.
3) Drag & drop a function block in the program list onto the ladder edit window.
- After the registered library is displayed under “Function Block Library” in the program list, drag & drop the
function block you use at the proper place.
16
4) Connect proper signals and circuits to the input and output of the function block.
- Connect proper signals to the input and output parameters to complete as a ladder circuit.
PF1_JOG_OPERATION_01_1
PF1_JOG_OPERATION_01
R0100.0 R0000.0
POS_DIR W1
R0100.1 R0000.1
NEG_DIR AXIS_STATUS
R0000.2
R0102 FEEDRATE ERROR
17
4 Function blocks of basic PMC axis control
This chapter describes the usage of the function blocks of basic PMC axis control functions provided by PMC
Function Library for PMC axis control (PMC_AXIS_CONTROL.FLL).
4.1.2 Function
This function block executes the specified axis control command of PMC axis control function by functional
instruction AXCTL (SUB 53). Control command, command data 1, and command data 2 are required as input
parameters.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
Control command, command data 1, and command data 2 will be passed to functional instruction AXCTL
(SUB 53). For the detail of these parameters, please refer to the section “4.11.5 AXCTL (Axis Control by
PMC: SUB 53)” in the chapter “4. LADDER LANGUAGE” in “PMC PROGRAMMING MANUAL” of the PMC on
your CNC.
18
4.1.3 Format
Graphical format of PFL0_PMC_AXCTL_01 is shown below:
19
4.1.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1
and ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function
block of the same group does not work even if ACT=1.
2 For the detail of “Control command”, “Command data 1”, and “Command data 2” parameters, please refer to the
section “4.11.5 AXCTL (Axis Control by PMC: SUB 53)” in the chapter “4. LADDER LANGUAGE” in “PMC
PROGRAMMING MANUAL” of the PMC on your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
20
4.1.5 External variables
This function block uses the following external variables:
Note
1 The symbols for group 1 to 4 are listed above. Please define the symbols you will actually use.
37 9001
38 9002
39 9003
40 9004
e.g.)
Set “1004” for group 8.
Set “7002” for group 30.
21
4.1.7 Example
The following example is to perform rapid traverse of the first axis (A-axis) of the first path controlled by group
1, at speed 500 mm/min for distance 200 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Turn on ACT (R0000.0) (ACT=1) to start rapid traverse of first axis (A-axis).
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Axis control command, Command data 1,
and Command data 2.
3 The values of input parameters, CNTL_CMND, CMND_DATA1, and CMND_DATA2, are shown in hexadecimal.
22
4.2 Rapid traverse
4.2.2 Function
This function block executes rapid traverse of the specified PMC axis at the feedrate and total moving distance
specified by input parameters. This function block has the same functionality of “G00” of CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.2.3 Format
Graphical format of PFL0_RAPID_TRAVERSE_01 is shown below:
23
4.2.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
24
4.2.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
25
4.2.7 Example
The following example is to perform rapid traverse of the first axis (A-axis) of the first path controlled by group
1, at speed 500 mm/min for distance 200 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Turn on ACT (R0000.0) (ACT=1) to start rapid traverse of first axis (A-axis).
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Rapid traverse feedrate and Total moving
distance.
26
4.3 Cutting feed – feed per minute
4.3.2 Function
This function block executes cutting feed (feed per minute) of the specified PMC axis at the feedrate and total
moving distance specified by input parameters. This function block has the same functionality of “G94 G01” of
CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.3.3 Format
Graphical format of PFL0_CUTTING_FEED_PER_MIN_01 is shown below:
27
4.3.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
28
4.3.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
29
4.3.7 Example
The following example is to perform cutting feed of the first axis (A-axis) of the first path controlled by group 1,
at speed 100 mm/min for distance 100 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn on ACT (R0000.0) (ACT=1) to start cutting feed – feed per minute of first axis (A-axis).
3. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Cutting feedrate and Total moving
distance.
30
4.4 Cutting feed – feed per revolution
4.4.2 Function
This function block executes cutting feed (feed per revolution) of the specified PMC axis at the feedrate and
total moving distance specified by input parameters. This function block has the same functionality of “G95
G01” of CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.4.3 Format
Graphical format of PFL0_CUTTING_FEED_PER_REV_01 is shown below:
31
4.4.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
32
4.4.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
33
4.4.7 Example
The following example is to perform cutting feed of the first axis (A-axis) of the first path controlled by group 1,
at speed 1 mm/rev for distance 100 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn on ACT (R0000.0) (ACT=1) to start cutting feed – feed per revolution of first axis (A-axis).
3. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Feedrate per revolution and Total moving
distance.
34
4.5 Skip – feed per minute
4.5.2 Function
This function block executes skip function (feed per minute) of the specified PMC axis at the feedrate and total
moving distance specified by input parameters. This function block has the same functionality of “G31 G01” of
CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 High-speed skip is not available.
2 Skip signals are available for PMC axes assigned to path 1 to 3.
4.5.3 Format
Graphical format of PFL0_SKIP_BY_FEED_PER_MIN_01 is shown below:
35
4.5.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
36
4.5.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
37
4.5.7 Example
The following example is to perform skip function of the first axis (A-axis) of the first path controlled by group
1, at speed 100 mm/min for distance 100 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to use skip signal (PMC axis control):
a) Set “1” to CNC parameter SKE (No.8001#7).
3. Turn on ACT (R0000.0) (ACT=1) to start skip – feed per minute of first axis (A-axis). And skip is
performed when the skip signal (X004.6) turns on.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Feedrate and Total moving distance.
38
4.6 Dwell
4.6.2 Function
This function block executes dwell for the period of the dwell time specified by input parameters. This function
block has the same functionality of “G04” of CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.6.3 Format
Graphical format of PFL0_DWELL_01 is shown below:
39
4.6.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
40
4.6.6 Example
The following example is to perform dwell of the first axis (A-axis) of the first path controlled by group 1, for
dwell time of 5 seconds.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn on ACT (R0000.0) (ACT=1) to start dwell of 5 seconds in first axis (A-axis).
3. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Dwell time.
41
4.7 Reference position return
4.7.2 Function
This function block executes reference position return of the specified PMC axis. This function block
performs rapid traverse in the direction to return reference point specified by CNC parameter ZMIx
(No.1006#5), then performs the same action as manual reference position return of CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
For more details, please refer to the section “(6) Reference position return” in chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
4.7.3 Format
Graphical format of PFL0_REF_POS_RETURN_01 is shown below:
42
4.7.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
43
4.7.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
44
4.7.6 Example
The following example is to perform reference position return without dogs at the first axis (A-axis) of the first
path controlled by group 1, at speed 500 mm/min.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Apply the following configuration to enable function to set reference position without dogs:
a) Turn on CNC parameter DLZx (No.1005#1).
4. Turn on ACT (R0000.0) (ACT=1) to start reference position return of first axis (A-axis).
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Feedrate.
45
4.8 Continuous feed
4.8.2 Function
This function block executes continuous feed of the specified PMC axis in one direction at the feedrate and
direction specified by input parameters. This function block has the same functionality of continuous feed in
JOG mode of CNC.
The PMC axis will move until reset. Use the function block for reset to stop the PMC axis.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.8.3 Format
Graphical format of PFL0_CONTINUOUS_FEED_01 is shown below:
46
4.8.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 Use this function block with buffering disable signal (EMBUFg) turned off, because W1 will never turn on if the
signal is turned on. For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
47
4.8.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
48
4.8.7 Example
The following example is to perform continuous feed of the first axis (A-axis) of the first path controlled by
group 1, at speed 1000 mm/min in positive direction.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn off buffering disable signal EMBUFg (G142.2). Use ladder program to operate this signal
directly.
3. Turn off FEED_DIRECTION (R0000.2) to make the axis move in positive direction.
4. Turn on ACT (R0000.0) (ACT=1) to start continuous feed of first axis (A-axis) in positive direction.
5. Turn off ACT (ACT=0) when W1 (R0000.3) turns on (W1=1).
6. To stop the axis, use function block PFL0_PMC_AXCTL_RESET_01 to reset PMC axis control of group 1.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Continuous feedrate.
49
4.9 First to fourth reference position return
4.9.2 Function
This function block executes first to fourth reference position return of the specified PMC axis at the feedrate
specified by input parameter. This function block performs the same reference position return as CNC
commands listed below, which are reference position return from intermediate position.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
Each reference position is determined by CNC parameters listed below. For more details, please refer to the
section “(8) First reference position return” to “(11) Fourth reference position return” in chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
50
4.9.3 Format
Graphical format of PFL0_1ST_REF_POS_RETURN_01 is shown below:
51
4.9.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
52
4.9.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
53
4.9.7 Example
The following example is to perform first reference position return at the first axis (A-axis) of the first path
controlled by group 1, at speed 500 mm/min.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Apply the following configuration to set the first reference position to “0”:
a) Set “0” to CNC parameter No.1240.
4. Turn on ACT (R0000.0) (ACT=1) to start first reference position return of first axis (A-axis).
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Feedrate.
54
4.10 External pulse synchronization – position coder
4.10.2 Function
This function block executes synchronous operation of the specified PMC axis with position coder, at the pulse
weight specified by input parameter. Synchronous operation with serial spindle can be specified by
This function block performs rapid traverse in the direction to return reference point specified by CNC
parameter ZMIx (No.1006#5), then performs the same action as manual reference position return of CNC.
The specified PMC axis will move synchronizing with position coder at the specified pulse weight by input
parameter. The spindle can be selected by the spindle number specified by input parameter, of which position
coder the PMC axis synchronizes to.
Synchronization continues until reset. Use function block for reset to quit synchronization.
Position coder to synchronize can be selected by CNC parameters and input parameter as follows:
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
For more details, please refer to the section “(12) External pulse synchronization – position coder” in chapter
of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
55
4.10.3 Format
Graphical format of PFL0_EXT_PLS_SYNC_POS_CODER_01 is shown below:
56
4.10.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 For more details, please refer to the section “(12) External pulse synchronization – position coder” in chapter of
PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 Use this function block with buffering disable signal (EMBUFg) turned off, because W1 will never turn on if the
signal is turned on. For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
57
4.10.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
Only address of first path is listed above. Please refer to the chapter of PMC axis control in “CONNECTION
MANUAL (FUNCTION)” of your CNC.
58
4.10.7 Example
The following example is to synchronize the first axis (A-axis) of the first path controlled by group 1, with
position coder of the second spindle by pulse weight of 2.5.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable spindle number of input parameter (second spindle):
a) Set “1” to CNC parameter ESY (No.8007#3).
b) Set “1” to CNC parameter EOS (No.8019#0).
3. Apply the following configuration to enable spindle number of input parameter (second spindle):
a) Turn off manual pulse magnification change signal HNDMP (G88.3) to choose 1/256 for the unit of
pulse weight.
b) Set “1000” to R1000.
4. Turn on ACT (R0000.0) (ACT=1) to start synchronization of first axis (A-axis) with position coder of
the second spindle.
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
6. To stop synchronization, use function block PFL0_PMC_AXCTL_RESET_01 to reset PMC axis control of
group 1.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters: Pulse weight, Spindle number.
59
4.11 External pulse synchronization – manual handle
4.11.2 Function
This function block executes synchronous operation of the specified PMC axis with the corresponding manual
handle, at the pulse weight specified by input parameter.
Synchronization continues until reset. Use function block for reset to quit synchronization.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.11.3 Format
Graphical format of PFL0_EXT_PLS_SYNC_1ST_HNDL_01 is shown below:
60
4.11.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 For more details, please refer to the section “(13) External pulse synchronization - first manual handle” to “(15)
External pulse synchronization - third manual handle” in chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 Use this function block with buffering disable signal (EMBUFg) turned off, because W1 will never turn on if the
signal is turned on. For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
61
4.11.6 Related signals
The signals related to this function block are listed below:
Note
Only address of first path is listed above. Please refer to the chapter of PMC axis control in “CONNECTION
MANUAL (FUNCTION)” of your CNC.
4.11.7 Example
The following example is to synchronize the first axis (A-axis) of the first path controlled by group 1, with the
first manual handle by pulse weight of 2.5.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable spindle number of input parameter (second spindle):
a) Turn off manual pulse magnification change signal HNDMP (G88.3) to choose 1/256 for the unit of
pulse weight.
b) Set “1000” to R1000.
3. Turn on ACT (R0000.0) (ACT=1) to start synchronization of first axis (A-axis) with the first manual
handle.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
5. To stop synchronization, use function block PFL0_PMC_AXCTL_RESET_01 to reset PMC axis control of
group 1.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Pulse weight.
62
4.12 Speed command
4.12.2 Function
This function block executes continuous feed based on speed command in the specified PMC axis at the
feedrate specified by input parameter. The PMC axis to be commanded has to be a rotary axis. (Note 1)
The PMC axis will move until reset. Use the function block for reset to stop the PMC axis.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 For more details, please refer to the section “(16) Speed command” in chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
4.12.3 Format
Graphical format of PFL0_SPEED_COMMAND_01 is shown below:
63
4.12.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
4 Use this function block with buffering disable signal (EMBUFg) turned off, because W1 will never turn on if the
signal is turned on. For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
64
4.12.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
65
4.12.6 Example
The following example is to perform continuous feed of the first axis (A-axis) of the first path controlled by
group 1, at speed 1000 mm/min in positive direction.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to configure first axis (A-axis) as a rotary axis:
a) Set “1” to CNC parameter ROTx (No.1006#0) of first axis (A-axis).
3. Turn on ACT (R0000.0) (ACT=1) to start continuous feed of first axis (A-axis) in positive direction.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
5. To stop the axis, use function block PFL0_PMC_AXCTL_RESET_01 to reset PMC axis control of group 1.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Continuous feedrate.
66
4.13 Torque control
4.13.2 Function
This function block executes continuous feed by torque control at the maximum feedrate and torque data
specified by input parameters.
The PMC axis will move until reset. Use the function block for reset to stop the PMC axis.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.13.3 Format
Graphical format of PFL0_TORQUE_CONTROL_01 is shown below:
67
4.13.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 For an axis of linear motor, the units of Maximum feedrate and Torque data changes to the followings:
Maximum feedrate: cm/min
Torque data: 0.001N
For the details of each parameter, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
3.Resetting axis control will change the output W1=1 to W1=0.
For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
68
4.13.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
2 In addition to the CNC parameters above, you have to make proper configuration of other parameters related to
torque control function of servo function. For the details of these parameters, please refer to the section “(17)
Torque control” in chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
Note
Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
69
4.13.7 Example
The following example is to perform torque control of the first axis (A-axis) of the first path controlled by group
1, by continuous feed at the maximum feedrate 3000 rev/min and torque data of 50 Nm in positive direction.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable follow-up operation at torque control:
a) Set “1” to CNC parameter TQF (No.1803#4).
3. Turn on ACT (R0000.0) (ACT=1) to start continuous feed of first axis (A-axis) in positive direction.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
5. To stop the axis, use function block PFL0_PMC_AXCTL_RESET_01 to reset PMC axis control of group 1.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Maximum feedrate and Torque data.
70
4.14 Auxiliary function
4.14.2 Function
This function block executes the same functionality of auxiliary function of CNC for the function code specified
by input parameter.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 The same auxiliary function cannot be commanded from more than one group at a time. Command different
auxiliary function from different group, or command them one by one
2 For the details of auxiliary function of CNC, please refer to the chapter of “AUXILIARY FUNCTION” in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
4.14.3 Format
Graphical format of PFL0_AUXILIARY_FUNCTION1_01 is shown below:
71
4.14.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Set auxiliary code of 1-byte or 2-byte binary data according to the CNC parameter AUX (No.8001#6)
Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
72
4.14.6 Related signals
The signals related to this function block are listed below:
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
4.14.7 Example
The following example is to perform auxiliary function with auxiliary function code 06 at group 1 controlling
the first axis (A-axis) of the first path.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn on ACT (R0000.0) (ACT=1) to command auxiliary function code 6 at group 1.
The procedure of ladder program to handle the following signals of group 1 is the same as the auxiliary
function of CNC:
– Auxiliary function strobe signal EMFg (F131.0)
– Auxiliary function code signals EM11g – EM28g (F132)
– Auxiliary function completion signal EFINg (G142.0)
3. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Auxiliary function code.
73
4.15 Machine coordinate system selection
4.15.2 Function
This function block executes absolute rapid traverse of the specified PMC axis to the machine coordinate
position at the feedrate, specified by input parameters. This function block has the same functionality of
“G53” of CNC.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
For more details, please refer to the section “(21) Machine coordinate system selection” in chapter of PMC
axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4.15.3 Format
Graphical format of PFL0_MACHINE_POS_SELECT_01 is shown below:
74
4.15.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
75
4.15.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
4.15.6 Example
The following example is to perform rapid traverse of the first axis (A-axis) of the first path controlled by group
1, at speed 200 mm/min to the position 1000 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Turn on ACT (R0000.0) (ACT=1) to start rapid traverse of first axis (A-axis) to the specified machine
coordinate position.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Rapid traverse feedrate and Machine
coordinate position.
76
4.16 Cutting feed – sec/block specification
4.16.2 Function
This function block executes cutting feed of the specified PMC axis for a specified period of time at the feedrate
and total moving distance specified by input parameters. This function block has the same functionality of “G95
G01” of CNC. In sec/block specification, the time to finish the block is specified.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.16.3 Format
Graphical format of PFL0_CUTTING_FEED_SEC_BLK_01 is shown below:
77
4.16.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1 and
ERR are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
If RESET parameter of the function block for resetting PMC axis control is turned on (RESET=1), the function block
of the same group does not work even if ACT=1.
2 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
3 Resetting axis control will change the output W1=1 to W1=0.
For the details of buffering disable signal (EMBUFg), please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
78
4.16.5 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
79
4.16.7 Example
The following example is to perform cutting feed of the first axis (A-axis) of the first path controlled by group 1,
for 10 seconds to move distance 100 mm.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn on ACT (R0000.0) (ACT=1) to start cutting feed of first axis (A-axis) for 10 seconds for 100 mm.
3. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Cutting feed time and Total moving
distance.
80
4.17 Reset PMC axis control
4.17.2 Function
This function block resets the PMC axis control command that is currently working or is stored in command
buffer.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
4.17.3 Format
Graphical format of PFL0_PMC_AXCTL_RESET_01 is shown below:
4.17.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 Turn on input RESET to reset PMC axis control, and then the PMC control command of the group that is currently
executed or is stored in command buffer is reset. This also turns of W1 of the function blocks of the group.
2 When ACTs of a function blocks for PMC axis control, and RESET of this function block of the same group, turn on
at once, RESET of this function block defeats ACTs.
81
4.17.5 External variables
This function block uses the following external variables:
Note
1 Different symbols are used for each group. Please define the symbols you will actually use.
4.17.6 Example
The following example is to reset the PMC axis control command of continuous feed of the first axis (A-axis) of
the first path controlled by group 1, at speed 1000 mm/min in positive direction.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
2. Turn on ACT (R0000.0) (ACT=1) to start continuous feed of first axis (A-axis).
3. When W1=1, turn off ACT (ACT=0).
4. Turn on RESET (R0000.1) while the axis performs continuous feed, to stop the PMC control command
of continuous feed of the axis.
5. Turn off RESET.
82
5 Function blocks of peripheral equipment control
This chapter describes the usage of the function blocks of peripheral equipment control functions provided by
PMC Function Library for PMC axis control (PMC_AXIS_CONTROL.FLL).
5.1.2 Function
This function block performs jog operation at the feedrate specified by input parameters. While the input
parameter of positive direction is turned on, the axis moves continuously in positive direction, and also negative
direction.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
If both of input parameters of positive and negative direction are turned on, this function block does not work
5.1.3 Format
Graphical format of PFL1_JOG_OPERATION_01 is shown below:
83
5.1.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns off the buffering disable signal (EMBUFg) while it is working.
2 If both of POS_DIR and NEG_DIR are turned on, axis will not move either way.
3 This function block internally uses function block for continuous feed. For more details, please refer to the section
“(7) Continuous feed” in chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 AXIS_STATUS signal is generated from axis moving signal (EGENg) and in-position signal (EINPg). To issue the
next command after the axis stops, check if both of AXIS_STATUS and control axis selection status signal
(*EAXSL) are turned off.
5 W1 turns on just after the axis stops, and turns off one scan after.
6 Because reset is used to stop the axis, any other PMC axis control command of the same group will also be reset.
84
5.1.5 Signals used inside function block
This function block uses the following signals for PMC axis control function, modifying and referring:
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
85
5.1.8 Example
The following example is to perform jog operation of the first axis (A-axis) of the first path controlled by group
1, at speed 500 mm/min in positive direction.
1. Apply the following configuration to assign first axis (A-axis) to first path:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
2. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program.
3. Turn on POS_DIR (R0000.0) and off NEG_DIR (R0000.1) to start the first axis (A-axis) to move in
positive direction, and then AXIS_STATUS (R0000.3) turns on.
4. Turn off both of POS_DIR (R0000.0) and NEG_DIR (R0000.1) to stop the axis. AXIS_STATUS
(R0000.3) turns off, and W1 turns on for one cycle.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Continuous feedrate.
86
5.2 ATC/Turret control – Automatic operation
5.2.2 Function
This function block moves ATC/turret to the position, in the rotation direction (shortcut, positive, or negative),
at the feedrate, specified by input parameters. The position of turret/magazine begins with “1”.
Specify the amount of travel per ATC rotation and the number of turrets/magazines to the input parameters.
The axis must be a rotary axis, and the amount of travel per rotation should be the value of CNC parameter
No.1260 (shift amount per one rotation of a rotary axis).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 The axis controlled by this function block should be setup as rotary axis type A by CNC parameter.
2 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
3 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
87
5.2.3 Format
Graphical format of PFL1_ATC_TURRET_CNTL_AUTO_01 is shown below:
88
5.2.4 Parameters
Details of the parameters of this function block are as shown below:
89
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 For the details of CNC parameter No.1260, please refer to “CONNECTION MANUAL (FUNCTION)” of your CNC.
The input parameter AMOUNT_OF_1_ROT (amount of travel per rotation) should be “Value of CNC parameter
No1260” 10decimal point position. Valid range is as followings:
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
90
5.2.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 To use this function block, the axis to be controlled has to be a rotary axis (A type), and the roll-over function has to
be enabled. An error will be issued if the axis is not rotary axis (A type).
2 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
3 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
91
5.2.9 Example
The following example is to move the first axis (A-axis) of the first path controlled by group 1, to the
turret/magazine #5 of ATC/turret of 10 turrets/magazines, whose amount of travel per rotation is 360.000, at the
feedrate 200 deg/min in direction of shortcut rotation.
92
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
93
5.3 ATC/Turret control – 1-pitch rotation
5.3.2 Function
This function block moves to the next ATC/turret, in the direction (positive or negative), at the feedrate,
specified by input parameters.
Specify the amount of travel per ATC rotation and the number of turrets/magazines to the input parameters.
The axis must be a rotary axis, and the amount of travel per rotation should be the value of CNC parameter
No.1260 (shift amount per one rotation of a rotary axis).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 The axis controlled by this function block should be setup as rotary axis type A by CNC parameter.
2 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
3 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
94
5.3.3 Format
Graphical format of PFL1_ATC_TURRET_CNTL_PITCH_01 is shown below:
95
5.3.4 Parameters
Details of the parameters of this function block are as shown below:
96
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 For the details of CNC parameter No.1260, please refer to “CONNECTION MANUAL (FUNCTION)” of your CNC.
The input parameter AMOUNT_OF_1_ROT (amount of travel per rotation) should be “Value of CNC parameter
No1260” 10decimal point position. Valid range is as followings:
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
97
5.3.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 To use this function block, the axis to be controlled has to be a rotary axis (A type), and the roll-over function has to
be enabled. An error will be issued if the axis is not rotary axis (A type).
2 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
3 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
98
5.3.9 Example
The following example is to move the first axis (A-axis) of the first path controlled by group 1, to the next
turret/magazine of ATC/turret of 10 turrets/magazines, whose amount of travel per rotation is 360.000, at the
feedrate 200 deg/min in positive direction.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
99
5.4 Point positioning (linear axis)
5.4.2 Function
Prepare a point data table in PMC address (D-address typically) in which the set of coordinates (absolute) are
registered. This function block moves the axis to the coordinate (absolute) of the specified point number,
which points the target position in the point data table, and at the feedrate, specified by the input parameters.
Also specify the top address of the prepared point data table and the total of points in the table to each input
parameter.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 This function block is designed for a linear axis.
2 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
3 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
100
5.4.3 Format
Graphical format of PFL1_POINT_POSITIONING_LA_01 is shown below:
101
5.4.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 Valid range is 1 to 16384; however, the size of table cannot exceed the end of the address area.
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
102
5.4.5 Error information
Error detail information (ERR_DETAIL) of this function block notifies the cause of error as follows:
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
103
5.4.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
2 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
104
5.4.9 Example
The following example is to execute rapid traverse of the first axis (A-axis) of the first path controlled by group
1, to the coordinate (absolute) that point number 5 points in the point data table of D0100 – D0147 which
contains 12 points total, at the feedrate 400 mm/min.
1. Prepare a point data table of 12 points at D0100 – D0147, containing coordinates (absolute) of each
point. (4 bytes 12)
2. Apply the following configuration to assign first axis (A-axis) to first path:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
3. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
4. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
5. Turn on ACT (R0000.0) to start moving first axis (A-axis) to the coordinate stored as point #5 at
D0116.
6. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
105
5.5 Point positioning (rotary axis)
5.5.2 Function
Prepare a point data table in PMC address (D-address typically) in which the set of coordinates (absolute) are
registered. This function block moves the axis to the coordinate (absolute) of the specified point number, which
points the target position in the point data table, in the rotation direction (shortcut, positive, or negative), and at
the feedrate, specified by the input parameters.
Also specify the top address of the prepared point data table and the total of points in the table to each input
parameter. The axis must be a rotary axis, and the amount of travel per rotation should be equal to the value of
CNC parameter No.1260 (shift amount per one rotation of a rotary axis).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 The axis controlled by this function block should be setup as rotary axis type A by CNC parameter.
2 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
3 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
106
5.5.3 Format
Graphical format of PFL1_POINT_POSITIONING_RA_01 is shown below:
107
5.5.4 Parameters
Details of the parameters of this function block are as shown below:
108
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 For the details of CNC parameter No.1260, please refer to “CONNECTION MANUAL (FUNCTION)” of your CNC.
The input parameter AMOUNT_OF_1_ROT (amount of travel per rotation) should be “Value of CNC parameter
No1260” 10decimal point position. Valid range is as followings:
4 Valid range is 1 to 16384; however, the size of table cannot exceed the end of the address area.
5 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
6 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
109
5.5.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 To use this function block, the axis to be controlled has to be a rotary axis (A type), and the roll-over function has to
be enabled. An error will be issued if the axis is not rotary axis (A type).
Please use the fanction block of “Point positioning (linear axis)” when using the rotary axis (B type).
2 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
3 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
110
5.5.9 Example
The following example is to execute rapid traverse of the first axis (A-axis) of the first path controlled by group
1, to the coordinate (absolute) that point number 5 points in the point data table of D0100 – D0147 which
contains 12 points total, whose amount of travel per rotation is 360.000, at the feedrate 400 deg/min in direction
of shortcut rotation.
1. Prepare a point data table of 12 points at D0100 – D0147, containing coordinates (absolute) of each
point. (4 bytes 12)
2. Apply the following configuration to setup a rotary axis:
a) Set “1” to CNC parameter ROTx (No.1006#0), and “0” to ROSx (No.1006#1), to select rotary axis
(A type).
b) Set “1” to CNC parameter ROAx (No.1008#0) to enable roll-over function of the rotary axis.
3. Apply the following configuration to assign first axis (A-axis) to first path:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
4. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
5. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
111
6. Turn on ACT (R0000.0) to start moving first axis (A-axis) to the coordinate stored as point #5 at D0116
in the direction of shortcut rotation.
7. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
112
5.6 Reference position return – reference position number
5.6.2 Function
This function block executes reference position return of the specified PMC axis to the position of the specified
reference position number (1 – 4).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
For more details, please refer to the section “(6) Reference position return” in chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
5.6.3 Format
Graphical format of PFL1_REF_POS_RETURN_NUM_01 is shown below:
113
5.6.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the following signals also if
necessary.
- First reference position return end signals (ZP1 – ZP8)
- Second reference position return end signals (ZP21 – ZP28)
- Third reference position return end signals (ZP31 – ZP38)
- Fourth reference position return end signals (ZP41 – ZP48)
114
5.6.5 Error information
Error detail information (ERR_DETAIL) of this function block notifies the cause of error as follows:
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
115
5.6.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
2 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
116
5.6.9 Example
The following example is to execute first reference position return of the first axis (A-axis) of the first path
controlled by group 1, at the feedrate 500 mm/min.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Apply the following configuration to set the first reference position to “0”:
a) Set “0” to CNC parameter No.1240.
4. Turn on ACT (R0000.0) to perform first reference position return of first axis (A-axis).
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
117
5.7 Reference position return – reference position setting
5.7.2 Function
This function block executes reference position setting of the specified PMC axis, performing the same action of
manual reference position return of CNC, after rapid traverse to the direction of manual reference position
return specified by CNC parameter ZMIx (No.1006#5).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
For more details, please refer to the section “(6) Reference position return” in chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
5.7.3 Format
Graphical format of PFL1_REF_POS_RETURN_SET_01 is shown below:
118
5.7.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the reference position return
end signals (ZP1 – ZP8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
119
5.7.6 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
2 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
120
5.7.8 Example
The following example is to execute reference position setting without dogs of the first axis (A-axis) of the first
path controlled by group 1, at the feedrate 500 mm/min.
1. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
2. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
3. Apply the following configuration to enable the function for setting reference position without dogs:
a) Set “1” to CNC parameter DLZx (No.1005#1).
4. Turn on ACT (R0000.0) to perform reference position setting of first axis (A-axis).
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameter Rapid traverse feedrate.
121
5.8 Positioning – absolute specification (linear axis)
5.8.2 Function
This function block executes rapid traverse of the axis to the coordinate (absolute) at the feedrate, specified by
the input parameters.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
This function block is designed for a linear axis.
5.8.3 Format
Graphical format of PFL1_ POSITIONING_ABS_LA_01 is shown below:
122
5.8.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 The unit of data is the least input increment of the axis. For more details, please refer to “Standard parameter
setting tables (A)” in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
123
5.8.5 Error information
Error detail information (ERR_DETAIL) of this function block notifies the cause of error as follows:
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
124
5.8.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
2 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
125
5.8.9 Example
The following example is to move the first axis (A-axis) of the first path controlled by group 1, to the absolute
coordinate 500 mm at the feedrate 400 mm/min.
1. Apply the following configuration to assign first axis (A-axis) to first path:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
2. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
3. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
4. Turn on ACT (R0000.0) to start moving first axis (A-axis) to the absolute coordinate 500 mm.
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
126
5.9 Positioning – absolute specification (rotary axis)
5.9.2 Function
This function block executes rapid traverse of the axis to the coordinate (absolute), in the rotation direction
(shortcut, positive, or negative), at the feedrate, specified by the input parameters.
The axis must be a rotary axis, and the amount of travel per rotation should be equal to the value of CNC
parameter No.1260 (shift amount per one rotation of a rotary axis).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 The axis controlled by this function block should be setup as rotary axis type A by CNC parameter.
2 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
3 Do not specify the value that exceeds the amount of travel per rotation to the coordinate (absolute).
4 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
127
5.9.3 Format
Graphical format of PFL1_ POSITIONING_ABS_RA_01 is shown below:
128
5.9.4 Parameters
Details of the parameters of this function block are as shown below:
129
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 For the details of CNC parameter No.1260, please refer to “CONNECTION MANUAL (FUNCTION)” of your CNC.
The input parameter AMOUNT_OF_1_ROT (amount of travel per rotation) should be “Value of CNC parameter
No1260” 10decimal point position. Valid range is as followings:
4 The unit of data is the least input increment of the axis. For more details, please refer to “Standard parameter
setting tables (A)” in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
6 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
130
5.9.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 To use this function block, the axis to be controlled has to be a rotary axis (A type), and the roll-over function has to
be enabled. An error will be issued if the axis is not rotary axis (A type).
Please use the fanction block of “Point positioning (linear axis)” when using the rotary axis (B type).
2 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
3 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
131
5.9.9 Example
The following example is to move the first axis (A-axis) of the first path controlled by group 1, to the absolute
coordinate 50.000, whose amount of travel per rotation is 360.000, at the feedrate 400 deg/min in direction of
shortcut rotation.
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
132
5.10 Positioning – incremental specification
5.10.2 Function
This function block executes rapid traverse of the axis for the distance at the feedrate, specified by the input
parameters.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
5.10.3 Format
Graphical format of PFL1_POSITIONING_INC_01 is shown below:
133
5.10.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 The unit of data is the least input increment of the axis. For more details, please refer to “Standard parameter
setting tables (A)” in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
134
5.10.6 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
135
5.10.8 Example
The following example is to move the first axis (A-axis) of the first path controlled by group 1, for the distance
of 500 mm at the feedrate 400 mm/min.
1. Apply the following configuration to assign first axis (A-axis) to first path:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
2. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
3. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
4. Turn on ACT (R0000.0) to start moving first axis (A-axis) for the distance 500 mm.
5. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Rapid traverse feedrate.
136
5.11 Speed control
5.11.2 Function
This function block executes continuous feed of the axis by speed control at the continuous feedrate specified
by the input parameters. It can also change the continuous feedrate by turning on ACT with new continuous
feedrate in input parameter while the axis is moving.
Turn on input parameter STOP to stop the axis. The PMC axis to be controlled must be a rotary axis.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 This function block uses the speed command (10H) of the PMC axis control function, and supports both of speed
control and position control selected by CNC parameter. For more details, please refer to the chapter of PMC
axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
2 This function block uses a function block to reset PMC axis control command to stop the axis. Turning on the input
parameter STOP will reset the command in action and ones suspended in buffer of the same group.
137
5.11.3 Format
Graphical format of PFL1_SPEED_CONTROL_01 is shown below:
138
5.11.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns off the buffering disable signal (EMBUFg) while it is working.
2 From the status ACT=0 and STOP=0, turn on ACT to start execution, and turn on STOP to stop it. Turn off STOP
after the axis stops. If both of ACT and STOP turn on, STOP is effective.
While ACT=1 or STOP=1, the outputs of W1, ERROR, and ERR_DETAIL are sustained. Please turn off ACT and
STOP (ACT=0, STOP=0) when W1 turns on (W1=1).
3 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 W1 is generated from axis moving signal (EGENg). To check if the axis stops, check the control axis selection
status signal (*EAXSL) also if necessary.
139
5.11.5 Error information
Error detail information (ERR_DETAIL) of this function block notifies the cause of error as follows:
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
140
5.11.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 The PMC axis that this function block controls must be a rotary axis ROTx(No.1006#5)=1, or CNC parameter error
is raised.
2 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
3 The coordinate will not be updated when FS16i specification and speed control are selected (VCP(No.8007#2)=1,
EVP(No.8005#4)=0).
Reference position setting will be required after execution because the position will be lost and reference position
establishment signal (XRFx<F120>) turns off.
4 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
141
5.11.8 Related signals
The signals related to this function block are listed below:
Note
For the details of each signal please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
142
5.11.9 Example
The following example is to perform continuous feed of the first axis (A-axis) of the first path controlled by
group 1, at speed 1000 rev/min in positive direction.
1. Apply the following configuration to assign first axis (A-axis) to first path:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
2. Apply the following configuration to setup first axis (A-axis) as a rotary axis:
a) Set “1” to CNC parameter ROTx (No.1006#0), and “0” to ROSx (No.1006#1), to select rotary axis
(A type).
3. Apply the following configuration to enable to control first axis (A-axis) as PMC axis of group 1:
a) Set “1” to CNC parameter No.8010 of first axis (A-axis).
b) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
4. Turn on ACT (R0000.0) and turn off STOP (R0000.1) to start moving the first axis (A-axis) at feedrate
1000 rev/min in positive direction.
5. Turn off ACT (R0000.0) and turn on STOP (R0000.1) to stop the axis.
6. When the first axis (A-axis) stops, turn off STOP (R0000.1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters such as Continuous feedrate.
143
5.12 Positioning (skip) – absolute specification (linear axis)
5.12.2 Function
This function block executes the skip function (feed per minute) of the axis to the coordinate (absolute) at the
cutting feedrate, specified by the input parameters.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 This function block is designed for a linear axis.
2 High-speed skip is not available.
3 Skip signals are available for PMC axes assigned to path 1 to 3.
4 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
5 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
144
5.12.3 Format
Graphical format of PFL1_POSITIONING_SKIP_ABS_LA_01 is shown below:
145
5.12.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 The unit of data is the least input increment of the axis. For more details, please refer to “Standard parameter
setting tables (A)” in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
146
5.12.5 Error information
Error detail information (ERR_DETAIL) of this function block notifies the cause of error as follows:
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
147
5.12.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
2 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
148
5.12.9 Example
The following example is to perform skip function of the first axis (A-axis) of the first path controlled by group
1, while cutting feed at speed 400 mm/min to the absolute coordinate 500 mm.
1. Apply the following configuration to control first axis (A-axis) of first path as PMC axis of group 1:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
b) Set “1” to CNC parameter No.8010 of first axis (A-axis).
c) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
2. Apply the following configuration to enable skip signal (PMC axis control):
a) Turn on CNC parameter SKE (No.8001#7).
3. Turn on ACT (R0000.0) to start cutting feed per minute of first axis (A-axis). While moving, turning
on skip signal (X004.6) will cause skip operation.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters, such as Cutting feedrate and Total
moving distance.
149
5.13 Positioning (skip) – absolute specification (rotary axis)
5.13.2 Function
This function block executes the skip function (feed per minute) of the axis to the coordinate (absolute), in the
rotation direction (shortcut, positive, or negative), at the cutting feedrate, specified by the input parameters.
The axis must be a rotary axis, and the amount of travel per rotation should be the value of CNC parameter
No.1260 (shift amount per one rotation of a rotary axis).
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 The axis controlled by this function block should be setup as rotary axis type A by CNC parameter.
2 High-speed skip is not available.
3 Skip signals are available for PMC axes assigned to path 1 to 3.
4 This function block reads the current position (absolute) of the axis internally. Specify the path and axis number of
the axis to the input parameters.
5 Do not specify the value that exceeds the amount of travel per rotation to the coordinate (absolute).
6 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
150
5.13.3 Format
Graphical format of PFL1_POSITIONING_SKIP_ABS_RA_01 is shown below:
151
5.13.4 Parameters
Details of the parameters of this function block are as shown below:
152
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 For the details of CNC parameter No.1260, please refer to “CONNECTION MANUAL (FUNCTION)” of your CNC.
The input parameter AMOUNT_OF_1_ROT (amount of travel per rotation) should be “Value of CNC parameter
No1260” 10decimal point position. Valid range is as followings:
4 The unit of data is the least input increment of the axis. For more details, please refer to “Standard parameter
setting tables (A)” in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
6 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
153
5.13.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 To use this function block, the axis to be controlled has to be a rotary axis (A type), and the roll-over function has to
be enabled. An error will be issued if the axis is not rotary axis (A type).
Please use the fanction block of “Point positioning (linear axis)” when using the rotary axis (B type).
2 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
3 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
154
5.13.9 Example
The following example is to perform the skip function of the first axis (A-axis) of the first path controlled by
group 1, whose amount of travel per rotation is 360.000, while cutting feed at speed 400 deg/min to the absolute
coordinate 50.000 in direction of shortcut rotation.
155
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters, such as Cutting feedrate and Total
moving distance.
156
5.14 Positioning (skip) – incremental specification
5.14.2 Function
This function block executes the skip function (feed per minute) of the axis for the distance at the cutting
feedrate, specified by the input parameters.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 This function block is designed for a linear axis.
2 High-speed skip is not available.
3 Skip signals are available for PMC axes assigned to path 1 to 3.
4 For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
5.14.3 Format
Graphical format of PFL1_POSITIONING_SKIP_INC_01 is shown below:
157
5.14.4 Parameters
Details of the parameters of this function block are as shown below:
Note
1 This function block turns on the buffering disable signal (EMBUFg) while it is working.
2 ACT should be turned on (ACT=1) only when the function block should work. While ACT=1, the outputs of W1,
ERROR, and ERR_DETAIL are sustained. Please turn off ACT (ACT=0) when W1 turns on (W1=1).
3 The unit of data is the least input increment of the axis. For more details, please refer to “Standard parameter
setting tables (A)” in “CONNECTION MANUAL (FUNCTION)” of your CNC.
4 Please refer to the chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
5 W1 is generated from in-position signal (EINPg). To check if the axis stops, check the axis moving signals (MV1 –
MV8) also if necessary.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
158
5.14.6 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
1 This function block reads CNC parameter No.8010 to get DI/DO group number of the axis number specified by input
parameter. If the DI/DO group number does not match the group of the function block, input parameter error
occurs.
2 For details of each CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For details of the signals, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
159
5.14.8 Example
The following example is to perform skip function of the first axis (A-axis) of the first path controlled by group
1, while cutting feed at speed 400 mm/min for the distance 500 mm.
1. Apply the following configuration to control first axis (A-axis) of first path as PMC axis of group 1:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
b) Set “1” to CNC parameter No.8010 of first axis (A-axis).
c) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
2. Apply the following configuration to enable skip signal (PMC axis control):
a) Turn on CNC parameter SKE (No.8001#7).
3. Turn on ACT (R0000.0) to start cutting feed per minute of first axis (A-axis). While moving, turning
on skip signal (X004.6) will cause skip operation.
4. Turn off ACT (ACT=0) when W1 (R0000.2) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters; Cutting feedrate and Moving distance.
160
5.15 Data setting by teaching
5.15.2 Function
Prepare a point data table in PMC address (D-address typically) in which the set of coordinates (absolute) are
registered. This function block writes the current position (absolute coordinate) to the point data table where
the point number specified by the input parameter.
This function block can also perform jog operation of the axis at the feedrate, specified by the input parameters.
The axis moves continuously to positive direction while the input parameter for positive direction turns on, and
to negative direction while the negative one turns on.
PMC Function Library for PMC axis control provides function blocks for group 1 to 4. Choose the function
block for the group that you use.
Note
1 Typically, point data table is located in PMC address such as D-address.
2 Writing the current position (absolute coordinate) should be done while the axis stay still.
3 If both of input parameter for moving positive and negative direction turn on at once, jog operation does not work.
161
5.15.3 Format
Graphical format of PFL1_DATA_SETTING_BY_TEACH_01 is shown below:
162
5.15.4 Parameters
Details of the parameters of this function block are as shown below:
163
Note
1 This function block turns off the buffering disable signal (EMBUFg) while it is working.
2 POS_DIR, NEG_DIR, and SET parameters should be “0” normally, and turn on only one of them at a time which
should be executed. If both of POS_DIR and NEG_DIR are turned on, axis will not move either way. While the
axis is moving (AXIS_STATUS=1), SET will not work. Turn on SET after stopping the axis.
3 This function block uses a function block to reset PMC axis control command to stop the axis. When this function
block stops the axis, the command in action and ones suspended in buffer of the same group will be also reset.
4 While SET=1, the outputs of W1, ERROR, and ERR_DETAIL are sustained. Please turn off SET (SET=0) when
W1 turns on (W1=1).
5 This function block internally uses function block for continuous feed. For more details, please refer to the section
“(7) Continuous feed” in chapter of PMC axis control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
6 Valid range is 1 to 16384; however, the size of table cannot exceed the end of the address area.
7 AXIS_STATUS signal is generated from axis moving signal (EGENg) and in-position signal (EINPg). To issue the
next command after the axis stops, check if both of AXIS_STATUS and control axis selection status signal
(*EAXSL) are turned off.
Note
Only the signal of group 1 is described. For the details of each signal please refer to the chapter of PMC axis
control in “CONNECTION MANUAL (FUNCTION)” of your CNC.
164
5.15.7 Related CNC parameters
Details of the CNC parameters related to this function block are as shown below:
Note
For details of the CNC parameters, please refer to the “PARAMETER MANUAL” of your CNC.
Note
For the details of each signal, please refer to the chapter of PMC axis control in “CONNECTION MANUAL
(FUNCTION)” of your CNC.
5.15.9 Example
The following example is to perform jog operation of the first axis (A-axis) of the first path controlled by group
1, to the destination at speed 500 mm/min in positive direction, and after stopping the axis, then to write current
absolute position into the point data table at the position of point #6.
165
1. Prepare a point data table of 12 points at D0100 – D0147, containing coordinates (absolute) of each
point. (4 bytes 12)
2. Apply the following configuration to control first axis (A-axis) of first path as PMC axis of group 1:
a) Set “1” to CNC parameter No.981 of first axis (A-axis).
b) Set “1” to CNC parameter No.8010 of first axis (A-axis).
c) Turn on control axis selection signal EAX1 (G136.0) to enable PMC axis control of first axis.
Control axis selection signal can be directly processed by ladder program. (Note 1)
3. Apply the following configuration to enable rapid traverse speed of input parameter:
a) Turn on CNC parameter RPD (No.8002#0).
4. Turn on POS_DIR (R0000.0) and off NEG_DIR (R0000.1) to start the first axis (A-axis) to move in
positive direction, and then AXIS_STATUS (R0000.4) turns on.
5. When the axis reaches the destination, turn off POS_DIR (R0000.0) to stop the axis. And then
AXIS_STATUS (R0000.4) turns off.
6. Turn on SET (R0000.2) to write the current position (absolute coordinate) into the point data table at
the pint #6 (D0220).
7. Turn off SET (SET=0) when W1 (R0000.3) turns on (W1=1).
Note
1 For details of the CNC parameters and the signals, please refer to the chapter of PMC axis control in
“CONNECTION MANUAL (FUNCTION)” of your CNC.
2 Constant number or an address can be specified to the parameters, such as Rapid traverse feedrate.
166