Stefan009

MrPLC Member
  • Content count

    37
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Stefan009

Profile Information

  • Country Sweden
  1. TON.ET To any other format?

    Thanks. I was trying with both label and datetime components and forgot about the data display.
  2. Hi. I have been thru the F1 manual and the toolbox in sysmac, i cannot figure out how to convert the elapset time from a TON, to anything the NA5 panel wants to display. Any suggestion? (Want to show how long a certain step has run for)
  3. Get full date & time into the plc?

    Thanks, never looked into global events, and have been looking for a timer somewhere in the controls / toolbox. The PLC iirc ONLY have the time, but i need even date because there are some processes that can take a full day to complete.
  4. Hi. I want to get the full date and time into the plc, where i want to calculate when current step and full sequence is expected to finish and then later present it back on the screen. I tried to map the _HMI_DateTime to the controller, but it does not get added to the controller.
  5. EtherCat Fault when..

    Hi. The air valve uses auto numbering by default, but then you can force the number via sysmac studio, which it accepts. If its all alone on the ethercat network in sysmac config, it works, but if we add devices and disable those, and only keep the air valve enabled, it does not work at all, no matter which node # you give it. We noticed last thursday, that if we connect one of the other disabled items to the ethercat cables, THEN the valve works (as alone enabled).. We have tried using several node # for the air valve, and it doesnt matter.
  6. Hi. I have this project with NJ501-1300, in the ethercat settings we add a air valve called EX260-SEC1. When this unit is alone in the ethercat settings, it works without a problem, as expected. But when we add the servos that goes into the machine (ED1F CoE Drive (HiWin)) (Or Ezi-Servo2 ALL), then the air valve goes into error, even if the other ethercat devices are disabled.   We have tried both sysmac 1.45 and 1.47, the plc has 1.43 firmware. We have tried to create a new emptyh project and using different computers, the same error pops up when anything else than the air valve are added to the ethercat config. Any idea how to solve this?
  7. I have a similar function based on that code. This reads from a array in the plc   Sub AddFromPLC() Do Until bHMI_UpdateEdit = False Loop Dim sPLC(99) As Object 'sPLC = zHMI_DesignRecipes.DesignName Dim i As Integer = 0 Dim l As Integer = 0 Dim iCount As Integer = 0 For i = 0 To 99 sPLC(i) = zHMI_DesignRecipes.DesignName(i) ' + " " + (i+1).ToString Next DropDown1.SetItems(sPLC) End Sub Sub UpdateIndexInfo() Dim sValue As String = "" sValue = DropDown1.SelectedIndex bHMI_UpdateEdit = True Label2.Text = sValue bHMI_DesignEditIndex =sValue End Sub  
  8. Hi, 4 years later. Is it possible to have this multi dimensional? The combodrop list has a text and a value column when you enter it manually, is it possible programmatically add both those this way?
  9. User Alarm Viewer

    Thanks, when you F1, you get the sysmac operations manual, now atleats i could open the correct pdf to search in.
  10. User Alarm Viewer

    In the useralarmviewer, you can color unack:ed, acked etc of the alarm, i cannot find a way to acknowledge the alarms, only the ClearUserAlarmLog() in the click even for a button. Are the ClearUserAlarmLog() Ack:ing and removing the alarms that are not still active?   When i press F1 in the HMI-part of sysmac i only get tossed to a PDF that is not helpfull at all.
  11. The image is from the HMi global variables, its always visible afaik.
  12. Hi. I have this project where the variable mapping / connection / something gets lots between restarts of sysmac. This is on the HMI, it was working after i re-entered all variable mappins again after a 5th time, saved, compiled, sent to bitbucket. Now after the reboot, i just open the screen and its all ill pink all over the place. Why do sysmac(?) keep removing all variable mappings? And how do i make sysmac work with me instead of against me?  
  13. NX1P2 data exchange with another Omron PLC

    If the second CPU is only there for the sql communication, then another option to go would be something like Ignition. Unless the other cpu is meant to do some cpu work in/for a machine. And for what i have seen the prices on the omron stuff, a ignition license would be cheaper now days.
  14. Modbus timeout "on desk" setup

    Aa i understood the "other guy" with these units from this manufacturer, it talks modbus-ish, but its on way, so i believe the NX_Send/Recv is the only way to talk to these devices because the send package has to be formatted in a certain way.   The Recive option had timeout which i set to 3 seconds instead of default 2(?), and the NX_SerialBufClear default was 2 seconds, changed to 3, lets see if this reduces and/or removes the timeouts since in the logs its often clear or recv that times out.
  15. Modbus timeout "on desk" setup

    Almost worked. I delclared a variable as _sSERIAL_SEND_OPTION (According to the help time). TimeOut is not part of this struct. Only sendDelay shows up   EDIT: we are using NX_SerialSend NX_SerialRcv NX_SerialBufClear for the modbus.