Workbackup
This commit is contained in:
140
Logical/Comm/AsUDP/AsUDP.fun
Normal file
140
Logical/Comm/AsUDP/AsUDP.fun
Normal file
@@ -0,0 +1,140 @@
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpOpen (*opens a UDP port; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
pIfAddr : UDINT; (*pointer to the IP address of the ethernet interface where the UDP socket should be connected*)
|
||||
port : UINT; (*port number that the UDP socket should connect to*)
|
||||
options : UDINT; (*options that can be set during opening, e.g., udpOPT_REUSEADDR*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
ident : UDINT; (*identifier used for all other UDP FBKs as an input parameter*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpClose (*closes a UDP port and frees up all required resources; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
ident : UDINT; (*identifier returned from UdpOpen*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpConnect (*connects a UDP port to an opposite station; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
ident : UDINT; (*identifier returned from UdpOpen*)
|
||||
pHost : UDINT; (*pointer to the ip address of the receiver*)
|
||||
port : UINT; (*port number of the receiver*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpDisconnect (*connects a UDP port and the opposite station; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
ident : UDINT; (*identifier returned from UdpOpen*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpSend (*sends udp datagrams; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
ident : UDINT; (*identifier returned from UdpOpen*)
|
||||
pHost : UDINT; (*pointer to the ip address or name of the receiver*)
|
||||
port : UINT; (*port number of the receiver*)
|
||||
pData : UDINT; (*pointer to the send datagram*)
|
||||
datalen : UDINT; (*length of send datagram*)
|
||||
flags : UDINT; (*send flags*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
sentlen : UDINT; (*number of bytes sent*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpRecv (*receives udp datagrams; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
ident : UDINT; (*identifier returned from UdpOpen*)
|
||||
pData : UDINT; (*pointer to the buffer where to store received datagram*)
|
||||
datamax : UDINT; (*buffer size (max. length of received datagram)*)
|
||||
flags : UDINT; (*receive flags*)
|
||||
pIpAddr : UDINT; (*pointer where to store the ip address of the sender*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
recvlen : UDINT; (*lentgh of received datagram*)
|
||||
port : UINT; (*port number of transmitter*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
|
||||
{REDUND_CONTEXT} {REDUND_UNREPLICABLE} FUNCTION_BLOCK UdpIoctl (*changes or retrieves settings; asynchronous execution*)
|
||||
VAR_INPUT
|
||||
enable : BOOL; (*enables execution*)
|
||||
ident : UDINT; (*identifier returned from UdpOpen*)
|
||||
ioctl : UDINT; (*io control code*)
|
||||
pData : UDINT; (*pointer to the input/output data buffer*)
|
||||
datalen : UDINT; (*lentgh of io control input data*)
|
||||
END_VAR
|
||||
|
||||
VAR_OUTPUT
|
||||
status : UINT; (*execution status: ERR_OK, ERR_FUB_ENABLE_FALSE, ERR_FUB_BUSY, 0xXXXX = see help*)
|
||||
outlen : UDINT; (*length of the input data or maximum length of the output data*)
|
||||
END_VAR
|
||||
|
||||
VAR
|
||||
i_state : UINT; (*internal variable*)
|
||||
i_result : UINT; (*internal variable*)
|
||||
i_tmp : UDINT; (*internal variable*)
|
||||
END_VAR
|
||||
END_FUNCTION_BLOCK
|
||||
12
Logical/Comm/AsUDP/AsUDP.typ
Normal file
12
Logical/Comm/AsUDP/AsUDP.typ
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
TYPE
|
||||
udpIP_MREQ_typ : STRUCT (*multicast*)
|
||||
pMcastAddr : UDINT; (*pointer to the multicast address*)
|
||||
pIfAddr : UDINT; (*pointer to the interface address*)
|
||||
END_STRUCT;
|
||||
|
||||
udpSO_ADDRESS_typ : STRUCT (*socket address*)
|
||||
pPort : UDINT; (*pointer where to store the portnumber*)
|
||||
pIpAddr : UDINT; (*pointer where to store the socket ip address*)
|
||||
END_STRUCT;
|
||||
END_TYPE
|
||||
59
Logical/Comm/AsUDP/AsUDP.var
Normal file
59
Logical/Comm/AsUDP/AsUDP.var
Normal file
@@ -0,0 +1,59 @@
|
||||
|
||||
VAR CONSTANT
|
||||
udpERR_INVALID_IDENT : UINT := 32500; (*invalid ident*)
|
||||
udpERR_NOMORE_IDENTS : UINT := 32501; (*no more idents*)
|
||||
udpERR_ALREADY_EXIST : UINT := 32502; (*socket already exists*)
|
||||
udpERR_PARAMETER : UINT := 32503; (*invalid parameter, check parameter*)
|
||||
udpERR_INVALID_IOCTL : UINT := 32504; (*io control not supported*)
|
||||
udpERR_NO_DATA : UINT := 32505; (*no data to receive*)
|
||||
udpERR_SENTLEN : UINT := 32506; (*send failed*)
|
||||
udpERR_WOULDBLOCK : UINT := 32507; (*would block, call again*)
|
||||
udpERR_CONNREFUSED : UINT := 32508; (*connection refused*)
|
||||
udpERR_ACCESS : UINT := 32509; (*send broadcast failed (broadcast option not set)*)
|
||||
udpERR_UNREACHABLE : UINT := 32510; (*network/host is unreachable*)
|
||||
udpERR_INTERFACE : UINT := 32511; (*illegal inetrafce*)
|
||||
udpERR_FIREWALL : UINT := 32512; (*blocked by firewall*)
|
||||
|
||||
udpERR_SOCKET_CREATE : UINT := 32550; (*create socket failed*)
|
||||
udpERR_SOCKET_BIND : UINT := 32551; (*bind socket failed*)
|
||||
udpERR_SOCKET_CONNECT : UINT := 32552; (*connect socket failed*)
|
||||
|
||||
udpERR_SYSTEM : UINT := 32599; (*system error*)
|
||||
|
||||
udpSO_BROADCAST_SET : UDINT := 1001; (*set option broadcast (true/false)*)
|
||||
udpSO_BROADCAST_GET : UDINT := 1002; (*get option broadcast*)
|
||||
udpSO_SNDBUF_SET : UDINT := 1003; (*set option send buffer*)
|
||||
udpSO_SNDBUF_GET : UDINT := 1004; (*get option send buffer*)
|
||||
udpSO_RCVBUF_SET : UDINT := 1005; (*set option receive buffer*)
|
||||
udpSO_RCVBUF_GET : UDINT := 1006; (*get option receive buffer*)
|
||||
udpSO_ADDRESS_GET : UDINT := 1007; (*get socket address*)
|
||||
udpSO_BINDTODEVICE : UDINT := 1008; (*bind socket to device*)
|
||||
udpIP_ADD_MEMBERSHIP : UDINT := 2001; (*add multicast group*)
|
||||
udpIP_DROP_MEMBERSHIP : UDINT := 2002; (*leave multicast group*)
|
||||
udpIP_MULTICAST_IF_SET : UDINT := 2003; (*set interface for outgoing multicats*)
|
||||
udpIP_MULTICAST_IF_GET : UDINT := 2004; (*get interface for outgoing multicats*)
|
||||
udpIP_MULTICAST_TTL_SET : UDINT := 2005; (*set time to life for outgoing multicats*)
|
||||
udpIP_MULTICAST_TTL_GET : UDINT := 2006; (*get time to life for outgoing multicats*)
|
||||
udpIP_MULTICAST_LOOP_SET : UDINT := 2007; (*set wether or not loopback multicats*)
|
||||
udpIP_MULTICAST_LOOP_GET : UDINT := 2008; (*get loopback multicats*)
|
||||
udpIP_TOS_SET : UDINT := 2009; (*set type of service field for outgoing packets*)
|
||||
udpIP_TOS_GET : UDINT := 2010; (*get type of service field for outgoing packets*)
|
||||
udpIP_TTL_SET : UDINT := 2011; (*set time to live field for outgoing packets*)
|
||||
udpIP_TTL_GET : UDINT := 2012; (*get time to live field for outgoing packets*)
|
||||
udpID_LIST_GET : UDINT := 3001; (*get ident list*)
|
||||
udpID_MAX_GET : UDINT := 3002; (*get max ident count*)
|
||||
|
||||
udpMSG_PEEK : UDINT := 1; (*don't remove data from socket (receive)*)
|
||||
udpMSG_DONTROUTE : UDINT := 2; (*message don't route (send)*)
|
||||
|
||||
udpOPT_REUSEADDR : UDINT := 1; (*option reuse address*)
|
||||
udpOPT_REUSEPORT : UDINT := 2; (*option reuse port*)
|
||||
udpOPT_BROADCAST : UDINT := 4; (*option enable broadcast*)
|
||||
|
||||
udpIP_TOS_LOWDELAY : UDINT := 16; (*type of service priority low delay*)
|
||||
udpIP_TOS_THROUGHPUT : UDINT := 8; (*type of service priority throughput*)
|
||||
udpIP_TOS_RELIABILITY : UDINT := 4; (*type of service priority reliability*)
|
||||
udpIP_TOS_MINCOST : UDINT := 2; (*type of service priority mincost*)
|
||||
|
||||
udpINVALID_IDENT : UDINT := 0; (*invlaid ident*)
|
||||
END_VAR
|
||||
268
Logical/Comm/AsUDP/SG3/AsUDP.h
Normal file
268
Logical/Comm/AsUDP/SG3/AsUDP.h
Normal file
@@ -0,0 +1,268 @@
|
||||
/* Automation Studio generated header file */
|
||||
/* Do not edit ! */
|
||||
|
||||
#ifndef _ASUDP_
|
||||
#define _ASUDP_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <bur/plctypes.h>
|
||||
|
||||
#include <runtime.h>
|
||||
|
||||
#ifndef _IEC_CONST
|
||||
#define _IEC_CONST _WEAK const
|
||||
#endif
|
||||
|
||||
/* Constants */
|
||||
#ifdef _REPLACE_CONST
|
||||
#define udpINVALID_IDENT 0U
|
||||
#define udpIP_TOS_MINCOST 2U
|
||||
#define udpIP_TOS_RELIABILITY 4U
|
||||
#define udpIP_TOS_THROUGHPUT 8U
|
||||
#define udpIP_TOS_LOWDELAY 16U
|
||||
#define udpOPT_BROADCAST 4U
|
||||
#define udpOPT_REUSEPORT 2U
|
||||
#define udpOPT_REUSEADDR 1U
|
||||
#define udpMSG_DONTROUTE 2U
|
||||
#define udpMSG_PEEK 1U
|
||||
#define udpID_MAX_GET 3002U
|
||||
#define udpID_LIST_GET 3001U
|
||||
#define udpIP_TTL_GET 2012U
|
||||
#define udpIP_TTL_SET 2011U
|
||||
#define udpIP_TOS_GET 2010U
|
||||
#define udpIP_TOS_SET 2009U
|
||||
#define udpIP_MULTICAST_LOOP_GET 2008U
|
||||
#define udpIP_MULTICAST_LOOP_SET 2007U
|
||||
#define udpIP_MULTICAST_TTL_GET 2006U
|
||||
#define udpIP_MULTICAST_TTL_SET 2005U
|
||||
#define udpIP_MULTICAST_IF_GET 2004U
|
||||
#define udpIP_MULTICAST_IF_SET 2003U
|
||||
#define udpIP_DROP_MEMBERSHIP 2002U
|
||||
#define udpIP_ADD_MEMBERSHIP 2001U
|
||||
#define udpSO_ADDRESS_GET 1007U
|
||||
#define udpSO_RCVBUF_GET 1006U
|
||||
#define udpSO_RCVBUF_SET 1005U
|
||||
#define udpSO_SNDBUF_GET 1004U
|
||||
#define udpSO_SNDBUF_SET 1003U
|
||||
#define udpSO_BROADCAST_GET 1002U
|
||||
#define udpSO_BROADCAST_SET 1001U
|
||||
#define udpERR_SYSTEM 32599U
|
||||
#define udpERR_SOCKET_CONNECT 32552U
|
||||
#define udpERR_SOCKET_BIND 32551U
|
||||
#define udpERR_SOCKET_CREATE 32550U
|
||||
#define udpERR_INTERFACE 32511U
|
||||
#define udpERR_UNREACHABLE 32510U
|
||||
#define udpERR_ACCESS 32509U
|
||||
#define udpERR_CONNREFUSED 32508U
|
||||
#define udpERR_WOULDBLOCK 32507U
|
||||
#define udpERR_SENTLEN 32506U
|
||||
#define udpERR_NO_DATA 32505U
|
||||
#define udpERR_INVALID_IOCTL 32504U
|
||||
#define udpERR_PARAMETER 32503U
|
||||
#define udpERR_ALREADY_EXIST 32502U
|
||||
#define udpERR_NOMORE_IDENTS 32501U
|
||||
#define udpERR_INVALID_IDENT 32500U
|
||||
#else
|
||||
_IEC_CONST unsigned long udpINVALID_IDENT = 0U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_MINCOST = 2U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_RELIABILITY = 4U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_THROUGHPUT = 8U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_LOWDELAY = 16U;
|
||||
_IEC_CONST unsigned long udpOPT_BROADCAST = 4U;
|
||||
_IEC_CONST unsigned long udpOPT_REUSEPORT = 2U;
|
||||
_IEC_CONST unsigned long udpOPT_REUSEADDR = 1U;
|
||||
_IEC_CONST unsigned long udpMSG_DONTROUTE = 2U;
|
||||
_IEC_CONST unsigned long udpMSG_PEEK = 1U;
|
||||
_IEC_CONST unsigned long udpID_MAX_GET = 3002U;
|
||||
_IEC_CONST unsigned long udpID_LIST_GET = 3001U;
|
||||
_IEC_CONST unsigned long udpIP_TTL_GET = 2012U;
|
||||
_IEC_CONST unsigned long udpIP_TTL_SET = 2011U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_GET = 2010U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_SET = 2009U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_LOOP_GET = 2008U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_LOOP_SET = 2007U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_TTL_GET = 2006U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_TTL_SET = 2005U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_IF_GET = 2004U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_IF_SET = 2003U;
|
||||
_IEC_CONST unsigned long udpIP_DROP_MEMBERSHIP = 2002U;
|
||||
_IEC_CONST unsigned long udpIP_ADD_MEMBERSHIP = 2001U;
|
||||
_IEC_CONST unsigned long udpSO_ADDRESS_GET = 1007U;
|
||||
_IEC_CONST unsigned long udpSO_RCVBUF_GET = 1006U;
|
||||
_IEC_CONST unsigned long udpSO_RCVBUF_SET = 1005U;
|
||||
_IEC_CONST unsigned long udpSO_SNDBUF_GET = 1004U;
|
||||
_IEC_CONST unsigned long udpSO_SNDBUF_SET = 1003U;
|
||||
_IEC_CONST unsigned long udpSO_BROADCAST_GET = 1002U;
|
||||
_IEC_CONST unsigned long udpSO_BROADCAST_SET = 1001U;
|
||||
_IEC_CONST unsigned short udpERR_SYSTEM = 32599U;
|
||||
_IEC_CONST unsigned short udpERR_SOCKET_CONNECT = 32552U;
|
||||
_IEC_CONST unsigned short udpERR_SOCKET_BIND = 32551U;
|
||||
_IEC_CONST unsigned short udpERR_SOCKET_CREATE = 32550U;
|
||||
_IEC_CONST unsigned short udpERR_INTERFACE = 32511U;
|
||||
_IEC_CONST unsigned short udpERR_UNREACHABLE = 32510U;
|
||||
_IEC_CONST unsigned short udpERR_ACCESS = 32509U;
|
||||
_IEC_CONST unsigned short udpERR_CONNREFUSED = 32508U;
|
||||
_IEC_CONST unsigned short udpERR_WOULDBLOCK = 32507U;
|
||||
_IEC_CONST unsigned short udpERR_SENTLEN = 32506U;
|
||||
_IEC_CONST unsigned short udpERR_NO_DATA = 32505U;
|
||||
_IEC_CONST unsigned short udpERR_INVALID_IOCTL = 32504U;
|
||||
_IEC_CONST unsigned short udpERR_PARAMETER = 32503U;
|
||||
_IEC_CONST unsigned short udpERR_ALREADY_EXIST = 32502U;
|
||||
_IEC_CONST unsigned short udpERR_NOMORE_IDENTS = 32501U;
|
||||
_IEC_CONST unsigned short udpERR_INVALID_IDENT = 32500U;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
/* Datatypes and datatypes of function blocks */
|
||||
typedef struct udpIP_MREQ_typ
|
||||
{ unsigned long pMcastAddr;
|
||||
unsigned long pIfAddr;
|
||||
} udpIP_MREQ_typ;
|
||||
|
||||
typedef struct udpSO_ADDRESS_typ
|
||||
{ unsigned long pPort;
|
||||
unsigned long pIpAddr;
|
||||
} udpSO_ADDRESS_typ;
|
||||
|
||||
typedef struct UdpOpen
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long pIfAddr;
|
||||
unsigned short port;
|
||||
unsigned long options;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long ident;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpOpen_typ;
|
||||
|
||||
typedef struct UdpClose
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpClose_typ;
|
||||
|
||||
typedef struct UdpConnect
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pHost;
|
||||
unsigned short port;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpConnect_typ;
|
||||
|
||||
typedef struct UdpDisconnect
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpDisconnect_typ;
|
||||
|
||||
typedef struct UdpSend
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pHost;
|
||||
unsigned short port;
|
||||
unsigned long pData;
|
||||
unsigned long datalen;
|
||||
unsigned long flags;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long sentlen;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpSend_typ;
|
||||
|
||||
typedef struct UdpRecv
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pData;
|
||||
unsigned long datamax;
|
||||
unsigned long flags;
|
||||
unsigned long pIpAddr;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long recvlen;
|
||||
unsigned short port;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpRecv_typ;
|
||||
|
||||
typedef struct UdpIoctl
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long ioctl;
|
||||
unsigned long pData;
|
||||
unsigned long datalen;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long outlen;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpIoctl_typ;
|
||||
|
||||
|
||||
|
||||
/* Prototyping of functions and function blocks */
|
||||
void UdpOpen(struct UdpOpen* inst);
|
||||
void UdpClose(struct UdpClose* inst);
|
||||
void UdpConnect(struct UdpConnect* inst);
|
||||
void UdpDisconnect(struct UdpDisconnect* inst);
|
||||
void UdpSend(struct UdpSend* inst);
|
||||
void UdpRecv(struct UdpRecv* inst);
|
||||
void UdpIoctl(struct UdpIoctl* inst);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* _ASUDP_ */
|
||||
|
||||
|
||||
273
Logical/Comm/AsUDP/SG4/AsUDP.h
Normal file
273
Logical/Comm/AsUDP/SG4/AsUDP.h
Normal file
@@ -0,0 +1,273 @@
|
||||
/* Automation Studio generated header file */
|
||||
/* Do not edit ! */
|
||||
|
||||
#ifndef _ASUDP_
|
||||
#define _ASUDP_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <bur/plctypes.h>
|
||||
|
||||
#include <runtime.h>
|
||||
|
||||
#ifndef _BUR_PUBLIC
|
||||
#define _BUR_PUBLIC
|
||||
#endif
|
||||
/* Constants */
|
||||
#ifdef _REPLACE_CONST
|
||||
#define udpINVALID_IDENT 0U
|
||||
#define udpIP_TOS_MINCOST 2U
|
||||
#define udpIP_TOS_RELIABILITY 4U
|
||||
#define udpIP_TOS_THROUGHPUT 8U
|
||||
#define udpIP_TOS_LOWDELAY 16U
|
||||
#define udpOPT_BROADCAST 4U
|
||||
#define udpOPT_REUSEPORT 2U
|
||||
#define udpOPT_REUSEADDR 1U
|
||||
#define udpMSG_DONTROUTE 2U
|
||||
#define udpMSG_PEEK 1U
|
||||
#define udpID_MAX_GET 3002U
|
||||
#define udpID_LIST_GET 3001U
|
||||
#define udpIP_TTL_GET 2012U
|
||||
#define udpIP_TTL_SET 2011U
|
||||
#define udpIP_TOS_GET 2010U
|
||||
#define udpIP_TOS_SET 2009U
|
||||
#define udpIP_MULTICAST_LOOP_GET 2008U
|
||||
#define udpIP_MULTICAST_LOOP_SET 2007U
|
||||
#define udpIP_MULTICAST_TTL_GET 2006U
|
||||
#define udpIP_MULTICAST_TTL_SET 2005U
|
||||
#define udpIP_MULTICAST_IF_GET 2004U
|
||||
#define udpIP_MULTICAST_IF_SET 2003U
|
||||
#define udpIP_DROP_MEMBERSHIP 2002U
|
||||
#define udpIP_ADD_MEMBERSHIP 2001U
|
||||
#define udpSO_BINDTODEVICE 1008U
|
||||
#define udpSO_ADDRESS_GET 1007U
|
||||
#define udpSO_RCVBUF_GET 1006U
|
||||
#define udpSO_RCVBUF_SET 1005U
|
||||
#define udpSO_SNDBUF_GET 1004U
|
||||
#define udpSO_SNDBUF_SET 1003U
|
||||
#define udpSO_BROADCAST_GET 1002U
|
||||
#define udpSO_BROADCAST_SET 1001U
|
||||
#define udpERR_SYSTEM 32599U
|
||||
#define udpERR_SOCKET_CONNECT 32552U
|
||||
#define udpERR_SOCKET_BIND 32551U
|
||||
#define udpERR_SOCKET_CREATE 32550U
|
||||
#define udpERR_FIREWALL 32512U
|
||||
#define udpERR_INTERFACE 32511U
|
||||
#define udpERR_UNREACHABLE 32510U
|
||||
#define udpERR_ACCESS 32509U
|
||||
#define udpERR_CONNREFUSED 32508U
|
||||
#define udpERR_WOULDBLOCK 32507U
|
||||
#define udpERR_SENTLEN 32506U
|
||||
#define udpERR_NO_DATA 32505U
|
||||
#define udpERR_INVALID_IOCTL 32504U
|
||||
#define udpERR_PARAMETER 32503U
|
||||
#define udpERR_ALREADY_EXIST 32502U
|
||||
#define udpERR_NOMORE_IDENTS 32501U
|
||||
#define udpERR_INVALID_IDENT 32500U
|
||||
#else
|
||||
#ifndef _GLOBAL_CONST
|
||||
#define _GLOBAL_CONST _WEAK const
|
||||
#endif
|
||||
_GLOBAL_CONST unsigned long udpINVALID_IDENT;
|
||||
_GLOBAL_CONST unsigned long udpIP_TOS_MINCOST;
|
||||
_GLOBAL_CONST unsigned long udpIP_TOS_RELIABILITY;
|
||||
_GLOBAL_CONST unsigned long udpIP_TOS_THROUGHPUT;
|
||||
_GLOBAL_CONST unsigned long udpIP_TOS_LOWDELAY;
|
||||
_GLOBAL_CONST unsigned long udpOPT_BROADCAST;
|
||||
_GLOBAL_CONST unsigned long udpOPT_REUSEPORT;
|
||||
_GLOBAL_CONST unsigned long udpOPT_REUSEADDR;
|
||||
_GLOBAL_CONST unsigned long udpMSG_DONTROUTE;
|
||||
_GLOBAL_CONST unsigned long udpMSG_PEEK;
|
||||
_GLOBAL_CONST unsigned long udpID_MAX_GET;
|
||||
_GLOBAL_CONST unsigned long udpID_LIST_GET;
|
||||
_GLOBAL_CONST unsigned long udpIP_TTL_GET;
|
||||
_GLOBAL_CONST unsigned long udpIP_TTL_SET;
|
||||
_GLOBAL_CONST unsigned long udpIP_TOS_GET;
|
||||
_GLOBAL_CONST unsigned long udpIP_TOS_SET;
|
||||
_GLOBAL_CONST unsigned long udpIP_MULTICAST_LOOP_GET;
|
||||
_GLOBAL_CONST unsigned long udpIP_MULTICAST_LOOP_SET;
|
||||
_GLOBAL_CONST unsigned long udpIP_MULTICAST_TTL_GET;
|
||||
_GLOBAL_CONST unsigned long udpIP_MULTICAST_TTL_SET;
|
||||
_GLOBAL_CONST unsigned long udpIP_MULTICAST_IF_GET;
|
||||
_GLOBAL_CONST unsigned long udpIP_MULTICAST_IF_SET;
|
||||
_GLOBAL_CONST unsigned long udpIP_DROP_MEMBERSHIP;
|
||||
_GLOBAL_CONST unsigned long udpIP_ADD_MEMBERSHIP;
|
||||
_GLOBAL_CONST unsigned long udpSO_BINDTODEVICE;
|
||||
_GLOBAL_CONST unsigned long udpSO_ADDRESS_GET;
|
||||
_GLOBAL_CONST unsigned long udpSO_RCVBUF_GET;
|
||||
_GLOBAL_CONST unsigned long udpSO_RCVBUF_SET;
|
||||
_GLOBAL_CONST unsigned long udpSO_SNDBUF_GET;
|
||||
_GLOBAL_CONST unsigned long udpSO_SNDBUF_SET;
|
||||
_GLOBAL_CONST unsigned long udpSO_BROADCAST_GET;
|
||||
_GLOBAL_CONST unsigned long udpSO_BROADCAST_SET;
|
||||
_GLOBAL_CONST unsigned short udpERR_SYSTEM;
|
||||
_GLOBAL_CONST unsigned short udpERR_SOCKET_CONNECT;
|
||||
_GLOBAL_CONST unsigned short udpERR_SOCKET_BIND;
|
||||
_GLOBAL_CONST unsigned short udpERR_SOCKET_CREATE;
|
||||
_GLOBAL_CONST unsigned short udpERR_FIREWALL;
|
||||
_GLOBAL_CONST unsigned short udpERR_INTERFACE;
|
||||
_GLOBAL_CONST unsigned short udpERR_UNREACHABLE;
|
||||
_GLOBAL_CONST unsigned short udpERR_ACCESS;
|
||||
_GLOBAL_CONST unsigned short udpERR_CONNREFUSED;
|
||||
_GLOBAL_CONST unsigned short udpERR_WOULDBLOCK;
|
||||
_GLOBAL_CONST unsigned short udpERR_SENTLEN;
|
||||
_GLOBAL_CONST unsigned short udpERR_NO_DATA;
|
||||
_GLOBAL_CONST unsigned short udpERR_INVALID_IOCTL;
|
||||
_GLOBAL_CONST unsigned short udpERR_PARAMETER;
|
||||
_GLOBAL_CONST unsigned short udpERR_ALREADY_EXIST;
|
||||
_GLOBAL_CONST unsigned short udpERR_NOMORE_IDENTS;
|
||||
_GLOBAL_CONST unsigned short udpERR_INVALID_IDENT;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
/* Datatypes and datatypes of function blocks */
|
||||
typedef struct udpIP_MREQ_typ
|
||||
{ unsigned long pMcastAddr;
|
||||
unsigned long pIfAddr;
|
||||
} udpIP_MREQ_typ;
|
||||
|
||||
typedef struct udpSO_ADDRESS_typ
|
||||
{ unsigned long pPort;
|
||||
unsigned long pIpAddr;
|
||||
} udpSO_ADDRESS_typ;
|
||||
|
||||
typedef struct UdpOpen
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long pIfAddr;
|
||||
unsigned short port;
|
||||
unsigned long options;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long ident;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpOpen_typ;
|
||||
|
||||
typedef struct UdpClose
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpClose_typ;
|
||||
|
||||
typedef struct UdpConnect
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pHost;
|
||||
unsigned short port;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpConnect_typ;
|
||||
|
||||
typedef struct UdpDisconnect
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpDisconnect_typ;
|
||||
|
||||
typedef struct UdpSend
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pHost;
|
||||
unsigned short port;
|
||||
unsigned long pData;
|
||||
unsigned long datalen;
|
||||
unsigned long flags;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long sentlen;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpSend_typ;
|
||||
|
||||
typedef struct UdpRecv
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pData;
|
||||
unsigned long datamax;
|
||||
unsigned long flags;
|
||||
unsigned long pIpAddr;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long recvlen;
|
||||
unsigned short port;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpRecv_typ;
|
||||
|
||||
typedef struct UdpIoctl
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long ioctl;
|
||||
unsigned long pData;
|
||||
unsigned long datalen;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long outlen;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpIoctl_typ;
|
||||
|
||||
|
||||
|
||||
/* Prototyping of functions and function blocks */
|
||||
_BUR_PUBLIC void UdpOpen(struct UdpOpen* inst);
|
||||
_BUR_PUBLIC void UdpClose(struct UdpClose* inst);
|
||||
_BUR_PUBLIC void UdpConnect(struct UdpConnect* inst);
|
||||
_BUR_PUBLIC void UdpDisconnect(struct UdpDisconnect* inst);
|
||||
_BUR_PUBLIC void UdpSend(struct UdpSend* inst);
|
||||
_BUR_PUBLIC void UdpRecv(struct UdpRecv* inst);
|
||||
_BUR_PUBLIC void UdpIoctl(struct UdpIoctl* inst);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* _ASUDP_ */
|
||||
|
||||
268
Logical/Comm/AsUDP/SGC/AsUDP.h
Normal file
268
Logical/Comm/AsUDP/SGC/AsUDP.h
Normal file
@@ -0,0 +1,268 @@
|
||||
/* Automation Studio generated header file */
|
||||
/* Do not edit ! */
|
||||
|
||||
#ifndef _ASUDP_
|
||||
#define _ASUDP_
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include <bur/plctypes.h>
|
||||
|
||||
#include <runtime.h>
|
||||
|
||||
#ifndef _IEC_CONST
|
||||
#define _IEC_CONST _WEAK const
|
||||
#endif
|
||||
|
||||
/* Constants */
|
||||
#ifdef _REPLACE_CONST
|
||||
#define udpINVALID_IDENT 0U
|
||||
#define udpIP_TOS_MINCOST 2U
|
||||
#define udpIP_TOS_RELIABILITY 4U
|
||||
#define udpIP_TOS_THROUGHPUT 8U
|
||||
#define udpIP_TOS_LOWDELAY 16U
|
||||
#define udpOPT_BROADCAST 4U
|
||||
#define udpOPT_REUSEPORT 2U
|
||||
#define udpOPT_REUSEADDR 1U
|
||||
#define udpMSG_DONTROUTE 2U
|
||||
#define udpMSG_PEEK 1U
|
||||
#define udpID_MAX_GET 3002U
|
||||
#define udpID_LIST_GET 3001U
|
||||
#define udpIP_TTL_GET 2012U
|
||||
#define udpIP_TTL_SET 2011U
|
||||
#define udpIP_TOS_GET 2010U
|
||||
#define udpIP_TOS_SET 2009U
|
||||
#define udpIP_MULTICAST_LOOP_GET 2008U
|
||||
#define udpIP_MULTICAST_LOOP_SET 2007U
|
||||
#define udpIP_MULTICAST_TTL_GET 2006U
|
||||
#define udpIP_MULTICAST_TTL_SET 2005U
|
||||
#define udpIP_MULTICAST_IF_GET 2004U
|
||||
#define udpIP_MULTICAST_IF_SET 2003U
|
||||
#define udpIP_DROP_MEMBERSHIP 2002U
|
||||
#define udpIP_ADD_MEMBERSHIP 2001U
|
||||
#define udpSO_ADDRESS_GET 1007U
|
||||
#define udpSO_RCVBUF_GET 1006U
|
||||
#define udpSO_RCVBUF_SET 1005U
|
||||
#define udpSO_SNDBUF_GET 1004U
|
||||
#define udpSO_SNDBUF_SET 1003U
|
||||
#define udpSO_BROADCAST_GET 1002U
|
||||
#define udpSO_BROADCAST_SET 1001U
|
||||
#define udpERR_SYSTEM 32599U
|
||||
#define udpERR_SOCKET_CONNECT 32552U
|
||||
#define udpERR_SOCKET_BIND 32551U
|
||||
#define udpERR_SOCKET_CREATE 32550U
|
||||
#define udpERR_INTERFACE 32511U
|
||||
#define udpERR_UNREACHABLE 32510U
|
||||
#define udpERR_ACCESS 32509U
|
||||
#define udpERR_CONNREFUSED 32508U
|
||||
#define udpERR_WOULDBLOCK 32507U
|
||||
#define udpERR_SENTLEN 32506U
|
||||
#define udpERR_NO_DATA 32505U
|
||||
#define udpERR_INVALID_IOCTL 32504U
|
||||
#define udpERR_PARAMETER 32503U
|
||||
#define udpERR_ALREADY_EXIST 32502U
|
||||
#define udpERR_NOMORE_IDENTS 32501U
|
||||
#define udpERR_INVALID_IDENT 32500U
|
||||
#else
|
||||
_IEC_CONST unsigned long udpINVALID_IDENT = 0U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_MINCOST = 2U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_RELIABILITY = 4U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_THROUGHPUT = 8U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_LOWDELAY = 16U;
|
||||
_IEC_CONST unsigned long udpOPT_BROADCAST = 4U;
|
||||
_IEC_CONST unsigned long udpOPT_REUSEPORT = 2U;
|
||||
_IEC_CONST unsigned long udpOPT_REUSEADDR = 1U;
|
||||
_IEC_CONST unsigned long udpMSG_DONTROUTE = 2U;
|
||||
_IEC_CONST unsigned long udpMSG_PEEK = 1U;
|
||||
_IEC_CONST unsigned long udpID_MAX_GET = 3002U;
|
||||
_IEC_CONST unsigned long udpID_LIST_GET = 3001U;
|
||||
_IEC_CONST unsigned long udpIP_TTL_GET = 2012U;
|
||||
_IEC_CONST unsigned long udpIP_TTL_SET = 2011U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_GET = 2010U;
|
||||
_IEC_CONST unsigned long udpIP_TOS_SET = 2009U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_LOOP_GET = 2008U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_LOOP_SET = 2007U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_TTL_GET = 2006U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_TTL_SET = 2005U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_IF_GET = 2004U;
|
||||
_IEC_CONST unsigned long udpIP_MULTICAST_IF_SET = 2003U;
|
||||
_IEC_CONST unsigned long udpIP_DROP_MEMBERSHIP = 2002U;
|
||||
_IEC_CONST unsigned long udpIP_ADD_MEMBERSHIP = 2001U;
|
||||
_IEC_CONST unsigned long udpSO_ADDRESS_GET = 1007U;
|
||||
_IEC_CONST unsigned long udpSO_RCVBUF_GET = 1006U;
|
||||
_IEC_CONST unsigned long udpSO_RCVBUF_SET = 1005U;
|
||||
_IEC_CONST unsigned long udpSO_SNDBUF_GET = 1004U;
|
||||
_IEC_CONST unsigned long udpSO_SNDBUF_SET = 1003U;
|
||||
_IEC_CONST unsigned long udpSO_BROADCAST_GET = 1002U;
|
||||
_IEC_CONST unsigned long udpSO_BROADCAST_SET = 1001U;
|
||||
_IEC_CONST unsigned short udpERR_SYSTEM = 32599U;
|
||||
_IEC_CONST unsigned short udpERR_SOCKET_CONNECT = 32552U;
|
||||
_IEC_CONST unsigned short udpERR_SOCKET_BIND = 32551U;
|
||||
_IEC_CONST unsigned short udpERR_SOCKET_CREATE = 32550U;
|
||||
_IEC_CONST unsigned short udpERR_INTERFACE = 32511U;
|
||||
_IEC_CONST unsigned short udpERR_UNREACHABLE = 32510U;
|
||||
_IEC_CONST unsigned short udpERR_ACCESS = 32509U;
|
||||
_IEC_CONST unsigned short udpERR_CONNREFUSED = 32508U;
|
||||
_IEC_CONST unsigned short udpERR_WOULDBLOCK = 32507U;
|
||||
_IEC_CONST unsigned short udpERR_SENTLEN = 32506U;
|
||||
_IEC_CONST unsigned short udpERR_NO_DATA = 32505U;
|
||||
_IEC_CONST unsigned short udpERR_INVALID_IOCTL = 32504U;
|
||||
_IEC_CONST unsigned short udpERR_PARAMETER = 32503U;
|
||||
_IEC_CONST unsigned short udpERR_ALREADY_EXIST = 32502U;
|
||||
_IEC_CONST unsigned short udpERR_NOMORE_IDENTS = 32501U;
|
||||
_IEC_CONST unsigned short udpERR_INVALID_IDENT = 32500U;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
/* Datatypes and datatypes of function blocks */
|
||||
typedef struct udpIP_MREQ_typ
|
||||
{ unsigned long pMcastAddr;
|
||||
unsigned long pIfAddr;
|
||||
} udpIP_MREQ_typ;
|
||||
|
||||
typedef struct udpSO_ADDRESS_typ
|
||||
{ unsigned long pPort;
|
||||
unsigned long pIpAddr;
|
||||
} udpSO_ADDRESS_typ;
|
||||
|
||||
typedef struct UdpOpen
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long pIfAddr;
|
||||
unsigned short port;
|
||||
unsigned long options;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long ident;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpOpen_typ;
|
||||
|
||||
typedef struct UdpClose
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpClose_typ;
|
||||
|
||||
typedef struct UdpConnect
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pHost;
|
||||
unsigned short port;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpConnect_typ;
|
||||
|
||||
typedef struct UdpDisconnect
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpDisconnect_typ;
|
||||
|
||||
typedef struct UdpSend
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pHost;
|
||||
unsigned short port;
|
||||
unsigned long pData;
|
||||
unsigned long datalen;
|
||||
unsigned long flags;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long sentlen;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpSend_typ;
|
||||
|
||||
typedef struct UdpRecv
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long pData;
|
||||
unsigned long datamax;
|
||||
unsigned long flags;
|
||||
unsigned long pIpAddr;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long recvlen;
|
||||
unsigned short port;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpRecv_typ;
|
||||
|
||||
typedef struct UdpIoctl
|
||||
{
|
||||
/* VAR_INPUT (analog) */
|
||||
unsigned long ident;
|
||||
unsigned long ioctl;
|
||||
unsigned long pData;
|
||||
unsigned long datalen;
|
||||
/* VAR_OUTPUT (analog) */
|
||||
unsigned short status;
|
||||
unsigned long outlen;
|
||||
/* VAR (analog) */
|
||||
unsigned short i_state;
|
||||
unsigned short i_result;
|
||||
unsigned long i_tmp;
|
||||
/* VAR_INPUT (digital) */
|
||||
plcbit enable;
|
||||
} UdpIoctl_typ;
|
||||
|
||||
|
||||
|
||||
/* Prototyping of functions and function blocks */
|
||||
void UdpOpen(struct UdpOpen* inst);
|
||||
void UdpClose(struct UdpClose* inst);
|
||||
void UdpConnect(struct UdpConnect* inst);
|
||||
void UdpDisconnect(struct UdpDisconnect* inst);
|
||||
void UdpSend(struct UdpSend* inst);
|
||||
void UdpRecv(struct UdpRecv* inst);
|
||||
void UdpIoctl(struct UdpIoctl* inst);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
#endif /* _ASUDP_ */
|
||||
|
||||
|
||||
12
Logical/Comm/AsUDP/binary.lby
Normal file
12
Logical/Comm/AsUDP/binary.lby
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<Library SubType="binary" Description="This library contains FBKs for exchanging data packets via datagram sockets (UDP)." xmlns="http://br-automation.co.at/AS/Library">
|
||||
<Files>
|
||||
<File>AsUDP.fun</File>
|
||||
<File>AsUDP.typ</File>
|
||||
<File>AsUDP.var</File>
|
||||
</Files>
|
||||
<Dependencies>
|
||||
<Dependency ObjectName="runtime" />
|
||||
</Dependencies>
|
||||
</Library>
|
||||
8
Logical/Comm/Package.pkg
Normal file
8
Logical/Comm/Package.pkg
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<Package xmlns="http://br-automation.co.at/AS/Package">
|
||||
<Objects>
|
||||
<Object Type="Program" Language="IEC">UDPTrg</Object>
|
||||
<Object Type="Library" Language="binary" Description="This library contains FBKs for exchanging data packets via datagram sockets (UDP).">AsUDP</Object>
|
||||
</Objects>
|
||||
</Package>
|
||||
79
Logical/Comm/UDPTrg/Cyclic.st
Normal file
79
Logical/Comm/UDPTrg/Cyclic.st
Normal file
@@ -0,0 +1,79 @@
|
||||
|
||||
PROGRAM _CYCLIC
|
||||
FUBs.UdpOpen.options := udpOPT_REUSEADDR OR udpOPT_REUSEPORT OR udpOPT_BROADCAST;
|
||||
FUBs.UdpOpen.port := 3956;
|
||||
|
||||
FUBs.UdpOpen ();
|
||||
IF (FUBs.UdpOpen.status = ERR_OK) THEN
|
||||
FUBs.UdpSend.ident := FUBs.UdpOpen.ident;
|
||||
FUBs.UdpClose.ident := FUBs.UdpOpen.ident;
|
||||
FUBs.UdpRecv.ident := FUBs.UdpOpen.ident;
|
||||
FUBs.UdpRecv.enable := TRUE;
|
||||
FUBs.UdpOpen.enable := FALSE;
|
||||
END_IF
|
||||
|
||||
FUBs.UdpSend.pHost := ADR ('10.13.15.31');
|
||||
FUBs.UdpSend.datalen := SIZEOF (packet);
|
||||
//FUBs.UdpSend.enable
|
||||
//FUBs.UdpSend.flags
|
||||
FUBs.UdpSend.pData := ADR (packet);
|
||||
FUBs.UdpSend.port := 3956;
|
||||
|
||||
IF EDGEPOS (FUBs.UdpSend.enable) THEN
|
||||
REQ_ID := REQ_ID + 1;
|
||||
packet[6] := UINT_TO_BYTE (SHR (REQ_ID, 8));
|
||||
packet[7] := UINT_TO_BYTE (REQ_ID);
|
||||
diTSSend := gdiSystemTime;
|
||||
END_IF
|
||||
|
||||
FUBs.UdpSend ();
|
||||
IF (FUBs.UdpSend.status = ERR_OK) THEN
|
||||
FUBs.UdpSend.enable := FALSE;
|
||||
END_IF
|
||||
|
||||
FUBs.UdpRecv.pData := ADR (buffer);
|
||||
FUBs.UdpRecv.datamax := SIZEOF (buffer);
|
||||
FUBs.UdpRecv ();
|
||||
|
||||
IF (FUBs.UdpRecv.recvlen > 0) THEN
|
||||
diReplyTime1 := gdiSystemTime - diTSSend;
|
||||
buffer3 := buffer2;
|
||||
buffer2 := buffer1;
|
||||
buffer1 := buffer;
|
||||
IF (buffer[0] = 0) THEN
|
||||
diReplyTime := gdiSystemTime - diTSSend;
|
||||
END_IF
|
||||
END_IF
|
||||
//Action ACK
|
||||
//GEV_STATUS_SUXESS 0x0000
|
||||
//ACT_ACK 0x01 0x01
|
||||
//PAYLOAD 0x0000
|
||||
//REQUID
|
||||
|
||||
|
||||
END_PROGRAM
|
||||
|
||||
|
||||
|
||||
// buffer : ARRAY [0..7] OF BYTE;
|
||||
// bytesRead : UINT;
|
||||
//
|
||||
//
|
||||
//
|
||||
//// Set broadcast address
|
||||
//broadcastAddress.sin_family := AF_INET;
|
||||
//broadcastAddress.sin_port := htons(port);
|
||||
//
|
||||
//// Send packet
|
||||
//retVal := sendto(udpSocket, ADR(packet), SIZEOF(packet), 0, ADR(broadcastAddress), SIZEOF(broadcastAddress));
|
||||
//
|
||||
//// Receive reply
|
||||
//bytesRead := recv(udpSocket, ADR(buffer), SIZEOF(buffer), 0);
|
||||
//
|
||||
//// Print reply
|
||||
//FOR i := 0 TO bytesRead-1 DO
|
||||
// PRINTF('%02x ', buffer[i]);
|
||||
//END_FOR;
|
||||
//
|
||||
//// Close socket
|
||||
//closesocket(udpSocket);
|
||||
6
Logical/Comm/UDPTrg/Exit.st
Normal file
6
Logical/Comm/UDPTrg/Exit.st
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
PROGRAM _EXIT
|
||||
(* Insert code here *)
|
||||
|
||||
END_PROGRAM
|
||||
11
Logical/Comm/UDPTrg/IEC.prg
Normal file
11
Logical/Comm/UDPTrg/IEC.prg
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<Program SubType="IEC" xmlns="http://br-automation.co.at/AS/Program">
|
||||
<Files>
|
||||
<File Description="Cyclic code">Cyclic.st</File>
|
||||
<File Description="Init code">Init.st</File>
|
||||
<File Description="Exit code">Exit.st</File>
|
||||
<File Description="Local data types" Private="true">Types.typ</File>
|
||||
<File Description="Local variables" Private="true">Variables.var</File>
|
||||
</Files>
|
||||
</Program>
|
||||
28
Logical/Comm/UDPTrg/Init.st
Normal file
28
Logical/Comm/UDPTrg/Init.st
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
|
||||
PROGRAM _INIT
|
||||
(* Insert code here *)
|
||||
FUBs.UdpOpen.enable := TRUE;
|
||||
|
||||
// Assigning the byte array
|
||||
packet[0] := MSG_KEY_CODE;
|
||||
packet[1] := FLAGS;
|
||||
packet[2] := WORD_TO_BYTE (SHR (CMD, 8));
|
||||
packet[3] := WORD_TO_BYTE (CMD);
|
||||
packet[4] := WORD_TO_BYTE (SHR (LPAYLOAD, 8));
|
||||
packet[5] := WORD_TO_BYTE (LPAYLOAD);
|
||||
packet[8] := DWORD_TO_BYTE (SHR (ACT_DEV_KEY, 24));
|
||||
packet[9] := DWORD_TO_BYTE (SHR (ACT_DEV_KEY, 16));
|
||||
packet[10] := DWORD_TO_BYTE (SHR (ACT_DEV_KEY, 8));
|
||||
packet[11] := DWORD_TO_BYTE (ACT_DEV_KEY);
|
||||
packet[12] := DWORD_TO_BYTE (SHR (ACT_GRP_KEY, 24));
|
||||
packet[13] := DWORD_TO_BYTE (SHR (ACT_GRP_KEY, 16));
|
||||
packet[14] := DWORD_TO_BYTE (SHR (ACT_GRP_KEY, 8));
|
||||
packet[15] := DWORD_TO_BYTE (ACT_GRP_KEY);
|
||||
packet[16] := DWORD_TO_BYTE (SHR (ACT_GRP_MASK, 24));
|
||||
packet[17] := DWORD_TO_BYTE (SHR (ACT_GRP_MASK, 16));
|
||||
packet[18] := DWORD_TO_BYTE (SHR (ACT_GRP_MASK, 8));
|
||||
packet[19] := DWORD_TO_BYTE (ACT_GRP_MASK);
|
||||
|
||||
|
||||
END_PROGRAM
|
||||
9
Logical/Comm/UDPTrg/Types.typ
Normal file
9
Logical/Comm/UDPTrg/Types.typ
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
TYPE
|
||||
typ_FUB : STRUCT
|
||||
UdpOpen : UdpOpen;
|
||||
UdpSend : UdpSend;
|
||||
UdpRecv : UdpRecv;
|
||||
UdpClose : UdpClose;
|
||||
END_STRUCT;
|
||||
END_TYPE
|
||||
25
Logical/Comm/UDPTrg/Variables.var
Normal file
25
Logical/Comm/UDPTrg/Variables.var
Normal file
@@ -0,0 +1,25 @@
|
||||
VAR
|
||||
FUBs : typ_FUB;
|
||||
packet : ARRAY[0..19] OF BYTE;
|
||||
buffer : ARRAY[0..19] OF BYTE;
|
||||
buffer1 : ARRAY[0..19] OF BYTE;
|
||||
buffer2 : ARRAY[0..19] OF BYTE;
|
||||
buffer3 : ARRAY[0..19] OF BYTE;
|
||||
diTSSend : DINT;
|
||||
diReplyTime1 : DINT;
|
||||
diReplyTime : DINT;
|
||||
END_VAR
|
||||
VAR CONSTANT
|
||||
MSG_KEY_CODE : BYTE := 16#42;
|
||||
FLAGS : BYTE := 16#01; (*.0 := Ack required .7 Scheduled Action Cmd*)
|
||||
CMD : WORD := 16#0100;
|
||||
LPAYLOAD : WORD := 16#000C; (*Length of Payload*)
|
||||
END_VAR
|
||||
VAR
|
||||
REQ_ID : {REDUND_UNREPLICABLE} UINT := 0;
|
||||
END_VAR
|
||||
VAR CONSTANT
|
||||
ACT_DEV_KEY : DWORD := 16#ffffffff; (*Device Key == Pasword*)
|
||||
ACT_GRP_KEY : DWORD := 16#00000001;
|
||||
ACT_GRP_MASK : DWORD := 16#ffffffff;
|
||||
END_VAR
|
||||
@@ -6,6 +6,7 @@
|
||||
<Object Type="File" Description="Global variables">Global.var</Object>
|
||||
<Object Type="Package" Description="Global Types and Vars">GlobalVars</Object>
|
||||
<Object Type="Package">Common</Object>
|
||||
<Object Type="Package">Comm</Object>
|
||||
<Object Type="Package" Description="Global libraries">Libraries</Object>
|
||||
<Object Type="Package" Description="Anlage">Machine</Object>
|
||||
<Object Type="Package" Description="Liniensteuerung wg. Kompatibilität">Linectrl</Object>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<Objects>
|
||||
<Object Type="File" Description="Hardware configuration">Hardware.hw</Object>
|
||||
<Object Type="File" Description="Hardware topology">Hardware.hwl</Object>
|
||||
<Object Type="Cpu">X20CP3484_1</Object>
|
||||
<Object Type="Cpu">X20CP1585</Object>
|
||||
<Object Type="File">Hardware.jpg</Object>
|
||||
</Objects>
|
||||
<Sources Download="false" IncludeUpgrades="true" Mode="ProjectTransfer" Option="Complete" />
|
||||
|
||||
@@ -1,25 +1,43 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=4.11.4.55 FileVersion="4.9"?>
|
||||
<Hardware xmlns="http://br-automation.co.at/AS/Hardware">
|
||||
<Module Name="8AC112.60-1" Type="8AC112.60-1" Version="1.0.0.8">
|
||||
<Connection Connector="SS" TargetModule="8V1016.50-2" TargetConnector="SS1" />
|
||||
<Connection Connector="PLK1" TargetModule="X20CP3484_1" TargetConnector="IF3" NodeNumber="2">
|
||||
<Module Name="8AC112.60-1a" Type="8AC112.60-1" Version="1.0.0.8">
|
||||
<Connection Connector="SS" TargetModule="8V1090.00-2a" TargetConnector="SS1" />
|
||||
<Connection Connector="PLK1" TargetModule="8AC114.60-2" TargetConnector="PLK2" NodeNumber="2">
|
||||
<Cable Type="PowerlinkCable" Length="10" Version="1.0.0.3" />
|
||||
</Connection>
|
||||
</Module>
|
||||
<Module Name="8AC123.60-1" Type="8AC123.60-1" Version="2.2.0.0">
|
||||
<Connection Connector="SS" TargetModule="8V1016.50-2" TargetConnector="SS2" />
|
||||
<Parameter ID="SCALE_ENCOD_INCR" Value="32000" />
|
||||
<Module Name="8AC114.60-2" Type="8AC114.60-2" Version="1.0.0.8">
|
||||
<Connection Connector="SS" TargetModule="8V1090.00-2" TargetConnector="SS1" />
|
||||
<Connection Connector="PLK1" TargetModule="X20CP1585" TargetConnector="IF3" NodeNumber="14">
|
||||
<Cable Type="PowerlinkCable" Length="10" Version="1.0.0.3" />
|
||||
</Connection>
|
||||
<Connection Connector="PLK2" TargetModule="8AC112.60-1a" TargetConnector="PLK1" NodeNumber="14">
|
||||
<Cable Type="PowerlinkCable" Length="10" Version="1.0.0.3" />
|
||||
</Connection>
|
||||
</Module>
|
||||
<Module Name="8AC121.60-1" Type="8AC121.60-1" Version="2.2.0.0">
|
||||
<Connection Connector="SS" TargetModule="8V1090.00-2" TargetConnector="SS2" />
|
||||
<Parameter ID="SCALE_ENCOD_UNITS" Value="8" />
|
||||
<Parameter ID="SCALE_ENCOD_REV" Value="4" />
|
||||
</Module>
|
||||
<Module Name="8V1016.50-2" Type="8V1016.50-2" Version="2.2.0.0">
|
||||
<Module Name="8AC121.60-1a" Type="8AC121.60-1" Version="2.2.0.0">
|
||||
<Connection Connector="SS" TargetModule="8V1090.00-2a" TargetConnector="SS2" />
|
||||
<Parameter ID="SCALE_ENCOD_UNITS" Value="8" />
|
||||
<Parameter ID="SCALE_ENCOD_REV" Value="4" />
|
||||
</Module>
|
||||
<Module Name="8V1090.00-2" Type="8V1090.00-2" Version="2.2.0.0">
|
||||
<Parameter ID="MotionTP" Value="Acp10Arnc0" />
|
||||
<Parameter ID="BothEndSwitchesAreNormallyOpen_r1" Value="on" />
|
||||
<Parameter ID="QuickStopIsNormallyOpen_r1" Value="on" />
|
||||
</Module>
|
||||
<Module Name="8V1090.00-2a" Type="8V1090.00-2" Version="2.2.0.0">
|
||||
<Parameter ID="MotionTP" Value="Acp10Arnc0" />
|
||||
<Parameter ID="BothEndSwitchesAreNormallyOpen_r1" Value="on" />
|
||||
<Parameter ID="QuickStopIsNormallyOpen_r1" Value="on" />
|
||||
</Module>
|
||||
<Module Name="MotorSynchronous_any" Type="MotorSynchronous_any" Version="2.2.1.0">
|
||||
<Connection Connector="MT" TargetModule="8V1016.50-2" TargetConnector="MT1" />
|
||||
<Connection Connector="MT" TargetModule="8V1090.00-2" TargetConnector="MT1" />
|
||||
<Parameter ID="MOTOR_POLEPAIRS" Value="1" Description="Aus Datenblatt" />
|
||||
<Parameter ID="BrakeAvailable" Value="False" />
|
||||
<Parameter ID="TempSensType" Value="Disabled" />
|
||||
@@ -42,21 +60,50 @@
|
||||
<Parameter ID="MOTOR_TAU_THERM" Value="6.82" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_WIND_TEMP_MAX" Value="130" Description="Unbekannt Temp. Klasse F = 130" />
|
||||
</Module>
|
||||
<Module Name="X20CP3484_1" Type="X20CP3484-1" Version="1.2.0.0">
|
||||
<Module Name="MotorSynchronous_any1" Type="MotorSynchronous_any" Version="2.2.1.0">
|
||||
<Connection Connector="MT" TargetModule="8V1090.00-2a" TargetConnector="MT1" />
|
||||
<Parameter ID="MOTOR_POLEPAIRS" Value="1" Description="Aus Datenblatt" />
|
||||
<Parameter ID="BrakeAvailable" Value="False" />
|
||||
<Parameter ID="TempSensType" Value="Disabled" />
|
||||
<Parameter ID="MOTOR_VOLTAGE_RATED" Value="600" Description="Aus Datenblatt" />
|
||||
<Parameter ID="MOTOR_VOLTAGE_CONST" Value="27.2" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_SPEED_RATED" Value="9375" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_SPEED_MAX" Value="9375" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_STALL" Value="1.95" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_RATED" Value="1.95" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_MAX" Value="3.89" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_CONST" Value="0.494" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_CURR_STALL" Value="3.9" Description="Datenblatt = Max Dauerstrom" />
|
||||
<Parameter ID="MOTOR_CURR_RATED" Value="3.9" Description="Datenblatt Max Dauerstrom" />
|
||||
<Parameter ID="MOTOR_CURR_MAX" Value="11.8" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_WIND_CROSS_SECT" Value="0" Description="unbekannt" />
|
||||
<Parameter ID="MOTOR_STATOR_RESISTANCE" Value="6.8" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_STATOR_INDUCTANCE" Value="76.8" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_INERTIA" Value="0.000163" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_COMMUT_OFFSET" Value="0" Description="wird ermittelt" />
|
||||
<Parameter ID="MOTOR_TAU_THERM" Value="6.82" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_WIND_TEMP_MAX" Value="130" Description="Unbekannt Temp. Klasse F = 130" />
|
||||
</Module>
|
||||
<Module Name="X20CP1585" Type="X20CP1585" Version="1.10.0.0">
|
||||
<Connector Name="IF2">
|
||||
<Parameter ID="ActivateDevice" Value="1" />
|
||||
<Parameter ID="Mode" Value="Manual" />
|
||||
<Parameter ID="InternetAddress" Value="192.168.1.50" />
|
||||
<Parameter ID="SubnetMask" Value="255.255.255.0" />
|
||||
<Parameter ID="InternetAddress" Value="10.4.18.21" />
|
||||
<Parameter ID="SubnetMask" Value="255.255.254.0" />
|
||||
</Connector>
|
||||
<Connector Name="IF3">
|
||||
<Parameter ID="Operation" Value="EPL-V1" />
|
||||
</Connector>
|
||||
<Parameter ID="ConfigurationID" Value="KD_Elunic_Evaluation_CfgAC112" />
|
||||
<Parameter ID="UserPartitionSize" Value="0" />
|
||||
<Parameter ID="TimerDeviceType" Value="EPLX2X" />
|
||||
<Parameter ID="TimerDevice" Value="X20CP3484_1.IF6" />
|
||||
<Parameter ID="TimerDevice" Value="X20CP1585.IF6" />
|
||||
<Parameter ID="TaskClassIdleTime" Value="2000" />
|
||||
<Parameter ID="Cyclic1Duration" Value="2000" />
|
||||
<Parameter ID="Cyclic1Tolerance" Value="0" />
|
||||
<Parameter ID="Cyclic1Output" Value="1" />
|
||||
<Group ID="FileDevice1" />
|
||||
<Parameter ID="FileDeviceName1" Value="USER" />
|
||||
<Parameter ID="FileDevicePath1" Value="USER_PATH" />
|
||||
</Module>
|
||||
</Hardware>
|
||||
20
Physical/CfgAC112/X20CP1585/Cpu.pkg
Normal file
20
Physical/CfgAC112/X20CP1585/Cpu.pkg
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<Cpu xmlns="http://br-automation.co.at/AS/Cpu">
|
||||
<Objects>
|
||||
<Object Type="File" Description="Software configuration">Cpu.sw</Object>
|
||||
<Object Type="File" Description="Permanent variables">Cpu.per</Object>
|
||||
<Object Type="File" Description="I/O mapping">IoMap.iom</Object>
|
||||
<Object Type="File" Description="Variable mapping">PvMap.vvm</Object>
|
||||
<Object Type="Package">Motion</Object>
|
||||
</Objects>
|
||||
<Configuration ModuleId="X20CP1585">
|
||||
<AutomationRuntime Version="B4.92" />
|
||||
<Build GccVersion="4.1.2" />
|
||||
<DefaultTargetMemory Tasks="UserROM" />
|
||||
<Safety SafetyRelease="0.0" />
|
||||
<Transfer SavedOfflineInstallationFolder="" SavedPipDestinationFolder="" SavedRuntimeUtilityCenterPackagePath="" />
|
||||
<Vc FirmwareVersion="V4.72.6" />
|
||||
<OnlineConfiguration Name="KD-Stripper" DeviceType="TCPIP" DeviceParameters="/IF=tcpip /LOPO=11159 /SA=187" ConnectionParameters="/COMT=2500 /RT=1000 /AM=* /SDT=5 /DAIP=192.168.1.50 /REPO=11159 /ANSL=1 /PT=11169" Description="" />
|
||||
</Configuration>
|
||||
</Cpu>
|
||||
34
Physical/CfgAC112/X20CP1585/Cpu.sw
Normal file
34
Physical/CfgAC112/X20CP1585/Cpu.sw
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<SwConfiguration CpuAddress="SL1" xmlns="http://br-automation.co.at/AS/SwConfiguration">
|
||||
<TaskClass Name="Cyclic#1" />
|
||||
<TaskClass Name="Cyclic#2" />
|
||||
<TaskClass Name="Cyclic#3" />
|
||||
<TaskClass Name="Cyclic#4">
|
||||
<Task Name="UDPTrg" Source="Comm.UDPTrg.prg" Memory="UserROM" Language="IEC" Debugging="true" />
|
||||
</TaskClass>
|
||||
<TaskClass Name="Cyclic#5" />
|
||||
<TaskClass Name="Cyclic#6" />
|
||||
<TaskClass Name="Cyclic#7" />
|
||||
<TaskClass Name="Cyclic#8" />
|
||||
<NcDataObjects>
|
||||
<NcDataObject Name="acp10etxde" Source="acp10etxde.dob" Memory="UserROM" Language="Ett" />
|
||||
<NcDataObject Name="gSlidea" Source="gSlideobj.gSlidea.dob" Memory="UserROM" Language="Apt" />
|
||||
<NcDataObject Name="gSlidei" Source="gSlideobj.gSlidei.dob" Memory="UserROM" Language="Ax" />
|
||||
</NcDataObjects>
|
||||
<Binaries>
|
||||
<BinaryObject Name="acp10bsl" Source="acp10bsl.br" Memory="UserROM" Language="Binary" />
|
||||
</Binaries>
|
||||
<Libraries>
|
||||
<LibraryObject Name="Acp10man" Source="Libraries.Acp10man.lby" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="Acp10par" Source="Libraries.Acp10par.lby" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="NcGlobal" Source="Libraries.NcGlobal.lby" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="Acp10sdc" Source="Libraries.Acp10sdc.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="Acp10_MC" Source="Libraries.Acp10_MC.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="sys_lib" Source="Libraries.sys_lib.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="brsystem" Source="Libraries.brsystem.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="runtime" Source="Libraries.runtime.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="AsBrStr" Source="Libraries.AsBrStr.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="AsUDP" Source="Comm.AsUDP.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
</Libraries>
|
||||
</SwConfiguration>
|
||||
8
Physical/CfgAC112/X20CP1585/Motion/Acp10map.ncm
Normal file
8
Physical/CfgAC112/X20CP1585/Motion/Acp10map.ncm
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<NcMapping NcSwId="Acp10" DisabledNodesAreHidden="False">
|
||||
<NcObject Name="gSlide" ModuleId="8V1090.00-2" Type="ncAXIS" Channel="1" AcoposSimulation="Off" InitParameter="gSlidei" AcoposParameter="gSlidea" Disabled="FALSE" ModuleDisabled="FALSE" />
|
||||
<NcObject Name="8V1016.50-2_ncV_AXIS1" ModuleId="8V1090.00-2" Type="ncV_AXIS" Channel="1" Disabled="TRUE" ModuleDisabled="FALSE" />
|
||||
<NcObject Name="gFickdi" ModuleId="8V1090.00-2a" Type="ncAXIS" Channel="1" AcoposSimulation="Off" InitParameter="gSlidei" AcoposParameter="gSlidea" Disabled="FALSE" ModuleDisabled="FALSE" />
|
||||
<NcObject Name="8V1016.50-2_ncV_AXIS1" ModuleId="8V1090.00-2a" Type="ncV_AXIS" Channel="1" Disabled="TRUE" ModuleDisabled="FALSE" />
|
||||
</NcMapping>
|
||||
11
Physical/CfgAC112Upd/Config.pkg
Normal file
11
Physical/CfgAC112Upd/Config.pkg
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<Configuration xmlns="http://br-automation.co.at/AS/Configuration">
|
||||
<Objects>
|
||||
<Object Type="File" Description="Hardware configuration">Hardware.hw</Object>
|
||||
<Object Type="File" Description="Hardware topology">Hardware.hwl</Object>
|
||||
<Object Type="Cpu">X20CP3484_1</Object>
|
||||
<Object Type="File">Hardware.jpg</Object>
|
||||
</Objects>
|
||||
<Sources Download="false" IncludeUpgrades="true" Mode="ProjectTransfer" Option="Complete" />
|
||||
</Configuration>
|
||||
62
Physical/CfgAC112Upd/Hardware.hw
Normal file
62
Physical/CfgAC112Upd/Hardware.hw
Normal file
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio Version=4.11.4.55 FileVersion="4.9"?>
|
||||
<Hardware xmlns="http://br-automation.co.at/AS/Hardware">
|
||||
<Module Name="8AC112.60-1" Type="8AC112.60-1" Version="1.0.0.8">
|
||||
<Connection Connector="SS" TargetModule="8V1016.50-2" TargetConnector="SS1" />
|
||||
<Connection Connector="PLK1" TargetModule="X20CP3484_1" TargetConnector="IF3" NodeNumber="2">
|
||||
<Cable Type="PowerlinkCable" Length="10" Version="1.0.0.3" />
|
||||
</Connection>
|
||||
</Module>
|
||||
<Module Name="8AC123.60-1" Type="8AC123.60-1" Version="2.2.0.0">
|
||||
<Connection Connector="SS" TargetModule="8V1016.50-2" TargetConnector="SS2" />
|
||||
<Parameter ID="SCALE_ENCOD_INCR" Value="32000" />
|
||||
<Parameter ID="SCALE_ENCOD_UNITS" Value="8" />
|
||||
<Parameter ID="SCALE_ENCOD_REV" Value="4" />
|
||||
</Module>
|
||||
<Module Name="8V1016.50-2" Type="8V1016.50-2" Version="2.2.0.0">
|
||||
<Parameter ID="MotionTP" Value="Acp10Arnc0" />
|
||||
<Parameter ID="BothEndSwitchesAreNormallyOpen_r1" Value="on" />
|
||||
<Parameter ID="QuickStopIsNormallyOpen_r1" Value="on" />
|
||||
</Module>
|
||||
<Module Name="MotorSynchronous_any" Type="MotorSynchronous_any" Version="2.2.1.0">
|
||||
<Connection Connector="MT" TargetModule="8V1016.50-2" TargetConnector="MT1" />
|
||||
<Parameter ID="MOTOR_POLEPAIRS" Value="1" Description="Aus Datenblatt" />
|
||||
<Parameter ID="BrakeAvailable" Value="False" />
|
||||
<Parameter ID="TempSensType" Value="Disabled" />
|
||||
<Parameter ID="MOTOR_VOLTAGE_RATED" Value="600" Description="Aus Datenblatt" />
|
||||
<Parameter ID="MOTOR_VOLTAGE_CONST" Value="27.2" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_SPEED_RATED" Value="9375" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_SPEED_MAX" Value="9375" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_STALL" Value="1.95" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_RATED" Value="1.95" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_MAX" Value="3.89" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_TORQ_CONST" Value="0.494" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_CURR_STALL" Value="3.9" Description="Datenblatt = Max Dauerstrom" />
|
||||
<Parameter ID="MOTOR_CURR_RATED" Value="3.9" Description="Datenblatt Max Dauerstrom" />
|
||||
<Parameter ID="MOTOR_CURR_MAX" Value="11.8" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_WIND_CROSS_SECT" Value="0" Description="unbekannt" />
|
||||
<Parameter ID="MOTOR_STATOR_RESISTANCE" Value="6.8" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_STATOR_INDUCTANCE" Value="76.8" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_INERTIA" Value="0.000163" Description="Aus Excel" />
|
||||
<Parameter ID="MOTOR_COMMUT_OFFSET" Value="0" Description="wird ermittelt" />
|
||||
<Parameter ID="MOTOR_TAU_THERM" Value="6.82" Description="Datenblatt" />
|
||||
<Parameter ID="MOTOR_WIND_TEMP_MAX" Value="130" Description="Unbekannt Temp. Klasse F = 130" />
|
||||
</Module>
|
||||
<Module Name="X20CP3484_1" Type="X20CP3484-1" Version="1.2.0.0">
|
||||
<Connector Name="IF2">
|
||||
<Parameter ID="ActivateDevice" Value="1" />
|
||||
<Parameter ID="Mode" Value="Manual" />
|
||||
<Parameter ID="InternetAddress" Value="192.168.1.50" />
|
||||
<Parameter ID="SubnetMask" Value="255.255.255.0" />
|
||||
</Connector>
|
||||
<Connector Name="IF3">
|
||||
<Parameter ID="Operation" Value="EPL-V1" />
|
||||
</Connector>
|
||||
<Parameter ID="TimerDeviceType" Value="EPLX2X" />
|
||||
<Parameter ID="TimerDevice" Value="X20CP3484_1.IF6" />
|
||||
<Parameter ID="TaskClassIdleTime" Value="2000" />
|
||||
<Parameter ID="Cyclic1Duration" Value="2000" />
|
||||
<Parameter ID="Cyclic1Tolerance" Value="0" />
|
||||
<Parameter ID="Cyclic1Output" Value="1" />
|
||||
</Module>
|
||||
</Hardware>
|
||||
27
Physical/CfgAC112Upd/Hardware.hwl
Normal file
27
Physical/CfgAC112Upd/Hardware.hwl
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<BR.AS.HardwareTopology>
|
||||
<TimeStamps>
|
||||
<TimeStamp LogicalPath="Config1.Hardware.hw" LastWriteTime="01/31/2022 14:25:45" />
|
||||
</TimeStamps>
|
||||
<Modules>
|
||||
<Module Name="X20CP3484_1" Type="X20CP3484-1" X="100" Y="100" />
|
||||
<Module Name="X20BM11" Type="X20BM11" X="300" Y="100" />
|
||||
<Module Name="X20BT9400" Type="X20BT9400" X="300" Y="100" />
|
||||
<Module Name="X20TB12" Type="X20TB12" X="300" Y="127" />
|
||||
<Module Name="80SD100XD.C044-01" Type="80SD100XD.C044-01" X="413" Y="237" />
|
||||
</Modules>
|
||||
<Links>
|
||||
<Link From="80SD100XD.C044-01" To="X20BT9400" FromPort="X2X1" ToPort="X2X1" IsRoutedByUser="False">
|
||||
<Point X="462" Y="338" />
|
||||
<Point X="462" Y="323" />
|
||||
<Point X="479" Y="323" />
|
||||
<Point X="485" Y="323" />
|
||||
<Point X="485" Y="144" />
|
||||
<Point X="314" Y="144" />
|
||||
<Point X="307" Y="144" />
|
||||
<Point X="307" Y="144" />
|
||||
</Link>
|
||||
</Links>
|
||||
<InfoElements />
|
||||
</BR.AS.HardwareTopology>
|
||||
BIN
Physical/CfgAC112Upd/Hardware.jpg
Normal file
BIN
Physical/CfgAC112Upd/Hardware.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 389 KiB |
4
Physical/CfgAC112Upd/X20CP3484_1/Cpu.per
Normal file
4
Physical/CfgAC112Upd/X20CP3484_1/Cpu.per
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
VAR_CONFIG
|
||||
|
||||
END_VAR
|
||||
0
Physical/CfgAC112Upd/X20CP3484_1/IoMap.iom
Normal file
0
Physical/CfgAC112Upd/X20CP3484_1/IoMap.iom
Normal file
37
Physical/CfgAC112Upd/X20CP3484_1/Motion/Acp10cfg.ncc
Normal file
37
Physical/CfgAC112Upd/X20CP3484_1/Motion/Acp10cfg.ncc
Normal file
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<NcConfiguration Version="3.14.3" NcSwId="Acp10">
|
||||
<Group ID="ACP10CF1_typ">
|
||||
<Parameter ID="cnt_nettrc_rec_drive" Value="1500" />
|
||||
<Parameter ID="bufsize_trace_upload" Value="1200" />
|
||||
<Parameter ID="tc_nc_man_task" Value="Cyclic #1" />
|
||||
<Parameter ID="glob_pv_as_ncobject" Value="Yes" />
|
||||
<Parameter ID="ncsys_dl_broadcast" Value="Yes" />
|
||||
<Parameter ID="ncsys_dl_acp_reset" Value="Yes" />
|
||||
<Parameter ID="safemc_log_err_to_ax" Value="Yes" />
|
||||
<Group ID="network_init">
|
||||
<Parameter ID="ncsw_init_execute" Value="Yes" />
|
||||
<Parameter ID="automatic_execute" Value="No" />
|
||||
<Parameter ID="node_nr_warning" Value="Yes" />
|
||||
<Parameter ID="net_err_before_ncact" Value="Yes" />
|
||||
</Group>
|
||||
<Group ID="nettrc">
|
||||
<Parameter ID="enter_parsecrec" Value="Yes" />
|
||||
<Parameter ID="enter_ncaction" Value="Yes" />
|
||||
<Parameter ID="save_ring_startidx" Value="Yes" />
|
||||
</Group>
|
||||
<Group ID="cam_prof_download">
|
||||
<Parameter ID="cam_dat_dl_parallel" Value="No" />
|
||||
<Parameter ID="tc_cam_dl_parallel" Value="Task class for NC Manager task" />
|
||||
</Group>
|
||||
<Group ID="plk_if[0]">
|
||||
<Parameter ID="if_name" Value="IF3" />
|
||||
<Parameter ID="tc_CycDat_PLCopen" Value="Task class for NC Manager task" />
|
||||
<Parameter ID="mc_broadcast_extdat" Value="No" />
|
||||
</Group>
|
||||
<Group ID="sdc_if[0]">
|
||||
<Parameter ID="if_name" Value="SDC_IF1" />
|
||||
<Parameter ID="mc_broadcast_size" Value="800" />
|
||||
<Parameter ID="mc_broadcast_extdat" Value="No" />
|
||||
</Group>
|
||||
</Group>
|
||||
</NcConfiguration>
|
||||
BIN
Physical/CfgAC112Upd/X20CP3484_1/Motion/Acp10sys.br
Normal file
BIN
Physical/CfgAC112Upd/X20CP3484_1/Motion/Acp10sys.br
Normal file
Binary file not shown.
9
Physical/CfgAC112Upd/X20CP3484_1/Motion/Package.pkg
Normal file
9
Physical/CfgAC112Upd/X20CP3484_1/Motion/Package.pkg
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?AutomationStudio FileVersion="4.9"?>
|
||||
<Package xmlns="http://br-automation.co.at/AS/Package">
|
||||
<Objects>
|
||||
<Object Type="File" Description="NC mapping">Acp10map.ncm</Object>
|
||||
<Object Type="File" Description="NC manager configuration">Acp10cfg.ncc</Object>
|
||||
<Object Type="File" Description="NC operating system">Acp10sys.br</Object>
|
||||
</Objects>
|
||||
</Package>
|
||||
4
Physical/CfgAC112Upd/X20CP3484_1/PvMap.vvm
Normal file
4
Physical/CfgAC112Upd/X20CP3484_1/PvMap.vvm
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
VAR_CONFIG
|
||||
|
||||
END_VAR
|
||||
@@ -3,6 +3,7 @@
|
||||
<SwConfiguration CpuAddress="SL1" xmlns="http://br-automation.co.at/AS/SwConfiguration">
|
||||
<TaskClass Name="Cyclic#1">
|
||||
<Task Name="LineCtrl" Source="Linectrl.LineCtrl.prg" Memory="UserROM" Language="IEC" Debugging="true" />
|
||||
<Task Name="UDPTrg" Source="Comm.UDPTrg.prg" Memory="UserROM" Language="IEC" Debugging="true" />
|
||||
</TaskClass>
|
||||
<TaskClass Name="Cyclic#2" />
|
||||
<TaskClass Name="Cyclic#3">
|
||||
@@ -60,6 +61,8 @@
|
||||
<BinaryObject Name="vcpdvnc" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="Visu02" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="vcpfgen" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="vccslider" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="vccstr" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="Acp10map" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="acp10cfg" Source="" Memory="UserROM" Language="Binary" />
|
||||
<BinaryObject Name="ashwd" Source="" Memory="SystemROM" Language="Binary" />
|
||||
@@ -92,6 +95,7 @@
|
||||
<LibraryObject Name="powerlnk" Source="" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="asieccon" Source="" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="vcresman" Source="" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="AsUDP" Source="Comm.AsUDP.lby" Memory="UserROM" Language="binary" Debugging="true" />
|
||||
<LibraryObject Name="mpbase" Source="" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="SfDomVis" Source="" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
<LibraryObject Name="asiodiag" Source="" Memory="UserROM" Language="Binary" Debugging="true" />
|
||||
|
||||
Binary file not shown.
@@ -5,17 +5,17 @@ HostName=SL12.xy.org
|
||||
Destination=192.168.3.1
|
||||
CommunicationMode=1
|
||||
[GUI]
|
||||
NameWidth=100
|
||||
SortOrder=0
|
||||
NameWidth=100
|
||||
ASVarWidth=296
|
||||
ViewMode=0
|
||||
SortColumn=0
|
||||
SADRWidth=202
|
||||
SortColumn=0
|
||||
DescriptionWidth=562
|
||||
ChannelWidth=383
|
||||
SplitterPosition=1275
|
||||
StateWidth=100
|
||||
SDVarWidth=478
|
||||
StateWidth=100
|
||||
[Manual]
|
||||
Timeout=1000
|
||||
Port=50000
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<osdd xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ethernet-powerlink.org/osdd osdd.xsd" xmlns:xlink="http://www.w3.org/1999/xlink" Version="1.6" xmlns="http://www.ethernet-powerlink.org/osdd">
|
||||
<Topology SafetyDomain="1">
|
||||
<GeneratorDescription Name="AutomationStudio" Version="4.11.3.51" LanguageID="1">
|
||||
<GeneratorDescription Name="AutomationStudio" Version="4.11.4.55" LanguageID="1">
|
||||
<Info Name="ARVersion" Value="47301" />
|
||||
<Info Name="SafetyRelease" Value="1.10" />
|
||||
<Info Name="Communication" Value="/IF=tcpip /LOPO=11159 /SA=188 /COMT=5000 /RT=1000 /AM=* /SDT=5 /DAIP=10.13.15.10 /REPO=11159 /ANSL=1 /PORT=50000" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -6,5 +6,6 @@
|
||||
<Object Type="Configuration" Description="SIN/COS Geber">CfgSINCOS</Object>
|
||||
<Object Type="Configuration" Description="AC112-WgUpdate">CfgAC112</Object>
|
||||
<Object Type="Configuration" Description="TTL Geber">CfgTTL</Object>
|
||||
<Object Type="Configuration" Description="AC112-WgUpdate">CfgAC112Upd</Object>
|
||||
</Objects>
|
||||
</Physical>
|
||||
Reference in New Issue
Block a user