Showing results 1 to 4 of 4

Thread: Process Gateway - Modbus slave - Addressing details

  1. #1
    Join Date
    29.04.2014
    Posts
    26

    Default Process Gateway - Modbus slave - Addressing details

    Hi All,

    Is it possible to configure 10 Inputs with register address as 2100(example) with bit reference varying from 1 to 10. If Yes where to feed those bit reference in process gateway.

    Click image for larger version

Name:	Process gateway modbus slave.JPG
Views:	16
Size:	37.5 KB
ID:	1996

    Thanks

    regards

    saro

  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    801

    Default Re: Process Gateway - Modbus slave - Addressing details

    The addressing area of holding registers in a MODBUS protocol bases on WORD. Thus one offset in Process Gateway MODBUS Slave responds in zenon one variable, best choice INT or UINT.
    You may calculate the value of the variable from values of few other BOOL variables using VBA (then store result in an Internal variable) or zenon Logic (then for result use stratonNG variable).

  3. #3
    Join Date
    29.04.2014
    Posts
    26

    Default Re: Process Gateway - Modbus slave - Addressing details

    Thanks ursulak.

    I gone for zenon logic.

  4. #4
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    801

    Default Re: Process Gateway - Modbus slave - Addressing details

    zenon Logic supports access to single bits of variables. Thus to change the value of particular bit of an numerical stratonNG variable you may use following ST-language syntax:

    myResult.0 := G202_B213_ALG15; //lowest bit

    assuming that G202_B213_ALG15 is your process variable in zenon, with data type BOOL and set to be 'external visible'.
    And do not forget to create in Logic the 'Logic to SCADA connection' fieldbus driver.

Similar Threads

  1. Modbus Process Gateway
    By avinash.malli in forum Drivers
    Replies: 1
    Last Post: 16th February 2016, 11:14
  2. Modbus Process Gateway
    By hussaini in forum Drivers
    Replies: 1
    Last Post: 12th November 2015, 14:08
  3. Process gateway Modbus
    By archie in forum Drivers
    Replies: 0
    Last Post: 13th November 2014, 07:21
  4. Modbus Process Gateway
    By navaneet in forum Drivers
    Replies: 1
    Last Post: 19th June 2014, 07:47
  5. Replies: 1
    Last Post: 1st April 2013, 22:28

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •