HIMax Safety Manual - Tuv-fs.com
HIMax Safety Manual - Tuv-fs.com HIMax Safety Manual - Tuv-fs.com
9 Software HIMaxThe user only need to connect the PADT to the PES when loading the user program orperforming diagnostics. The PADT is not required during normal operation. Disconnectingthe PADT and PES during normal operation helps to prevent against unauthorized access.9.7 Locking and Unlocking the PES"Locking“ the PES locks all functions and prevents users from accessing them duringoperation. This also protects against unauthorized manipulations to the user program."Unlocking“ the PES: Deactivates any locks previously set (e.g., to perform work on thecontroller).Three system variables serve for locking:VariableRead only in RunReloaddeactivationForceDeactivationFunctionON: Starting, stopping, and downloading the controller are locked.OFF: Starting, stopping, and downloading the controller are possible.ON: Reload is locked.OFF: Reload is possible.ON: Forcing is deactivated.OFF: Forcing is possible.Table 15: System Variables for Locking and Unlocking the PESIf all three system variables are ON: no access to the controller is possible. In this case thecontroller can only be put into STOP state by restarting a processor module with the modeswitch in the Init position. Then loading a new user program is possible.Example for using these system variables:Make a controller lockable1 Define a global variable of type BOOL and set its initial value to FALSE.2 Assigne the global variable to the three system variables Read only in Run,Reload Deactivation, and Force Deactivation.3 Assign the global variable to the channel value of a digital input.4 Connect a key switch to the digital input.5 Compile the program, lod it on the controller, and start it.The owner of a corresponding key is able to lock and unlock the controller. In case of a faultof the corresponding digital input module, the controller is unlocked.Page 52 of 70HI 801 003 D Rev.2.0
HIMax10 User program10 User programThis chapter describes the safety-related aspects that are important for the user program.10.1 General SequenceGeneral sequence for programming HIMax automation devices for safety-relatedapplications:1 Specify the controller functionality2 Write the user program3 Compile the user program:the user program is error-free and can run4 Verify and validate the user program.Upon completing these steps, the user program can be tested and the PES can begin thesafe operation.10.2 Scope for Safety-Related Use(For more on specifications, regulations and explanation of safety requirements, seeChapter 3.4 "Safety Requirements")The user program must be written using the SILworX programming software. This programruns on Windows XP® Servicepack 2 for PCs.Essentially, SILworX includes:• Input (Program Editor), monitoring and documentation• Global variables with symbolic names and data types (BOOL, UINT, etc.)• Assignment of HIMax controllers (Hardware Editor)• Compilation of user program into a format that can be loaded into the PES• Configuration of communication10.2.1 Programming BasicsThe tasks to be performed by the controller should be defined in a specification or arequirements specification. This documentation serves as the basis for checking its properimplementation in the user program. The specification format depends on the tasks to beperformed. These include:Combinational logic• Cause/effect diagram• Logic of the connection with functions and function blocks• Function blocks with specified characteristicsSequential controllers (sequence control system)This is a written description of the steps and their enabling conditions, and a description ofthe actuators to be controlled.• Sequential function charts• Matrix or table form of the step enabling conditions and the actuators to be controlled• Definition of constraints, e.g., operating modes, EMERGENCY STOP, etc.The I/O concept of the system must include an analysis of the field circuits, i.e. the type ofsensors and actuators:HI 801 003 D Rev.2.0 Page 53 of 70
- Page 1: SAFETYHIMax ®Safety Manual
- Page 4 and 5: Table of contentsHIMax3.5 Certifica
- Page 6 and 7: Table of contentsHIMax10.2.9 Accept
- Page 8: 1 Safety Manual HIMax1.5 GlossaryTe
- Page 12 and 13: 2 Intended Use HIMaxStandardEC/EN 6
- Page 14 and 15: 2 Intended Use HIMax2.3.4 Power Sup
- Page 16 and 17: 3 Safety Concept for Using the PES
- Page 18 and 19: 3 Safety Concept for Using the PES
- Page 20 and 21: 3 Safety Concept for Using the PES
- Page 22 and 23: 3 Safety Concept for Using the PES
- Page 24 and 25: 4 Processor Modules HIMaxNOTESystem
- Page 26 and 27: 5 System Bus Module HIMaxWARNINGPhy
- Page 28 and 29: 6 Communication Module HIMax6 Commu
- Page 30 and 31: 7 Input Modules HIMaxNOTICESystem m
- Page 32 and 33: 7 Input Modules HIMax7.6 Checklists
- Page 34 and 35: 7 Input Modules HIMax7.6.3 Checklis
- Page 36 and 37: 7 Input Modules HIMax7.7 Safety-Rel
- Page 38 and 39: 7 Input Modules HIMax7.8 Checklist
- Page 40 and 41: 8 Output Modules HIMax8 Output Modu
- Page 42 and 43: 8 Output Modules HIMaxIn this state
- Page 44 and 45: 8 Output Modules HIMax8.7 Checklist
- Page 46 and 47: 9 Software HIMax9 SoftwareThe softw
- Page 48 and 49: 9 Software HIMax9.4 Resource Parame
- Page 50 and 51: 9 Software HIMaxExample: A key swit
- Page 54 and 55: 10 User program HIMaxSensors (digit
- Page 56 and 57: 10 User program HIMax10.2.5 Downloa
- Page 58 and 59: 10 User program HIMax10.2.10 Checkl
- Page 60 and 61: 11 Configuring Communication HIMaxN
- Page 62 and 63: 11 Configuring Communication HIMaxF
- Page 64 and 65: 11 Configuring Communication HIMaxP
- Page 66 and 67: AppendixHIMaxIndex of FiguresFigure
- Page 68: AppendixHIMaxIndexanalog inputsuse
<strong>HIMax</strong>10 User program10 User programThis chapter describes the safety-related aspects that are important for the user program.10.1 General SequenceGeneral sequence for programming <strong>HIMax</strong> automation devices for safety-relatedapplications:1 Specify the controller functionality2 Write the user program3 Compile the user program:the user program is error-free and can run4 Verify and validate the user program.Upon <strong>com</strong>pleting these steps, the user program can be tested and the PES can begin thesafe operation.10.2 Scope for <strong>Safety</strong>-Related Use(For more on specifications, regulations and explanation of safety requirements, seeChapter 3.4 "<strong>Safety</strong> Requirements")The user program must be written using the SILworX programming software. This programruns on Windows XP® Servicepack 2 for PCs.Essentially, SILworX includes:• Input (Program Editor), monitoring and documentation• Global variables with symbolic names and data types (BOOL, UINT, etc.)• Assignment of <strong>HIMax</strong> controllers (Hardware Editor)• Compilation of user program into a format that can be loaded into the PES• Configuration of <strong>com</strong>munication10.2.1 Programming BasicsThe tasks to be performed by the controller should be defined in a specification or arequirements specification. This documentation serves as the basis for checking its properimplementation in the user program. The specification format depends on the tasks to beperformed. These include:Combinational logic• Cause/effect diagram• Logic of the connection with functions and function blocks• Function blocks with specified characteristicsSequential controllers (sequence control system)This is a written description of the steps and their enabling conditions, and a description ofthe actuators to be controlled.• Sequential function charts• Matrix or table form of the step enabling conditions and the actuators to be controlled• Definition of constraints, e.g., operating modes, EMERGENCY STOP, etc.The I/O concept of the system must include an analysis of the field circuits, i.e. the type o<strong>fs</strong>ensors and actuators:HI 801 003 D Rev.2.0 Page 53 of 70