Slave.Output (METH)ΒΆ

METHOD Output : SAFEBOOL

Function to send a FSoE PDU The output data of the application shall be mapped into the user data area of the FSoE PDU of the transmit buffer and the input parameter S_xUseFailSafeData shall be used to mark the validity of the mapped user data. If no valid transition is set the function returns immediately with FALSE. The transition is executed according to the FSoE specification, such as generating an FSoE PDU to send, executing a state change, etc. With the return value TRUE a generated FSoE PDU is ready for sending in the send buffer, in the case of FALSE however not. In all cases an active transition (_eTransition = FSOETRANSITION.NOTPEDING) is reset after the call and the state of the FB (S_eState) is updated. This function shall be called after a successfull call of the function Input.

InOut:

Scope

Name

Type

Comment

Return

Output

BOOL

Input

S_pbySendFrame

POINTER TO SAFEBYTE

Pointer to the send FSoE PDU with the already mapped data of the application

S_xUseFailSafeData

BOOL

Flag that indicates the validity of the mapped output data