DPM Access ¶ CIFGetDevFlag (Method) CIFGetHostFlag (Method) CIFIsDevFlagSet (Method) CIFIsHostFlagSet (Method) CIFResetDevFlag (Method) CIFSetDevFlag (Method) CIF_DeleteFlash (Method) CIF_GetControlMode (Method) CIF_GetMasterState (Method) CIF_GetRcsError (Method) CIF_InitMessage (Method) CIF_MessageRaw (Method) CIF_PrepareConfiguration (Method) CIF_Reset (Method) CIF_ResetWatchdog (Method) CIF_SendMessage (Method) CIF_SetDeviceFlags (Method) CIF_Shutdown (Method) CIF_StartBusCycle (Method) CIF_StartWithReset (Method) CIF_WaitDevFlag (Method) CIF_WaitHostFlag (Method) CIF_WarmStart (Method) ConvertDeviceInfo (Method) IsSupportedCard (Method)
IoDrvHilscher.CIFGetDevFlag (METH) ¶ METHOD CIFGetDevFlag : BYTE InOut: Scope Name Type Return CIFGetDevFlag BYTE
IoDrvHilscher.CIFGetHostFlag (METH) ¶ METHOD CIFGetHostFlag : BYTE InOut: Scope Name Type Return CIFGetHostFlag BYTE
IoDrvHilscher.CIFIsDevFlagSet (METH) ¶ METHOD CIFIsDevFlagSet : BOOL InOut: Scope Name Type Return CIFIsDevFlagSet BOOL Input Flag BYTE
MBConstants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant MAX_CHANNELS UINT 10 Pool of available Channels for each Slave MAX_REGISTERS UINT 100 Pool of available Registers shared among the available Channels (not used currently) MAX_SLAVES UINT 32 Pool of MB Serial Slaves MAX_BUFFER_WORDS UINT (MAX_SLAVES * 128) READ and WRITE Buffer size MAX_INITS UINT 20 Pool of initialisation values for each Slave that get entered on the “Slave Init Page” MODULE_TYPE_MB_MASTER WORD 90 Device type IDs MODULE_TYPE_MB_SLAVE WORD 91 MODULE_TYPE_MB_PORT WORD 92 MODULE_TYPE_M238_SL1 WORD 40101 MODULE_TYPE_M238_SL2 WORD 40102 PARAM_ID_BAUDRATE UINT 9200 Port Parameter IDs as read from Modbus Configurator PARAM_ID_MEDIUM UINT 9201 PARAM_ID_PARITY UINT 9202 PARAM_ID_DATABITS UINT 9203 PARAM_ID_STOPBITS UINT 9204 PARAM_ID_TRANSMISSION UINT 9000 Master Parameter IDs as read from Modbus Configurator PARAM_ID_RESPONSETIMEOUT UINT 9001 PARAM_ID_TIMEBETWEENFRAMES UINT 9002 PARAM_ID_SERIALLINE UINT 9003 PARAM_ID_SLAVEADDRESS UINT 9100 Slave Parameter IDs as read from Modbus Configurator PARAM_ID_SLAVETIMEOUT UINT 9101 PARAM_ID_FIRST_ITEM_ID UINT 9300 PARAM_ID_DEFAULTVALUES UINT 7100 FIRST_CYCLE USINT 0 Commands for the state machines of the FBs INIT_VALUES USINT 1 IDLE USINT 66 TRANSMISSION_RTU USINT 0 Static identifiers TRANSMISSION_ASCII USINT 1 PARITY_EVEN USINT 2 PARITY_ODD USINT 3 PARITY_NONE USINT 4 TRIGGER_CYCLIC USINT 5 TRIGGER_RISING_EDGE USINT 6 MEDIUM_RS232 USINT 7 MEDIUM_RS485 USINT 8 MEDIUM_ETH USINT 9 ACCESS_READ USINT 10 ACCESS_READWRITE USINT 11 ACCESS_WRITE USINT 12 ACCESS_WRITE_SPLITTED USINT 13 Used if a device does not support READWRITE ACCESS_READ_SPLITTED USINT 14 Used if a device does not support READWRITE REGISTER_INPUT_BIT USINT 10 BIT register for read access REGISTER_COILS_BIT USINT 11 BIT register for read/write access REGISTER_INPUT_WORDS USINT 12 WORD register for read/write access REGISTER_HOLDING_WORDS USINT 13 WORD register for read access CLASSID_CCmpIoDrvModbusSerial DWORD 16#1008 Used for the logger to identify messages from the IoDrvModbus CLASSID_LOGGER UDINT 1 LIBRARY_VERSION UDINT 16#3030002
IoDrvModbusSerial (FB) ¶ FUNCTION_BLOCK IoDrvModbusSerial EXTENDS IoDrvModbusBase.IoDrvModbusBase InOut: Scope Name Type Initial Input xStop BOOL FALSE Output uiNumberOfCommunicatingSlaves UINT 0 xAllSlavesOk BOOL FALSE
MBGlobalVariables (GVL) ¶ InOut: Name Type Initial g_uiNumberOfSlaves UINT 0 g_xSystemHasIntelByteOrder BOOL TRUE
ModbusSerialMaster (FB) ¶ FUNCTION_BLOCK ModbusSerialMaster EXTENDS IoDrvModbusBase.ModbusSerialMasterBase Methods: DoModbusRequests Structure: DoModbusRequests (Method)
ModbusSerialMaster.DoModbusRequests (METH) ¶ METHOD DoModbusRequests InOut: Scope Name Type Input bIsStartCycle BOOL
ModbusSerialPort (FB) ¶ FUNCTION_BLOCK ModbusSerialPort InOut: Scope Name Type Initial Output usiLinkNumber USINT 1