itsolz.blogg.se

Rslogix 500 ascii examples
Rslogix 500 ascii examples












rslogix 500 ascii examples

Fix type case now that bit is an integer. * fix incorrect use of address.bit instead of address.is_bit. * Set the element size and type based on the decoding of the PCCC data file name. * Change PCCC types to be the actual byte type value. * Support more PCCC data file names ( #296) * Removing Windows multimedia library since we do not call timeBeginPeriod(). * Tested support for bit tags with N and B files. * Output which bit is selected on bit tags. * Change how PCCC/DF1 tag names are parsed to use a struct for the data. * Drop log level down to a more reasonable level for production. * Silence warnings about unitialized variables by setting pointers to null. * Set timeout to 50ms to handle really bad CI test VMs. * Print out milliseconds on timeout failure. * Bump the delay to 20ms to allow the test to complete correctly. * Add response delay in tests for all platforms. * Add delay response param to allow callback tests to pass. * Add delay response option to allows test_callback.c to succeed on faster machines. * On reconnect or initial connect we want to make sure that the session handle is zero. The condition variable and socket waits seem to be working well. * Comment out timeBeginPeriod() call as it is no longer needed. * Recoding to use condition vars and socket timeouts. * Add condition var to session structure. Add new public functions for waking and base class initialization. Needed for making sure that the cond var is clear before starting to wait for read/write to complete. * Add function to clear a condition variable. * Added thread_stress.c to Windows build.

rslogix 500 ascii examples

* Added debugging output and fixed compilation warnings on conditional variable functions. * Change modbus to use fair queuing and fix exposed race condition in run_tags.Ĭalling rc_dec on the tag could result in the PLC destructor being called but the call to rc_dec is within the PLC mutex. * Separate out clean up stages for clarity and debugging. * Clearing the tag ID for debugging happens whether or not the tag is being destroyed. * Add caller informatio to condition variable functions. * Clear the tag ID when starting plc_tag_create() as there is no ID at this point.

rslogix 500 ascii examples

* Adding thread_stress to test like async_stress, but multithreaded. * Complete rewrite of the state machine to use condition vars and socket timeouts. * Condition variable waits use absolute time, not relative time! * Fix up calls to socket read/write for new timeout parameter. * Need to clear the condition variable flag when leaving wait successfully. * Add initial Windows condition var implementation. * Initial add of condition vars to POSIX platform. Fix #309, Fix #312, PCCC PLC enhancements ( #316 ) * Bump version for next release.














Rslogix 500 ascii examples