I need to find the best method to do a sequencial communication.
Actually I need to send canopen packet in order and I need to respect this order.
As I can have multiple item, required or not (enabled/disabled) to send.
For example, with a scanreco remote control LCD screen I need to :
- Clear screen
- Activate FrameID of each component required to be visible on the screen
- after this I'll need to update each FrameID value with a 250ms timing.
Actually I was able to do this for testing purpose, but the program is a bit messy.
Sequential safety validation. Each step need to be validated in a specific sequence and in case of condition lost, I'll need to start again from the first step.
- Press "bypass" mode status on the screen
- Open the fence (Signal OFF)
- Close the fence (Signal ON
- Open the door (Signal OFF)
- Close the door (Signal ON)
- Activating bypass activated signal
In case of lost of the fence or door signal, I need to restart from the beginning this sequence.
I have in mind to use IDC + counter to do this, but I'm not sure to be in the right way.
I'm looking if you have example or recommendation to do this ?
I'm sure you notice that it's my very first project!
Incidentally it would be nice on Virtual digital inputs to be able to reset the toggle by means of an external channel - so that the button stays depressed (colour changed) until it is reset either by touching it again or by the channel selected.
I would also suggest that this lookahead error pop-up is very annoying. If I mistype one letter (which happens often) it shows up I have to switch to the mouse to clear. Why not wait until I press the tab button to give me a chance to correct my typing mistake?
The only way of picking up an error message appears to be in the system information function, but this seems to be a blanket error flag that could be a fault with any part of the control system (including v ref, batt voltage etc). We would ideally only like to pickup on an open load or overload.
I see there is module status, but that only shows 9 different items. Is there an option to pick up on only the open load and overload error of an output on an MC3?
I have set-up some variable as public in a function group. In another function group I am using one of those public variable as input to a function group
When the program run correctly. But if I change the software and or save and close the next time I open the project the assignment disappear and I get an compile error for an undefined input to the function group.
Has anyone tried using Iqandesign with a Surface Pro and Windows 10? Do the drivers work for USB (MD3) and ethernet (wireless) for MD4. I travel quite a bit and would like to reduce the weight of my computer/charger.
Please add window sizing to the comments table. This will help with viewing of large amounts of project develpment information.
Not sure how transitions and state changes are handled or may be this is an issue with the simulate application. I am not a big specialist of state machine but it was my assumption that the rules were to
1) Evaluate transitions
2) Set state based on transition calculation.
3) Execute code corresponding to state (not directly applicable in IQAN)
Because my code was not working as I expected I wrote a small application:
1 virtual Button.
1 FSM with 3 states: Default, State1, State 2
Goal Have a toggle function every time I press the button, I switch state. basically a toggle.
Transition Default>State 1 = True
Transition State 1>State2 = PositiveFlank of push button
Transition State 2>State1 = PositiveFlank of push button
Added 2 event counters:
Result in simulation:
Program stuck in State 1
Counter not changing =0
remark: There was technically a transition from state 0 to state 1. Event counter 1 should have increased. It did not. Changed transition Default>State1 to happen after first scan. Then counter reads 1 but is stuck.
Is this the expected result??
In the error codes, what is the meaning of error code 3: 3 system mismatch?
what is the cause of this none fonctioning?
Please feel free to contact me if you have any questions.
Develloper for IQan system
Customer support service by UserEcho