Operation; Fieldbus I/O Addressing In Spel; Spel+ Fieldbus I/O Commands - Epson EM07ZS1647F User Manual

Rc+ option fieldbus i/o
Table of Contents

Advertisement

3. Operation

This chapter contains information on how to use the Fieldbus I/O option after it has been
installed.

3.1 Fieldbus I/O Addressing in SPEL

Each of the Fieldbus I/O commands in SPEL+ refer to one device on the network. The bit
number and port number parameters refer to inputs and outputs local to the device.
+
3.2 SPEL
Fieldbus I/O Commands
All Fieldbus I/O commands begin with the same prefix: "FbusIO_". Here are the main
commands. For details, please see the online help or SPEL
FbusIO_GetBusStatus
FbusIO_GetDeviceStatus Returns the status of the specified fieldbus device.
FbusIO_In
FbusIO_InW
FbusIO_IONumber
FbusIO_Off
FbusIO_On
FbusIO_Out
FbusIO_OutW
FbusIO_Sw
FbusIO_SendMsg
Response times for Fieldbus I/O can vary and depend on several factors, including baud rate,
NOTE
scan rate, number and types of devices, number of SPEL+ tasks, communication error, etc.
When the fastest and most consistent response times are required, please use EPSON
Standard digital I/O, which incorporates interrupt driven inputs and outputs.
Fieldbus I/O Rev.6
Returns the status of the specified fieldbus.
Returns the status of an 8 bit input port.
Returns the status of a 16 bit input port.
Returns the bit number of the specified Fieldbus I/O label.
Turns an output off.
Turns an output on.
Simultaneously sets 8 output bits.
Simultaneously sets 16 output bits.
Returns the status of one input bit.
Sends an explicit message to a device and returns the reply.
+
+
Language Reference Manual.
3. Operation
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rc+

Table of Contents