SPEL+ Fieldbus I/O Commands

Here are the main commands for Fieldbus I/O. Input/output command and function for fieldbus I/O are same as these for the normal I/O. For details, refer to the Online Help or the following manual.

"SPEL+ Language Reference"

FbusIO_GetBusStatus Returns the status of the specified fieldbus.
FbusIO_GetDeviceStatus Returns the status of the specified fieldbus device.
FbusIO_SendMsg Sends an explicit message to a device and returns the reply.
In Returns the status of an 8-bit input port.
InW Returns the status of a 16-bit input port.
IONumber Returns the I/O port number of the specified Fieldbus I/O label.
Off Turns an output OFF.
On Turns an output ON.
Out Simultaneously sets 8 output bits.
OutW Simultaneously sets 16 output bits.
Sw Returns the status of one input bit.

KEY POINTS


Response times for Fieldbus I/O varies and depends on several factors, including baud rate, scan rate, number of tasks, communication error, etc. Epson RC+ does not guarantee the real-time response for the fieldbus I/O and message inputs. When the fastest and most consistent response times are required, please use Epson Standard digital I/O, which incorporates interrupt driven inputs and outputs.