VAR CONSTANT
	ASYNC16_NUM_XBOT : USINT := 15;
	ASYNC16_NUM_XBOT_SIDE : USINT := 7;
	ASYNC_BYTE_SEQUENCE : USINT := 9; (*Byte sequence in AsyncMotion*)
	ASYNC_MAX_XBOT : USINT := 9; (*Max Xbot (starting from 0) in AsyncMotion*)
	DIGITALINPUT_MAX_DI : USINT := 127;
	DIGITALINPUT_MAX_DI_BYTE : USINT := 16;
	DI_BYTE_SEQUENCE : USINT := 4; (*Byte sequence digital input*)
	DI_MAX_DI : USINT := 21; (*Max Digital input (starting from 0)*)
	DO_BYTE_SEQUENCE : USINT := 17; (*Byte sequence digital output*)
	DO_MAX_DO : USINT := 4; (*Max Digital output (starting from 0)*)
	FEEDBACKCONFIG_BYTE_SEQUENCE : USINT := 11; (*Byte sequence in FeedbackStreamConfig*)
	FEEDBACKCONFIG_MAX_XBOT : USINT := 7; (*Max Xbot (starting from 0) in FeedbackStreamConfig*)
	FEEDBACK_BYTE_END : UINT := 384; (*End byte for feedback position stream*)
	FEEDBACK_BYTE_START : UINT := 160; (*Start byte for feedback position stream*)
	GROUP_MAX_XBOT : USINT := 11;
	MAX_FEEDBACK_AXIS : UINT := (FEEDBACK_BYTE_END-FEEDBACK_BYTE_START)/8; (*Maximum feedback output*)
	MAX_XBOT : USINT := 7; (*Maximum number of Xbots*)
	MSG_LENGTH : UINT := 399; (*Message length for profinet*)
	PMC_MAX_ERROR : USINT := 6; (*Maximum number of errors(Starting from 0)*)
	READSTATE_MAX_DO : USINT := 127;
	READSTATE_MAX_DO_BYTE : USINT := 16;
	READSTATE_MAX_XBOT : USINT := 77;
	STATE_DEACTIVATED : USINT := 0;
	STATE_DISCOVERY : USINT := 1;
	STATE_IDLE : USINT := 3;
	STATE_MOTION : USINT := 5;
	STATE_UNINSTALLED : USINT := 15;
	STREAM_CONTROL_BYTE_SEQUENCE : USINT := 11;
	STREAM_CONTROL_MAX_XBOT : USINT := 7; (*Max Xbot (starting from 0) in StreamControl*)
	SYNC_BYTE_SEQUENCE : USINT := 21; (*Byte sequence in SyncMotion*)
	SYNC_MAX_XBOT : USINT := 3; (*Max Xbot (starting from 0) in SyncLinearMotion*)
	TRAJECTORY_BYTE_SEQUENCE : USINT := 2; (*Byte sequence in TrajectoryOP*)
	TRAJECTORY_MAX_XBOT : USINT := 39; (*Max Xbot (starting from 0) in Trajectory*)
	UPDATESETPOS_BYTE_SEQUENCE : USINT := 28;
	UPDATESTREAM_MAX_STREAMID : USINT := 9; (*Max streamID (startng from 0)*)
	WRITESETTING_BYTE_SEQUNCE : USINT := 6; (*Byte sequence in WriteSetting*)
	NUM_MACRO_FILES : USINT := 64;
	WRITESETTING_MAX_XBOT : USINT := 13; (*Max Xbot (staring from 0) in WriteSetting*)
END_VAR
