Recent Posts

Pages: [1] 2 3 ... 10
1
Technical support / Re: Custom Function Editing Window Issue
« Last post by support on December 14, 2019, 09:34:29 PM »
The following links is a screen capture of an external 4K monitor connected to a 4K screen laptop with a GTX960M graphic card. Connection was via a HDMI cable.

https://www.triplc.com/smf/attachments/20191214/external4Kscreenshot.jpg

The i-TRiLOGI runs properly on either 4K monitors. We have tried different settings and font sizes on i-TRiLOGI and also mouse-over the buttons (see popup tooltip) but the function panels was never messed up like on your screen shot. 

Question - what display scaling did you use on your 4K monitor? We were using 125% and 100% scaling without any issue. Can you try with 100% scaling and see if it works for you?


2
Technical support / Re: Custom Function Editing Window Issue
« Last post by DW_Microsys on December 14, 2019, 09:07:13 PM »
More update:
My laptop has both HDMI port and mini Display Port.
I purchased a high quality DP-HDMI cable and connect to 4k Samsung TV.
So far it works without issue for about 3 hours.
I will post some update tomorrow or Monday.
When you test 4k monitor, did you test via HDMI, or DP?
Strange.
3
Technical support / Re: Custom Function Editing Window Issue
« Last post by support on December 13, 2019, 11:32:00 PM »
You can change the font size of text in the Custom Function editor by pressing the F11 and F12 key, or hold down the "Ctrl" key and roll the mouse wheel. That should get you going for now until there is resolution.

We have developed the iTRiLOGI software on a 4K monitor and it has not shown any messing up of the windows so it is hard to conclude that there is a software problem - otherwise it should happen to every 4K monitor, not just a specific graphic card. We will try to test with other 4K monitors that we can get hold of to see if we can repeat your case, but do understand that it is not possible for us to chase every graphic card available on the market since 4K support on Windows is often a touch and go and is not officially supported by our software even though we have do what we can to make it simpler for 4K user.
4
Technical support / Re: Custom Function Editing Window Issue
« Last post by DW_Microsys on December 13, 2019, 04:53:48 PM »
I did more investigation - looks like it related to the "mouse over" function. Please check.

Best regards,
5
Technical support / Re: Custom Function Editing Window Issue
« Last post by DW_Microsys on December 13, 2019, 03:58:23 PM »
Keep the window on Laptop is not ideal solution - the font size is too small compare to 55" 4k monitor.
Since it only happens with Trilog, I would think still there is something on your side. Loos like the function editing window got massed up when the window tries to referesh.

Please check on your side to find a solution.

You do need to get a RTX2060 cards on your site to test.

Best regards,

Daniel
6
Technical support / Re: TBASIC Input On/Off Question
« Last post by garysdickinson on December 11, 2019, 11:19:34 PM »
Jeff,

Good to see that you got something that works for you.

If this code is something that has to be maintained, I’d suggest using the "names" of things rather than the numbers.  As an example TIMER #9 was assigned the name "GndrTmr" in the "I/O Table tab in the i-TRiLOGI app.

So TimerPV[9] and TimerPV[GndrTmr] are equivalent.  The second version makes more sense.  The other reason for using the Itepms name rather than the number is that it is possible to re-arrange the Timers in the I/O and then TimerPV[9] may no longer refer to the GndrTmr.

The same goes for GetTimerSV(15).  Which timer is #15?  Use the name and not the number.

You will find that this convention of numbers and names for references includes things like custom functions, COUNTERS, TIMERs and several other things.

The use of “then" is optional.  It was probably put into TBASIC for the same reason as was the optional "let" keyword.  I suspect that this made TBASIC look more like Dartmouth BASIC from 1964 or Apples integer BASIC from the 1970s...  There is no reason to include this useless keyword.

The use of the "refresh" statement is interesting.  TRI has only documented the refresh statement in terms of updating both the internal copy of the physical INPUTs and making the internal copy of the OUTPUTs become the physical OUTPUTS.  This is normally handled by the before the first line of ladder logic is executed (INPUTSs) and after the last line of ladder logic is executed for the OUTPUTs. 

There is no mention  in TRIs documentation about refresh affecting the State of RELAYs.  You may be on to something!

Gary D
7
Technical support / Re: Custom Function Editing Window Issue
« Last post by support on December 11, 2019, 01:02:08 AM »
No it should be 32-bit JRE. I thought you may have installed 64-bit JRE which won't work properly.

For graphic card RTX2060 - unfortunately we don't have such a graphic card handy. If the graphic card driver screws up the display there is very little we can do on the Java source code side to mitigate it since it is not a programming issue but a glitch in the underlying interaction between the O/S, JRE and Java bytecode. Perhaps the glitch can be reported to the graphic card manufacturer to see if they have an updated driver software that will address the issue.

Meanwhile, you may want to keep the editing done on your laptop screen if it works well in the HD mode.
 
8
Technical support / Re: Custom Function Editing Window Issue
« Last post by DW_Microsys on December 11, 2019, 12:16:54 AM »
My laptop has HD LCD monitor build in. The 4K monitor is the external one.

It doen'st happen when I move window between two monitors, only happens when I try to scroll up & down or editing in the function window on 4k Monitor.

I'm using 32bit JRE. Do I need to install 64bit JRE?

I also suspect something to do with graphic card. I already tried to disable acceleration but no help.

Could you find the graphic card RTX2060 and test with it? It is a quite new graphic card.
9
Technical support / Re: TBASIC Input On/Off Question
« Last post by MatrixMan on December 10, 2019, 10:46:24 PM »
Thank you all for your help.  I am posting this in case someone needs help in the future with this.  Here is the final code I wrote that works exactly like I wanted:

rem 'First clear the value for GrndrTmr
TIMERPV[9] = -1
CLRIO GrndrTmr
Refresh
rem 'Determine if the switch is on (High) or off (Low) and set the timer value
IF TestIO(SWHigh)
    Then SetTimerSV 9, GetTimerSV(15)
Else
     SetTimerSV 9, GetTimerSV(16)
ENDIF
RETURN

This code, along with the ladder I attached, allows you to have a timer that you can change based on if a switch is on or off.   
10
Technical support / Re: TBASIC Input On/Off Question
« Last post by support on December 10, 2019, 06:28:10 PM »
Without fully understand your program, we would like to jump in with some comments about using SETTIMERSV - this command changes the Set Value of the timer when it is activated, but does not activate the timer when it is executed.

On Nano-10 and FMD PLC we don't recommend sprinkling this function all over your TBASIC program as the set value change are not backed up in flash memory unless specifically forced to do so by the program. Timers' and counters' are normally preset during program transfer but TBASIC allows you to perhaps use a HMI to make changes when needed, but it is not meant to be changed all the time by a program.

If you want to two different timer values for an action you could use two separate timers. Alternatively, you can start a timer with a desired count down value anytime by assigning the time-out value to the TIMER[n] variable and clearing the timer contact. You do not need to change its Set Value using the the SETTIMERSV command.  Please check the following FAQ thread for explanation:

https://triplc.com/smf/index.php?topic=1046.0
Pages: [1] 2 3 ... 10