EasyManua.ls Logo

Beckhoff CX8090 User Manual

Beckhoff CX8090
100 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #51 background imageLoading...
Page #51 background image
Programming
CX8030 / CX8031 51Version: 1.6
VAR_INPUT
VAR_INPUT
sNetID:T_AmsNetId:='';(*''=localnetid*)
iPLCPort:UINT:=AMSPORT_R0_PLC_RTS1;(*PLCRuntimeSystemforwritingpersis-
tentdata*)
iUPSPort:UINT:=16#4A8;(*PortforreadingPowerStateofUPS,dafault16#4A8*)
tTimeout:TIME:=DEFAULT_ADS_TIMEOUT;(*ADSTimeout*)
eUpsMode:E_S_UPS_Mode:=eSUPS_WrPersistData_Shutdown;(*UPSmode(w/wowritingpersis-
tentdata,w/woshutdown)*)
ePersistentMode:E_PersistentMode:=SPDM_2PASS;(*modeforwritingpersistentdata*)
tRecoverTime:TIME:=T#10s;(*ONtimetorecoverfromshortpowerfail-
ureinmodeeSUPS_WrPersistData_NoShutdown/eSUPS_CheckPowerStatus*)
END_VAR
E_S_UPS_Mode
sNetID : AmsNetID of the controller.
iPLCPort : Port number of the PLC runtime system (AMSPORT_R0_PLC_RTS1 = 801,
AMSPORT_R0_PLC_RTS2 = 811, AMSPORT_R0_PLC_RTS3 = 821, AMSPORT_R0_PLC_RTS4 = 831).
iUPSPort : Port number via which the UPS status is read (standard value is 16#4A8).
tTimeout : Timeout for the execution of the QuickShutdown.
eUpsMode: The eUpsMode defines whether persistent data are to be written and whether a
QuickShutdown is to be performed.
 Standard value is eSUPS_WrPersistData_Shutdown, i.e. with writing of the
persistent data and then QuickShutdown. See E_S_UPS_Mode.
ePersistentMode: Mode for the writing of the persistent data. Standard value is SPDM_2PASS.
 SPDM_2PASS, all persistent data are saved at once, which can lead to the cycle
time being exceeded.
 SPDM_VAR_BOOST, here, each persistent variable is written separately; if there is
a large amount of persistent data this can accordingly take many cycles. This is not recommended as some
data may be lost if the time of the seconds UPS is not sufficient.
tRecoverTime: Time after which the UPS reverts to the PowerOK status in the case of UPS modes
without shutdown.
 The tRecoverTime must be somewhat longer than the maximum holding time of the
UPS, since the UPS switches off even when the voltage returns.
VAR_OUTPUT
VAR_OUTPUT
bPowerFailDetect:BOOL;(*TRUEwhilepowerfailureisdetected*)
eState:E_S_UPS_State;(*currentupsstate*)
END_VAR
E_S_UPS_State
bPowerFailDetect: True during the power failure; False if the supply voltage is present.
eState : Internal state of the function block, for values see E_S_UPS_State.
VAR_GLOBAL
VAR_GLOBAL
eGlobalSUpsState:E_S_UPS_State;(*currentupsstate*)
END_VAR
E_S_UPS_State
eGlobalUpsState: Internal state of the function block as a global copy of the VAR_OUTPUT eState; for
values see E_S_UPS_State.

Other manuals for Beckhoff CX8090

Question and Answer IconNeed help?

Do you have a question about the Beckhoff CX8090 and is the answer not in the manual?

Beckhoff CX8090 Specifications

General IconGeneral
BrandBeckhoff
ModelCX8090
CategoryController
LanguageEnglish

Summary

For Your Safety

Intended Use

Defines the CX80xx Embedded PC's intended application and operating environment.

Potentially Explosive Atmospheres

Specifies conditions for use in potentially explosive atmospheres and required protection.

Safety Instructions

Explosion Protection

Details safety measures and requirements for operation in explosive atmospheres.

Mounting Safety

Safety guidelines for mounting, wiring, and handling the device.

Product Overview

CX8030, CX8031 Introduction

Technical Data

Technical Data - PROFIBUS

Mounting and Wiring

Mounting Procedures

Covers physical installation, hazardous areas, dimensions, and rail mounting.

Wiring

Power Supply Connection

Details on connecting the power supply, including safety warnings and requirements.

Ethernet Connections

PROFIBUS Wiring

Parameterization and Commissioning

IP Address Settings

System Configuration

Power Supply Terminals

PROFIBUS Configuration

CX8030 PROFIBUS Interface

Details on the CX8030's PROFIBUS interface, GSD files, and address settings.

CX8031 PROFIBUS Configuration

CX8031 PROFIBUS Interface

Details on the CX8031's PROFIBUS interface, GSD files, and address settings.

Virtual PROFIBUS Slave Interface

1-Second UPS (Uninterruptible Power Supply)

Programming

Diagnostics

PROFIBUS Communication

PROFIBUS Slave Diagnosis

CX8031 PROFIBUS Diagnostics

PROFIBUS DP-V1 Communication

Ethernet X001 Interface

ADS Communication

PROFIBUS System Overview

Fieldbus Overview

PROFIBUS DP

PROFIBUS Cables and Connectors

Error Handling and Diagnosis

LED Indicators

Explanation of the meaning of various LEDs on the Ethernet interface and CX8030 Coupler.

Image Update

Related product manuals