User`s guide

10. Inputs and Outputs
246 EPSON RC+ 5.0 (Ver.5.4) User's Guide Rev.4
10. Inputs and Outputs
10.1 Overview
The RC90/RC180 controller I/O has the following types of I/O:
Standard I/O This digital I/O comes standard with the controller.
Expansion I/O This is optional digital I/O that can be added to the controller to expand
standard I/O.
For the RC180 controllers, up to four boards can be added, each with
32 inputs and 32 outputs.
For the RC90 controllers, up to two boards can be added, each with 24
inputs and 16 outputs.
Fieldbus I/O An optional board can be added that supports fieldbus slave mode for
DeviceNet, EtherNetI/P, PROFIBUS-DP, PROFINET, or CC-Link.
EtherNet/IP and PROFINET are not supported by the RC90 controller.
Memory I/O This is built-in memory bits that can be used for inter-task
communications.
For Standard, Expansion, and Fieldbus I/O, there are input bits numbered starting with 0,
and output bits numbered starting with 0. For example, there is an input bit 3 and a
separate output bit 3.
For memory I/O, each memory bit is both an input and an output.
For specifications and instructions on wiring I/O, see the controller manual.
10.2 I/O Commands
The SPEL+ language has several commands for inputs and outputs listed below. For
details on each command, see the SPEL+ Language Reference.
Input Commands
In Reads one byte of input bits.
InBCD Reads one byte of input bits in Binary Coded Decimal format.
InW Reads one word of input bits.
Oport Reads one output bit.
Sw Reads one input bit.
Output Commands
Off Turns off one output bit with optional time.
On Turns on one output bit with optional time.
OpBCD Sets one byte of output bits in Binary Coded Decimal format.
Out Sets / reads one byte of output bits.
OutW Sets / reads one word of output bits.
Memory I/O Commands
MemOff Turns off one memory bit.
MemOn Turns on one memory bit.
MemOut Sets / reads one byte of memory bits.
MemSw Reads one bit of memory.