Presentation is loading. Please wait.

Presentation is loading. Please wait.

Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_101 New project: Create a new project with the file name : “A85_PRJ1“ and save.

Similar presentations


Presentation on theme: "Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_101 New project: Create a new project with the file name : “A85_PRJ1“ and save."— Presentation transcript:

1 Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_101 New project: Create a new project with the file name : “A85_PRJ1“ and save it on your hard disk drive directory : C:\A85_SEM. Select the driver „PLC PS4-341 with Suconet K“. Define the send- and receive-buffer of 40 Byte each If you like, define your personal system settings (e.g. background colour,...) Add two masks to your project : mask1.msk and mask2.msk Create the two masks shown on the right hand side Compile the project and transfer it to the MV4 (via PCMCIA-Card). Test your application Mask 2 Back to Startmask Illumination

2 Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_102 Bit variables: Expand your project A85_PRJ1 with Bit variables. Block:direction of Com:Variable names:Type: LampsMV4 PLClamp0Bit MV4 PLClamp1Bit MV4 PLClamp2Bit MV4 PLClamp3Bit MV4 PLClamp4Bit MV4 PLClamp5Bit MV4 PLClamp6Bit MV4 PLClamp7Bit SwitchesMV4 ==> PLCswitch0Bit MV4 ==> PLCswitch1Bit MV4 ==> PLCswitch2Bit MV4 ==> PLCswitch3Bit MV4 ==> PLCswitch4Bit MV4 ==> PLCswitch5Bit MV4 ==> PLCswitch6Bit MV4 ==> PLCswitch7Bit The start address of the block “Lamps“ is %M0.0.0.0.0. The start address of the block “Switches“ is %M0.0.0.10.0. Page1/2 Back to Startmask Illumination Alarm-system On / Off All lamps On / Off

3 Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_102 Bit variables: For the assignement of the bit variable refer to the picture below : Note: Without Attribute “Stream" If Stream is not activated, the bit is inverted every time the button is released. Pressing the button does not activate any change of the bit. With Attribute “Stream" If Stream is activated, the bit will be set to 1 (or 0 with DEL bit is activated) when pressed. When the button is released the inverted value will be returned. Page2/2 switch6 switch7 switch1 lamp1 switch0 lamp0 switch2 lamp2 switch3 lamp3 switch4 lamp4 switch5 lamp5 Illumination Alarm-system On / Off All lamps On / Off Back to Startmask

4 Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_104 Value entry (Preset value) and Value display (Current value) : Expand your project with a “Value entry“ and a “Value display“. The preset value (Value entry) has to be assigned to the PLC address %MW0.0.0.42. The current value (Value display) has to be assigned to the PLC address %MW0.0.0.44 For the limits, the following values should be used : Max.:35 Upper Limit:21 Default:21 Lower Limit: 0 Min.:-5 For the engineering unit use °C. Also edit the different colours for the limits. Create a new mask like the one shown below : Back to Startmask Current Value Preset Value

5 Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_105 Define Bargraph : Add an bargraph to the project. The bargraph has to be assigned to PLC address %MW0.0.0.2. Define a button and assign it to PLC address %M0.0.0.26.2. If the button is pressed, the preset value will be copied to the bargraph from the PLC program. Define a new variable “bargraph1“ and assign it to a new block “Bargraphs“. Back to Startmask Current Value Preset Value Set Preset

6 Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_106 Define Graph : Expand your project with a „GRAPH“ display. The graph position on the mask is as shown below : Define a new “Graph block“ (e.g.: graph) and assign the variables “current value“ and “bargraph1“ to this block. Define the curve style, number of measurings, scale and raster, time span and graph colours. Compile the project and test it. Back to Startmask Current Value Preset Value Set Preset


Download ppt "Process data communication with the MV4-Touch Panel Worksheet Aufg_1 A85_101 New project: Create a new project with the file name : “A85_PRJ1“ and save."

Similar presentations


Ads by Google