Blogger Tips and TricksLatest Tips And TricksBlogger Tricks

Friday, 8 May 2015

PTO [Pulse Train Output] Instruction in Allen Bradley PLC

PTO [Pulse Train Output] Instruction in Allen Bradley PLC

For MicroLogix 1200 and MicroLogix 1500        

Example of Instruction


Use this instruction to control and monitor the pulse train output function, which in turn controls the physical PTO output. The operation of the PTO function is controlled by a state machine. The rung state when the instruction is executed is only one of several inputs used to control this state machine, the other being the state of the enable bit. The frequency that appears at the physical output only changes at a pulse boundary. This means that the ramp at the physical output during the Acceleration and Deceleration phases are dependent on the processor scan time. For this reason we recommend operating the PTO from the STI user interrupt.


 When executed on a true rung, the PTO instruction sets (1) the EN bit and executes the state machine.
When executed on a false rung, the PTO instruction resets (0) the EN bit and executes the state machine.

Pre-First Pass

·         The EN, CO, PO, NO, ER, ID, AS, RS, DS and DN Status/Control bits are reset.
·         The Error Code is set to zero.
·         The Current Frequency and Current Position are set to zero.
·         The state machine are initialized so that the Pre-Idle state is entered the first time a PTO instruction is executed.

MCR Zone Execution
In an active MCR zone, the PTO operates as if the rung state were false. 

 Entering Parameters
 Enter a 0 or a 1 for the PTO number. The PTO status and control information is contained in a Pulse Output (PO) control file or (PTO) function file. A list of equirements regarding the use of the PTO follows:

·         You can assign outputs O:0/2 and O:0/3 to any of the PTO or PWM functions but, the same output cannot be assigned to more than one function.

·         The PTO number also designates which PTO control file is used by the instruction.
·         There is no restriction on the number of PTO instructions that can be in your program. Each time one of the instructions is executed, it updates the PTO function as described by the PTO state machine.

·         The output image for the output controlled by the PTO function is updated to reflect the state of the physical output every time that the PTO instruction is evaluated.

·         If the PTO function is being used, the output image for the output controlled by the PTO function is not transferred to the physical output. This constraint also applies to immediate outputs. The PTO function is being used if and only if a transition out of the Pre-Idle state is made. For example, a PTO instruction may be contained in a subroutine or interrupt file that is never executed, in this case the PTO function is not used.

·         Immediate outputs update the output image (but not the physical output.)
·         If the output controlled by the PTO function is forced, the force overrides the PTO and the PTO errors out. Some of the errors generate a recoverable major fault (code 003B). Click here for a list of faults which may be generated.

·         When the PTO is in the Idle or Error state, the output controlled by the PTO is always off (unless a force overrides the physical output.)
·         If the PTO instruction is being used when a power fail occurs, the corresponding output image are set to zero.

Note:  A maximum of two elements can be configured for the PTO and PWM files combined.

Source:Rockwell Softwar Inc.

Blog Widget by LinkWithin


Subscribe To Get FREE Tutorials! And More....


PLC Ladder PLC Practice Problem PLC Ladder Programming training & tutorials Free Training on PLC Ladder Programming training & tutorials PLC Ladder Logic PLC Timer SCADA Basic PLC Ladder Programming Examples Delta PLC PLC & Visual Basic Communication PLC Definition Introduction PLC Error PLC Error LED RSLinx Tutorial Types of Timers in PLC ladder logic Programming programmable Logic Controllers AB addressing ABB AC Drive AC Drive training cource Actuators Advantages and Disadvantages Addressing of Allen Bradley PLC Micrologix 1000 Addressing of Delta PLC DVP SS/ES/EX Addressing of Mitsubishi PLC FX2N Addressing of Modicon PLC Micro TSX 3722 Addressing of Siemens PLC S7 200 Advantages & Disadvantages of RTD Advantages & Disadvantages of all types Sensors Advantages of SCADA Allen Bradley PLC PWM (Pulse Width Modulation) error codes Allen Bradley SLC Controller Error Codes Ampere Voltage Ratings of circuit brakers Analog addressing Allen bradley Analog input in Allen Bradley PLC Applications of Sensors Capacitive Proximity Sensors blck diagram Capacitive proximity sensors Circuit brakers Circuit diagram of motor starter Communication Between two E1000 HMI and mitsubishi Fx2n PLC Communication between FX3U PLC and SCADA via RS485BD Configuring the DF1 Driver using RSLinx Configuring the Ethernet Driver Connection between 2 E-Terminals and FX2N PLC. DOL Motor Starter PLC logic DOP Series Human Machine Interface DVP14ss Delta HMI Delta HMI Program Download.Delta HMI Communication Cable Delta HMI and RS485 Communication Delta MMI Delta PLC Projects Delta PLC input output addressing Different types of Special motor Diffrence between PLC and DCS Ebook on Basics of Allen Bradley PLC pdf Ebook on Basics of Siemens PLC pdf Ebook on Basics of VFD PDF download Electrical maintenannce tips Electromagnetic relay Error Messages from RSLogix Emulate 500 Failsafe meaning Features of Delta HMI/MMI Following are the Free PLC Software's available from all leading brands such as Allen Bradley Free PLC Ebooks Free PLC SCADA TRAINNING & TUTORIAL Free PLC Training Full form of HART HART OSI reference model HART protocol structure HMI & ZIGBEE How Capacitive Proximity Sensors Works? How Inductive Proximity Sensor Works? How Ultrasonic Sensors Works? How to Select a Suitable Motor How to Select the Right VFD (Inverter) or AC Motor Drive Ladder Logic for AND Ladder Program for Automatic Door open close Ladder Programs for Gates List of Top Most Widely used PLC’s in the Industry List of Widley used PLC Companies. Low cost Wireless I/O’s using PLC Mitsubishi Mitsubishi PLC FX2N & HMI E1000 Networking using BDTP Technology Mitsubishi PLC input output addressing Modbus Communication Modbus Ethernet Modbus Serial Modbus.dll for Visual Basic Mormally open Contact Normally Close Contact Explained Motion Actuators Motor starter in control circuit NAND NO NC Explained NOR Gates with Truth Tables Nashik Nexgenie PLC Features Nexgenie PLC Port Nexgenie PLC input output OFF Delay Timer OLE for Process and Control ON Delay Timer OR Omron On line Ladder Program Editing for RSLogix 500 On line Ladder changes Online Editing Ladder Program Online Servo tuning PID Control Instruction PID PLC PID instruction in Allen Bradley PLC PLC & VB PLC Counter PLC Error Allen Bradley PLC Error messages in Allen Bradley PLC FBD PLC Fault PLC Industrial Automation Training Institute PLC ON Delay Timer PLC Run Led PLC SCADA Communication PLC SCADA DCS Training Centers PLC SCADA Driver PLC SCADA Training Chennai PLC and ZIGBEE PLC application PLC based Automated Guided Vehicle PLC based Final year Project PLC based Line follower robot PLC based Project Report PLC functional Block Diagram PLC input wiring PLC interview Question PLC interview questions PLC maiintence PLC power LED PLC program for star delta starter PLC retentive timer PLC training in Delhi PLC training in Mumbai PLC training in Pune PTO Allen Bradley PTO [Pulse Train Output] Instruction in Allen Bradley PLC Photoelectric Sensor Applications Photoelectric Sensor Applications in Automation industry Power cable Selection Proficy HMI/SCADA Cimplicity 8.1 Programming Languages for PLC Proximity sensor application Push to ON PUSH to OFF PLC program using NO NC and Coil Pwm RSLinx Tutorial | Configuring the DF1 Driver RSLinx Tutorial | Configuring the Ethernet Driver Scaling Analog Input using SCL Instruction in PLC [Scale Data] Schneider Schneider PLC addressing Selction of Servo Motor Selction of Stepper Motor Selection of AC Motor Selection of VFD Selection of stepper or Servo Motor Sensor applications Servo Motor Servo auto tuning Parameters Siemens Siemens input output addressing Signal Cables selection Simatic Wincc SCADA Single Push button to on and off motor Sinking and sourcing operations Softwares used in SCADA Solid State Relay construction Solid State Relay uses and Advantages Sourcing and Sinking Concept in PLC Standard Wiring Color Codes Stepper Motor Applications and Advantages Disadvantages Stepper application Stepper motor Selection Stepper motor and PLC Tag in SCADA Temperature sensors used with PLC Theory of Capacitive Proximity Sensors Theory of Ultrasonic Sensors Theory or Operation of Inductive Proximity Sensors Thermistor & Temp IC Sensors Thermocouple Trial Run of PLC Troubleshooting Allen Bradley PLC with RSLogix Emulate 500 Troubleshooting Tips for Electrical /Electronic Maintenance Tutorial on PLC Types of Actuators Types of Actuators used for Motion in Automation with Advantages & Disadvantages Types of Sensors Types of Timers in PLC | ON Delay Timer (TON) Typical circuit diagram of Star Delta starter Ultrasonic Sensor Applications Ultrasonic sensors Unitronics VB 6.0 and PLC VIsual Basic as SCADA What is HART What is SCADA (Supervisory Control And Data Acquisition) What is SMART Communication What is a PLC ? What is DCS? What is the difference between PLC and Microcontroller? XIO [Examine if Open] & XIC [Examine if Closed] Explained advantages & disadvantages of Servo Motors anlog input addressing DELTA PLC anlog input addressing Mitsubishi PLC anlog input addressing siemens automation training comparison of PLC and DCS connecting field devices to Programmable Logic Controllers contact reting of relay design of fail safe systems digital common ground connections distributed control system drawbacks of Servo Motor fail safe PLC Redundancy modbus examples noise in cables one input one output PLC program using NO NC logic opc overload relay operation photoelectric plc Response Time plc output wiring plc program for TV remote plc training programmable Logic Controllers List relay coil rating relay driving circuit relay isolation voltage selection of relay servo basics servo training star delta starter control wiring diagram types of Counter typical circuit diagram of Direct on line starter