Download Single-Slot PC Interface Module (PCIM) User`s Manual
Transcript
6 Read Diagnostics, Read Diagnostics Reply – allows the Host to read the current diagnostic state of all circuits or controllers. Use a SendMsgReply call, then a GetMsg call to perform this function using the PCIM. Read Configuration, Read Configuration Reply – allows the Host to read the current configuration of an I/O Block or I/O device. Use a SendMsgReply call, then a GetMsg call to perform this function with the PCIM. Switch BSM – allows the Host to switch a Bus Switching Module (BSM) to a specified bus and therefore test redundant bus operation while a system is running. The Host requires a SendMsg call to send this message to an I/O block. Assign Monitor – allows the Host to receive a Report Fault message from an I/O block even though it is not defined as the controller of (is not sending data to) that device. Use a SendMsg call to send this message to the block. Pulse Test, Pulse Test Complete – allows the Host to toggle all outputs on a specific discrete I/O block briefly to the opposite state. Any faults are reported from the block to the Host through a Report Fault message, and the block will reply with a Pulse Test Complete message when the test is finished. The Host uses a SendMsgReply call to transmit this message to the block, and a GetMsg call to retrieve the reply and any fault reports. Configuration Change – I/O blocks and other I/O devices will report any configuration changes of I/O circuit configuration, Status Table (Reference) Address, HHM forces, filter values, etc. The Host requires a GetMsg call to access this message from the PCIM. Memor y-Access Datagrams Communications applications of the PCIM will for the most part be established between devices such as PLC CPUs and PCIM Hosts (IBM PC AT/XTs). These applications will use four memory access Datagrams. Read Device – the CPU may read the memory of another CPU on the bus through this message. The CPU may use the SendMsgReply call, then the GetMsg call, in order to send the Read Device message and access the eventual reply, respectively. Read Device Reply – When a Read Device message is received, the PCIM (and Host) will service it by returning a Read Device Reply to the requesting CPU through the SendMsg call. Write Device – the CPU may write the memory of another CPU using this message. Write Device allows byte writes. Use the SendMsg call to transmit this message. Bit Write – the CPU may write the memory of another CPU using this message. Bit Write is for setting or resetting a single circuit. Use the SendMsg call to transmit this message. These Datagrams allow the registers or I/O Tables of a PLC CPU to be read or written from other bus devices. If a Host wishes its internal database to be accessible, user application programming must supply GetMsg calls to service Read Device and Write Device messages received by the PCIM. The PCIM Host need not allow Write Device access to its memory. This can be accomplished by rejecting all or specific Write Device messages. 6-4 Single-Slot PCIM User’s Manual – January 1994 GFK-0881