+1
Answered

Interactive message channel doesn't show with QShow

Diogo Tasquin Reducino 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 3

I've set an IMSG to become active (QShow) after F2 is pressed for 2 seconds, using the following code:

static tempoPressionado := 0
tempoMinimo := 2000

if ResetaCalibração = TRUE and tempoPressionado > tempoMinimo then
  QShow
elseif ResetaCalibração = TRUE and tempoPressionado  <= tempoMinimo then
  tempoPressionado := tempoPressionado + TempoDeCiclo
endif

With the measure feature in IQANdesign, I can see that the IMSG state changes from 0 to 1 (Passive to Active) as I expected but, on the IHM screen, it won't show up. How can I do it?


+1
Fixed

Probable bug with MD3 display pages visibility - IQANdesign 5

Diogo Tasquin Reducino 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 5

I've set up a control channel to Hide a display page and, afterwards, changed the Show property to Always (because I didn't want to use the control channel anymore). Even so, the page still behaved submitted to that previous control channel besides being set to Always. 


Is this a normal behavior or it shouldn't work like this?

+1
Completed

Channel names QCode and external functions

Noah Breece 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 3

Hi,

to start I wish to say that the development with external functions and solution library is a really nice addition to IQAN.


Now to my request. Lets say you have an external function called Function.


Image 997


The Function has input x an output y.

Whe you create 2 new instances of the external function you can rename each function. That is good. The names of the input and outputs cannot be renamed. That is the way it should be.


Image 996
However, here comes the problem. In the example I have Variable as a math channel. I cannot  read any of the outputs from either Function A or B simply because now there are two channels in the system with same name y.
If I delete Function B, it is possible to assign the Variable math to y.
Image 998   And this is actually a problem in the display pages as well. If you use the same channel name then it is impossible to know which channel you are choosing properties and values for objects in display pages.
My suggestion is to use same syntax as any of the object oriented languages.  Example in QCode:  result := Function A.y
And similar when selecting in the display pages menus.

+1
Answered

Sum of all cells in an array

mgoutier 7 years ago updated by Gustav Widén (System support) 7 years ago 7

Is there a way to get the sum of all of the values in an array?

+1

Ramifications of using Public vs. Function Group Output Scope

Barnhart Crane 7 years ago in IQANdesign updated by Noah Breece 7 years ago 4

I typically set the scope of a channel to public if they're used in 2 or more additional function groups, and function group output if the channel is used in only 1 other function group.


But I decided this somewhat arbitrarily. What are the ramifications of using public vs FGO? Does public scope cause things to run slower? Are there some good rules of thumb?

+1
Answered

Network settings to allow MC43 to connect

C. Harp 7 years ago updated by Ulrik Zakariasson (Software development) 7 years ago 2

I need to know which ports I need to open on my firewall to allow an IQAN module to connect. 

+1
Completed

Disable smooth animations on MD4

Antonio Garcia 7 years ago in IQANdesign updated by RobinArvidsson 7 years ago 7

Hello All!


I've been giving a try IQAN 5, and it's new graphical features, because I wanted to make some dinamic drawings to represent the position of an elevator crane.


I Found it easier to use images (X,Y,Angle) instead of lines (X1,Y1,X2,Y2), for this purpose. And, obviously, with images I can get a closer representation of the actual machine.


But...smooth animations totally runined my plans. 

When X and Y properties get a new value (from a variable), the image will move instantly. 

But, when its angle property changes, the rotation of the image won't change instantly, it will turn "smoothly". Similar to the smoothed movement of gauges or bars... which I don't really like much either, by the way.


Please, watch this example:


http://www.sgingenieria.es/Antonio/crane.mp4


Is there a way to disable animations?

Perhaps a checkbox or smooth factor (in images, gauges and bar properties..) in future releases...?


Thanks a lot!



+1
Answered

Low Side Outputs on MC42

ksilovich 7 years ago in IQANdesign updated by Gustav Widén (System support) 7 years ago 1

Is there a way to get (2) Low Side Outputs on an MC42, without needing to use the High Side pair?

I need to send 2 AL outputs to another controller to control certain functions.   So I don't have anything to connect the High Side to and not get a critical error. 


In the Instructions it looks like you should be able to as Dout_E thur O are all low side, but you cant not select that in IQAN.  ( I know they share the CAM output)  But it would be really nice to just have the LS for low current logic control like I am trying to do and not need to setup to the MC43 to just get that. 

Image 914




On a different note, it would be nice if you guys could add the type of input/output they are. 

High Side or Low Side so it easy to select the one you need. 

Image 915


+1

Idea : New math function

Florent Mirieu de Labarre 7 years ago in IQANdesign updated by Ulrik Zakariasson (Software development) 7 years ago 3

Dear


I will be greate to :

- add an option on the round math function, by default it is half. But if you need the whole part you cannot. Exemple 5,4 -> 5, 5,8->5 (it is the int() function). (type of rounding : https://en.wikipedia.org/wiki/Rounding)

- add latchtime fonction. instead to use an separate IDC with delay On and Off, an function like this latchtime(input chanel, delay on, delay off), can be greate to simplify the code.

- add hysteresis function, hysteresis(input chanel, switch on if sup, switch off if under).


Regards