Allen-Bradley Powermonitor 3000 User Manual page 286

Table of Contents

Advertisement

C-32
Sample Applications
The "Failed" flag asserts if the WriteNew message instruction errors-out, or if the GetStatus instruction errors out twice, or if the write status
indicates bad data in the download table. If there is a bad data indication, verify that word 0 of the download table is the correct Powermonitor 3000
password, that word 1 is a value of 31 (decimal) and that at least one or more words beginning with word 3 are non-zero. Then try toggling "start" again.
Counter1 increments if the GetStatus message errors out. The logic will wait until Timer2 times out and then retry the GetStatus message.
Timer2.DN
3
End
Publication 1404-UM001D-EN-E - October 2004
Timer2 delays evaluating the write status until the Powermonitor 3000 has reset.
This rung evaluates the results of writing the new configuration.
When the operation is complete with no errors, the "Success" flag asserts and the "Start" flag is cleared.
msgGetStatus.ER
msgGetStatus.DN
Equal
Source A
Source B
Counter1.DN
msgWriteNew.ER
msgGetStatus.DN
Failed
/
Failed
Success
The message configuration for the GetStatus message is shown below.
MSG
Type - PLC-5 Typed Read
Message Control
msgGetStatus
CTU
Count Up
Counter
Preset
Accum
EQU
Not Equal
Status[0]
Source A
30
30
Source B
EN
...
DN
ER
CU
Counter1
DN
2
0
NEQ
Status[1]
-1
-1
Failed
Success
L
Start
Counter1
U
RES

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1404-m41404-m61404-m51404-m8

Table of Contents