Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

REAL value represention (4-20mA) to DCS

wisam1970
2014-04-02
2023-12-23
  • wisam1970 - 2014-04-02

    Appreciate your support,

    DCS engineer request me to address all site variable(4-20mA) connected to my slave PLC (AC 500-ABB) use his (assign address) register and each 4-20mA shall use 32bit (2 words),
    The question hwo to write this register having two words?? Is below correct?

    real_var_1 AT %MW40101 TO %MW40102 REAL;

    or advise if there is spific format?

    Wisam1970

     
  • shooter - 2014-04-05

    real_var_1 AT %MW40101 :REAL;
    however the next one is not from MW40102 but from %MW40103
    real_var_2 AT %MW40103:REAL;

    to check this use:
    VAR_INPUT
    check1 AT %MW40101:WORD;
    check2 AT %MW40102:WORD;

     

Log in to post a comment.