GVL_CONSTANT
(GVL)
- Attributes:
qualified_only
- InOut:
Scope
Name
Type
Initial
Comment
Constant
CLIENT_NAME
STRING
‘VisuRedundCLIENT’
Client name
SERVER_NAME
STRING
‘VisuRedundSERVER’
Server name
LIB_NAME
STRING
‘VisuRedund’
Library name
CLIENT_SIDE
STRING
‘(Client)’
Used in log
SERVER_SIDE
STRING
‘(Server)’
used in log
VISUOPQUEUE
STRING
‘(VisuOpQueue)’
used in log
PERSISTENCE
STRING
‘(Persistence)’
used in log
LINE_TCP
INT
0
Use TCP
LINE_MAX
INT
LINE_TCP
LINE_UDP : INT := 1; // Use UDP (future implementation ?)
MAX_CLIENT_HANDLING
INT
20
Max client to handle in one shot
MAX_VARCHG_HANDLING
INT
20
Max variable change in one shot
INVALID_EXTERNAL_ID
DWORD
16#FFFFFFFF
CMD_PEER_IPV4
DWORD
(VisuElemBase.Visu_Paint_Cmds_Globals.VISU_CMD_REDUNDANCY_START + 0)
Commands used in the “paint buffer” to send parameters to web client
CMD_TICKET
DWORD
(VisuElemBase.Visu_Paint_Cmds_Globals.VISU_CMD_REDUNDANCY_START + 1)
CMD_REDUND_ID
DWORD
(VisuElemBase.Visu_Paint_Cmds_Globals.VISU_CMD_REDUNDANCY_START + 2)
INIT_ACTIVITIES_DONE
TIME
TIME#3s0ms
INIT_ACTIVITIES_DONE_MAX
TIME
TIME#10s0ms
TAG_SIZE
INT
3
THUMB_SIZE
INT
20
THUMB_STRING_SIZE
INT
(THUMB_SIZE * 2)
SECT_NAME
STRING
‘VisuRedundancy’
Entries in cfg file
SECT_ENTRY_LINE
STRING
‘LineType’
SECT_ENTRY_CMDREP
STRING
‘CmdRepeat’
SECT_ENTRY_RCV_TOUT_CL
STRING
‘ClientRcvTimeout’
SECT_ENTRY_TRS_TOUT_CL
STRING
‘ClientTrsTimeout’
SECT_ENTRY_RCV_TOUT_SV
STRING
‘ServerRcvTimeout’
SECT_ENTRY_TRS_TOUT_SV
STRING
‘ServerTrsTimeout’
SECT_ENTRY_HBT
STRING
‘HeartBeatTime’
SECT_ENTRY_WEB_TOUT
STRING
‘WebVisuCmdTimeout’
SECT_NAME_TCP
STRING
‘VisuRedundancyTCP’
SECT_TCP_USE_PEER
STRING
‘UseRedundParam’
SECT_TCP_IP_SO
STRING
‘IpAddressSwitchOver’
SECT_TCP_PORT_SO
STRING
‘PortSwitchOver’
SECT_TCP_CONNLBTOUT
STRING
‘ConnLineBreakTimeout’
SECT_TCP_CONNACTTOUT
STRING
‘ConnActiveTimeout’
SECT_TCP_TLS
STRING
‘UseTLS’
SECT_TCP_CERTTHUMB
STRING
‘Thumbprint’
SECT_TCP_CERTTHUMB_PEER
STRING
‘ThumbprintPeer’
SECT_TCP_CERTTHUMB_OLD
STRING
‘ThumbprintOLD’
SECT_TCP_CERTTHUMB_PEER_OLD
STRING
‘ThumbprintPeerOLD’
SECT_ENTRY_IP_LOCAL
STRING
‘Link1.IpAddressLocal’
SECT_ENTRY_IP_PEER
STRING
‘Link1.IpAddressPeer’
SECT_ENTRY_TCP_PORT
STRING
‘Link1.Port’
SECT_ENTRY_PLC_IDENT
STRING
‘PlcIdent’
SECT_ENTRY_TIMEOUT
STRING
‘StandbyWaitTime’
COMP_REDUND_NAME
STRING
‘CmpRedundancyConnectionIP’
COMP_REDUND_NAME2
STRING
‘CmpRedundancy’
TIME_CHECK_CERT
TIME
TIME#1m0s0ms
How often check if the certificate renew has to be done
TIME_CHECK_CERT_IN_TEST
TIME
TIME#2s0ms
when is running under test condition
STATE_NO
INT
0
States of certificate renewal
STATE_RENEW
INT
1
Renew
STATE_RENEW_DONE
INT
2
Renew
STATE_CFG
INT
3
Write config file
STATE_ACK
INT
4
Ack with server
STATE_BOOT
INT
5
boot new TLS session
STTLS_BOOT_NO
INT
0
States of TLS boot
STTLS_BOOT
INT
1
boot new TLS session
STTLS_BOOT_WAIT
INT
2
wait the boot condition
STTLS_BOOT_SET
INT
3
set the new certificate