RobotArm (Customer) asked a question.

How to set MODBUS communication?

I have the following setting. When I set my array "MODBUS_READ", the Productivity Suite said that there is a problem.

 

 

Capture 

Capture1 

Capture2


  • ADC Community_02 (Automationdirect.com)

    For the Modbus Function code what do you have selected? Looks like in the background behind the pop up it is selected to 1: Read Coils.

     

    Since your array is an Integer 16 you will need to select Modbus function code 3 or 4.

  • kewakl (Customer)

    Is there a device that will read these the array 'MODBUS_READ' from your PAC?

    I was curious about the assignment of modbus addresses to the array.

    You may not need the assignment, but you may have good reason. Just curious.

     

    After you have good comms established, verify that you are reading ALL 100 tags from the remote device.

    You may have to break the 100 tags into 2 groups and make two reads.

    [EDIT: I usually work with 32-bit integers, so the above caveat may not apply to your immediate task!]

    Expand Post