-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPLCComS.ini
49 lines (43 loc) · 2.83 KB
/
PLCComS.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Configuration file for communication server
[*]
COMM_LOOP_DELAY = 100 # Delay time in main loop ([1 - 1000]ms)
COMM_SCHED_PRI = 10 # Scheduling priority (1 (lowest) - 99 (highest))
NET_CONNECT_MAX = 128 # Maximal number of client connections (Maximum is 1024)
MEM_BLKSIZE = 4096 # Block size in bytes for transfer PLC memory (Maximum is 65536)
FFILE_BLKSIZE = 16384 # Block size in bytes for transfer files (Maximum is 65536)
FFILE_TIMEOUT = 300 # Time in seconds for holding files in memory (Maximum is 3600)
FFILE_TIMEOUT_WR = 5 # Time in seconds between transmitted data blocks of the WRITEFILE: command (Maximum is 60)
FFILE_MAXRECS = 256 # Number of files stored in memory (Maximum is 1024)
END_LINE_CRLF = Yes # End line character (Yes = DOS [\r\n], No = UNIX [\n])
PF_VAR_DISABLED = Yes # Default status for variables
DIFF_VAR_ENABLED = Yes # Disable or enable sending DIFF: messages
SYNC_VAR_ENABLED = Yes # Enable or disable synchronization variables with PLC while downloading files
LIM_OF_DECIMALS = No # Limited precision of decimal numbers to generate DIFF: messages (Yes = limited)
NUM_OF_DECIMALS = 10 # Number of decimal digits to be displayed or limited ([0 - 6] REAL, [0 - 15] LREAL)
SCIENT_NOTATION = No # Scientific notation for REAL and LREAL (Yes = scientific [-]d.ddd e[+/-]ddd, No = normal [-]ddd.ddd)
SERIAL_DEVICE_CFG = "/dev/ttyS0 -1, /dev/ttyS1 -1" # (Device_name RTS_gpio_pin_number)
#[Alias for PLC]
#IPADDR = IP address of PLC
#IPADDR_LOCAL = IP address of selected network interface (0.0.0.0 - any interface).
#EPSADDR = EPSNET source address (1 - 126). If not set, will be generated automatically.
#EPSTOUT = EPSNET timeout ([1 - 15000]ms). If not set, will be used default value 1000ms.
#EPSTOUT_STEP = EPSNET timeout step ([0 - 5000]ms). If not set, will be used default value 500ms.
#EPSPORT = EPSNET communication port. Useful for service TECOROUTE. If not set, will be used default value 61682.
#SERVER_PORT = Number of TCP port on computer where server listening
#SERIAL_DEVICE = Name of serial line
#SERIAL_SPEED = Communication speed for serial line
#SERIAL_RTS = Number of GPIO pin for flow control. If not set, hardware flow control will be used.
#SHM_NAME = Name of shared module (library *.dll or *.so)
#SHM_SOCKET = Number of socket for connection to shared module
#SHM_PORT = Number of port for connection to shared module
#PUBFILE_CRC = Yes/No Check public file CRC
#PUBFILE_WRITE = Yes/No Write public file to local disk
#PUBFILE = Name of public file
#PUBFILE_FIXED = Name of fixed public file
[Foxtrot]
IPADDR = 192.168.134.177
SERVER_PORT = 5011
PUBFILE_CRC = Yes
PUBFILE_WRITE = No
PUBFILE_FIXED = FIXED_Foxtrot.pub
PUBFILE = //www/webmaker.pub