Jump to content

Simon

MVP 2014
  • Content Count

    516
  • Joined

  • Last visited

  • Days Won

    22

Simon last won the day on November 28 2018

Simon had the most liked content!

Community Reputation

40 Excellent

1 Follower

About Simon

  • Rank
    Moderator

Contact Methods

  • Website URL
    http://www.colterlec.com.au

Profile Information

  • Gender
    Male
  • Interests
    Unitronics Distributor

Recent Profile Visitors

34,016 profile views
  1. Hi Nahum, Thanks for the advice. I also did some testing using a PC based Modbus master simulator (ModScan) and confirmed the situation as well. I also found that there was an offset of 1 between the internal UniLogic address value (in the Modbus Slave configuration) and the external Modbus address. For example coil register 9472 appears as 09473 (Read Coils (1)) or 19473 (Read Discrete Inputs (2)) I think it would be a valuable addition to have an explanation of this in the UniLogic help file under Modbus Slave. For example: Coil values can be read using either Read Coils (1) or Read Discrete Inputs (2). For example coil address 4444 can be accessed as either 04445 (Read Coils (1)) or 14445 (Read Discrete Inputs (2)) Register values can be read using either Read Holding Registers (3) or Read Inputs Registers (4). For example Register address 1111 can be read as either 41112 (Read Holding Registers (3)) or 31112 (Read Inputs Registers (4)) Maybe add a configurable offset value to UniLogic, so this offset can be corrected in future applications, without destroying backward compatibility?? It has always been a common "gotcha" with Modbus, to discover who counts from "0" and who counts from "1". Thanks, Simon
  2. Hi Jota, thanks for the reply. I expected more people to jump on this. I also found the offset of 1 between the PLC address and the SCADA address. In my case the customer had a list of SCADA addresses they expected to see, so in practice I needed to subtract 1 from the SCADA address to get the internal PLC address. I had no trouble with using the Slave ID of 255 on both the PLC and the SCADA. I did my testing using ModScan. More details from me below. Simon
  3. In helping a customer integrate a UniStream into a SCADA system I have come across a curious gap in the available information. I can't see any declaration of the function codes that the external Modbus master must use to communicate with the UniStream as a slave. The Unitronics example and tutorials use a UniStream as the master as well as the slave, which doesn't highlight this issue. I have looked within UniLogic, tried exporting the Modbus registers as excel, looked at the UniLogic help file, watched the Unitronics YouTube video and searched the forum. None of these sources gave the necessary information So far I have gleaned that the following codes are supported on a UniStream modbus slave: Coils Read Coils (function code 1) Write Coils (function code 5) Write Multiple Coils (function code 15) Registers/Words Read Holding Registers (function code 3) Write Single Register (function code 6) Write Multiple Registers (function code 16) But what if the customer's master only supports Read Input Registers (function code 4)? I don't have a firm answer on how we could handle this. Can anyone provide a definitive list? I would like to be able to answer this question with confidence. A standard part of documenting a Modbus Slave is to specify which function codes it supports, so the master can be correctly programmed. Thanks, Simon
  4. Simon

    Activation in UniStream

    Perhaps this is incentive to power up and test before heading to site? However I know there will be situations with remote sites and urgent breakdowns where this feature will be a major pain *if* it is made mandatory. There is the option of using a mobile and an app, but there are still some parts of the world where there is no mobile phone coverage. We have customers who like to put PLCs in those places. It's always a challenge doing dubugging over the phone when the person on site needs to walk (or drive) 10 or 20 or 30 or ??? minutes from the PLC just to make a phonecall. I notice in the link above: "At present Activation is not mandatory, and will not restrict the controller’s operation. Activation may be made mandatory at a future date."
  5. Yep, understood. You could email support@unitronics.com, let them know you already have the distributor working on it, and also copy the distributor. That way you don't get two lots of people working on the same problem and you can get some direct feedback on any technical points that Unitronics may be able to add.
  6. Just on your question of a "direct line" - the sort of question you are asking about batch QA issues has both commercial and technical implications, so your supplier/distributor would be the best contact as they can handle both aspects. It sounds like that is already happening. In general terms you could email support@unitronics.com (or use the support portal) to communicate the technical issue to Unitronics, but the resolution is likely to still involve your local supplier/distributor. I hope that helps,
  7. Wow, really thorough testing! It looks to me like a hardware fault. It does happen, out of the thousands of units I have sold, I've seen maybe 2 or 3 with that specific problem. Before I worked with PLCs I worked with single board computers, and saw similar (rare) problems with them. My prediction is that no amount of software testing and resetting will fix this. But happy to be proven wrong (for your sake) ?
  8. The status information is accessed using a ladder function in the V700. From the help file: I found this topic by searching "v700 ethernet" in the help.
  9. Hi JJ, I have a few questions: * When you say it is connected to Port 2 of the V570 - do you mean COM2? Does the thermocouple have a Serial/Modbus interface? * The post by Flex727 is correct, the E2B snap-in module doesn't take thermocouple inputs directly. It would need a signal transmitter, typically this converts the thermocouple interface to 4...20mA current signal. If you have a datasheet for the thermocouple and/or any photos of the device and the way youhave it wired up, please post.
  10. Just managed to help a customer get the UniStream talking to an SMC EX600 module via Ethernet/IP. The original post above was helpful, so thank you @Pista :-)
  11. I've just encountered the Run Idle as well. Looks like it is an optional 32-bit header from some google searches I have done. I did find some additional details in the UniStream help file by searching for "idle":
  12. U90 Ladder shows the +/- 10V notation, so I would say that is definitive. For the record, the IO-AI2-AO4 expansion module also has +/- 10V outputs (Jazz does not support expansion modules).
  13. Simon

    Linearizing Analog Input

    With UniStream you don't need to use the linearisation block, the analogue input configuration does it for you. See details below, this will scale the 4...20mA input to 0...10,000 as an integer value. There is no need to understand the min/max range of the digital input (or output) word (of course you still need to know if the hardware resolution is high enough to measure the value accurately). Set up the analogue input hardware config as follows: The only downside to this is that the scaling is a literal constant - you can't vary it during run-time. You can still use the X1, X2, Y1, Y2 method and linearisation block if you need the flexibility as it will allow you to use variable tags as your linearisation points. You might do this if you wanted to do field calibration in the PLC. BTW, when you first open the properties box above, the "To" field shows the range based on the native resolution of the analogue input (for example 14-bit = 16383).
  14. As above, the resolution will not prevent you from getting a reading. You mention 2-wire transducers. Firstly just work with the Oxygen transducer, as I assume it is a 3 or 4 wire device? I would expect the Jazz to read it fine. If you are including the 2-wire devices in the IO wiring they may be interfering with the readings. Also when you say you "couldn't get the measurement" what does that mean exactly? Was the value 0, 1024, 32767? Did it vary at all when the oxygen level varied, even if it was the incorrect value? With the 2-wire devices, the Unitronics PLCs do not provide loop power for 2-wire analogue transmitters. You will need a power supply for loop power and the best way to do this is to use an isolation module with loop power capability.
  15. Are you doing anything special with screen jumps, for example using ladder functions to jump between HMI screens? It sounds like the unit is flipping between HMI screens.
×