{}

我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
搜尋常見問題
How to access the REAC_OUT parameter for the 'BMXDDM16022' module located on an ERIO rack.
Issue
This resolution explains how to access the REAC_OUT parameter for the 'BMXDDM16022' module located on an ERIO rack.

Product Line
BMXDDM16022, Unity

Environment
Unity

Resolution
The following steps can be used to access and set the REAC_OUT parameter for the 'BMXDDM16022' module located on an ERIO rack. (In this example, the 'BMXDDM16022' module is located in slot 1 of the ERIO rack.  We will be setting the REAC_OUT' bit for channel 16)



  • Create a DDT variable with the type ' T_M_DIS_STD_CH_OUT_CMD'.  (This variable will be used to access the REAC_OUT parameter for the BMXDDM16022 module located on the ERIO rack.)
  • Create a variable of the type 'BOOL' . (This will be used to enable the 'WRITE_CMD_MX' block
  • Create a variable of the type 'WORD'. (This is used to monitor the status of the 'WRITE"CMD MX' block.
  • Create a variable of the type 'INT'. (This is used to define the length of the command for the 'WRITE_CMD_MX' block to send)



Expanding the DDT variable will show the 'REAC_OUT' bit.



  • Add the following FBD logic to the Unity application:
  • Change the input to the 'ADDM' block to match your application
Note for the ADDM block:
  • 0.0.3 refers to the CPU rack, slot and channel.  (This should not be changed)
  • In this example, 192.168.11.2 is the IP address of the 'BMXCRA31210' module
  • Assign the variables that were created earlier, to the 'WRITE CMD MX' block.
  • Assign the 'CHANNEL' parameters.   (This is the location of the 'BMXDDM16022' module on the ERIO rack and the channel to set the REAC_OUT parameter.  In this example, we use rack 0, slot 1, channel 16)



  • Build the changes.
  • Transfer the application to the PLC.
  • Open the FBD section for the WRITE_CMD_MX' block.
  • Right click on the WRITE_CMD_MX' block.
  • Select 'Initialize a new animation table'.



  • Expand the CMD variable
  • Set the 'CMD_LEN' value to 1 word.  (This should always be set to 1)
  • Set the REAC_OUT' variable to a value of 1.
  • Set the enable variable for the 'WRITE_CMD_MX' block to a value of 1 to send the REAC_OUT command.(i.e., 'Enable_WRITE_MX')


施耐德電機Taiwan

探索更多
系列:
可能有幫助的文章
探索更多
系列: