• Not Answered

How To Read Data DeltaV to PLC?

Hello, 

Currently our DeltaV is setup to read data serially from a PLC. 

How do I setup a module in DeltaV so that the PLC can read a AI or DO value from DeltaV? 

Thank ou

5 Replies

  • You can do this by setting up a VIM (Mynah) which is a virtual I/O module for deltaV. After you set this up, you can add 4 cards per VIM which will read directly from PLC.
     
    Regards
    Abhinav Thakur
     
  • It depends on the protocol and driver for the serial card. You have already stated that DeltaV reads from the PLC, so I will assume you have DeltaV as the Master and PLC as the subordinate. Technically, this means the PLC will not read from DeltaV but rather DeltaV will write to the PLC. You need to duplicate one of your existing serial datasets, change the direction from input to output, and adjust the special data and offset to point to the correct file number and register range.
    The details are likely documented in the serial driver documentation, but using your existing setup as a basis on of understanding is a good start. There are nuances regarding output with readback, sending outputs on start etc. that you will have to contend with as well, based on what your needs are.
  • In reply to Youssef.El-Bahtimy:

    Youssef.El-Bahtimy said:
    It depends on the protocol and driver for the serial card. You have already stated that DeltaV reads from the PLC, so I will assume you have DeltaV as the Master and PLC as the subordinate. Technically, this means the PLC will not read from DeltaV but rather DeltaV will write to the PLC. You need to duplicate one of your existing serial datasets, change the direction from input to output, and adjust the special data and offset to point to the correct file number and register range.
    The details are likely documented in the serial driver documentation, but using your existing setup as a basis on of understanding is a good start. There are nuances regarding output with readback, sending outputs on start etc. that you will have to contend with as well, based on what your needs are.

    Thank you Youssef

    We have a virtual I/O module setup but only for AI and DI. How can I setup the modules of DO an AI?

    Thanks

  • In reply to Youssef.El-Bahtimy:

    Youssef.El-Bahtimy said:
    It depends on the protocol and driver for the serial card. You have already stated that DeltaV reads from the PLC, so I will assume you have DeltaV as the Master and PLC as the subordinate. Technically, this means the PLC will not read from DeltaV but rather DeltaV will write to the PLC. You need to duplicate one of your existing serial datasets, change the direction from input to output, and adjust the special data and offset to point to the correct file number and register range.
    The details are likely documented in the serial driver documentation, but using your existing setup as a basis on of understanding is a good start. There are nuances regarding output with readback, sending outputs on start etc. that you will have to contend with as well, based on what your needs are.

    Thank you Youssef, I understand now.

    I just need to:

    1. Setup a new dataset on my serial I/O device already connected to the PLC

    2. Set the dataset direction to Output

    3. Obtain PLC settings

    4. Setup the parameter type. 

    Basically, just like you recommended, use the Serial Input as a go by. 

    Thank you, kindly. 

  • In reply to DCS Newbie:

    Great news. Good luck. If you are using a VIM, there is a lot of great reference material available from Mynah/Emerson on how to specifically set up the different dataset values and your options. Remember, the configuration work must be done from VIMnet explorer in addition to in DeltaV Explorer .