Summary of Contents for ICP DAS USA PISO-DNS100-D/T
Page 1
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru PISO-DNS100-D/T PISO-DNS100U-D/T DeviceNet Multi-Slave PCI Board User’s Manual Warranty All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Contents GENERAL INFORMATION .................4 1.1 D ..................4 EVICE NTRODUCTION 1.2 D ..................6 EVICE PPLICATIONS 1.3 PISO-DNS100 A ..................7 RCHITECTURE 1.4 D .............8 EVICE ULTI LAVE HARACTERISTICS 1.5 PISO-DNS100 F ............11 IRMWARE HARACTERISTICS...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1. General Information 1.1 DeviceNet Introduction The CAN (Controller Area Network) is a serial communication protocol, which efficiently supports distributed real-time control with a very high level of security.
Page 5
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru DeviceNet is a cost effective solution to one kind application of control area network. It reduces the connection wires between devices and provides rapid troubleshooting rejection function. The transfer rate can be up to 500Kbps within 100 meters.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.2 DeviceNet Applications DeviceNet is the standardized network application layer optimized for factory automation. It is mainly used in low- and mid-volume automation systems. Some users have also implemented DeviceNet for machine control systems.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.3 PISO-DNS100(U) Architecture The PISO-DNS100(U) provides users to establish DeviceNet virtual slave station rapidly by Master/Slave connection model. The PISO-DNS100(U) is a high-performance DeviceNet multi-slave board with one CPU inside. This architecture of the PISO-DNS100(U) almost doesn’t cost CPU resource and really increases the work efficiency on DeviceNet network.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.4 DeviceNet Multi-Slave Characteristics Using the API functions, users don’t need to take care of the detail of the DeviceNet protocol. It can reduce the complexity of user’s DeviceNet virtual slave station Software.
Page 9
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The DeviceNet protocol firmware provides the DeviceNet Slave mechanism by the Predefined Master/Slave Connection Set. The virtual slave would always wait for the request command from the master. The DeviceNet communication protocol can be clarify as two forms: One is the Explicit Message and others are I/O Messages.
Page 10
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1. Add device into EEPROM You should provide the virtual slave device’s MAC ID to add into EEPROM by using API functions. 2. Add IO connection You can choice the virtual slave device’s I/O connection type and the I/O data length by user’s project.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.5 PISO-DNS100(U) Firmware Characteristics The PISO-DNS100(U) is a high-performance DeviceNet multi-slave board. The firmware inside the board implements DeviceNet slave protocol automatically when the board is active. The firmware always listens to the bus and receives the message at the same time.
Page 12
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The PISO-DNS100(U) firmware has a “ScanList” to store the virtual slave devices information. After power off, the information still exists in the EEPROM. When the users turn on the PC next time, the “ScanList” would be loaded from the EEPROM.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.6 Features Hardware Features PISO-DNS100 * 33MHz 32bit 5V PCI bus (V2.1) plug and play technology PISO-DNS100U * Universal PCI supports both 5V and 3.3V PCI bus Driver support for Windows 2000/XP.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.7 Specifications CAN controller: Phillips SJA1000T. CAN transceiver: Phillips 82C250. Signal support: CAN_H, CAN_L. CAN controller frequency :16 MHz Connector: 5-pin screw terminal connector or 9-pin D-sub female connector.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.8 Block Diagram The figure 1.8.1 shows the block diagram of the PISO-DNS100(U) board. 1. DPRAM (Dual Port RAM) : The DPRAM is the memory buffer which provides the communication channel between PC and PISO-DNS100(U).
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 1.9 Product Check List In addition to this manual, the package includes the following items: PISO-DNS100(U) card; Software CD ROM; Release Note It is recommended that users should read the release note first. All of the important information needed would be provided in the release note as follows: Where you can find the software driver, utility and demo programs.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2. Hardware Configuration This section would describe the hardware settings of the PISO- DNS100(U). This information includes the wire connection and terminal resistance configuration for the CAN network. 2.1 Board Layout Figure 2.1.1 PISO-DNS100 Board LAYOUT...
Reset pin for download error. If users want to update firmware but the process is failed, users can enable this jumper Enable Disable to reset the PISO-DNS100-D/T into download mode. None. None DIP switch is used to set the PISO- DNS100 board No.
Page 19
15. Be careful that the board No. for DIP switch each board * PISO-CM100-D/T, This situation indicates * PISO-CM100U-D/T, the board No. 1. * PISO-DNS100-D/T, * PISO-DNS100U-D/T * PISO-CPM100-D/T * PISO-CPM100-D/T must be unique. Table 2.2 Jumper or DIP switch selections for PISO-DNS100U PISO-DNS100(U) DeviceNet Slave API functions User’s Manual (Ver: 1.1)
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.3 Connector Pin Assignment The PISO-DNS100(U)-T is equipped with one 5-pin screw terminal connector and the PISO-DNS100(U)-D is equipped with one 9-pin D-sub male connector for wire connection of the CAN bus. The connector’s pin assignment is specified as follows: 2.3.1 5-pin screw terminal connector The 5-pin screw terminal connector for the CAN bus is shown in Figure...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.3.2 9-pin D-sub male connector The 9-pin D-sub male connector of the CAN bus interface is shown in Figure 2.3.2 and the corresponding pin assignments are given in Table 2.3. CAN-L Shield CAN-H...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.3.3 Wire connection In order to minimize the reflection effects on the CAN bus line, the CAN bus line has to be terminated at both ends by two terminal resistances as in the following figure.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.4 Indicator LED Green LED Red LED Event or Status There are some problems with the hardware of the PISO-DNS100(U) board. Please contact your local field agent. There are some virtual slaves which can not be on-line.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 2.5 Hardware Installation When users want to use the PISO-DNS100(U)-D/T board, the hardware installation needs to be finished as following steps. 1. Shutdown your personal computer. 2. Configure the DIP switch and JP1 of your PISO-DNS100(U)-D/T for board No.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 3. Driver Installation of the PISO-DNS100(U) The software Installation for DeviceNet application is demonstrated as the following descriptions. After finishing the procedure, the driver, demos, manual and Utility can be in your PC. For the advanced application, users can refer to the basic demo programs to develop the customized DeviceNet master application.
Page 26
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 3: When the window is changing to the picture below, please move the mouse cursor on the “Slave” item. The DeviceNet slave products would be shown in the right side of the window. Please click “PISO- DNS100”...
Page 27
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 7: This first setup screen shoot is shown as follows. Please press “Next” button to continue the process. Step 8: Press “Next” button. The screen shoot is shown below. After reading the license, the users can accept it or not.
Page 28
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 10: After editing the information, the next screen shoot is shown as follows. Please select “Complete” item and press “Next” button. Step 11: The next screen shoot is shown as follows. Please press “Install” button.
Page 29
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 13: Wait for the setup process finishing. The next screen shoot is shown below. After finishing the process, please press “Finish” button. Step 14: The next screen shoot is shown as follows. Please restart your PC. Then the setup software would copy the related material to the indicated directory and register the driver on your computer.
Page 30
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The program files picture is shown as follow. Note : DeviceNet Multi-Slave Utility is a useful tool for users to configure the DeviceNet virtual slave devices. You can refer to DeviceNet Virtual slave Utility manual to know the detail.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 4. Flow Diagram and Software Application 4.1 Software architecture The DeviceNet DLL driver (DNS100.dll) collection of function calls for the PISO-DNS100(U) cards used in Windows 2000/XP systems. The application structure is presented in the following figure.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 4.2 Flow Diagram for Slave Configuration After deciding the DeviceNet I/O size and connection type of the virtual slave devices, users should save the parameters into the EEPROM in PISO- DNS100(U).
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 4.3 Flow Diagram for Slave I/O Operation After configuring the PISO-DNS100(U), the users can easily read or write I/O data from or to the remote DeviceNet master device. The users don't need to know about the DeviceNet protocol.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5. Function description All the functions of the PISO-DNS100(U) can be separated into four groups. The idea is shown Figure 5.1.1. There is more detail description in chapter 5.3.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.1 DLL Function Definition and Description All the functions provided in the DNS100.dll are listed in the following table and detail information for every function is presented in the next sub-section. However, in order to make the descriptions more simply and clear, the attributes for the both the input and output parameter functions are given as [input] and [output] respectively, as shown in following table.
Page 36
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Table 5.1.3 Functions Table (Operating Functions) Function Name Description DNS100_GetBaudRate Get the baud rate of the CAN bus DNS100_SetBaudRate Set the baud rate of the CAN bus Add the specific virtual slave device’s DNS100_AddDevice information into the PISO-DNS100(U)
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.2 Function Return Code Table 5.2.1 Interpretation of the return code (Hardware Error) 1/1 Return Error ID Comment Code No error DNS100_NoError Kernel driver is not opened. 10001 DNS100_DriverError This board can not be activated.
Page 38
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Table 5.2.2 Interpretation of the return code (DeviceNet Error) Return DeviceNet Error Comment Code The MAC ID number exceeds the 1000 DNSXS_MACIDError range from 0 to 63. The virtual slave device is on-line 1001 DNSXS_SlaveStandby...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3 Function Description 5.3.1 DNS100_GetBoardInf Description: This function is used to obtain the driver information of PISO- DNS100(U) board. Syntax: DWORD DNS100_GetBoardInf (BYTE BoardNo, DWORD *dwVID, DWORD *dwDID, DWORD *dwSVID, DWORD *dwSDID, DWORD *dwSAuxID, DWORD *dwIrqNo) Parameter:...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.2 DNS100_TotalDNS100Board Description: The function can get the count of total PISO-DNS100(U) boards in the user’s PC. Syntax: DWORD DNS100_TotalDNS100Board (BYTE *TotalBoards, BYTE *BoardIDList) Parameter: TotalBoards: [output] The count of total board. BoardIDList: [output] The list of all DIP-Switch No.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.3 DNS100_ActiveBoard Description: The function is used to activate PISO-DNS100(U)-D/T. It must be called once before using the other functions of PISO-DNS100(U)-D/T APIs. Syntax: DWORD DNS100_ActiveBoard (BYTE BoardNo) Parameter: BoardNo: [input] PISO-DNS100(U) board number (0~15) Return:...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.4 DNS100_CloseBoard Description: The function is used to stop, close the kernel driver and release the device resource from computer device resource. This method must be called once before exiting the user’s application program. Syntax: DWORD DNS100_CloseBoard (BYTE BoardNo) Parameter:...
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.5 DNS100_GetDLLVersion Description: The function can obtain the version information of DNS100.dll driver. Syntax: DWORD DNS100_GetDLLVersion (void) Parameter: None Return: The DLL version information. For example: If 100(Dec) is return, it means driver version is 1.00.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.6 DNS100_GetFirmwareVersion Description: The function can obtain the version information of the firmware inside the PISO-DNS100(U). Syntax: DWORD DNS100_GetFirmwareVersion (BYTE BoardNo) Parameter: BoardNo: [input] PISO-DNS100(U) board number (0~15) Return: The firmware version information.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.7 DNS100_ResetFirmware Description: The function is used to reset the PISO-DNS100(U) firmware. When the users have changed the baud rate of CAN bus or changed the configuration of the virtual slave devices, the function must be called to make the change enable.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.8 DNS100_GetBaudRate Description: This function can help you to get the baud rate information of the PISO- DNS100(U). Syntax: DWORD DNS100_GetBaudRate (BYTE BoardNo) Parameter: BoardNo: [input] PISO-DNS100(U) board number (0~15) Return: The baud rate information in the PISO-DNS100(U).
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.9 DNS100_SetBaudRate Description: This function can set the DeviceNet baud rate of the PISO- DNS100(U). After calling this function, must call DNS100_ResetFirmware or DNS100_ActiveBoard to reset the firmware. It would make the changes enabled.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.10 DNS100_GetSlaveStatus Description: The function is used to obtain the virtual slave status inside the PISO- DNS100(U). The users can call this function to make sure that the DeviceNet virtual slave is working successfully.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.11 DNS100_AddDevice Description: This function can add the new virtual slave device into the PISO- DNS100(U) and save the information into the EEPROM. Before communicating with the master device, the users should call this function to add the virtual slave device.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.12 DNS100_RemoveDevice Description: This function is used for removing the specific virtual slave device from PISO-DNS100(U). corresponding connection configuration would also be erased. At the same time, the information of the device in EEPROM is erased.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.13 DNS100_AddIOConnection Description: This method is used to add the I/O connection (Poll, Bit-Strobe and COS/Cyclic) of the specific virtual slave device. The PISO-DNS100(U) can get/set the data via the connection, which connects to the specific virtual slave, according to the produced / consumed connection path of this virtual slave device.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.14 DNS100_RemoveIOConnection Description: The function is used to remove the I/O connection configuration. Syntax: DWORD DNS100_RemoveIOConnection (BYTE BoardNo, BYTE SlaveID, BYTE Type) Parameter: BoardNo: [input] PISO-DNS100(U) board number (0~15) SlaveID: [input] The remote virtual slave device’s MAC ID (0~63) Type: [input] The I/O Connection type.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.15 DNS100_ReadIOInputData Description: This function is used to read the input data which would be sent to the master device. Syntax: DWORD DNS100_ReadIOInputData (BYTE BoardNo, BYTE SlaveID, BYTE Type, BYTE *IOInputData, WORD *InputDataLen)
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.16 DNS100_WriteIOInputData Description: This function is used to write the input data which would be sent to the master device. The users call this function to update the input data. The corresponding input data buffer of the master device would change synchronously.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.17 DNS100_ReadIOOutputData Description: This function is used to get the output data from the master device. As soon as the output data of the master device changes, the users can use this function to obtain the changes from master synchronously.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.18 DNS100_ClearAllConfig Description: This function would clear all configurations in the EEPROM of the PISO-DNS100(U). At the same time, the baud rate would be set to the default value (125K bps).
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.19 DNS100_ExportEEPROM Description: This function is used for obtaining all configurations in the EEPROM which is in the PISO-DNS100(U). The user can save these information data with your own data format for importing into the next PISO- DNS100(U)board.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 5.3.20 DNS100_ImportEEPROM Description: The function is used for importing all configurations into the EEPROM which is in the PISO-DNS100(U). Syntax: DWORD DNS100_ImportEEPROM (BYTE BoardNo, WORD TotalDevices, BYTE *SlaveIDList, BYTE *TypeList, WORD *InputDataLenList, WORD *OutputDataLenList)
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 6. Demo Programs for Windows All of demo programs would not work normally if PISO-DNS100(U) driver would not be installed correctly. During the installation process of the driver, the install-shields would register the correct kernel driver to the operation system and copy the DLL driver and demo programs to the correct position based on the driver software package you have selected (Win 2000,XP).
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 6.2 Wire Connection of the CAN bus Before starting the demos, the users should have at least one virtual slave device. Here show the users how to connect the master and virtual slave devices by CAN bus.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 6.3 BCB 6 Demo Introduction BCB 6 Demo is the example used for starting the DeviceNet I/O data exchange. The screen shoot is shown as Figure 6.3.1. This demo program is designed to create new virtual slave devices step by step.
Page 62
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The DIP-Switch on the board means the ID of this board. The users should make sure that every board’s ID in your PC is unique. The drop-down list would show the board’s ID which the users have selected.
Page 63
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru The default baud rate is 125Kbps. If the users want to change the value, you can select the correct value from the drop-down list. After changing the baud rate, the uses should reset the firmware in PISO-DNS100(U) by pushing the “ActiveBoard”...
Page 64
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 6 : Wait for the Master Request This step is waiting for the request command form the remote master device. It is shown as Figure 6.3.4. The user should make the master device to communicate with these two devices.
Page 65
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 7 : Read and Write I/O Data If the master is communicating with the virtual slave device successfully, the users can read the output I/O data from the master device and write the input I/O data to the master device in this step.
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru 6.4 VC++ 6 Demo Introduction VC++ 6 Demo is the example used for starting the DeviceNet I/O data exchange. The screen shoot is shown as Figure 6.4.1. This demo program is designed to create new virtual slave devices step by step.
Page 67
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 1 : Select Board ID The DIP-Switch on the board means the ID of this board. The users should make sure that every board’s ID in your PC is unique. The drop-down list would show the board’s ID which the users have selected.
Page 68
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 4 : Add Slave ID 12 For the convenient, we assumed that we have one virtual slave device in the network. The ID is 12 with 10 bytes length of input and output. When pushing the “Add Device 12”...
Page 69
ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ +7(495)109-02-08 sales@bbrc.ru www.bbrc.ru Step 5 : Wait for the Master Request This step is waiting for the request command form the remote master device. The user should make the master device to communicate with these two devices.
Need help?
Do you have a question about the PISO-DNS100-D/T and is the answer not in the manual?
Questions and answers