config.ini
# ini file for siemenstcp_client # # DEBUG := 1 | 0 # SLAVE<N> := IP,PLC_TYPE,FETCH_WRITE # PLC_TYPE := S7_200 | S7_300 | S7_400 | S5 # FETCH_WRITE := 1 | 0 # default 1 # CYCLE<N> := <count>,<name> # name := byte<ORG>(slave,dbnum,adr) | # float<ORG>(slave,dbnum,adr) | # dword<ORG>(slave,dbnum,adr) | # short<ORG>(slave,dbnum,adr) | # udword<ORG>(slave,dbnum,adr) | # ushort<ORG>(slave,dbnum,adr) # ORG := ORG_DB | ORG_M | ORG_E | ORG_A | ORG_PEPA | ORG_Z | ORG_T # HAVETO_SWAP := 1 | 0 # must be 1 on intel machines # CYCLETIME in milliseconds # SHARED_MEMORY_SIZE must be equal to SHARED_MEMORY_SIZE of pvserver # MAX_NAME_LENGTH is maximum length of variable name in shared memory # [GLOBAL] DEBUG=1 CYCLETIME=1000 HAVETO_SWAP=1 [SOCKET] NUM_SLAVES=2 SLAVE1=192.168.1.110,S7_200 SLAVE2=192.168.1.35,S7_200,0 [RLLIB] MAX_NAME_LENGTH=30 SHARED_MEMORY=/srv/automation/shm/siemenstcp1.shm SHARED_MEMORY_SIZE=65536 MAILBOX=/srv/automation/mbx/siemenstcp1.mbx [CYCLES] NUM_CYCLES=2 CYCLE1=10,byteORG_M(1,0,0) CYCLE2=1,byteORG_M(2,2,3)