Publication 1404-UM001D-EN-E - October 2004
C-32
Sample Applications
The message configuration for the GetStatus message is shown below.
3
Timer2.DN
EN
DN
ER
Type - PLC-5 Typed Read
Message Control
msgGetStatus
...
MSG
msgGetStatus.ER
CU
DN
Count Up
Counter
Counter1
Preset
2
Accum
0
CTU
msgGetStatus.DN
Equal
Source A
Status[0]
30
Source B
30
EQU
Not Equal
Source A
Status[1]
-1
Source B
-1
NEQ
Counter1.DN
msgWriteNew.ER
Failed
msgGetStatus.DN
/
Failed
L
Success
Failed
Success
U
Start
RES
Counter1
Timer2 delays evaluating the write status until the Powermonitor 3000 has reset.
This rung evaluates the results of writing the new configuration.
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.
When the operation is complete with no errors, the "Success" flag asserts and the "Start" flag is cleared.
End
Содержание 1404-M4
Страница 1: ...Bulletin 1404 Powermonitor 3000 1404 M4 1404 M5 1404 M6 1404 M8 User Manual Allen Bradley HMIs ...
Страница 6: ...Publication 1404 UM001D EN E October 2004 Table of Contents 4 ...
Страница 26: ...Publication 1404 UM001D EN E October 2004 2 14 Product Description ...
Страница 264: ...Publication 1404 UM001D EN E October 2004 C 10 Sample Applications ...
Страница 277: ...Publication 1404 UM001D EN E October 2004 Sample Applications C 23 Ladder Diagram Allen Bradley HMIs ...
Страница 278: ...Publication 1404 UM001D EN E October 2004 C 24 Sample Applications ...
Страница 279: ...Publication 1404 UM001D EN E October 2004 Sample Applications C 25 Allen Bradley HMIs ...
Страница 280: ...Publication 1404 UM001D EN E October 2004 C 26 Sample Applications ...
Страница 285: ...Publication 1404 UM001D EN E October 2004 Sample Applications C 31 Allen Bradley HMIs ...
Страница 304: ...Publication 1404 UM001D EN E October 2004 D 6 Technical Specifications ...
Страница 324: ...Publication 1404 UM001D EN E October 2004 F 18 Powermonitor 3000 EtherNet IP Device Profile ...
Страница 340: ...Publication 1404 UM001D EN E October 2004 G 16 Powermonitor 3000 ControlNet Device Profile ...
Страница 354: ...Publication 1404 UM001D EN E October 2004 6 Index ...
Страница 355: ...Allen Bradley HMIs ...