{}

Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.

Search FAQs

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


Schneider Electric India

Explore more
Range:
EcoStruxure Machine Expert (SoMachine)Modicon M221
Explore more
Range:
EcoStruxure Machine Expert (SoMachine)Modicon M221
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.