Publication 1763-RM001C-EN-P - October 2009
138
Using High-Speed Outputs
PTO Error Detected (ED)
The PTO ED (Error Detected Status) bit is controlled by the PTO
sub-system. It can be used by an input instruction on any rung within the
control program to detect when the PTO instruction is in an error state. If
an error state is detected, the specific error is identified in the error code
register (PTO:0.ER). The ED bit operates as follows:
•
Set (1) - Whenever a PTO instruction is in an error state
•
Cleared (0) - Whenever a PTO instruction is not in an error state
PTO Normal Operation Status (NS)
The PTO NS (Normal Operation Status) bit is controlled by the PTO
sub-system. It can be used by an input instruction on any rung within the
control program to detect when the PTO is in its normal state. A normal
state is ACCEL, RUN, DECEL or DONE, with no PTO errors. The NS bit
operates as follows:
•
Set (1) - Whenever a PTO instruction is in its normal state
•
Cleared (0) - Whenever a PTO instruction is not in its normal state
PTO Enable Hard Stop (EH)
The PTO EH (Enable Hard Stop) bit is used to stop the PTO sub-system
immediately. Once the PTO sub-system starts a pulse sequence, the only
way to stop generating pulses is to set the enable hard stop bit. The
enable hard stop aborts any PTO sub-system operation (idle, normal, jog
continuous or jog pulse) and generates a PTO sub-system error. The EH
bit operates as follows:
Sub-Element
Description
Address
Data Format Range
Type
User Program
Access
ED - Error Detected Status PTO:0/ED
bit
0 or 1
status
read only
Sub-Element Description
Address
Data Format Range Type
User Program
Access
NS - Normal Operation Status
PTO:0/NS bit
0 or 1
status read only
Sub-Element
Description
Address
Data Format
Range
Type
User Program
Access
EH - Enable Hard Stop
PTO:0/EH
bit
0 or 1
control
read/write
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive