S7-SoftPLC:cifX settings of IBHsoftec S7-SoftPLC

From IBHsoftec Wiki English
Revision as of 11:22, 17 January 2013 by Jonas (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In the section [CIFX] the specific settings of the cifX-cards are performed.

General part

Keyname Value range Default value Description
ConfiguredBoards 0 .. 4 0 Number of cifX-cards used in the PLC
SFCInst 0 / 1 0 Show cifX SFCs in PLCs blocklist

0 = No, 1 = Yes

ShowFC 0 / 1 0(SFC) Defines, whether the Status SFC and the Control SFC are shown as SFC or FC in the block directory of the PLC. TypeFC=1 shows the blocks as FC. This has the advantage that empty blocks in the PLC-program can be created and the parameters can be given reasonable names. When creating a block header care must be taken, that the data types and the IN/OUT areas are identical with the PLC blocks.

When the blocks (FC) are transferred to the PLC via PU, the PLC keeps the internal blocks.

SFCCommand 0 .. 1008 Defines the number of the Command SFC
SFCBusDiag 0 .. 1009 Defines the number of the Control SFC BusDiagnostic SFC
BSFCMessage 0 .. 1010 Defines the number of the Message SFC
SFC1415 0 / 1 0 1 = Show SFC 14/15 from this driver

diagnostic capabilities = general errors

SFC1415BoardNo 0 .. 3 0 SFC 14/15 is active on cifX board number
SFC1415ChannelNo 0 .. 3 0 SFC 14/15 is active on cifX channel number

Card specific settings

The described parameters concern the specific cifX board settings and are in given form: "B##Parametername", where "##" represents a two digit placeholder for the consecutively numbered boardnumber and "Parametername" represents the Keyname

Example:

B00No=3
B00ConfChans=1
B01No=1
B01ConfChans=1
Keyname Value range Default value Description
B##No 0 .. 3 0 cifX-board number as reported from Hilscher driver Treiber in "cifX-Setup"
B##ConfChans 0 .. 3 0 Number of used channels of board ##


Channel specific settings

The described parameters concern the specific channel settings of cifX boards and are in given form: "B##C##Parametername", where "##" represents a two digit placeholder, B## for the consecutively numbered board number, C## for the consecutively numbered channel number and "Parametername" represents the key.

Example:

B00C00No=3
B00C00NoStop=1
B00C01No=1
B00C01NoStop=0
Keyname Value range Default value Description
B##C##No 0 .. 3 0 Channel number of board as reported by Hilscher driver in "cifX-Setup"
B##C##NoStop 0 / 1 0 1=Prevents, that the bus is stopped at PLC Stop by the watchdog. The outputs are programmed set to 0.

The Hilscher card is initialized when starting the PLC or changing the system data. At Run/Stop, no further initialization is performed.

B##C##BusType PB, PN, ECAT, EIP, MODB, NONE NONE Bustype of cifX channel
B##C##NXDPath Absolut Path Loads the NXD on startup of S7-SoftPLC from given path in current channel of the cifX board. NXD file is the busconfiguration of the cifX channel build by SyCon.NET and manually exported.

WARNING: FOR PROFINET® CONFIGURATIONS THE NWID FILE MUST BE IN SAME PATH

B##C##InIO 0 .. maximum dualport size -1 Offset of inputs in dualport
B##C##InPLC 0 .. 511 -1 Offset of inputs in PLC
B##C##InSize 0 .. 511 -1 Input size in byte
B##C##InPhSize 0 .. 8191 -1 Peripheral input size in byte
B##C##OutIO 0 .. maximum dualport size -1 Offset of outputs in dualport
B##C##OutPLC 0 .. 511 -1 Offset of outputs om PLC
B##C##OutSize 0 .. 511 -1 Output size in byte
B##C##OutPhSize 0 .. 8191 -1 Peripheral output size in byte