Jump to content

Milosh

Members
  • Posts

    52
  • Joined

  • Last visited

Posts posted by Milosh

  1. 19 minutes ago, Flex727 said:

    In Normal Mode, it has 14-bit resolution, so the 4-20mA range is 3277-16383. In Fast Mode, it has 12-bit resolution, so the 4-20mA range is 819-4095.

    All the technical specs for the Unitronics PLCs and I/O modules are readily available on the Unitronics website.

    Thanks a lot.

    I use normal mode. So if I put in HW configuratio 4-20mA analog input minimum is 3277, and maximum is 16383.

    I was little bit confused, because on Siemens if you put 4mA in HW config, minimum raw value is 0. But here it is 3277.  Right?

     

    And what about out of ranges, I read it was -1 or 16384 or 32767?!

    Thanks a lot.

  2. Ethernet issues on site...

    I downloaded my programm via serial cable. Ethernet card initialized...Sockets stay as default. Socket 2 for modbus tcp communication port 502, and Socket 1 for PC access port 20256. But when I try to ping ip address that not works?!

    Also when try Communication & OS set ip address of plc, port and name, but it is always shows error message.

     

    In Info Mode for Socket 1 stay: Initialized and not connected, status 20.

  3. Hi all.

    I have one more question about Modbus TCP Slave.

    First, Thanks a lot to all for previous comments and help. I made communication as you suggest and it works very well.

     

    Now, how to know that MODBUS TCP lave communication is active. Data transfer works. To check some counter from client device or Unitronics MODBUS IP block have it?

    When I debugging  output bit Function In Progres is always 0, but my communication works good...

  4. Thanks a lot. I tried localy and everithing works great.

    What is the general practice for realizing MODBUS TCP?

    What if I have to do multiple read/write to several devices? 

    At the same time to send request for read/write is not possible as I know? So the sequencing is the key.

    Possibly solutions:

    1. Realize read / write for several devices in sequence. 1. read 1st dev -> 2. write 1st device -> 3. read 2nd device etc.

    2. Realize read for several devices in sequence. Write will be done on request. Sample: 1. read 1st -> read 2nd -> read 3rd -> write request for 6th device generated -> stop reading -> write to 6th device -> read 4th -> read 5th

×
×
  • Create New...