The text of a manual ยท part 16 of 32
SYSMAC C200H-NC211 Position Control Unit Operation Manual: SECTION 5 IR Area Allocation, pages 124 to 131
Pages 124 to 131 of 259, from SYSMAC C200H-NC211 Position Control Unit Operation Manual
The original document is the PDF (1.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Omron C200H-NC211
Page 124
Execution Examples
Section 5-4
Example 2: When Origin Proximity Reverse is Disabled
X: DM word m+21 Y: DM word m+121 ( bit 01 ON, bit 04 OFF) In this example, origin proximity reverse is not used. The origin adjustment command is output after deceleration has ended.
1 Origin proximity signal
0
Origin adjustment signal
1
Positioning completed signal
1
0
0
Pulse output Time Start
Busy flag
Stop
1 0
If the Z-phase signal is input from the encoder during deceleration, the point at which positioning is stopped differs depending on the length of the deceleration period. For details on calculating the number of pulses during deceleration, refer to Mode 1, Example 2: When Origin Proximity Reverse is Disabled.
117
Page 125
Execution Examples Origin proximity signal
Section 5-4
1 0 1
Z-phase signal 0
Pulse output
Stop
(Long deceleration)
Time
Origin adjustment command
1 0
Stop
Pulse output
Time
(Short deceleration)
Origin adjustment command
118
1 0
Page 126
ORIGIN SEARCH Completion Examples
5-5
Section 5-5
ORIGIN SEARCH Completion Examples
Completion Patterns With an Origin Proximity Signal
X: DM word m+23 Y: DM word m+123 (bit 01 ON) The following two example diagrams both illustrate completion of ORIGIN SEARCH when an origin proximity signal is present. There is an origin compensation value set in the second example, but not in the first.
Example 1: Without Origin Compensation 1 Origin proximity signal 0 1 Origin signal 0 Deceleration Proximity speed
Pulse output
High speed
Time
[IN Refresh Data Area flag] 1 At-origin flag word n+10, bit 02 No-origin flag word n+10, bit 11
Busy flag word n+10, bit 12
0 1 0 1 0
119
Page 127
ORIGIN SEARCH Completion Examples
Section 5-5
Example 2: With Origin Compensation 1 Origin signal 0 Proximity speed
Pulse output
Time
IN Refresh Data Area flag
Movement equivalent to compensation value
0.5 s
1
At-origin flag word n+10, bit 02
0
No-origin flag
1 word n+10, bit 11
0
Busy flag
1 word n+10, bit 12
0
Program Example Start switch DIFU(13) 03000
Stop switch
3000
Busy flag 11012
No origin 11011
At origin 11002
10002
ORIGIN SEARCH
10000
START
Busy flag 11012
Start completed DIFU(13) 11000 03001
3001
11012 10003
END(01)
120
ORIGIN RETURN
Page 128
ORIGIN SEARCH Completion Examples Completion Patterns Without an Origin Proximity Signal
Section 5-5
X: DM word m+21 Y: DM word m+121 (bit 01 OFF) The following two example diagrams both illustrate completion of ORIGIN SEARCH when no origin proximity signal is present. There is an origin compensation value set in the second example, but not in the first.
Example 1: Without Origin Compensation Origin signal
1 0 Proximity speed
Pulse output Time IN Refresh Data Area flag At-origin flag
1 word n+10, bit 02
0
No-origin flag word n+10, bit 11
Busy flag word n+10, bit 12
1 0 1 0
121
Page 129
Start/Stop
5-6
Section 5-6
Start/Stop In C200H PCs, IR words 100 to 199 are used for Special I/O Units. When a Position Control Unit is used, some of these words are allocated as I/O refresh areas. For a detailed explanation, refer to Section 3-2 Data Configuration and Allocation. 15
07
01 00 n
START Valid initial positioning action number Valid speed coefficient STOP
START
X: Bit 00 of word n Y: Bit 00 of word n+5 When bit 00 turns ON, the settings in bits 01 and 07 are referenced and positioning begun. For interpolation moves use bit 00 of word n only; bit 00 of word n+5 (Y axis start) is not valid.
START Activation Time
The time required between START command bit recognition and the beginning of pulse output depends on the combinations of position data to be executed. START Command
Pulse output Time
Pattern
START activation time Starting the Y axis alone while Starting the Y axis alone while the X axis is stopped the X axis is moving
Interpolation startup
Starting the X axis alone while Starting the X axis alone while the Y axis is stopped the Y axis is moving Pattern 0
18 to 21 ms
18 to 21 ms
27 to 29 ms
Pattern 1 (no. of data = 2)
18 to 21 ms
18 to 21 ms
27 to 29 ms
Pattern 1 (no. of data = max.) Pattern 2 (no. of continuous data = 2) Pattern 2 (no. of continuous data = max.) Pattern 3
18 to 21 ms
18 to 21 ms
27 to 29 ms
18 to 21 ms
18 to 21 ms
27 to 30 ms
38 to 41 ms
41 to 44 ms
80 to 83 ms
18 to 21 ms
18 to 21 ms
27 to 29 ms
Pattern 4
18 to 21 ms
18 to 21 ms
---
Pattern 5
18 to 21 ms
18 to 21 ms
---
Note Maximum number of data items = 53 External Interrupt Response Time
122
The time required between CHANGE SPEED or STOP command bit recognition and the beginning of execution is at least 4 ms.
Page 130
Start/Stop Valid Initial Positioning Action Number
Section 5-6 X: Bit 01 of word n Y: Bit 01 of word n+5 1
Bits 07-00 of word n+1 valid
0
Bits 07-00 of DM word m valid
Set this bit to 1 when you have designated the initial positioning number in the I/O refresh areas. After the initial position is set with bits 07 to 00 of word n+1, set the START command bit. These values are set within the same scan. Set to zero for the first START after the power is turned on, operation after bank end, and operation after positioning action number 19 (or 52 if using an expanded DM area). Valid Speed Coefficient
X: Bit 07 of word n Y: Bit 07 of word n+5 Used when the target speed of the positioning action is to be multiplied by a coefficient. Set the speed coefficient in bits 07 to 00 of word n+2, and then the START command bit within the same scan. This bit can function simultaneously with bit 01 above. When this bit is ZERO, the target speed during START becomes 1.0. For an example of valid speed coefficient operation, refer to Section 6-9 CHANGE SPEED COEFFICIENT.
Deceleration/Stop Command (STOP)
X Bit 15 of word n Y: Bit 15 of word n+5 This bit turns ON when STOP is executed during pulse output. Declaration begins at the deceleration setting of DM word m+99., and eventually stops when a speed of zero is reached. Pulse output cannot be executed as long as this bit remains ON. Refer to Section 6-7 STOP for a more detailed explanation and several examples of STOP execution.
Initial Positioning Action Number
When the START command bit (bit 00 of word n) turns ON, START is executed with the positioning action number specified here if bit 01 of word n is ONE. X: Bits 06-00 of word n+1 Y: Bits 06-00 of word n+6 06 n+1
00 x101 x100
Set to an integer between 00 and 52.
Speed Coefficient
X: Bits 05-00 of word of word n+2 X: Bits 05-00 of word of word n+7 05 n+2 x101
00 x100
Set to an integer between 00 and 20.
This setting represents units of (0.1). A setting of 15, for example, represents a value of (1.5). This coefficient is valid if bit 07 of word n is ONE when the START command bit (bit 00 of word n) turns ON. It is valid only during START and cannot be changed during operation.
123
Page 131
Start/Stop
Section 5-6 The speed coefficient represents a coefficient of the target speed. If its value is set at 00, the speed will be taken at face value and a coefficient of 1.0 will be applied. If the value is set between 01 and 20, the set value will be multiplied by 0.1 to determine the coefficient. The speed coefficient can thus be set in increments from 0.1 to 2.0. If the speed resulting from the coefficient exceeds 250 kpps or falls below 1 kpps, the speed will be set at 250 kpps or 1 kpps, respectively. The target speed coefficient is taken in when started or when the target speed coefficient change flag, bit 07 of word n+1 for the X axis and n+6 for the Y axis, is turned ON. When the target speed changes during operation, set bit 07 of word n+1 to ON after changing the target speed. The target speed coefficient has no effect on accelerations and decelerations. Speed Acceleration
Coefficient: of 1.5 Target speed (coefficient not used or set at 1.0) Coefficient: of 0.5 Time
Deviation Counter Reset Output Signal
X: Bit 06 of word n+2 Y: Bit 06 of word n+7 Bit 06 is only valid during STOP. The deviation counter reset output (A6, B6) is ON if this bit is set to 1, and OFF if it is set to 0.
Origin Adjustment Output Signal
X: Bit 07 word n+2 Y: Bit 07 word n+7 Bit 07 is only valid during STOP or manual operation (JOG or INCH). Origin adjustment output is ON if this bit is set to ONE, and OFF if it is set to ZERO.
124