{}

我們的品牌

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

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

歡迎訪問我們的網站
搜尋常見問題
Video: How do I setup a Read_Var in SoMachine Basic ?
Issue:
How do I setup a Read_Var in SoMachine Basic ?

Product Line:
M221

Enviroment:
ALL

Resolution:
Configure the Client IP Address
  1. Select ETH1
  2. Enter IP Address, Subnet Mask and Gateway Address
setup



Enter Server IP Address
  1. Select Modbus TCP
  2. Enter Server IP Address in IP Address Box
  3. Press Add Button
  4. Observe server IP Address and Index (Index will be used as ID in Read_Var)

setup


Create READ_VAR
  1. Select Function Block
  2. Cursor down to Communications
  3. Select Read_Var

setup




Enter Read_Var settings
  1. Change Link to ETH1
  2. Change ID to match Index from Configuration of ETH1 Modbus TCP
  3. Change FirstObj to 100 (This will be address to be read from Server)
  4. Enter Quantity of Addresses to be Read

setup




Enter Destination on Client (register to store Read on the Client)

setup



Set up Timer to Read once per second.
timer


施耐德電機Taiwan

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