Publication 1766-RM001A-EN-P - October 2008
Using High-Speed Outputs
145
PTOX Output (OUT)
The PTOX OUT (Output) variable defines the output (O0:0/2, O0:0/3 or
or O0:0/4) that the PTO instruction controls. This variable is set within the
function file folder when the control program is written and cannot be set
by the user program.
•
When OUT = 2, PTO pulses output 2 (O0:0.0/2) of the embedded
outputs.
•
When OUT = 3, PTO pulses output 3 (O0:0.0/3) of the embedded
outputs
•
When OUT = 4, PTO pulses output 4 (O0:0.0/4) of the embedded
outputs.
IS - Idle Status
PTOX:0/IS
bit
0 or 1
status
read only
ED - Error Detected Status
PTOX:0/ED
bit
0 or 1
status
read only
NS - Normal Operation Status
PTOX:0/NS
bit
0 or 1
status
read only
JPS - Jog Pulse Status
PTOX:0/JPS
bit
0 or 1
status
read only
JCS - Jog Continuous Status
PTOX:0/JCS
bit
0 or 1
status
read only
ADI - Accel/Decel Pulses Independent
PTOX:0/ADI
bit
0 or 1
control
read/write
JP - Jog Pulse
PTOX:0/JP
bit
0 or 1
control
read/write
JC - Jog Continuous
PTOX:0/JC
bit
0 or 1
control
read/write
EH - Enable Hard Stop
PTOX:0/EH
bit
0 or 1
control
read/write
EN - Enable Status (follows rung state)
PTOX:0/EN
bit
0 or 1
status
read only
ER - Error Code
PTOX:0.ER
word (INT)
-2…7
status
read only
OF - Output Frequency (Hz)
PTOX:0.OF
long word
(32-bit INT)
0…100,000
control
read/write
OFS - Operating Frequency Status (Hz)
PTOX:0.OFS
long word
(32-bit INT)
0…100,000
status
read only
JF - Jog Frequency (Hz)
PTOX:0.JF
long word
(32-bit INT)
0…100,000
control
read/write
TOP - Total Output Pulses
To Be Generated
PTOX:0.TOP
long word
(32-bit INT)
0…2,147,483,647 control
read/write
OPP - Output Pulses Produced
PTOX:0.OPP
long word
(32-bit INT)
0…2,147,483,647 status
read only
ADP - Accel/Decel Pulses
PTOX:0.ADP
long word
(32-bit INT)
control
read/write
Pulse Train Output Function File (PTOX:0)
Sub-Element Description
Address
Data Format
Range
Type
User Program
Access
For More
Information
Sub-Element
Description
Address
Data Format
Range
Type
User Program
Access
OUT - Output
PTOX:0.OU
T
word (INT)
2…4
control
read only
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive