Reading selected language on PanelView by CompactLogix PLC

amberman

Member
Join Date
Jun 2014
Location
Brighton
Posts
104
Quick version is is it possible to read the language that the user has selected on a Panel View? There seems to be no system flags but are there other ways?

The reason why I need to do it is that the HMI/PLC software I am working from was only written with one language in mind so uses both PLC string text as well as HMI text. This was done since there is a common set up page on the HMI that reads all sorts of parameters including strings from the PLC. Unfortunately the language I'm after (Russian) uses non-ASCII characters - no problem for the PanelView but the PLC only seems to handle ASCII.

I have a convoluted work around but it depends on being able to read the language.

The other strange one is that momentary push buttons overlaid on the language selector seem to mask the action of the language selector operation... Not what I expected from working with other HMIs. If I could pick up the action of pressing the language selector in the PLC then that would of course solve my problem. Not nice but given the total solution is getting a bit clunky anyway and the usual time pressures are on us I'd cope with it.

I've limited experience of Factory Talk so any assistance appreciated.
 
I know this is late in the game. But CurrentLanguage() is a Function Code that will give the runtime current language.
Search Help for Functions you'll see the topic Language Functions in expressions.

Maybe you could also create a macro to copy CurrentLanguage() to a Tag for use in your program.
 
I know this is late in the game. But CurrentLanguage() is a Function Code that will give the runtime current language.
Search Help for Functions you'll see the topic Language Functions in expressions.

Maybe you could also create a macro to copy CurrentLanguage() to a Tag for use in your program.

I never found the above in the Help under languages but did eventually get a nod towards some useful KB articles (especially 32569), though Rockwell support themselves weren't much use.

I did use CurrentLanguage() in an if/then expression - en-GB points to the existing English string tag from the PLC and ru-RU points to an HMI tag where I can enter Cyrillic characters. If I was to do the programming from scratch myself it would have been easier to stick it all in the HMI especially as this way would have picked up the translations which otherwise have to be extracted manually...but it's too late now.
 

Similar Topics

Dear all, I don't know why setup of password became challenging and weird. After setting up the password and try to upload the ladder from the plc...
Replies
3
Views
97
hi all, i have a plc i need to get info from for a site im working on: I have a 1764 Micro Logix 1500 LSP Series C (See Attached Image) im...
Replies
2
Views
354
Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
686
Hey, I have a PowerMonitor1000 I'm using for voltage control. The problem is it doesn't seem to read voltage until it gets to about 200V...
Replies
0
Views
355
Hi all, i have an application in which i need to read the water level in a 1 1/2" diameter tube that is 24 in. tall. the sensor will be mounted...
Replies
27
Views
1,824
Back
Top Bottom