QUOTE (acpi @ Oct 21 2009, 03:55 PM)

If you can read the comments that means you have the text source file (.src) or the binary source file (.pcs). Is it correct ? if so you have all the code inside it including the animation links. With Processyn DOS you had to build the graphic screen with a dedicated tool first and then the animation was done by code in the @GRAPH descriptor. You had to specify the position of the object on the screen that you need to animate. It's a little bit difficult to explain it in english but it's easier with the software. The problem is you need a devellopment dongle to do it. If you just have a runtime dongle you will have to deal with the text source file but its more difficult.
JC
I have the SRC file. It is broken into a few sections. SYNOPTIC, CRONO, MEM, FILE, A_B, CAMPIO, ANIMA, ELENCO, CODICE, and SIST.
I am having trouble making the connection between the displays I can see in the graphical editor and how they are linked to I/O. I have attached a screen shot of PCS running in DOS so you can see the menu items available as well as the SRC file (renamed to .TXT because I am not allowed to upload .SRC). For an example frm the SRC file instance:
On one of the screens I have 2 text boxes, one says MAN and the other AUTO. There visibility is affected by whether the machine is in Manual or Automatic.
Shown in the SYNOPTIC section they appear as:
TEXT 2 0 3446 1014 154 "MAN"
TEXT 2 0 3753 1014 154 "AUTO"
Then in the ANIMA section I believe that the lines of code are:
B15_7 6 COL 2 0 3548 1065 (this is the address of the MAN bit in the PLC, the actual PLC address is B15:7/5 but the PLC is 0-15 and they mapped the HMI 1-16)
B15_7 7 COL 2 0 3900 1052 (this is the address of the AUTO bit in the PLC, the actual PLC address is B15:7/6 but the PLC is 0-15 and they mapped the HMI 1-16)
Now where I get lost is where in those 2 line is the command that tells it to change visibility?
As well on the same screen I have horizontal bars that fill based on speed of a motor. I think the section in the SRC file describing them is:
SCEGLI COL 4 0 3746 2972
ANIM ANA
A6 DESTRA 3 0 0. 350. 489 2518 1801 2441
A7 DESTRA 14 0 0. 2045. 489 2562 1801 2441
A9 DESTRA 3 0 0. 310. 489 2319 1801 2242
A10 DESTRA 14 0 0. 310. 489 2364 1801 2242
A12 DESTRA 3 0 0. 1200. 489 2121 1801 2044
A15 DESTRA 3 0 0. 90. 489 1922 1801 1846
A18 DESTRA 3 0 0. 90. 489 1724 1801 1647
A19 DESTRA 14 0 0. 100. 489 1769 1801 1647
A22 ALTO 14 0 0. 23. 175 1186 482 98
A23 ALTO 3 0 0. 25. 278 1186 482 98
A25 ALTO 14 0 0. 145. 668 1186 975 98
A26 ALTO 15 0 0. 145. 668 1186 770 98
A27 ALTO 3 0 0. 145. 770 1186 975 98
A29 ALTO 14 0 0. 23. 1212 1186 1519 98
A30 ALTO 3 0 0. 25. 1314 1186 1519 98
A32 ALTO 14 0 0. 145. 1711 1186 2018 98
A33 ALTO 15 0 0. 145. 1711 1186 1814 98
A34 ALTO 3 0 0. 145. 1814 1186 2018 98
But once again I need to be able to decipher this code.
Thanks again for your help.