Outputs Off By Emergency Stop And Reset Instruction; Waiting For Input Or Output Status - Epson EM07ZS1647F User Manual

Rc+ option fieldbus i/o
Table of Contents

Advertisement

3. Operation

3.3 Outputs Off by Emergency Stop and Reset Instruction

You can configure the system so that all outputs including the fieldbus outputs will be turned
off when the emergency stop occurs and when a Reset instruction is executed. For details of
the configuration, refer to the chapter SPEL+ Options in the EPSON RC+ User's Guide.
A command that was issued just before an emergency stop can be executed after the
NOTE
emergency stop condition is cleared. If the outputs from the fieldbus involve risk, the
"Outputs off during Emergency Stop" option should be enabled to remove all power to
output devices when an emergency stop occurs.

3.4 Waiting for Input or Output Status

The SPEL+ Wait statement cannot be used for Fieldbus I/O. You can make your own
function to handle this.
For example:
Function WaitFbusInput(bus As Integer, device As Integer,
bit As Integer, state As Integer)
Fend
In the program example above, a Wait statement is used to prevent the task from using too
much CPU. You can remove the Wait for faster response, but the task will use more CPU.
You may also want to add a timeout or other checks.
70
Do
If FbusIO_Sw(bus, device, bit) = state Then
Exit Function
EndIf
Wait .01
Loop
Fieldbus I/O Rev.6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rc+

Table of Contents