Download 3720 kB
Transcript
188 • Appendix Mailbox Command References 6.3.6.3.1 Structure of the Object ID The object ID is composed of a group ID and a target ID. The group ID identifies the functional group for which the status is to be queried. The target ID indicates the target for which the status is to be queried. Either all existing connections (0x0000) or individual connections (0x0001 to 0x0007) can be chosen. A maximum of one connection exists in one slave; therefore, only the target IDs 0x0000 and 0x0001 are valid in this case as well. For a master, the target IDs 0x0000 and 0x0007 are valid. If the maximum of 7 devices have been configured, the query of a target ID for which no device has been configured returns the value MBX_STATE_ERROR_UNSPECIFIED (0x1000). If a connection has been configured but could not be established, the query of the corresponding target ID always returns the value MBX_STATE_ERROR_CREATE_LINK (ox1002). In order to calculate the group ID and target ID from an existing object ID, and vice versa, the following logical links must be used: Group_ID = Object_ID ∧ 0xF000 Target_ID = Object_ID ∧ 0x0FFF Object_ID = Group_ID ∨ Target_ID Group Group ID Target- Description ID 0x0000 0x0000 The query of the group status always returns MBX_STATE_OK. An error in the overall system indicates module failure. Wireless (status of the wireless connections), 0x1000 0x0000 If not all devices are connected or if the bus module is in the configuration mode, MBX_STATUS_ERROR_UNSPECIFIED is returned as the group status, otherwise MBX_STATE_OK. slave: 0x0001 If no device is linked for the corresponding table space, MBX_STATE_OK is always returned. master: 0x0001 to 0x0007 For existing connections, the following warnings can be issued for connection quality: - MBX_STATE_WARNING_BER_HIGH - MBX_STATE_WARNING_BER_MEDIUM - MBX_STATE_WARNING_LESSTHEN_39_CHANNELS - MBX_STATE_WARNING_LESSTHEN_54_CHANNELS A master can deliver additional information on the connection status: - MBX_STATE_OK if the corresponding slave is connected or has just connected - MBX_STATE_ERROR_CREATE_LINK if the slave could not be connected but further attempts to connect are performed (device is configured but cannot be reached) WAGO-I/O-SYSTEM 750 I/O Modules