Help get this topic noticed by sharing it on Twitter, Facebook, or email.

EYCON Communication with wonderware scada for batch data

Hello Sir,

We are using Eurotherm Eycon 10 for one of our project communicating with 4 no of EPC3004 controller & running the batch application.

From this Eycon we want to read the batch data (BATCHID & BATCH NO) on wonderware intouch scada for these we have configured the eycon as serial master for communication with EPC3004 & TCP slave for scada connectivity.

we have configured the modbus gateway file for same & tried monitoring the eycon registers values using modscan software over modbus TCP but same is not reading the data.

the driver which we are going to use in wonderware is DASMBTCP

Please confirm how can we do this?

Please do the needful.

Regards,
Mayur
1 person has
this question
+1
Reply
  • Ian Roughsedge (Product Manager - Systems) October 15, 2018 15:11
    Hello,

    A couple of points would help clarify what you are doing.

    1) It would be useful to know if you can read any data at all from the Eycon. For example, have you tried to read any other value like a digital word? Hence, is your problem specific to BatchID and BatchNo or is it more general about all communications?

    2) Can you confirm you are trying to read BatchID and BatchNo from the BAT_CTRL block type.

    3) Please share an image / extract of the MODBUS Gateway mapping table from the MODBUs Tools.

    4) For BAT_CTRL.BatchNo, it is a 32 bit integer type and depending upon the value it may reach in your application it may require mapping as a 32 bit quantity.

    5) For BAT_CTRL.BatchID, this is a string and you will only get a cutdown length withdirect mapping onto the LIN field from the MODBUS table. the string can be split in the application to pass over MODBUS, but I suggst you get normal comms and the BatchNo running first. Then deal with the BatchID.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Dear Sir,

    Thanks for prompt reply

    Please find the reply to mentioned points

    1) It would be useful to know if you can read any data at all from the Eycon. For example, have you tried to read any other value like a digital word? Hence, is your problem specific to BatchID and BatchNo or is it more general about all communications?

    COMMENT- Yes, i have also tried reading 16 bit integer values too for same also i am unable to read using modscan as well as Modbusview.

    2) Can you confirm you are trying to read BatchID and BatchNo from the BAT_CTRL block type.

    COMMENT- Yes

    3) Please share an image / extract of the MODBUS Gateway mapping table from the MODBUs Tools.

    COMMENT- Please Find the attached images.

    4) For BAT_CTRL.BatchNo, it is a 32 bit integer type and depending upon the value it may reach in your application it may require mapping as a 32 bit quantity.

    COMMENT- For modscan I can read two 16 bit registers so combining same might help me to read the data on wonderware intouch scada.

    5) For BAT_CTRL.BatchID, this is a string and you will only get a cutdown length withdirect mapping onto the LIN field from the MODBUS table. the string can be split in the application to pass over MODBUS, but I suggst you get normal comms and the BatchNo running first. Then deal with the BatchID.

    COMMENT- OK
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Ian Roughsedge (Product Manager - Systems) October 16, 2018 10:30
    Hello,

    I see from your replies that you have a fundamental set up problem and you cannot establish any communication. The first step is to get some communication running then we can look at Batchid and BatchNo as specific cases.

    I have spoken with our global help desk and they will contact you on this thread to help you establish communication.

    It would be useful if you could hare the set up of the MODBUS TCP master to tie up to the screen shots above (e.g. to show what MODBUS address you are using).

    Ian
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Stephen Daly (Software Support Engineer) October 16, 2018 10:43
    Hi Mayur,

    Can you please show me your GW_CON and GW_TBL blocks for both master and slave?

    Also, for the Eycon to EPC3004s, can you please confirm the serial comms settings?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Hello Sir,

    thanks for reply

    Sir EPC are already communicating with EYCON 10 Over serial communication
    & is working perfectely.

    Please find the attached GW_CON & GW_TBL settings
    & EPC 3004 Comms Setting
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned

  • Stephen Daly (Software Support Engineer) October 16, 2018 11:31
    Ah, it wasn't clear if the EPCs were working.

    One thing I have spotted is that the MODBUS_C.InstrNo is ">00". As the Eycon is a slave, that is an invalid slave address because 0 is reserved for the master. Please open COMMS.ujg, then go to "Instrument Options". In there, go to ENET and set the address under "ENET3"/Modbus-S to be non-zero.



    Once you have saved this, download to the instrument and then power cycle.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hello sir,

    we have performed above action assigned non zero slave ID to the instrument
    but still we can't read the data on MODSCAN.

    • view 1 more comment
    • Hello mam,

      we have already verified the Comms Setup of the instrument & same is OK
    • Stephen Daly (Software Support Engineer) October 16, 2018 13:48
      Mayur, I've seen that you have 12 registers configured in the Eycon, but you are trying to query 20 registers in ModScan. You will see that there is a Modbus Exception message above the registers in Modscan - this indicates that it is communicating with the slave, but the slave is replying with an error code.

      Please reduce the number of registers from 20 to 12. If that does not work, query only 1 register, and increase the address which you are querying from 1 to, for example, 5.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hello Sir.

    We have tried doing as suggested but same also is not working
    & Getting modbus exception message.

    Please find the attachments

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned