3. Operation

3.6 Using Slave Mode

In slave mode, the EPSON RC+ system is a slave on the bus. Outputs from the master are inputs in EPSON RC+, and inputs to the master are outputs in EPSON RC+.

Uses for slave mode:

External equipment can monitor data in the controller

Remote control

To use the system in slave mode, perform the following basic steps:

1.Configure local slave on the Fieldbus scanner board. Refer to the 2. Installation for instructions for the type of hardware you are using.

2.Design your application to handle requests from the Fieldbus master and return data or execute functions.

3.7Remote Control Slave

If the controller will be remotely controlled by a Fieldbus master, your application must auto start and run in a continuous loop to service requests from the master. Use OnErr, Trap Error, Trap Emergency and Restart to accomplish this. Refer to the sample project for Fieldbus remote slave called FieldbusRemoteSlave that is included with EPSON RC+.

72

Fieldbus I/O Rev.6

Page 84
Image 84
Epson EM07ZS1647F manual Using Slave Mode, Remote Control Slave