iJAF

MrPLC Member
  • Content count

    14
  • Joined

  • Last visited

Community Reputation

0 Neutral

About iJAF

  • Rank
    Sparky

Profile Information

  • Country Portugal
  1. Thank you! This modbus telegram was from an app called modbus poll, that I used to test the equipment. Yes, i'm using 1stopbit with none parity check and 8 databits (modbus rtu). With this software i'm just seeing that i can only change the response timeout, the delay between polls and the scan time to the slaves!
  2. Hello, I have to integrate several grundfos pumps with modbus interface CIM200. Firstly i'm using a modbus scanner (modbus poll) to check the registers. But I cant communicate sucessfuly with the cim200 module. When observing the data in message exchanges(just reading reg 23 ) : 000002-Tx:4E 03 00 17 00 01 3A 31 000003-Rx:FF 4E 03 02 00 4E 6D TX - Is my master software RX - Is the slave I'm testing with add. nº78 (4E hex) The response from the slave has a FF byte before the response itself, in every message exchanged!! How is this possible ?! Thank you !
  3. Hello, in your example why are you using this notation " Addr('{1.100}0.0.0.1')" ? Slave address nº1, rack 0,slot 0 and comm channel 0 ? and what about the "{1.100}" part ? Thank you
  4. Are you sure about that a timeout in xxx_var() will disrupt the comms on the other instances running simultaneously ?! Called_every_500msec( read_var_1 ( 192.168.1.1 ); read_var_2 ( 192.168.1.2 ); read_var_3 ( 192.168.1.3 ); read_var_4 ( 192.168.1.4 ); ) Imagine a timeout in read_var_1 for some reason: Will it abort the other 3 instances of read_var ?! Thank you
  5. Hi, is there any way to get the PLC binary file only (.STM) from an already built .STA, STU or XEF file in Unity Pro ?! Hi usually use the unity loader to get this kind of file from an online PLC but now i haven't got access to the PLC itself. Thank you !
  6. Hi, i will advance to the READ/WRITE_VAR solution to emulate the IOScan ! Unfortunately this is the only option left ... I think the more critical case here is the m340 that "scan" the 7 STBs ! I think I can "fire" the 7 reads, wait some ms, and then fire the 7 writes ! In the worst case I will have 14 connections active at a time and I think that this is possible !!
  7. One more thing, I suppose that IOScan uses modbus function 23 ! But if I use the Read_Var an Write_Var, why did you said that these functions uses function 23 instead of function 16 and so ?! Thanks !
  8. There is also a very important thing to me that I have in IOScan service, the health bit ( %iw0.1.0.1.0 -> example for the first element of IOScan list) that indicates me the loss of connection ! Right now, I just monitor this bit for each remote IO !! Have I got anything similar to this in manual messaging ?! What do you suggest to monitor the loss of connection for Remote IOS ?! I always used the scan service, sorry for my "rookieness" again ! Thank you again !
  9. Thank you for the reply ! And if I have 7 scans in the IOScanner ?! Do you preview any possible problem in doing (for example) 7 read or write functions at the same time ?! Isn't it better to put an interval of 10 ms between read/write functions ?! Thank you very much again !!
  10. Hi, thank you for the feedback ! No, I'm not using switches from schneider, and I don't know a lot form the network infrastructure equipment ! The problem is 90% for sure caused by the low TTL value of the IOScanning, because the STBs where the TTL distance is <10 are communicating (with the ring open) and the STBs with the distance of TTL >10 are not !!! Someday I will try some experiences to emulate the IOScanning !! I have never used the read_var and write_var functions ! Which is the best way to emulate the IOscanning via read an write vars with a scanning rate of ~250ms ?! read_var(ip_1) read_var(ip_2) read_var(ip_3) read_var(ip_4) [WAIT 50ms] write_var(ip_1) write_var(ip_2) write_var(ip_3) write_var(ip_4) [WAIT 200ms] read_var(ip_1) read_var(ip_2) read_var(ip_3) read_var(ip_4) ... I have attached the print screen of my ioscan config ! I never used the manual messaging, sorry for my "rookieness" Thank you
  11. Hi thank you for your feedback !!! I'm the responsible for the M340 and NIP2212 software/configs ! The M340 is in one local and the STBs are spread along various localizations ! Between that is a large ring topology gigabit network based on optic fiber that is not of my responsibility !! Everything is working fine when the ring is closed ! The problem appears only in network redundancy tests, by disconnecting optic fiber segments of the ring, to force the packets to travel through the longest side of the ring ! The problems were reported to me (PLC Comms & software), but the what causes for this loss of communications is somewhere in the network infraestructure ! With the help of the network analist (the network is not of my responsibility) the packet communications between M340 and one STB were analyzed ! Through this analysis they told me that the TCP packets were constructed with a TTL (Time to Live) value of 10 !!! This value is sufficient to communicate when the ring is OK, but is very low when the packets have to travel along the longest side of the ring routers ! They traced the routes of the packets and said that I must have a minimum TTL of 32 to work correctly !!! But I cannot change this value in configs !!! Thank you !
  12. Hi, I'm using a modicon PLC (M340 )with some STBs NIP2212 in a big gigabit optic fiber ring gigabit topology network !!! Everything is working fine ! But when testing the redundancy of the ring network (by disconnecting network segments) and the packets have to travel by the longest side of the ring (lot of network nodes) the communications are lost !! Through packet monitoring, we believe that the default TTL value (time to live) of 10 is not enough (more than 10 jumps) !!! The network analist said to me that I must have a TTL al least of 32 (64 recommended) I'm using the IOScan in a NOE0100 card ! I have contacted the local schneider support and they said that I can't change the TTL of the IOScan TCP packets of 10 :O !!! Have you got any suggestions in order to solve this problem !?! Thank you !!
  13. Hi, I'm using a modicon PLC with some STBs NIP2212 in a big gigabit optic fiber ring topology network !!! Everything is working fine ! But when testing the redundancy of the ring network (by disconnecting network segments) and the packets have to travel by the longest side of the ring (lot of network nodes) the communications are lost !! Through packet monitoring, we believe that the default TTL value (time to live) of 10 is not enough (more than 10 jumps) !!! I have contacted the local schneider support and they said that I can't change the TTL of TCP packets :O !!! Which is the best way to solve this problem !?! Thank you !!
  14. Hello, have you solved the break in communications problem you got ?! Thanks