DNMCmdDefinitions (GVL) ¶ InOut: Scope Name Type Initial Constant DNM_PACKET_TIMEOUT UDINT 16#3E8 DNM_FAL_DOWNLOAD_AREA_BUS_PARAMETER UINT 0 DNM_FAL_DOWNLOAD_AREA_SLAVE_PARAMETER UINT 1 DNM_FAL_DOWNLOAD_AREA_SERVER_PARAMETER UINT 2 DNM_FAL_DOWNLOAD_AREA_DEVICE_PARAMETER UINT 3 DN_FAL_BAUDRATE_500 UDINT 1 DN_FAL_BAUDRATE_250 UDINT 2 DN_FAL_BAUDRATE_125 UDINT 3
DNMCommandIds (GVL) ¶ InOut: Scope Name Type Initial Comment Constant CAN_DL_CMD_DATA_IND UDINT 16#2A00 CAN_DL_CMD_DATA_RES UDINT 16#2A01 CAN_DL_CMD_DATA_REQ UDINT 16#2A02 CAN_DL_CMD_DATA_CNF UDINT 16#2A03 CAN_DL_CMD_DATA_HI_REQ UDINT 16#2A04 CAN_DL_CMD_DATA_HI_CNF UDINT 16#2A05 CAN_DL_CMD_START_REQ UDINT 16#2A06 CAN_DL_CMD_START_CNF UDINT 16#2A07 CAN_DL_CMD_STOP_REQ UDINT 16#2A08 CAN_DL_CMD_STOP_CNF UDINT 16#2A09 CAN_DL_CMD_AP_REGISTER_REQ UDINT 16#2A0A CAN_DL_CMD_AP_REGISTER_CNF UDINT 16#2A0B CAN_DL_CMD_SET_FILTER_REQ UDINT 16#2A0C CAN_DL_CMD_SET_FILTER_CNF UDINT 16#2A0D CAN_DL_CMD_SET_PRM_REQ UDINT 16#2A0E CAN_DL_CMD_SET_PRM_CNF UDINT 16#2A0F CAN_DL_CMD_EVENT_IND UDINT 16#2A10 CAN_DL_CMD_EVENT_RES UDINT 16#2A11 CAN_DL_CMD_ENABLE_RXID_REQ UDINT 16#2A12 CAN_DL_CMD_ENABLE_RXID_CNF UDINT 16#2A13 CAN_DL_CMD_EVENT_ACK_REQ UDINT 16#2A14 CAN_DL_CMD_EVENT_ACK_CNF UDINT 16#2A15 CAN_DL_CMD_DIAG_REQ UDINT 16#2A16 CAN_DL_CMD_DIAG_CNF UDINT 16#2A17 CAN_DL_CMD_DIAG_RESET_REQ UDINT 16#2A18 CAN_DL_CMD_DIAG_RESET_CNF UDINT 16#2A19 CAN_DL_CMD_TX_ABORT_REQ UDINT 16#2A1A CAN_DL_CMD_TX_ABORT_CNF UDINT 16#2A1B CAN_DL_CMD_INIT_REQ UDINT 16#2A1C CAN_DL_CMD_INIT_CNF UDINT 16#2A1D DEVNET_FAL_CMD_RANGE_START UDINT 16#3800 DEVNET_FAL_CMD_INIT_REQ UDINT 16#3800 DEVNET_FAL_CMD_INIT_CNF UDINT 16#3801 DEVNET_FAL_CMD_DOWNLOAD_REQ UDINT 16#3802 DEVNET_FAL_CMD_DOWNLOAD_CNF UDINT 16#3803 DEVNET_FAL_CMD_SET_MODE_REQ UDINT 16#3804 DEVNET_FAL_CMD_SET_MODE_CNF UDINT 16#3805 DEVNET_FAL_CMD_CLR_CONFIG_REQ UDINT 16#3806 DEVNET_FAL_CMD_CLR_CONFIG_CNF UDINT 16#3807 DEVNET_FAL_CMD_NEW_OUTPUT_IND UDINT 16#3808 DEVNET_FAL_CMD_NEW_OUTPUT_RES UDINT 16#3809 DEVNET_FAL_CMD_GET_ATT_REQ UDINT 16#380A DEVNET_FAL_CMD_GET_ATT_CNF UDINT 16#380B DEVNET_FAL_CMD_SET_ATT_REQ UDINT 16#380C DEVNET_FAL_CMD_SET_ATT_CNF UDINT 16#380D DEVNET_FAL_CMD_FAULT_IND UDINT 16#3810 DEVNET_FAL_CMD_AP_REGISTER_REQ : UDINT := 16#0000380E; DEVNET_FAL_CMD_AP_REGISTER_CNF : UDINT := 16#0000380F; DEVNET_FAL_CMD_FAULT_RES UDINT 16#3811 DEVNET_FAL_CMD_ACYC_BTS_REQ UDINT 16#3812 DEVNET_FAL_CMD_ACYC_BTS_CNF UDINT 16#3813 DEVNET_FAL_CMD_LIFELIST_REQ UDINT 16#3814 DEVNET_FAL_CMD_LIFELIST_CNF UDINT 16#3815 DEVNET_FAL_CMD_UPLOAD_REQ UDINT 16#3816 DEVNET_FAL_CMD_UPLOAD_CNF UDINT 16#3817 DEVNET_FAL_CMD_SET_MODE_IND UDINT 16#3818 DEVNET_FAL_CMD_SET_MODE_RES UDINT 16#3819 DEVNET_FAL_CMD_RANGE_END UDINT 16#3819 DEVNET_FAL_CMD_GET_ATT_ALL_REQ UDINT 16#381A DEVNET_FAL_CMD_GET_ATT_ALL_CNF UDINT 16#381B DEVNET_AP_CMD_START UDINT 16#3900 DEVNET_AP_CMD_IO_SCAN_REQ UDINT 16#3900 DEVNET_AP_CMD_IO_SCAN_CNF UDINT 16#3901 DEVNET_AP_CMD_WATCHDOG_IND UDINT 16#3902 DEVNET_AP_CMD_WATCHDOG_RET UDINT 16#3903 RCX_CMD_REGISTER_APPLICATION UDINT 16#2F10
InfoIDs (GVL) ¶ InOut: Scope Name Type Initial Constant INFOID_SETBUSSTATEOFFFAILED UDINT 16#400 INFOID_SETHOSTSTATENOTREADYFAILED UDINT 16#401 INFOID_VENDORORDEVICENAMEMISSING UDINT 16#402 INFOID_SENDREGAPPFAILED UDINT 16#403 INFOID_REGAPPFAILED UDINT 16#404 INFOID_DUMPSDU UDINT 16#405 INFOID_SENDSDUFAILED UDINT 16#406 INFOID_SDUFAILED UDINT 16#407 INFOID_SLAVECONFIGFAILED UDINT 16#408 INFOID_BUSCONFIGFAILED UDINT 16#409 INFOID_DEVICECONFIGFAILED UDINT 16#40A
IoConfigParamIDs (GVL) ¶ InOut: Scope Name Type Initial Comment Constant DNM_CFG_SCANNER_VENDOR_NAME UDINT 2000 Scanner vendor name DNM_CFG_SCANNER_MODEL_NAME UDINT 2001 Scanner product name DNM_CFG_SCANNER_DIAG UDINT 2002 NetX Scanner diagnosis DNM_CFG_SCANNER_ENABLE_FLAGS UDINT 2003 Device Enabel Flags (Type:UDINT) -> see NetX-DNM documenatation DNM_CFG_SCANNER_VENDOR_ID UDINT 2004 Device Vendor ID (Type:UINT)-> see NetX-DNM documenatation DNM_CFG_SCANNER_PRODUCT_CODE UDINT 2005 Device Product Code (Type:UINT)-> see NetX-DNM documenatation DNM_CFG_SCANNER_MAC_ID UDINT 16#100 Scanner MAC ID DNM_CFG_ADAPTER_DIAG UDINT 16#50 Adapter Diagnosis DNM_CFG_ADAPTER_DIAG_ACK UDINT 16#51 Adapter Diagnosis Acknowlge DNM_CFG_ADAPTER_MAC_ID UDINT 16#100 Adapter MAC ID DNM_CFG_ADAPTER_UCMM_SUPPORT UDINT 16#105 Adapter support UCMMM DNM_CFG_ADAPTER_UCMM_GROUT UDINT 16#106 Adapter UCMM group DNM_CFG_ADAPTER_FRAG_TIMEOUT UDINT 16#107 Adapter fragmentation timeout DNM_CFG_ADAPTER_VENDOR_CODE UDINT 16#200 Adapter Vendor Code DNM_CFG_ADAPTER_PRODUCT_TYPE UDINT 16#201 Adapter Product Type DNM_CFG_ADAPTER_PRODUCT_CODE UDINT 16#202 Adapter Product Code DNM_CFG_ADAPTER_MAJOR_REV UDINT 16#203 Adapter Major revision DNM_CFG_ADAPTER_MIN_REV UDINT 16#204 Adapter Minor revision DNM_CFG_ADAPTER_KEYING UDINT 16#205 Adapter target keying DNM_CFG_ADAPTER_VENDOR_NAME UDINT 16#206 Adapter Vendor name DNM_CFG_ADAPTER_DEVICE_OPTION UDINT 16#1000 Adapter device options DNM_CFG_ADAPTER_CFG_DATA_INFO UDINT 16#2000 Information on the configuration Assembly DNM_CFG_ADAPTER_CFG_DATA_SIZE UDINT 16#2001 Size of the configuation data DNM_CFG_ADAPTER_CFG_DATA UDINT 16#2002 Adapter configuration data DNM_CFG_ADAPTER_NUM_CONNECTION UDINT 16#10000000 Number of connection of the adapter DNM_CFG_ADAPTER_CONNECTION UDINT 16#10010000 First connection DNM_CFG_ADAPTER_CONNECTION_ENTRY_INPUT UDINT 16#20000 Input Connection Enttry DNM_CFG_ADAPTER_CONNECTION_INPUT_PATH UDINT 16#30000 Connection input path DNM_CFG_ADAPTER_CONNECTION_ENTRY_OUTPUT UDINT 16#40000 Output Connection Enttry DNM_CFG_ADAPTER_CONNECTION_OUTPUT_PATH UDINT 16#50000 Connection output path DNM_CFG_ADAPTER_INPUT_CHANNEL UDINT 16#60000 First input channel of connection DNM_CFG_ADAPTER_OUTPUT_CHANNEL UDINT 16#70000 First output channel of connection DNM_CFG_ADAPTER_CONNECTION_OFFSET UDINT 16#1000000 Adapter connection offset DNM_CFG_ADAPTER_NUM_PARAMETER UDINT 16#20000000 Adapter number of paraemters DNM_CFG_ADAPTER_PARAMETER_SETTING UDINT 16#20000000 Adapter parameter settings DNM_CFG_ADAPTER_PARAMETER_PATH UDINT 16#20001000 Adapter parameter path DNM_CFG_ADAPTER_PARAMETER_VALUE UDINT 16#2001000 Adapter parameter value
StructDeviceNetConnection (STRUCT) ¶ TYPE StructDeviceNetConnection : STRUCT InOut: Name Type Comment udiRPI UDINT requested packet interval (us) udiProdInhibitTime UINT Transmission inhibit time (ms) uiAcknowledgeTimer UINT Timeout for acknowledged connections (ms) byConnectionType BYTE definition, see below usiWatchdogTimeoutAction USINT definition, see below xUseOutputBit BOOL only valid for Bit-Strobed Connection Type
StructDeviceNetConnectionEntry (STRUCT) ¶ TYPE StructDeviceNetConnectionEntry : STRUCT InOut: Name Type Comment xEnable BOOL uiConnectionPathSize UINT size of the Connection Path in Bytes uiSize UINT
StructDeviceNetParameter (STRUCT) ¶ TYPE StructDeviceNetParameter : STRUCT InOut: Name Type wSize WORD wSizeLinkPath WORD xAbortOnErrror BOOL xJumpToLine BOOL uiLine UINT
FunctionBlocks ¶ IoDrvCIFXDeviceNet (FunctionBlock) DeviceNet CIFX_DiagSetBits2 (Method) ConfigureOneSlave (Method) DiagCheckSlaves (Method) DownloadSlaveParameter (Method) TryLoadNETXCardConfig (Method) ICmpIoDrv IoDrvUpdateConfiguration (Method) ICmpIoDrvCIPServices GetAttribute (Method) SetAttribute (Method) ICmpIoDrvLiveList GetLiveList (Method) ICmpIoDrvParameter IoDrvReadParameter (Method) IoDrvWriteParameter (Method)
IoDrvCIFXDeviceNet (FB) ¶ FUNCTION_BLOCK IoDrvCIFXDeviceNet EXTENDS IoDrvCIFX IMPLEMENTS ICmpEventCallback, ICmpIoDrvCIPServices, ICmpIoDrvLiveList Methods: CIFX_DiagSetBits2 ConfigureOneSlave DiagCheckSlaves DownloadSlaveParameter GetAttribute GetLiveList IoDrvReadParameter IoDrvUpdateConfiguration IoDrvWriteParameter SetAttribute TryLoadNETXCardConfig Structure: DeviceNet CIFX_DiagSetBits2 (Method) ConfigureOneSlave (Method) DiagCheckSlaves (Method) DownloadSlaveParameter (Method) TryLoadNETXCardConfig (Method) ICmpIoDrv IoDrvUpdateConfiguration (Method) ICmpIoDrvCIPServices GetAttribute (Method) SetAttribute (Method) ICmpIoDrvLiveList GetLiveList (Method) ICmpIoDrvParameter IoDrvReadParameter (Method) IoDrvWriteParameter (Method)
DeviceNet ¶ CIFX_DiagSetBits2 (Method) ConfigureOneSlave (Method) DiagCheckSlaves (Method) DownloadSlaveParameter (Method) TryLoadNETXCardConfig (Method)