Station interrogation

Here you can unpack the complete PLC sources: TcPlcLibIEC870_5_101Slave_TutorialSample.zip

 

The station interrogation command is initiated by the central station. The ID field of the command also contains the group (1 to 16 or general). The substation transfers the application objects associated with this group to the central station with cause of transmission <20> to <36>. Application objects with time tags are transferred without time tags.

Configuration of the system parameters:

Configuration of the application objects:

Example of data point configuration. The data point belongs to group: 1 and group: general.

F_iecInitAOEntry( M_SP_NA_1, 100, IEC870_GRP_INROGEN OR IEC870_GRP_INRO1, 0, MAP_AREA_MEMORY, 100, 0, AODB[0] );