5. Programming on the device5.6 Working with function blocks5.6 Working with function blocksOnly the EDP programming language can be used on the device (if you want to programusing the LD, FBD, or ST language instead, you will need to use easySoft 7). The rest ofthis section goes over the basics involved in working with function blocks on thedevice.Function blocks are subdivided into manufacturer function blocks, interrupt functionblocks, and user function blocks.Manufacturer function blocks, which are function blocks provided by Eaton, can beused directly on the device in the circuit diagram. Meanwhile,interrupt function blocks and user function blocks, which you can create yourself, willonly be available when using the LD, FBD, or ST programming language and can only beused by using easySoft 7 to transfer the program to the device.For a detailed description of all available function blocks, please refer to the "Functionblocks" section.The manufacturer function blocks are used to simulate some of the devices used in con-ventional open-loop and closed-loop control systems. You can first use the functionblock in the circuit diagram and then define the ACTUAL and Setpoint parameters forthe inputs and outputs in the function block editor.Or vice versa: you create the function block in the function block editor, define the para-meters and use it then in the circuit diagram. With easyE4 devices you can insert up to255 manufacturer function blocks in the function block list.easyE4 devices will not limit this number automatically. Thismeans that you must check the maximum number of man-ufacturer function blocks yourself in order to avoid a functionblock error.5.6.1 Adding function blocks to the circuit diagram for the first timePrerequisitesIn order to be able to select the PROGRAM menu option, one of the two following pre-requisites must be met:l The card must contain a compiled *.PRG program that uses the EDP programminglanguage.l The card must not contain a compiled *.PRG program.To add a function block to a circuit diagram for the first time, follow the steps below:Switch to the circuit diagram display by selectingMain menu -> PROGRAMS -> CIRCUIT DIAGR..154 easyE4 11/18 MN050009 EN www.eaton.com