background image

 

Notes on the documentation 

 

CX50x0 - Hardware Documentation 

21 

FUNCTION_BLOCK FB_NT_QuickShutdown 

 

The function block FB_NT_QuickShutdown is used to immediately reboot the PC without stopping TwinCAT or the 
operating system Windows.  

Attention: 

The function block FB_NT_QuickShutdown  is used internally from FB_S_UPS and is not intended to be used 
elsewhere! 

  

FUNCTION_BLOCK FB_NT_QuickShutdown 

VAR_INPUT 

VAR_INPUT 
 NETID 

:T_AmsNetId; 

 START 

:BOOL; 

 

TMOUT :TIME := DEFAULT_ADS_TIMEOUT; 

END_VAR 

NETID                  

: AmsNetID of the PC. 

START                

: rising edge leads to an immediate reboot of the PC. 

TMOUT               

: Timeout time. 

VAR_OUTPUT 

VAR_OUTPUT 
 

BUSY  :BOOL; 

 

ERR   :BOOL; 

 ERRID 

:UDINT; 

END_VAR 

BUSY

                       : The QuickShutdown is being executed. 

ERR

                         : Is TRUE, if an error occurs. 

ERRID

                     : Delivers the error number in case that 

ERR

 is TRUE. 

Содержание CX50 0 Series

Страница 1: ...CX50x0 Hardware Documentation Version 1 3 Datum 2011 05 02...

Страница 2: ......

Страница 3: ...urations 11 Battery compartment 13 Compact Flash slot 14 Compact Flash card 15 3 Second UPS 16 Overview 16 Function blocks 17 FB_S_UPS 18 FB_NT_QuickShutdown 21 Functions 22 F_GetVersionTcSUPS 22 Data...

Страница 4: ...IDE Device 54 Onboard Device 55 SuperIO Device 56 USB Device 57 Power Management Setup 58 HPET Powermanagement 59 DTS Powermanagement 60 PnP PCI Configuration 61 IRQ Resources 62 PC Health Status 63...

Страница 5: ...ts that have already been supplied may be made on the basis of the data diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT Safety over EtherCAT TwinSAFE and XFC are r...

Страница 6: ...ring who are familiar with the applicable national standards Description of symbols The following symbols with a adjoining safety advice or notice are used in this documentation You have to read the s...

Страница 7: ...umentation 5 Documentation Issue Status Version Changes 1 3 Requirements for power supply added 1 2 Changes on temperature range and K bus diagnosis 1 1 Changes on system interface N031 and DVI resolu...

Страница 8: ...es e g during a function test To disconnect first pull the first terminal behind the power supply unit optional then pull the connectors of the fieldbus connections System components that have been sw...

Страница 9: ...ithout visualisation EtherCAT as a fast I O system Like all Embedded PCs from the CX series except CX100x the CX5000 was developed for optimum interaction with EtherCAT One of the two independent Ethe...

Страница 10: ...45 switch CX50x0 B930 PROFINET RT device Ethernet 2 x RJ 45 switch CX50x0 B951 Ethernet IP slave Ethernet 2 x RJ 45 switch CX50x0 B100 EtherCAT slave EtherCAT IN and OUT 2 x RJ 45 The software In comb...

Страница 11: ...ss 2 x bus status Clock Internal clock with battery backup for time and date battery replaceable Operating system Microsoft Windows CE or Microsoft Windows Embedded Standard Control software TwinCAT P...

Страница 12: ...sh access 2 x bus status Clock Internal clock with battery backup for time and date battery replaceable Operating system Microsoft Windows CE or Microsoft Windows Embedded Standard Control software Tw...

Страница 13: ...or fieldbus connections can be added to the basic CPU module The CX 50x0 modules are available in the following types Modul K BUS E BUS CPU frequency without OS Windows CE Windows Embedded Standard wi...

Страница 14: ...6 GHz X X CX5020 0120 X 1 6 GHz X X CX5020 0121 X 1 6 GHz X X CX5020 0122 X 1 6 GHz X X X CX5020 1100 X 1 6 GHz X X CX5020 1110 X 1 6 GHz X X CX5020 1111 X 1 6 GHz X X CX5020 1112 X 1 6 GHz X X CX5020...

Страница 15: ...2032 type from Panasonic The correct specifications are Battery type Electrical properties at 20 C Standard charge Dimensions Nominal voltage Nominal capacity Continuous load Diameter Height Wight CR2...

Страница 16: ...ver Then eject mechanism and the CF card slot are then visible The eject mechanism is based on the push push principle If the head of the mechanical system is retracted pushing it makes it move out of...

Страница 17: ...should be saved on the CF card The CF card operates like a hard disk Note Using CF cards We strongly recommend that only CF cards supplied by Beckhoff Automation GmbH should be used These are industri...

Страница 18: ...SV Option for deactivating the one second UPS SUSV holds USB If system buffering based on SUSV is active this option can be used to switch the power supply for the USB port on or off This is important...

Страница 19: ...mple_S_UPS pro Function Blocks Name Description FB_S_UPS Function block to use the Seconds UPS from the PLC FB_NT_QuickShutdown Internal function block for the QuickShutdown used by the FB_S_UPS Funct...

Страница 20: ...10s has expired before it goes back to the PowerOK state The UPS will switch off the main board after the capacitors have been discharged independent of the mode and therefore independent of the writi...

Страница 21: ...Data_NoShutdown eSUPS_CheckPowerStatus END_VAR sNetID AmsNetID of the PC iPLCPort Port number of the PLC runtime system AMSPORT_R0_PLC_RTS1 801 AMSPORT_R0_PLC_RTS2 811 AMSPORT_R0_PLC_RTS3 821 AMSPORT_...

Страница 22: ...t BOOL TRUE while powerfailure is detected eState E_S_UPS_State current ups state END_VAR bPowerFailDetect TRUE if a power failure is detected FALSE if the power supply is sufficiant eState internal s...

Страница 23: ...ed internally from FB_S_UPS and is not intended to be used elsewhere FUNCTION_BLOCK FB_NT_QuickShutdown VAR_INPUT VAR_INPUT NETID T_AmsNetId START BOOL TMOUT TIME DEFAULT_ADS_TIMEOUT END_VAR NETID Ams...

Страница 24: ...S The function returns library version info FUNCTION F_GetVersionTcSUPS UINT VAR_INPUT nVersionElement INT END_VAR nVersionElement Version element 1 major number 2 minor number 3 revision number Devel...

Страница 25: ...own Writing of persistent data and then a QuickShutdown eSUPS_WrPersistData_NoShutdown only writing of the persistent data no QuickShutdown eSUPS_ImmediateShutdown only QuickShutdown no writing of per...

Страница 26: ...Writing of persistent data is active eSUPS_QuickShutdown in Mode eSUPS_WrPersistData_Shutdown QuickShutdown is active in Mode eSUPS_ImmediateShutdown QuickShutdown is active eSUPS_WaitForRecover in M...

Страница 27: ...e shipping damage 6 If you notice any shipping damage or inconsistencies between the contents and your order you should noti fy Beckhoff Service Attention Danger of damage to the unit During transport...

Страница 28: ...Notes on the documentation 26 CX50x0 Hardware Documentation Dimensions The following drawings show the dimensions of the CX50x0 devices Dimensions...

Страница 29: ...Notes on the documentation CX50x0 Hardware Documentation 27 Rear view...

Страница 30: ...um ambient temperature for CPU modules mounted on a top hat rail is 60 C The orientation in which the device is fitted must be selected in such a way that cooling air can flow vertically through the v...

Страница 31: ...The CX50x0 system must not be operated vertically on the top hat rail A vertical position would lead to insufficient CPU ventilation since the ventilation openings are located on the top and bottom of...

Страница 32: ...bus only transfers data a separate power supply is required for the Bus Terminals This is provided by means of the power contacts which are not connected to the power supply Requirements for the 24V p...

Страница 33: ...e with UL248 rated maximum 4 Amp by a 24 VDC power source that has to satisfy NEC class 2 A NEC class 2 power supply shall not be connected in series or parallel with another class 2 power source This...

Страница 34: ...dapter is not possible DVI D socket Pin Assignment Pin Assignment Pin Assignment 1 TMDS Data 2 9 TMDS Data 1 17 TMDS Data 0 2 TMDS Data 2 10 TMDS Data 1 18 TMDS Data 0 3 TMDS Data 2 4 Shield 11 TMDS D...

Страница 35: ...ecting keyboards mice touch screens and other input or data storage devices Keep an eye on the power consumption of the individual devices Each port is limited to 500 mA The USB socket is a type A soc...

Страница 36: ...indicates the connection speed The LED is green if the speed is 10 or 100 Mbit In 1000 Mbit mode Gigabit the LED is red Configuration of the RJ45 interface port 1 X000 port 2 X001 PIN Signal Descripti...

Страница 37: ...es The pin assignment is shown at the bottom of the page The maximum baud rate on both channels is 115 kbit The interface parameters are set via the operating system or from the PLC program RS232 COM...

Страница 38: ...rface parameters are set via the operating system or from the PLC program COM interface socket Pin assignment of the COM interface PIN Signal Typ Beschreibung 2 TxD Data Out Transmit 422 3 TxD Data In...

Страница 39: ...ed together with the other hardware These components can then be used to configure the controller The upper figure shows a minimum configuration example for cable redundancy Once the hardware has been...

Страница 40: ...le redundancy which means that only the cable sections can be regarded as fail safe i e connections between the couplers Failures of individual terminals are not covered Further details can be found i...

Страница 41: ...ple the supply line for coupler EK1100 is faulty The EK1100 terminals continue to run despite the cable failure The System Manager indicates the failure as follows The interruption is indicated by LNK...

Страница 42: ...em Manager indicates the behavior as follows The interruption is indicated by LNK_MIS C at coupler EK1100 The EtherCAT ring is expandable The number of devices in the ring is controlled by licenses up...

Страница 43: ...rst time the pre installed operating system optional will be started Switching off The Embedded PC switches off when the power supply unit is switched off The control software typically running on Emb...

Страница 44: ...setup pages See also Load Fail Safe Defaults and Load Optimized Defaults Top menu Phoenix AwardBIOS CMOS Setup Utility Standard CMOS Features Frequency Voltage Control Advanced BIOS Features Load Fail...

Страница 45: ...mory 639K Extended Memory 514 048K Total Memory 515 072K Move Enter Select PU PD Value F10 Save ESC Exit F1 Help F5 Previous Values F6 Fail Safe Defaults F7 Optimized Defaults Date mm dd yy Options mm...

Страница 46: ...ons are available None no hard disk connected to this bus connection Auto auto detection during each boot process Manual the hard disk is addressed with the set parameters Access Mode This option can...

Страница 47: ...between 1 024 and 16 384 cylinders Head Define or set the number of heads The number is between 1 and 16 heads Precomp Write pre compensation required for older hard disks This parameter specifies the...

Страница 48: ...available None no hard disk connected to this bus connection Auto auto detection during each boot process Manual the hard disk is addressed with the set parameters Access Mode This option can be used...

Страница 49: ...n 1 024 and 16 384 cylinders Head Define or set the number of heads The number is between 1 and 16 heads Precomp Write pre compensation required for older hard disks This parameter specifies the cylin...

Страница 50: ...t PU PD Value F10 Save ESC Exit F1 Help F5 Previous Values F6 Fail Safe Defaults F7 Optimized Defaults CPU Feature This menu item can be used for setting the CPU behaviour for thermal profiles Virus W...

Страница 51: ...his setting is used for booting if the first and second boot device are not available First set the drive to be used as boot drive Options S120 LS Drive Hard Disk CDROM CD drive ZIP100 Zip Drive USB F...

Страница 52: ...ring PC start up If the SETUP option is selected a password is only required for accessing the BIOS APIC Mode This parameter switches the APIC Controller Advanced Programmable Interrupt Controller on...

Страница 53: ...ion CPU C State Capability This option can be used to set the lowest C state of the CPU Usually DISABLED should be selected DISABLED function off C2 STOP Grant CPU clock is stopped API functions run w...

Страница 54: ...y makes use of the available BIOS ROM thereby enhancing the performance although this applies mainly to DOS and Win3 x Under Windows 95 98 this option is less relevant Video BIOS Cachable If this opti...

Страница 55: ...erIO Device Press Enter 8 USB Device Setting Press Enter Move Enter Select PU PD Value F10 Save ESC Exit F1 Help F5 Previous Values F6 Fail Safe Defaults F7 Optimized Defaults OnChip IDE Device Here y...

Страница 56: ...h the main difference relating to timing If Auto automatic is selected the BIOS will assess your drive and automatically specify the optimum PIO mode Auto The BIOS automatically sets the system value...

Страница 57: ...currently no associated extension is implemented USB Client Routing Option for configuring the second USB port with USB client functionality SDIO MMC Controller Option for activating deactivating the...

Страница 58: ...2 Configuration of the serial interface settings IRQ3 used for the second serial port Disabled no interrupt is used Setting options Auto 3F8 IRQ3 2F8 IRQ3 3E8 IRQ3 or 2E8 IRQ3 UART Mode Select Mode fo...

Страница 59: ...th support for USB 1 0 The option can be switched on or off here USB 2 0 Controller The board contains a USB 2 0 chipset with support for USB 2 0 The option can be switched on or off here USB Operatio...

Страница 60: ...ower supply unit mode In AT mode the power supply unit remains switched on when the system is shut down In ATX mode the internal power supply unit of the controller switches off For a restart the powe...

Страница 61: ...F1 Help F5 Previous Values F6 Fail Safe Defaults F7 Optimized Defaults HPET Support Activates or deactivates HPET support It is a kind of timer within the PC that is able to trigger an interrupt with...

Страница 62: ...ion in controller mode the DTS function is switched off in order to avoid problems with real time functionality DTS Active temperature At this temperature the system switches on the fan Passive Coolin...

Страница 63: ...d be initialised first either PCI slot onboard or PCIEx Reset Configuration Data If activated the option ensures that the BIOS deletes the information relating to built in components and their resourc...

Страница 64: ...ed to PCI Device IRQ 7 assigned to PCI Device IRQ 9 assigned to PCI Device IRQ 10 assigned to PCI Device IRQ 11 assigned to PCI Device IRQ 12 assigned to PCI Device Move Enter Select PU PD Value F10 S...

Страница 65: ...Move Enter Select PU PD Value F10 Save ESC Exit F1 Help F5 Previous Values F6 Fail Safe Defaults F7 Optimized Defaults SUSV Option for deactivating the one second UPS SUSV holds USB If system bufferi...

Страница 66: ...on CPU VTT CPU VTT voltage Memory 1 8 V Memory power supply 1 8 V 3 3 V Supply voltage 3 3 V 5 V Supply voltage 5 V 1 5 V Supply voltage 1 5 V VBatt Battery voltage Fan1 Speed 0 RPM since no fan is co...

Страница 67: ...bus Moreover the tolerances for the power supply can be specified Phoenix AwardBIOS CMOS Setup Utility Frequency Voltage Control XDP Clock Disabled Item Help Move Enter Select PU PD Value F10 Save ESC...

Страница 68: ...s on when the device is connected to a live power supply unit green TC TwinCAT status LED TwinCAT is in Run mode green TwinCAT is in Stop mode red TwinCAT is in Config mode blue HDD Read Write Compact...

Страница 69: ...second slow sequence Error code argument LEDs for K Bus diagnosis Error code Error code argument Description Remedy Persistent continuous flashing EMC problems Check power supply for overvoltage or un...

Страница 70: ...rer s setting which will clear the boot project 14 pulses n nth Bus Terminal has the wrong format Start the power supply again and if the error occurs again then exchange the Bus Terminal 15 pulses n...

Страница 71: ...ED blinks an error in the area of the terminals is indicated The error code can be determined from the frequency and number of blinks This permits rapid rectification of the error Display LED Meaning...

Страница 72: ...ault is either in the software or in parts of the plant outside the Embedded PC Call the manufacturer of the machine or the software CF card access error Faulty CF card faulty CF slot Use a different...

Страница 73: ...ove the first Terminal next to the power supply unit on the top hat rail First remove any wiring from power supply unit and then from the first terminal on the top hat rail next to the power supply un...

Страница 74: ...n the device Opening the module housing by force would destroy it The devices may only be opened by Beckhoff service personnel Disposal The device must be fully dismantled in order to dispose of it El...

Страница 75: ...scription CX1900 0022 64 MByte compact flash card type I instead of 64 MB compact flash card CX1900 0024 1 GByte compact flash card type I instead of 64 MB compact flash card CX1900 0026 2 GByte compa...

Страница 76: ...the Embedded PC family are CE UL and GOST R certified Since the product family is continuously developed further we are unable to provide a full listing here The current list of certified products can...

Страница 77: ...for Beckhoff components there Beckhoff Headquarters Beckhoff Automation GmbH Eiserstr 5 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support...

Отзывы: