Bus Interface Module (Busif) - YASKAWA MP210 Series User Manual

Machine controller
Table of Contents

Advertisement

2.2.7 BUS Interface Module (BUSIF)

(1) Overview
The BUS Interface Module (BUSIF) is a virtual module that provides data exchange between the user application
program at the host computer and the application program in the MP2100/MP2100M through a BUS interface.
The BUSIF module is a standard feature with the MP2100/MP2100M. The BUSIF Module can be used with the
following software versions.
Software
MP2100/MP2100M
MPE720 version 5
MPE720 version 6
Motion API (PCAPI)
Data between the user application program at the host computer and the application program in the MP2100/
MP2100M can be exchanged without using the BUSIF, but the BUSIF enables high-speed access to registers
from the host computer.
Data exchange by means of the BUS interface uses the I registers and O registers allocated to the BUSIF Module.
The I registers and O registers allocated to the BUSIF Module can be accessed from the application program in
the MP2100/MP2100M. These I registers and O registers can be accessed from the application program at the
host computer by using API functions
* Two API functions are available for the BUS interface: ymcSetBusIFData() and ymcGetBusIFData(). If these API
functions are not used for the BUS interface, the registers can be accessed by using ymcSetRegister() and ymcGe-
tRegister().
Refer to the help file that accompanies the Motion API Package "MotionAPI(PCAPI)_J.chm/Motion-
API(PCAPI)_E.chm" as the reference for the API.
Two timings are available for exchanging data: high-speed scanning synchronization and low-speed scanning
synchronization. Either of these can be selected. The following diagram shows the BUSIF in schematic form.
Host Computer
Host Computer
Motion Control Applications
ymcSetBusIFData (
ymcGetBusIFData (
PCI Bus
MP2100/2100M
The registers (I registers and
O registers) allocated to the
BUSIF can be handled directly
from the application running on
the personal computer.
Ladder Program
Version
Ver. 2.46 or later
Ver. 5.34 or later
All versions
Ver. 1.20 or later
*
for the BUS interface.
)
...
)
...
I/O Registers
Registers allocated to the BUSIF
2.2 Functions of the MP2100/MP2100M Base Module
Motion API
Motion API
IW
OW
2
Data exchange
is carried out in
high-speed or
low-speed
scans.
2-33

Advertisement

Table of Contents
loading

Table of Contents