S5 135U PLC to citect via FDL

A

Thread Starter

Anthony

Help,

Does anyone know of a way to communicate to a S5 plc using a cp5431 card to citect with a cp5613 using Profibus FDL comms?
 
Fredrik,

Tried this but is not communicating. On the citect side the driver is always offline. Looked at the s5 plc but can talk to OPCserver using same FDL settings, so should talk to cietct but no comms.

Anthony
 
F

Fredrik Bamsrud

Hi Anthony,

Could you add the following parameters to your citect.ini file:

[SFDL]
DebugStr=* ALL

[DEBUG]
DriverTrace=VER

This should add some extra debug information to your syslog.dat file. After adding the parameters, backup and delete your existing syslog.dat. Start the application in runtime, and try to read values. Please copy and paste the first few lines from your new syslog.dat file in a reply.

Regards,
Fredrik
 
<p>Hi Fredrik,

<p>Here is the syslog.dat file
<pre>
Tue Mar 29 09:51:44 2005 SFDL Driver v2.02.02.001 B driver loaded from c:\cit542\Bin\SFDL.DLL
DLL modification time is 17:39:16 Monday, 10 November 2003, file size is 53309 bytes
Driver base address 0x60de0000, Common Parameters:
MaxPending=1 Block=138 Retry=0 Delay=100 Timeout=5000 PollTime=0 WatchTime=30000

Tue Mar 29 09:51:45 2005 01:19:12.721 (INIT_CHAN) SAP_ACT RQST, Command_ SAP34, [ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:12.722 (INIT_CHAN) SAP_ACT CONF, Command_ SAP34, [ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:12.822 (INIT_CHAN) FDL_RD_VAL RQST [ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:12.822 (INIT_CHAN) FDL_RD_VAL CONF [ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:12.922 (INIT_UNIT) SAP_ACT RQST, Local_ SAP2, [ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:12.922 (INIT_UNIT) SAP_ACT CONF, Local_ SAP2, [ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.022 (RD CMD) AWAIT_IND RQST, RStn0, LSAP0 RSAP2, DB1:1(1x2=2)[ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.022 (RD CMD) SDA RQST, RStn1, LSAP34 RSAP34, DB1:1(1x2=2)[ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.025 (RD CMD) SDA CONF, RStn1, LSAP34 RSAP34, DB1:1(1x2=2)[na] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.125 (RD CMD) WDRAW_IND RQST, RStn0, LSAP0 RSAP2, DB1:1(1x2=2)[ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.125 (RD CMD) WDRAW_IND CONF, RStn0, LSAP0 RSAP2, DB1:1(1x2=2)[ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.125 (RD CMD) AWAIT_IND RQST, RStn0, LSAP0 RSAP2, DB1:1(1x2=2)[ok] Length 0
Tue Mar 29 09:51:45 2005 01:19:13.125 Error: Unit offline
UINIT 000c Port2 IODev_FMS 1
Generic 000012 Driver 00000023 (0x00000017)
Tue Mar 29 09:51:47 2005 01:19:14.997 Citect Startup 5.42 r0
</pre>
<p>Thanks <br>
Anthony
 
F

Fredrik Bamsrud

Hi Anthony,

Have you completed the field I/O device address in the I/O devices form correctly? (If default address is not used on PLC)

Guess you could try to set number of retries to 3 as well, its on 0 now. Could be done with

[SFDL]
Retry=3

in the Citect.ini file.

Are you using the address format DBx.y to access value y in DB x?

Don't know if this will help you any further, but good luck!

Fredrik
 
Top