Real Time Clock Adjust Rslogix 500

Posted on -

RTA – Real Time Clock Adjust (MicroLogix 1200 and 1500 Series C): This instruction is not executed. SVC – Service Communications (SLC 500, MicroLogix 1200 and 1500): There are no processor communications to service, therefore this instruction has no effect. 'Clock SLC 500 PLC'. If your Slc500 doesn't have real time clock then: 1)You could program cascaded timers and counters in your logic to make your own clock and then add switches to select the days. 2)Buy a Display unit with function keys for operator interface and program it as a energy management clock. Being able to just set up the SCADA box as a time server, let it sync to something in the outside world via the other NIC, and let every PLC on the network hit it for time, would make a lot of stuff in my life easier. Oh yeah, and a way to read the clock without a stupid system call.

Estava fazendo um controle PID no RSLogix 500 e não estava funcionando. Depois de muitas tentativas, resolvi buscar na internet se o RSEmulate 500 suportava a função PID e descobri que, além do PID, ele não suporta várias funções. Segue um artigo que se encontra no KB da Rockwell.
http://rockwellautomation.custhelp.com/app/answers/detail/a_id/55723/kw/55723
Emulator Instruction exceptions
There are several instructions that RSLogix Emulate 5 and 500 will not emulate. These are listed in the table below:
BTR – Block Transfer Read: There is no real I/O to read. The software will not emulate the actual transfer of data, but the enable (.EN) and done (.DN) bits are emulated.When a BTR is “executed,” the enable bit is set during the first scan, then the done bit is set during the second scan.If you wish, you may use debug files to emulate the data transfer.
BTW – Block Transfer Write: There is no real I/O to read. The software will not emulate the actual transfer of data, but the enable (.EN) and done (.DN) bits are emulated.When a BTW is “executed,” the enable bit is set during the first scan, then the done bit is set during the second scan.If you wish, you may use debug files to emulate the data transfer.
COR – Custom Output Routine: The COR instruction passes parameters to a Custom Application Routine (CAR) file. CAR files are not emulated in any way. The instruction is not executed.
CPW – Copy Word (SLC 500 only): This instruction is not executed.
DLG – Data Log (MicroLogix 1500 only): The data logging function is not emulated. The instruction is not executed.
GCD – Gray Code (SLC 500 only): This instruction is not executed.
HSC – High Speed Counter (SLC 500 only): This instruction is not executed.
IDI – Immediate Data Input: There is no I/O image table to update in the software. This instruction is not executed.
IDO – Immediate Data Output: There is no I/O image table to update in the software. This instruction is not executed.
IID – I/O Interrupt Disable (SLC 500 only): There is no I/O to generate an interrupt, therefore this instruction has no effect.
IIE – I/O Interrupt Enable (SLC 500 only): There is no I/O to generate an interrupt, therefore this instruction has no effect.
IIM – Immediate Input with Mask (SLC 500 only): There is no I/O to update, therefore this instruction has no effect.
IIN – Immediate Input: There is no I/O image table to update in the software. The instruction is not executed.
INT – Specialty I/O Interrupt (SLC 500 only): There is no I/O to trigger an interrupt, therefore this instruction has no effect.
IOM – Immediate Output with Mask (SLC 500 only): There is no I/O to update, therefore this instruction has no effect.
IOT Immediate Output There is no I/O image table to update in the software. The instruction is not executed.
MSG – Message: Even though the software provides Data Highway Plus emulation and Channel 0 emulation, the MSG instruction emulates only the enable (.EN) and disable (.DN) bits.When the emulator scans a MSG instruction, the EN bit is set during the first scan, and the DN bit is set during the second scan.If you wish, you may use debug files to emulate the data transfer.
PID – Proportional, Integral, Derivative: The software does not attempt to execute the PID instruction or change any of the PID control bits or words.
PTO – Pulse Train Output (MicroLogix 1200 and 1500 only): There are no outputs. The instruction is not executed.
PWM – Pulse Width Modulation (MicroLogix 1200 and 1500 only): There are no outputs. The instruction is not executed.
RCP – Recipe (MicroLogix 1500 Series C only): This instruction is not executed.
REF – I/O Refresh (SLC 500 only): There is no I/O to refresh, therefore this instruction has no effect.
RPI – Reset Pending I/O Interrupt (SLC 500 only): This instruction is not executed.
RPI – Reset Pending I/O Interrupt (SLC 500 only): There is no I/O to generate an interrupt, therefore this instruction has no effect.
RTA – Real Time Clock Adjust (MicroLogix 1200 and 1500 Series C): This instruction is not executed.
SVC – Service Communications (SLC 500, MicroLogix 1200 and 1500): There are no processor communications to service, therefore this instruction has no effect.

Rslogix 5000 Real Time Clock

Introduction to ControlLogix Trending

ControlLogix Trending will track values over time. Most commonly, you will use trending on analog values, but it can be used to track digital (discrete on/off) signals as well. Think of trending as a “software chart recorder”.

In this example, we will use trending to track a Pipe Pressure over time. The pipe pressure will run from 0 to 200 psi over a period of 20 seconds. If the pipe is not holding pressure, we would see that on the trend chart. This could indicate a failure in a seal. If you have not done so, refer to my post “ControlLogix Analog” to learn how to set up and scale your analog module.

Create your Trend

To create a Trend, right-click the trends folder in the Controller Organizer window, and select “New Trend”.

Next, name your trend and choose the sample period. The sample period is how often the pen will update it’s data on your chart. Here, we will choose 100 ms. Click “Next”.

Select the tags you wish to trend. Then you will click the “Add” button, and your tag will appear under the box for “Tags to Trend”. After you have added your tags, click “Finish”. Your Trend is now created.

Adjust the Scale

First of all, look at the time across the bottom of your chart. You will see we are only looking at a 2 second time period. The amount of time across the bottom is called the “X Axis”. Another adjustment to make is the scale on the left edge of your chart. By default, this is set to Automatic mode. This means the scale will change based on actual data. At times, this can cause confusion though. We will lock in the values of 0 to 200 psi. This scale is referred to as the “Y Axis”.

To configure the scaling, right-click anywhere on the chart, and go to “Chart Properties”. I will click on the “X Axis” Tab, and change the time span to 2 minutes.

Real Time Clock Adjust Rslogix 500

Also, we will go to the “Y Axis” Tab, and you will find 3 options. In Automatic mode, the scale is adjusted to fit based on actual data. In Preset mode, we will put a minimum an maximum value into the “Pens” tab for each pen. The other option is to lock in a custom value. Since we anticipate tracking more than one value some day with different scales, we will choose “Preset”.

Furthermore, since we chose “Preset”, we will need to go to the “Pens” tab, and add a minimum and maximum value for the “PipePressure” pen. Fallout 4 reset quest command system. While you are here, you can also adjust the color of the pen, and the width to make your pen more visible.

At last our trend chart is all set up. Press “Apply” and “OK”. Next, we need to click the “Run” button on your trend chart.

Run your Trend

Finally, you will see your pen track the PipePressure tag over time.

Click anywhere on the chart, and a value bar will appear. This value bar tells you the value of the pen at that moment in time. In this instance, we can see that we have an occasional pressure failure of around 150 psi.

Be aware that if you click and drag your mouse across the screen, you will draw a box on the chart. When you release your mouse button, the chart will be zoomed in. To get out of zoom mode, right-click the chart, and choose “Undo Zoom”. You may also need to “unpause” your chart. The Pause/scroll button is at the bottom of your trend chart.

For more information, please visit the ControlLogix Post page!

— Ricky Bryce