![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Jun 2007
Location: UK
Posts: 270
|
comms errors with PV+ and L32E
Setup: PV+1000 (V5.10), 1769L32E processor (V19.11). The two units communicate, the devlopment version sees all the RS5000 tags as they are created but the PV shows runtime errors like "Item '{[Silo_Routing]B1[21]' is unresolved in the processor on route Compactlogix in slot 0... I can read numberic variables on the screen, all the colour change and visibility attributes work, but any bit addressed tags generate errors like "Write attempt for item '[Silo_Routing]HMI_Switches[5]' failed (configuration error) on compactlogix... etc. The same happens if I run the application on the pc. What have I missed this time, dudes??? Thanks.
|
|
|
|
#2 |
|
Lifetime Supporting Member
|
can you post the files?
__________________
" You can teach a dog to sit and lie down but then he justs gets lazy"
|
|
|
|
#3 |
|
Member
![]() Join Date: Jun 2007
Location: UK
Posts: 270
|
Thanks for the offer but they're still over a meg zipped. So much for zipping.
|
|
|
|
#4 | |
|
Lifetime Supporting Member
![]() Join Date: Apr 2002
Location: Newcastle
Posts: 322
|
Quote:
[Silo_Routing]HMI_Switches[5] Is that the correct address? Or is the address something like [Silo_Routing]HMI_Switches[5.0] |
|
|
|
|
#5 |
|
Member
![]() Join Date: Jun 2007
Location: UK
Posts: 270
|
Ian, "HMI_Switches" is a DINT, so [n] is the bit number within that DINT. I've checked the format against my only other 5000/PV+ project and the format is the same.
Anyway, third late night in a row on this one and eyes/brain are stuffed. Simplest plc prog I've ever written and it's giving me more grief than some of the bigguns. crazy. Time for bed. Delivering it tomorrow... Last edited by DairyBoy; November 23rd, 2011 at 06:20 PM. |
|
|
|
#6 |
|
Lifetime Supporting Member + Moderator
|
Square brackets denote a member of an Array Tag (BOOL, SINT, INT, DINT, REAL, STRING, etc)
A period denotes a bit sub-element of a SINT, INT, or DINT Tag, whether it is an array member or an ordinary atomic datatype. If the Tag is a DINT, then MyTag.x is the syntax for a bit sub-element in that DINT. If the Tag is a DINT array, then MyTag[y].x is the syntax for a bit in that array element. If the Tag is a BOOL array, then MyTag[x] is the syntax for a bit in that array. |
|
|
|
#7 | |
|
Lifetime Supporting Member
![]() Join Date: Apr 2002
Location: Newcastle
Posts: 322
|
Quote:
I am looking at projects that I have done, and the addressing format is [shortcut_name]tagname.bit_number I am guessing that you are missing a . in your address format
|
|
|
|
|
#8 |
|
Member
![]() Join Date: Jun 2007
Location: UK
Posts: 270
|
Ken, Ian, you're both right. I've looked at the previous PV prog as a reference without sufficient care regarding the data types in the plc prog. I need to change the data type in the hmi. My mistake. Thank you.
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PV 600 and L32E Daylight Savings Time Change | agrosse | LIVE PLC Questions And Answers | 6 | November 9th, 2011 12:26 PM |
| Cannot ping L32E | mutabi | LIVE PLC Questions And Answers | 19 | August 2nd, 2011 12:48 PM |