7-27
Section
Pulse Output Instructions
489
ue of the number of movement pulses will be used. (For example, if the number
of movement pulses is –500, a value of 500 will be used.)
Flags
ER:
A data area boundary is exceeded.
Indirectly addressed DM word is non-existent. (Content of *DM word is
not BCD, or the DM area boundary has been exceeded.)
P is not 000 or 010.
C is not 000 or 001. (C cannot be set to 001 when relative coordinates
are being used.)
The number of output pulses is not between –16,777,215 and
16,777,215.
PULS(65) is executed in an interrupt subroutine while a pulse I/O or
high-speed counter instruction (INI(61), PRV(62), CTBL(63),
SPED(64), PULS(65), ACC(––), PWM(––), or SYNC(––)) is being
executed in the main program.
After PULS(65) is executed, the absolute value of the number of move-
ment pulses is not between 1 and 16,777,215.
7-27-2
SPEED OUTPUT– SPED(64)
P:
Port specifier
001 or 010
Ladder Symbols
Operand Data Areas
@SPED(64)
P
M
F
F
: Target frequency
IR, SR, AR, DM, HR, LR, #
M
: Output mode
000 or 001
SPED(64)
P
M
F
Limitations
This instruction is supported by the
CPM1A and CPM2A/CPM2C PCs with
transistor outputs only
.
In the CPM1A: F must be BCD, #0000 or #0002 to #0200.
In the CPM2A/CPM2C: F must be BCD, #0000 or #0001 to #1000.
DM 6144 to DM 6655 cannot be used for F.
Description
SPED(64) is used to set the output pulse frequency and start the pulse output
from the specified output bit. When the execution condition is OFF, SPED(64) is
not executed. When the execution condition is ON, SPED(64) sets the pulse fre-
quency F for the output bit specified by P. M determines the output mode.
In general, SPED(64) should be executed just once each time that the frequency
needs to be set; use the differentiated variation (@SPED(64)) or an input condi-
tion that is ON for just one cycle.
Note
Refer to
2-5 Pulse Output Functions
for more details.
Port Specifier (P)
The port specifier indicates the output bit where the pulses will be output.
P
Pulse output location(s)
000 Single-phase pulse output 0 without acceleration or deceleration (output
01000)
010 Single-phase pulse output 1 without acceleration or deceleration (output
01001)
This setting is supported by CPM2A/CPM2C PCs only.
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...