adccommunitymod (AutomationDirect) asked a question.

DL-o6 serial to Dl-06

Created Date: August 19,2006

Created By: bbseay1

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I am going to use 2 DL-06's and communicate by using serial commnumications between port 2 in each plc. I understand how the rx/wx works but, How does the master plc see the slave Inputs and output? I will be using the slave i/o's in the master program and was wondering do you use gy? gx? as the slave i/o point in the body of the master program? Billy


  • adccommunitymod (AutomationDirect)

    Created Date: August 19,2006

    Created by: allukes

    When you do an RX in the MASTER, specify the Vmemory location of the I/O in the SLAVE. The memory maps start on Page 4-32 in the manual. For example X0 starts at V40400 (short hand VX0 in Directsoft). Then specify a location in the MASTER where the data is to be stored. I personnally like to use the GX and GY memory areas to set it apart from local memory & IO. You would set the destination as V40000 (VGX0). Its good practice to use the VGX area or the VC areas, to get direct bit access, although you can in the 06 use Bit of Word instructions.

    One other method that I like to use to reduce the number of transmissions is to load all of the information to be read from the MASTER in one area of Vmemory. You designate registers for I/O , internal status bits, etc in this block. The SLAVE PLC is responsible for reading the IO and writing the states of the IO to these registers. Then the MASTER only has to make one Read of contiguous memory to get all of the information from the SLAVE . Same for the transmission, everything in one place. The directnet Protocols have so much overhead for each communciation session, that it is far faster to consolidate the data in one place in Vmemory. Then when it is in the MASTER, you can parse it out however you wish.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: August 19,2006

    Created by: bbseay1

    I am going to use 2 DL-06's and communicate by using serial commnumications between port 2 in each plc. I understand how the rx/wx works but, How does the master plc see the slave Inputs and output? I will be using the slave i/o's in the master program and was wondering do you use gy? gx? as the slave i/o point in the body of the master program?

    Billy

    Expand Post