Satec Expertmeter PM180 Скачать руководство пользователя страница 1

 

expert

meter

 

High Performance Analyzer

 

PM180

 

 
 
 

SATEC PM180 PLC Configurator 

Reference Guide 

 
 

 
 

 
 

 
 

 
 

 
 

 
 

BG0611 REV.A1

Содержание Expertmeter PM180

Страница 1: ...expertmeter High Performance Analyzer PM180 SATEC PM180 PLC Configurator Reference Guide BG0611 REV A1 ...

Страница 2: ...n this book Notification of any errors or misprints will be received with appreciation For further information regarding a particular installation operation or maintenance of equipment contact the manufacturer or your local representative or distributor REVISION HISTORY A1 Jan 2018 Initial release All trademarks are property of their respective owners February 2018 Copyright 2017 2018 SATEC Ltd ...

Страница 3: ...ocks 17 3 7 Setting function blocks 18 3 7 1 Rename FB 18 3 7 2 Add variables 19 3 7 3 Variable properties 19 3 7 4 Add work area 23 3 7 5 Debug FB 23 3 7 6 Delete FB 24 3 8 Communication with the device 24 3 8 1 Interfaces 24 3 8 2 Upload configuration to the device 26 3 8 3 Download configuration from the device 29 3 9 Functional block diagrams 32 3 9 1 Open workspace 32 3 9 2 Add or delete vari...

Страница 4: ...ating LD 43 3 10 8 Transformation LD into setpoints 47 3 11 Using PLC Configurator with PAS 47 4 TROUBLESHOOTING 49 4 1 Address in not set 49 4 2 Connection error 49 4 3 No MAIN module 50 4 4 Unconnected inputs 51 ...

Страница 5: ... necessary to use SATEC PM180 PLC Configurator hereinafter referred to as PLC Configurator in order to program the PM180 device using Functional block diagrams FBD and Ladder diagrams LD and to communicate with the device Refer to the PM180 Installation Manual and PM180 Operation Manual for more information on communication connections and configuring communication parameters in your device ...

Страница 6: ...ESHOLD functions are used to model analogue values comparison functions of PM180 Setpoints 2 2 Data types Data types implemented in PLC Configurator are listed in the table below Data type Description BOOL Bit string of 1 bit Logical state values are FALSE and TRUE LREAL Long real value 64 bit 10 308 values are from 4 19E 307 to 1 67E 308 TIME Time duration in milliseconds values are from T 24d20h...

Страница 7: ...LD Greater or equal with threshold LREAL BOOL LE_THRESHOLD Less or equal with threshold LREAL BOOL GE Greater or equal ANY BOOL EQ Equal ANY BOOL LE Less or equal ANY BOOL Time delays TON Timer ON BOOL Time BOOL TOF Timer OFF BOOL Time BOOL 2 3 1 AND AND function returns result of all inputs using logical conjunction Number of inputs is not limited AND function is shown in the figure below Figure ...

Страница 8: ...nction returns TRUE if input IN greater or equal to OPERATE and returns FALSE if input IN less or equal to RELEASE In this function IN is a value input OPERATE and RELEASE are inputs to set threshold Usually to set threshold locale variables are used GE_THRESHOLD function is shown in the figure below Figure 7 GE_THRESHOLD 2 3 8 LE_THRESHOLD LE_THRESHOLD function returns TRUE if input IN less or eq...

Страница 9: ...ol input BOOL input PT is used for setting time delay in milliseconds TOF function is shown in the figure below Figure 10 TOF 2 4 Function block Function Block FB is a type of Program Organization Unit It has set of input variables and output variables Each block has an algorithm which enables evaluation of all its inputs and produces set of output values Unlike functions function blocks also have...

Страница 10: ...dder diagram Ladder Diagram LD is a programming language defined in IEC61131 3 Ladder diagrams are derived from electrical circuit diagrams which have been conventionally used to represent relay logic operations Many of the symbols and terminology have also been adopted from the circuit diagrams In other words Ladder Diagrams are graphical representations of Boolean expressions but they can also i...

Страница 11: ...n rails can be contacts and one coil They are situated along horizontal so called rung Contacts represent BOOL input variables whereas coils represent BOOL output variables There are two types of contacts and coils normally closed and normally opened Serial connection of contacts is used to create AND logic Parallel connection of contacts is used to create OR logic If all the contacts on the way f...

Страница 12: ...create more complex logic it is possible to add built in functions and variables of other from BOOL data types Figure 14 Using TON function in LD You can find detailed information about creating LD in PLC Configurator in chapter 3 10 ...

Страница 13: ... Unzip the archive with the application in any folder 2 Run file bin scadastudio exe 3 2 Creating project To create new project 1 Start PLC Configurator application 2 In the application choose File New Project like shown in the figure below Figure 15 File menu 3 In the New Project wizard expand the SATEC category and select SATEC PLC Project like shown in the figure below Then click Next ...

Страница 14: ...in the figure below In the Project Name field type project name To setup project location click on Browse button or type it in the Project location field Figure 17 Name and Location 5 Click Finish After that the project will be created and opened in PLC Configurator You should see the following components ...

Страница 15: ...vices To add new devices do following 1 Click the right mouse button on the existing project Figure 19 Add device menu 2 Select Device and Language in the Add a new device window and click Ok Choose the type of diagram you want to use Language ...

Страница 16: ...project tree Figure 21 Created device in the project 3 4 Device properties To open device properties double click on a device in the project tree The properties will appear in the middle of the screen Figure 22 Device properties You can set the following settings 1 Release coefficient in comparison operations for details see 3 9 7 ...

Страница 17: ...u use function Send configuration to the device see 3 8 2 If you don t have main function block in your device you will get an error see 4 3 Note that if you add new function blocks to the device see 3 6 you have to use them in the Main function block otherwise that logic will be ignored during uploading procedure 3 6 Adding function blocks To add additional function FB block do the following 1 Cl...

Страница 18: ...he right mouse button on FB in the project tree and choose Rename Figure 25 Rename FB Type the new name in appeared window like shown in the figure below and click OK Figure 26 FB new name In the following window confirm your action and click Ok The FB will be renamed ...

Страница 19: ...re below Figure 27 Adding variables In the menu choose the desired type of variable and click on it with the left mouse button A new variable will be added You can use the same input or local variable many times on the same diagram It can simplify visual perception of your project 3 7 3 Variable properties When you click on a variable in a FB tree its properties appear on the right hand side of PL...

Страница 20: ...get a message Variable address is not set during uploading the configuration to the device Be advised that PLC Configurator automatically distributes set points according to the device property Settings range for the logic generator To set this setting see 3 4 We discourage you from mapping output variables to set points because PLC Configurator does it automatically anyway In case of manual mappi...

Страница 21: ...21 Figure 29 Input variables mapping ...

Страница 22: ... output event flag etc For output signal set an action that will be accomplish when the input has the proper value In any case you should expand desired folder and choose variable you want to map and then click on Ok Please note that you can choose addresses with corresponding type only other addresses in the Setup variable address are marked in ...

Страница 23: ...ble context menu 3 7 4 Add work area To add additional work area click on FB with the right mouse button and choose one of the following options depending on the diagram you are using on the device 1 Add work area FBD 2 Add work area LD New work area will be added and will appear in the FB tree 3 7 5 Debug FB Debugger is used if you want to check the logic of FB that you created or search for mist...

Страница 24: ...B To delete FB click on FB with the right mouse button and choose Delete option Confirm your action in the following window pressing OK The FB will be deleted 3 8 Communication with the device 3 8 1 Interfaces PCL Configurator supports communication with PM180 device via USB Serial port or Ethernet TCP IP 1 To connect via USB you need to plug in USB cable to PM180 USB port 1 1 It uses PM180 MODBUS...

Страница 25: ...25 2 To connect via Serial port you need to use serial communication port COM1 with cable suited for RS232 485 3 Ethernet connection ...

Страница 26: ...ou PC must be connected to the PM180 device by any of interfaces Before uploading PLC Configurator reads current Ration settings from the device and evaluates constants that are used in the logic you want to upload Please note that you must set all analog values for variables in SI units only V A W etc otherwise the logic you upload will be working incorrectly To upload configuration from the devi...

Страница 27: ...Figure 36 Internet site settings There are 3 types of communication interfaces 1 Internet site To upload using TCP IP you have to select Internet site radio button and type in address like this IP address Port Also you have to know a Slave ID of your destination device ...

Страница 28: ...rties to meet the serial port settings of the PM810 device Figure 37 Serial port settings 3 USB port To upload via USB port you need to select USB port radio button and type in Slave ID of the PM180 device Figure 38 USB port settings After that your project will be built and you will see the log page ...

Страница 29: ...u need to create a new project or open the existing one In addition your project must contain at least one device and you must be connected to the PM180 device by any of interfaces To download configuration from a device do the following Click the right mouse button on a device and select Import configuration from the device from padding menu Figure 40 Import menu After that you will see the downl...

Страница 30: ...nload via TCP IP you need to select Internet site radio button and type in address like this IP address Port Also you have to know a Slave ID of your destination device 2 Serial port To download via Serial port you need to select Serial port radio button and configure properties to meet the settings ...

Страница 31: ...31 Figure 42 Serial port 3 USB port To download via USB port you need to select USB port radio button and type in Slave ID of the PM180 device Figure 43 USB port After that you will see the log page ...

Страница 32: ...the visual display representation may be different from the original one 3 9 Functional block diagrams See chapters 2 4 and 2 5 1 of this document to get information about implementation of function blocks and functional block diagrams in PLC Configurator 3 9 1 Open workspace To start creation of FBD you need to open FBD workspace To do that use double click on workspace section of FB Workspace wi...

Страница 33: ...m to the FB To do that see 3 7 2 To add variable just drag and drop it to the workspace In case of local variable you will get a menu where you need to choose its type input output or input output variable like shown in the figure below Figure 46 Type of a local variable After adding variables will appear on the workspace ...

Страница 34: ...its properties will appear in the Properties window They consist of two parts like shown in the figure below Main properties Interface variable properties Interface variable properties provide users with the information about variable s initial value and address 3 9 4 Add built in components To add built in functions you need to expand type of function and drag and drop desired function to the wor...

Страница 35: ...s Variables and functions have pins circles that are used for making connections Red pins are not connected green pins are connected Input pins are placed on the left side an element output pins are placed on the right side To make a connection between a variable and a function click on an output pin and drag and drop to the desired input pin ...

Страница 36: ...ctions You can connect unlimited number of inputs there Please note that the type of a variable and an input you want to connect with must be compatible If they are not you will not be able to make a connection between them You can check type of a pin by pointing on it with a mouse cursor Figure 51 Pin data type To disconnect variable click on it with the right mouse button and choose Disconnect ...

Страница 37: ...To make time delays use functions TON and TOF For detailed information see 2 3 9 and 2 3 10 Time values are set via local variables with TIME data type Time delay example is shown in the figure below Figure 53 Time delay Time delay is set in Initial value property in one of these formats in accordance with IEC 61131 T 100ms T 200ms or T 1s0ms if a value is more than 1 second In the figure below yo...

Страница 38: ...re are two standard functions in IEC 61131 that are used for analog values comparisons GE and LE For detailed information about them see 2 3 4 and 2 3 6 Be advised that when you use comparison functions you are able to compare only variables with the same data type see the figure below ...

Страница 39: ...exclusively to 1 0 95 by default When PLC Configurator compiles logic with GE or LE functions it multiplies or divides to this coefficient to get operate or release limits To set exact not evaluated operate or release limits for variables use functions GE_THRESHOLD and LE_THRESHOLD For detailed information about these functions see 2 3 7 and 2 3 8 In this case limits that are set for these functio...

Страница 40: ... Figure 56 Using GE_THRESHOLD In this case limits are set using local variables L01 and L02 IN05 is a value input In the figure below you can see the result setpoint in PAS Figure 57 Setpoint with limits ...

Страница 41: ...n block just click with the right mouse button on the function block and choose Add work area LD Figure 59 Add work area LD You can use FBD and LD workspaces together in one function block and divide information between them if it is necessary After creating a workspace use double click on it to open A ladder diagram consists of elements such as rails contacts coils Also it can contain built in fu...

Страница 42: ...unction block contact or negated contact Output pin right pin can be attached to coil built in functions contact negated contact or right rail Multiple connections are allowed Contact can be created from any BOOL variable Figure 61 Contact 3 10 4 Negated contact Negated contact represents a normally closed not contact It is closed whenever its coil or an input which controls it is not energized Cl...

Страница 43: ...Figure 63 Coil 3 10 6 Negated coil Negated coil represents a normally active not coil energized whenever its rung is open Active at rest It has 2 pins Input pin left pin can be attached to contact negated contact built in function block input variable input output variable Output pin right pin can be attached only to right rail Multiple connections are allowed Negated coil can be created only from...

Страница 44: ...d contact Figure 66 A contact on LD A contact will be added to a ladder diagram and it will be assigned to the variable you chose Similarly you can add a coil Just drag and drop an output variable to the workspace and choose type of the coil you want to add A coil will be added to your ladder diagram ...

Страница 45: ...w let s connect the elements To do that you need to click on the right pin of any element and drag an arrow from the pin Figure 68 Making connections Then drag the arrow to any valid pin for example left coil pin Now the elements are connected ...

Страница 46: ...ng Now you can see that when you add more links between rails the quantity of pins is being incremented You are able to make as many rungs as you like Please note that before uploading the configuration to the PM180 device you need to set addresses for all input and output variables To do that see 3 7 3 ...

Страница 47: ...er uploading you can check the uploaded setpoints in PAS In the figure below you can see how a ladder diagram transforms in setpoints that the PM180 device can use Figure 71 LD logic in PAS 3 11 Using PLC Configurator with PAS PLC Configurator is only used for setpoints configuration and PAS should be used for other configuration needs ...

Страница 48: ...e with a special property Settings range for the logic generator see 3 4 To set which set points will be used in this distribution you need to set this property By default PLC Configurator uses all set points 1 64 You can set this range using and symbols like shown in the figure below Figure 72 Settings range In this case PLC Configurator will be using the first second set point and set points bet...

Страница 49: ...address you will get a message like in the figure below Figure 73 Unknown address In this case you need to set variables address To do that see 3 7 3 4 2 Connection error If you have a connection error during uploading or downloading a configuration you will get a message like shown in the figure below ...

Страница 50: ...ication interface and connection settings You can get proper settings by connecting to the device using PAS software 4 3 No MAIN module No MAIN module error appears during building project before uploading configuration to the device when you use function Send configuration to the device ...

Страница 51: ...e device project or add new function block and set name MAIN to it 4 4 Unconnected inputs If you get a message like in the figure below you should check your FBD for unconnected pins they are marked as red circles Figure 75 Unconnected inputs error Figure 76 Unconnected input ...

Отзывы: