Jump to content

kvlada

Members
  • Content Count

    7
  • Joined

  • Last visited

  • Days Won

    1

kvlada last won the day on March 1 2018

kvlada had the most liked content!

Community Reputation

1 Neutral

About kvlada

  • Rank
    Newbie

Recent Profile Visitors

422 profile views
  1. My fear is that somewhere, some crazy team of open-source enthusiasts will make a Soft-PLC Linux Distro for Raspberry Pi, and a product line of I/O shields. That would be the end for low-budget automation companies. A screenless UniStream performance for under $100? Totally disruptive.
  2. - RS-485/232 custom protocol - for digital scales, barcode scanners, etc. - CANopen - for distributed I/O modules - MODBUS TCP/IP - connecting multiple Unitroncis PLCs together - MODBUS RTU - for various slave devices, VFDs, etc - MODBUS ASCII (very rarely) - Rinstrum weighing indicators, and other exotic devices I wish there was a 4-port or 8-port I/O module with integrated protocol FB. For example: "IO-4RS2-2RS4" with 4xRS-232 and 2xRS-485 port. Configure protocols via FBs or hardware configuration.
  3. I made arrays in the struct definition. And then, defined aliases in a global var. Kinda cumbersome, but gets the job done. If I want to put more motors, just increase array length in struct definition, and copy-paste more UDFB to take care of data processing. UniStream has 2 MB memory for variables, and that's awesome. Don't have to worry about losing free space. Still, it would be really nice to be able to make arrays of structs.
  4. But I can't set aliases to individual fields in a data table. That's what I resorted to, after trying out everything else.
  5. Okay, I just got an interesting idea. Problem: Unitronics will probably never have enough time or manpower to implement a software PLC simulator. Fact #1: Most Vision and UniStream PLCs can be equipped with an Ethernet port. Fact #2: The PLC you need for application debugging is almost never on your local distributor's stock. (Murphy's law!) Solution: Unitronics makes a rent-a-PLC farm: a room with every PLC they produce, each connected to Internet via a VPN firewall. If a programmer needs a PLC to test and debug his app, he pays some hourly fee, and gets VPN access to PLC's Ethernet port. From there he can download his app, and carry out testing over Remote Access or VNC. If he needs to reboot his rented PLC, he either accesses a power-control web interface which flips 24VDC on the PLC supply, or contact an attendant with whom he solves the problem via live chat or Skype. Thus, the coders will get to test their apps on real-world hardware, and Unitronics (or some other company hosting the PLC farm) will get extra income. $20/hour seems like a good starting fee. What do you think?
  6. Is it possible to implement struct arrays in UniLogic? For example, I have a struct for a motor: STRUCT MotorData: BIT RunCommand BIT Feedback BIT IgnoreFeedback [retained] TIMER FeedbackDelay [retained] BIT Fault UINT8 FaultCounter [retained] UINT16 WorkingHoursTotal [retained] And I want to do: GLOBALVAR MyMotors: Type: MotorData[37] Because I have 37 motors to control. And then later, I want to do things like: SET ALIAS: MyMotors.RunCommand[12] = "Motor_K4-5A_Run" SET ALIAS: MyMotors.Fault[12] = "Motor_K4-5A_Fault" SET ALIAS: MyMotors.FaultCounter[12] = "Motor_K4-5A_FaultCounter" And other wicked things, like: if (Motor_K4-5A_Fault && Motor_K4-5A_FaultCounter < 255) Motor_K4-5A_FaultCounter++; This would ease things up so much! Instead of creating 37 individual global variables for each motor, I'll need only one.
  7. How about: "Motion Detect" and "Deviation" UDFB. Motion detect is very useful in digital scales, where you need to watch if a specific analog value isn't changing for more than X within a specified time. Deviation is useful when you have to monitor an analog value overnight, to watch for drift, changes, etc. What happened to filtering? VisiLogic had a very nice Filter FB, which had rolling and order-weighed average filter. Also, we're still short of UniStream loadcell module. (Hello everyone! It's been like, 6 years since I last posted here. After ten large and interesting projects and many Unitronic PLCs installed, I'm back^^)
×
×
  • Create New...