3. Instruction Set
API
Mnemonic Operands Function
348 D
PUDRA Module~ErrCode
Absolute addressing output of
PU module
(with acceleration
and deceleration)
Type
Bit Devices Word devices Program Steps
(To be used in ISPSoft)
ES2/EX2
SS2
SX2
ES2/EX2 SS2
SX2
ES2/EX2
SS2
SX2
Operands:
Module: Module number Axis: Output axis number ATarPosi: Number of output pulses for
absolute addressing TarSpeed: Target output frequency Done: Completion/pause flag
Error: Error flag ErrCode: Error code
Explanations:
1. This instruction is available for ES2/EX2 (FW V4.02 or later) and ES2-E (FW V1.48 or later).
For ISPSoft, we recommend using software version 3.16 and above. When En setting is set to
ON, this instruction would be effective. Once the setting changes to OFF, Output pulse would
be terminated immediately. WPLSoft does NOT support this instruction.
2. Axis sets the output axis number for the specified PU module. The setting values 1~2
represent the axis1~axis2 output of the specified PU module respectively. If the PU module
has no corresponding axis number for output, the error flag Error will change to ON.
3. ATarPosi is the position for absolute addressing. The input pulse number is a signed 32 bit
value. The PU module will automatically compare it with the present position. If the comparison
result is greater than 0, the output will be conducted in the positive direction (and the direction
output point is off). If the comparison result is less than 0, the output will be conducted in the
negative direction and the direction output point is on). When the value is 0, the instruction sets
the Done flag to ON.
4. Refer to the DPUDRI instruction for the explanation of other parameters.