[?]: How to select screen in ProTool using Plc Job 51?

ProTool, WinCC flexible, WinCC, PP/OP/TP/TD/MP
Post Reply
venix
Posts: 122
Joined: Fri Feb 29, 2008 4:17 pm
Location: Europe

[?]: How to select screen in ProTool using Plc Job 51?

Post by venix » Mon May 05, 2008 12:25 pm

Hi! Can someone tell me how to select screen using plc job 51 in protool?For example,if a memory bit is set I want to call a function wich shall do Select screen job 51.My PLC is C7-633.I set up Interface Area on DB 11,and I made this data block also in Step 7 Blocks.I create a function like in the documentation :
OPN DB 52 (in C7-633 is CALL in place of OPN but this is wrong I think because it appears in red)

Code: Select all

L  9
T DBW 6
L 5
T DBW 8
L 1
T DBW10
L 51
T DBW4
Even so,I get the red SF Led and my CPU is going in Stop mode.
Best regards!

sania
Site Admin
Posts: 1372
Joined: Sat Aug 13, 2005 6:15 am
Contact:

Re: [?]: How to select screen in ProTool using Plc Job 51?

Post by sania » Mon May 05, 2008 6:23 pm

what logic between DB11 & DB52????
post your diagnostic buffer with information about stop or apload your full programm on file-exchanger for analise
Last edited by sania on Tue May 06, 2008 6:10 pm, edited 1 time in total.

venix
Posts: 122
Joined: Fri Feb 29, 2008 4:17 pm
Location: Europe

Post by venix » Tue May 06, 2008 8:37 am

I put the diagnosis buffer below.The code for FC 3 is:

Code: Select all

OPN DB 11
L 1
T DBB 6
L 9 
T DBB 7
L 0
T DBB 8
L 6 
T DBB 9
L 0
T DBB 10
L 1 
T DBB11
L 51
T DBB 5
THE DIAGNOSTIC BUFFER :
Diagnostic buffer of module C7 CPU 633/P
Order No./ Description Component Version
6ES7 633-1DF02-0AE3 Hardware 1
- - - Firmware V 1.2.0
Rack: 0
Slot: 2

Code: Select all

Event 1 of 100:  Event ID 16# 4562
STOP caused by programming error (OB not loaded or not possible, or no FRB) 
Breakpoint in user program: Cyclic program (OB1) 
Priority class:    1
FC number:      3
Module address:      6
Previous operating mode: RUN
Requested operating mode: STOP (internal)
Internal error, Incoming event
11:09:42.959 AM  05/06/2008


Event 2 of 100:  Event ID 16# 2523
Area length error when writing
Global DB, byte access, Access address:      6
Requested OB: Programming error OB (OB121)
OB not found, or disabled, or cannot be started in the in the current operating mode
Internal error, Incoming event
11:09:42.959 AM  05/06/2008


Event 3 of 100:  Event ID 16# 4302
Mode transition from STARTUP to RUN
Startup information: 
- Time for time stamp at the last backed up power on
- Single processor operation
Current/last startup type:
- Warm restart triggered by switch setting; last power on backed up
Permissibility of certain startup types: 
- Manual warm restart permitted
- Automatic warm restart permitted
Last valid operation or setting of automatic startup type at power on:
- Warm restart triggered by switch setting; last power on backed up
Previous operating mode: STARTUP (warm restart)
Requested operating mode: RUN
Incoming event
11:04:09.437 AM  05/06/2008

sania
Site Admin
Posts: 1372
Joined: Sat Aug 13, 2005 6:15 am
Contact:

Post by sania » Tue May 06, 2008 6:08 pm

Code: Select all

Area length error when writing 
Global DB, byte access, Access address :6
your DB not have DBB6...
you need open DB & add DBB6...DBB11

venix
Posts: 122
Joined: Fri Feb 29, 2008 4:17 pm
Location: Europe

Post by venix » Tue May 06, 2008 8:52 pm

Thank you Sania for your reply!
I hope it will work

Post Reply